Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-13-2005, 12:23 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
Multiple Xterminal Control

Hi, I'm a newbie to linux, but I'm not sure how simple the answer to this question is gonna be. I'm running debian (sarge - kernel 2.6.8) with the basic x windows server (the one you get with "apt-get install x-window-system"). I'm looking for a terminal command that inputs into an existing terminal. For example: I open up one xterm, then I run "xterm -e lynx" to load lynx in another xterm. Now I want to use the initial x-terminal to control (feed commands into) the newly opened lynx x-terminal (so I'm surfing the web remotely). I think theres one command like "xterm -Sccn" but it's very technical and the documentation suggests it is rarely used.

I should probably explain why I want this done in case there is an easier way: I'm running perlbox-voice (speech recognition software) and it can open a browser (in a new xterm) on command, but it'll be really cool to have it surf the net by voice as well. Unfortunately, perlbox-voice cannot open lynx in the original xterm window from which it was called (it needs the original xterm to run), it can only issue a single command for each speech command (I'm guessin it just does "xterm -e lynx" to open the browser). I'd like to program it to feed new instructions (eg Up, Down, PgUp, PgDn, letters of the alphabet, Return etc) to the opened lynx xterm terminal. (Look Ma, No Hands! )

any input would be appreciated. thanks.
Old 08-14-2005, 08:09 AM   #2
LQ Newbie
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
ok update... here's what I found out so far. There is a program out there that comes very close to what I need: It's called multixterm and it comes with expect (which is another fantastic program). Basically it uses a gui to open multiple xterminals, then anything you write in the gui appears on the child xterms (you cna also tweak each child xterm individually - you can imagine how useful this program is for debugging). The problem is the gui part, it's gonna be extremely hard to operate a gui with voice commands.
The main feature I need from multixterm is a command called xtermSend. Does anyone know how I can get this to work w/o multixterm? (ie make xtermSend on of my terminal commands???)

There must be a way to do this (I mean, come on!, this is linux ).. I need to pass commands from a parent terminal to a child terminal, anyone done this before?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple mopuse control with touch screens Stephanie Linux - General 1 12-04-2005 02:07 PM
problems regarding Xterminal giridhar Programming 1 03-01-2005 02:36 PM
Shutdown xterminal instead of x-server henne_flpkp Linux - Networking 0 04-04-2004 09:06 PM
remote Xterminal problem dormant Linux - Software 1 07-03-2003 02:41 PM
Paste on XTerminal monowar Linux - Newbie 3 07-15-2002 09:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration