Sujet : Re: Faking a TTY on a pipe/socketpair
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.unix.programmerDate : 03. Dec 2024, 09:38:09
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvbjxtrwjy.fsf@LkoBDZeT.terraraq.uk>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
rlhamil@smart.net (Richard L. Hamilton) writes:
(on a system where pipes are STREAMS based, it might be possible to
come up with a module that made a pipe pretend on one side to be a
tty; but you'd have to get into some nasty kernel coding to do that)
That seems like more work than just using a pty, which the OP already
ruled out.
-- https://www.greenend.org.uk/rjk/