Computing.Net > Forums > Unix > Controlling other xterm

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Controlling other xterm

Reply to Message Icon

Name: Irvan
Date: September 18, 2002 at 06:15:32 Pacific
OS: Solaris 5.7
CPU/Ram: 512
Comment:

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/56

but 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




Sponsored Link
Ads by Google

Response Number 1
Name: kris
Date: September 18, 2002 at 09:24:20 Pacific
Reply:

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.....


0
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Controlling other xterm

How to control FTP timeout? www.computing.net/answers/unix/how-to-control-ftp-timeout/5397.html

Control execution of one script www.computing.net/answers/unix/control-execution-of-one-script/7428.html

CVS file access control in unix www.computing.net/answers/unix/cvs-file-access-control-in-unix/4588.html