Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.unix.programmer Subject: Re: Faking a TTY on a pipe/socketpair Date: Wed, 4 Dec 2024 08:34:30 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: References: Injection-Date: Wed, 04 Dec 2024 09:34:30 +0100 (CET) Injection-Info: dont-email.me; posting-host="8479bf124903116a480ba2aecb4d47c5"; logging-data="809822"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n7IXl7p5tnCkLu9lzL+Kb" Cancel-Lock: sha1:AZ/xFt6rsSD+jsn5zAELoTf7eUs= Bytes: 1502 On Tue, 3 Dec 2024 20:21:27 -0000 (UTC) Lawrence D'Oliveiro wibbled: >On Tue, 3 Dec 2024 08:20:51 -0000 (UTC), Muttley wrote: > >> I'm wondering on Linux if it would be enough on Linux to spoof ttyname() >> and isatty() using LD_PRELOAD. However it seems doing something similar >> on a Mac is the usual over complicated Apple hot mess. > >macOS may be a licensee of the “Unix” trademark, but it does not work the >way people expect when they think of the term “Unix”. Yes, it certainly has its quirks. Linux is far closer to the unix philosphy (ignoring systemd) despite not being an official unix.