Grokbase
Topics Posts Groups | in
x
[ help ]

Re: Terminal emulation scripting

View PostFlat  Thread  Threaded | < Prev
Bill Campbell Re: [CentOS] Terminal emulation scripting
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Wed, Nov 12, 2008, Frank M. Ramaekers wrote:
>I need to write a script that will contact a remote system using TELNET
>with VT52/1xx/2xx/320 and perform some operations. I am familiar with
>TELNET but it appears that it won't work for my purposes.

Many systems don't allow telnet connections because of security
issues, using ssh (secure shell instead).

If the issue is dealing with programs on the remote system that
are designed for interactive use, this is difficult to do
reliably although not impossible using ``expect'' via some kind of
remote connection, ssh, telnet, etc. (I was running Tandy's Xenix
accounting applications on a Tandy Model 16 24 years ago using
nothing but input and output redirection from the shell, but that
was not pretty :-).

The ``expect'' program is built around ``tcl'' scripting, but
there are perl and python modules that work reasonably well too.

Bill
--
INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

Many citizens because of their respect for what only appears to be a law
are cunningly coerced into waiving their rights due to ignorance.
    -- U.S. v. Minker
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

Thread : Terminal emulation scripting
1)
Frank M. Ramaekers I need to write a script that will contact a remote system using TELNET with VT52/1xx/2xx/320 and...
2)
Max Hetrick Check out expect. I had to do this with some data radios as of late, and it worked out pretty well....
3)
Frank M. Ramaekers Okay, here are some things I found out. 1) Linux telnet is sending a 0x0a for the enter key 2)...
4)
Amos Shapira I'm not near a computer to dig this but there should be a way to tell unix telnet to change the...
5)
Nifty Cluster Mitch Look at stty and the notion of cooked and raw tty devices. This is a key difference with Windows...
6)
Bill Campbell Many systems don't allow telnet connections because of security issues, using ssh (secure shell...
spacer
View PostFlat  Thread  Threaded | < Prev
Home > Groups > CentOS > Terminal emulation scripting (6 posts) > View Post