Sujet : Re: Initiate command in another shell session?
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.unix.shellDate : 14. Mar 2025, 21:31:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250314132805.624@kylheku.com>
References : 1 2 3
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-03-14, Christian Weisgerber <
naddy@mips.inka.de> wrote:
On 2025-03-13, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>
On some systems, opening a tty and calling ioctl(fd, TIOCSTI, ptr),
where ptr is a char*, will cause the single character *p to appear
as if it had been typed.
>
I associate TIOCSTI with csh(1)'s filename expansion feature, but
Seriously? Is this what I think it is: that csh tromboned out characters
to the TTY driver to get the OS to type in the expansion as if the user
typed it?
Wow, ... I see considering only csh *programming* to be harmful was
an overly optimistic view.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca