[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] curses.c: "We need a terminal output" ?
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-devel] curses.c: "We need a terminal output" ? |
Date: |
Tue, 16 Apr 2019 16:02:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 04/16/19 09:24, Gerd Hoffmann wrote:
> On Mon, Apr 15, 2019 at 03:10:09PM -0400, John Snow wrote:
>> <CC'ing curses maintainer>
>>
>> On 4/13/19 5:02 AM, Joachim Durchholz wrote:
>>> Hi all,
>>>
>>> what's the reasoning behind "We need a terminal output" in curses.c?
>
> curses needs a terminal.
>
>>> I don't really see a scenario where it's problematic if qemu emits
>>> escape sequences to a pipe.
>
> It's not about sending escape sequences. A pipe simply doesn't support
> all the tty ioctls (query terminal size, turn echo on/off, set all kinds
> of terminal modes, ...).
(
Indeed, it's called the "General Terminal Interface".
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html
)
>>> I can see another scenario when this is problematic: Unit testing code
>>> that directly writes to the console. E.g. testing BIOS code, or testing
>>> operating systems when using the serial port is not an option.
>
> seabios can work with the serial console just fine, try "qemu -nographic"
>
> cheers,
> Gerd
>
>
- [Qemu-devel] curses.c: "We need a terminal output" ?, Joachim Durchholz, 2019/04/13
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, John Snow, 2019/04/15
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Gerd Hoffmann, 2019/04/16
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?,
Laszlo Ersek <=
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Joachim Durchholz, 2019/04/16
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Gerd Hoffmann, 2019/04/17
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Joachim Durchholz, 2019/04/17
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Laszlo Ersek, 2019/04/17
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Joachim Durchholz, 2019/04/18
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Laszlo Ersek, 2019/04/18
- Re: [Qemu-devel] curses.c: "We need a terminal output" ?, Joachim Durchholz, 2019/04/18