[klibc] [PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
Thorsten Glaser
tg at mirbsd.de
Wed Jun 11 14:14:17 PDT 2014
Maciej Żenczykowski dixit:
>Does ctrl+c work?
define(`work')dnl
>If I recall correctly you have to call setsid, and open a tty as a
>controlling tty, you can't call setsid as pid 1.
You don't get a controlling tty, but you don't need that for
most rescue work. And if you do, you just run one of
mksh -lT!/dev/tty1
mksh -lT!/dev/ttyS0
mksh -lT!/dev/hvc0
and have a shell on the given tty.
bye,
//mirabilos
--
“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
mailing list