unix tty mystery

From: rb (corbaKeener_at_hotmail.com)
Date: 05/29/03


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.



Relevant Pages

  • Re: HTM form email issue
    ... Thanks for the effort in assisting me Robert. ... TEXT formats in a machine that doesn't have my issue and a "compose email" ... A window that indicates "another program is attempting ... mine would be Rich Text. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: HTM form email issue
    ... > Thanks for the effort in assisting me Robert. ... > TEXT formats in a machine that doesn't have my issue and a "compose email" ... A window that indicates "another program is attempting ... I was commenting on the reply you gave Jim. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Internet Explorer (port 80) connect problem
    ... Hi Dick, what you need to type in the command window is just the word ... netstat then a single space and the rest as Robert mentioned. ... The> Robert used in the next part of the line simply redirects the output ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Script error ?
    ... "Ron Patterson" wrote in message ... Type "Command window". ... That's why it would be better to do it in a command window ... Robert ...
    (microsoft.public.windows.inetexplorer.ie6.browser)