unix tty mystery
From: rb (corbaKeener_at_hotmail.com)
Date: 05/29/03
- Next message: Ken: "Best Korn Shell book?"
- Previous message: Gareth Williams: "Re: Creating CD-sized directories"
- Next in thread: Barry Margolin: "Re: unix tty mystery"
- Reply: Barry Margolin: "Re: unix tty mystery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 May 2003 13:23:27 -0700
Hi all,
lets say I open two terminal windows:
1. robert pts/10 and the other window say robert pts/11
2.I want to send message from one window to another without using
write or talk.
So the following is what i do in terminal pt/10:
$[robert] cat > pts/11
hello
how are you
bye
^D
The above causes it to be shown in the other window as i expected.
Similary if i want to snoop on the other tty i do $[robert] cat <
pts/11
Now while i snoop the tty , whatever the user types there goes
obviously to my pts/10 as i can see it, but I also want it to be
executed in his pt/11 shell.
So for instance if the user typed ls on the pts/11 screen , not only
would i want it to be read on my terminal but also be executed on his
terminal by the shell.
I do not want to install anything on Solaris like a ttywatch for being
able to monitor the tty of others.By the way i do have root permission
too , but dont know how that can help me.
- Next message: Ken: "Best Korn Shell book?"
- Previous message: Gareth Williams: "Re: Creating CD-sized directories"
- Next in thread: Barry Margolin: "Re: unix tty mystery"
- Reply: Barry Margolin: "Re: unix tty mystery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|