Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all,
I'm trying to do some KSH scripting and I want to something like controlling other xterm from one xterm.
example:
I have 2 xterm open, xterm-1 (/dev/pts/50) and xterm-2 (/dev/pts/56)I want be able to something like this, from xterm-1 I can send command to xterm-2, example cd /usr/blah/blah then do ls -al
I tried doing this from xterm-1
% chmod 755 /dev/pts/56
% echo "cd /usr;ls -al" > /dev/pts/56but not what i expected... instead doing in on pts/56 it just do the command in xterm-1 and display it in xterm-2
any clue how to control xterm-2?
Thanks
Irvan

Hey Irvan,
The only thing i can possibly think of rather than what you already tried is to simply telnet to the other xterm.
kris.....

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |