RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-28 Thread Kevin Toppenberg
My AIX version 4 doesn't seem to have the expect command. Oh well.. Here is what I see when I try: * * Wel

RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-27 Thread Ron Fox
At 07:43 10/27/2004, K.S. Bhaskar wrote: >I think Todd is on the right track. I agree, Expect (written by Don Libes at NIST and in the public domain) was designed explicitly to handle such tasks. You might want to use autoexpect to create a script for you based on your interaction with the appl

RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-27 Thread K.S. Bhaskar
I think Todd is on the right track. -- Bhaskar On Wed, 2004-10-27 at 11:21, Smith, Todd wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kevin, > > The utility that you are looking for is called expect and you should find it > o

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-27 Thread Kevin Toppenberg
1=\E"a\r:^f2=\E"b\r:^f3=\E"c\r:^f4=\E"d\r:^f5=\E"e\r: > :^f6=\E"f\r:^f7=\E"g\r:^f8=\E"h\r:^f9=\Ei\r:^f10=\Ej\r: > :^f11=\Ek\r:^f12=\El\r: > > > ----- Original Message - > From: "Kevin Toppenberg" <[EMAIL PROTECTED]> >

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Maury Pepper
f\r:^f7=\E"g\r:^f8=\E"h\r:^f9=\Ei\r:^f10=\Ej\r: :^f11=\Ek\r:^f12=\El\r: - Original Message - From: "Kevin Toppenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 4:07 PM Subject: Re: [Hardhats-members] Linux console as ter

RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Benjamin Irwin
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Toppenberg Sent: Tuesday, October 26, 2004 4:38 PM To: [EMAIL PROTECTED] Subject: Re: [Hardhats-members] Linux console as terminal emulator, with scripting? OK, I'm going to think out loud. Please let me know if I

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Maury Pepper
"f\r:^f7=\E"g\r:^f8=\E"h\r:^f9=\Ei\r:^f10=\Ej\r: :^f11=\Ek\r:^f12=\El\r: -maury- - Original Message - From: "Kevin Toppenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 4:07 PM Subject: Re: [Hardhats-mem

RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Benjamin Irwin
Kea! Does have a scripting language that allows just that option. Something like if the last string received is "Hit and Key to continue" then Kea! Will insert a carriage return. However, I have found all terminal emulators to have their own script language, everything from Basic based to Java ba

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Mike Baker
Kevin, I don't know how to do the scripting for a bash shell for this but I'm sure it can be done. I guess what I would be tempted to do is use kermit. It is supposed to use whatever emulation the console is using and I know that you can do scripting with it as well. If you are running RHEL3

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Kevin Toppenberg
Maury, I spent a full day a month or so ago trying to get TeraTerm to work with our server, and finally gave up. In order to navigate on the server, I have to use F1-F12 keys. I spent a long time trying to figure out the escape sequences that should be sent when F1 etc is pressed, but couldn't e

RE: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Marc Aylesworth
PM To: [EMAIL PROTECTED] Subject: Re: [Hardhats-members] Linux console as terminal emulator, with scripting? OK, I'm going to think out loud. Please let me know if I am off track. In my bash script, I will need to initiate a connection to my old (AIX) server. We're on a VPN, so are us

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Kevin Toppenberg
OK, I'm going to think out loud. Please let me know if I am off track. In my bash script, I will need to initiate a connection to my old (AIX) server. We're on a VPN, so are using telnet. #begin script telnet xx.xx.xx.xx echo "goodbyte" #end script The above script will not show "goodbye" unti

Re: [Hardhats-members] Linux console as terminal emulator, with scripting?

2004-10-26 Thread Maury Pepper
Kevin, What problem are you having with TeraTerm? For scripting, terminal type usually isn't an issue. The keyboard config file allows for redefining most of the keys. (I can help with this.) It also has TEK4010 emulation which perhaps your system can handle. - Original Message - From: