HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Linux Operating Systems


Linux Operating Systems Talk about all Linux distributions and software here!

Reply
 
Thread Tools
Old Jun 11, 2003, 01:50 PM   #1
gargouille
 
merry's Avatar
 
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 962
Rep Power: 0
merry is on a distinguished road

Terminal

I am trying to use XTerm to connect to a remote machine over a serial line. The remote machine is already configured to accept commands from an alphanumeric terminal.

But I can't seem to find the appropriate documentation/HOWTO

Any suggestions are welcome
__________________
There is a war between the ones who say there is a war
and the ones who say there isn't.
~~Leonard Cohen
merry is offline   Reply With Quote


Old Jun 12, 2003, 03:03 PM   #2
DriverHeaven Junior Member
 
Join Date: Dec 2002
Posts: 44
Rep Power: 0
JustaGuy is on a distinguished road

What kind of remote terminal service will you be using? SSH, Telnet?
JustaGuy is offline   Reply With Quote
Old Jun 12, 2003, 03:45 PM   #3
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

http://www.ibiblio.org/mdw/HOWTO/min...rver-side.html

Thats about telnetting into a modem, but the same principle applies to any device.
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Jun 13, 2003, 10:45 AM Threadstarter Thread Starter   #4
gargouille
 
merry's Avatar
 
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 962
Rep Power: 0
merry is on a distinguished road

Thanks. I'm sorry that my original post was so confuse, I'll try to rephrase.

The remote machine isn't a computer, but a device that takes commands (ASCII strings and a couple of extended ASCII characters) from an alphanumeric terminal connected over RS232 (without any modem). I am trying to substitute this "dumb" terminal with a PC - I managed to figure up how to setup the port in Linux, and send some commands with echo - it works, but I can't read the "answers" from the command line. It works from Windows (with Hyperterminal), even interactively.

I was trying to do the same thing from Linux, using XTerm (with escapes for the extended ASCII), but I'm far too noob for that. I can't find a way to connect XTerm throuh RS232 to another machine (and emulate a dumb terminal), except for some cryptic - to me - indications in the Text-Terminal-HOWTO (which seems to deal more with "dumb" terminal operation of a Linux system than Linux terminal emulation for a "dumb" system).

My purpose is to find a way to control that machine while keeping the ability to do other things with the Linux PC. I am trying to use XTerm - but anything else would do, even a combination of "pipes", echo, less etc. (Linux pipes are more complicated than DOS ones and I'm not comfortable with them... yet). I think it's pretty much like - say - connecting a laptop to a keyboardless server through a serial line (but not by "networking", no ip like with telnet - suppose the server is alredy configured to accept a console on serial and you have to do some maintenance/rescue).

Thanks again
__________________
There is a war between the ones who say there is a war
and the ones who say there isn't.
~~Leonard Cohen
merry is offline   Reply With Quote
Old Jun 14, 2003, 03:48 PM   #5
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

I thought the link I gave explained how to do exactly that with a modem over a RS232 cable. The modem could be any device really, such as a router for example. Basically, telnet is what you need instead of xterm
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Reply

Thread Tools