[klibc] [PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
tg at mirbsd.de
Wed Jun 11 08:27:58 PDT 2014
H. Peter Anvin dixit:
>But is that really a tty, then? I also understand that virtio console
Hm. Both eglibc and dietlibc return true for isatty on it.
>doesn't support termios, which makes this an ugly bifurcation. All of
Let me test that… quick… hah not really (CONFIG_VIRTIO_CONSOLE=m)…
ok luckily Ubuntu’s linux-image-3.15.0-5-generic is installable on
Debian stable and has CONFIG_VIRTIO_CONSOLE=y… but no reiserfs module…
gah… ok I could test it.
This works. It has got enough of a tty for mksh-static linked against
klibc to have proper command line editing even with console=hvc0.
>this is stupid, of course...
“ah that reminds me, thanks for the stellar entertainment that you and certain
other people provide on the Debian mailing lists │ sole reason I subscribed to
them (I'm not using Debian anywhere) is the entertainment factor │ Debian does
not strike me as a place for good humour, much less German admin-style humour”
More information about the klibc