[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qemu resets terminal to crazy defaults
From: |
Fabiano Rosas |
Subject: |
Re: Qemu resets terminal to crazy defaults |
Date: |
Tue, 19 Dec 2023 16:38:56 -0300 |
Dave Blanchard <dave@killthe.net> writes:
> Hello all, can you please help me to understand what Qemu is doing here?
>
> When connecting to the guest for example using a serial/tcp/telnet link, some
> kind of code is being immediately transmitted over the link which screws up
> my Xterm terminal settings, including changing the text cursor shape and most
> notably, disabling wraparound of long lines, so that they get truncated at
> the edge of the window instead.
>
> Can this behavior be disabled by command line, and if not, what is the code
> doing exactly so I can know where to disable it? I tried disabling all calls
> to tcsetattr() but that had no effect.
>
> Dave
I looked into the automatic margins issue a long time ago and I seem to
remember it was caused by the firmware (SeaBIOS) configuring the
terminal and QEMU just never returning it to the original state. I
eventually gave up trying to fix it because I was having trouble finding
a reliable point in QEMU shutdown sequence to enable the capability
back. Nowadays I just run 'tput smam' after quitting QEMU.
Not a lot of help, I know. Hopefuly someone else has more information
about this. I'd be interested in finding a proper solution for this
situation.
- Qemu resets terminal to crazy defaults, Dave Blanchard, 2023/12/19
- Re: Qemu resets terminal to crazy defaults,
Fabiano Rosas <=
- Re: Qemu resets terminal to crazy defaults, Peter Maydell, 2023/12/19
- Re: Qemu resets terminal to crazy defaults, Warner Losh, 2023/12/19
- Re: Qemu resets terminal to crazy defaults, Fabiano Rosas, 2023/12/20
- Re: Qemu resets terminal to crazy defaults, Dave Blanchard, 2023/12/20
- Re: Qemu resets terminal to crazy defaults, BALATON Zoltan, 2023/12/20
- Re: Qemu resets terminal to crazy defaults, Fabiano Rosas, 2023/12/21
Re: Qemu resets terminal to crazy defaults, Warner Losh, 2023/12/19