Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #286798

Re: Odd behaviour at Python command prompt under Wine

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: Odd behaviour at Python command prompt under Wine
Date 2026-05-22 13:30 +0200
Message-ID <MXweJ-71bE-1@gated-at.bofh.it> (permalink)
References <MXi26-6REv-7@gated-at.bofh.it> <MXnO9-6VpV-1@gated-at.bofh.it> <MXvsl-70BZ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 22/05/2026 11:18, Dan Ritter wrote:
> nwe wrote:
>> On 5/21/26 3:10 PM, Roger Marsh wrote:
>>
>>> [?25l[?25l[?25h[?25l[?25l[?25h[?25l>>> [?25h[?25l[?25h[?25l[?25h[?25h[?25l[?25h[?25l[?25l[?25h[?25l[?25l[?25h[?25l[?25h[?25l>>> 
>> That looks like escape codes?
> Yes. Roger's capture is unreadable unless you know or can guess
> the exact terminal type he is using and can interpret those
> codes.

Is this actually input to "script(1)"? Script produces a "typescript" 
and, although the man page isn't explicit,  it's conceivable that the 
format is tuned for itself. The OP did start by saying "the script 
shows...".


As for the original problem, it seems that python.exe is maybe making 
some assumptions about the terminal which wine isn't handling correctly. 
I would probably start by seeing if the bug is reproducible in "wine 
cmd" and "wine pythonw" (it's been a while since I used pythonw; it 
might *not* offer an interactive prompt).


>
> It's the sort of thing which happens when there's a program
> thinks that it is sending to a terminal but is actually sending
> to a file.
>
> And it's the sort of thing which everyone tends to do once, then
> they realize their mistake and double-check in the future.
>
> It's also likely that it has nothing much to do with the odd
> behavior that he's trying to report, but it certainly obscures
> whatever that is.
>
> -dsr-
>

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Odd behaviour at Python command prompt under Wine Roger Marsh <roger.marsh@btinternet.com> - 2026-05-21 22:20 +0200
  Re: Odd behaviour at Python command prompt under Wine nwe <nwe@gitcoding.net> - 2026-05-22 04:30 +0200
    Re: Odd behaviour at Python command prompt under Wine Dan Ritter <dsr@randomstring.org> - 2026-05-22 12:40 +0200
      Re: Odd behaviour at Python command prompt under Wine Darac Marjal <mailinglist@darac.org.uk> - 2026-05-22 13:30 +0200
        Re: Odd behaviour at Python command prompt under Wine Greg Wooledge <greg@wooledge.org> - 2026-05-22 16:20 +0200
          Re: Odd behaviour at Python command prompt under Wine Roger Marsh <r.m@rmswch.plus.com> - 2026-05-23 16:00 +0200
            Re: Odd behaviour at Python command prompt under Wine Roger Marsh <r.m@rmswch.plus.com> - 2026-05-23 16:50 +0200
            Re: Odd behaviour at Python command prompt under Wine David Wright <deblis@lionunicorn.co.uk> - 2026-05-24 05:20 +0200

csiph-web