Kevin,

If escape sequences are necessary to navigate, and if you don't know the
escape sequences, then how will you write a
script which contains all of the necessary characters?

The following termcap segment came from
www.blueemulations.com/e3151doc.shtml
:f1=\Ea\r:f2=\Eb\r:f3=\Ec\r:f4=\Ed\r:f5=\Ee\r:
:f6=\Ef\r:f7=\Eg\r:f8=\Eh\r:f9=\Ei\r:f10=\Ej\r:
:f11=\Ek\r:f12=\El\r:
:F1=\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=\Ew\r:F9=\E!i\r:F10=\E!j\r:
:F11=\E!k\r:F12=\E!l\r:
:^f1=\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:

        -maury-


----- 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 terminal emulator, with
scripting?


> 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 ever get it to work.  I know
> that key mapping would allow for any arbitrary
> sequence to be sent when a key is pressed.  But again,
> I couldn't figure out what they should be.
>
> Thanks
> Kevin
>
>
> --- Maury Pepper <[EMAIL PROTECTED]> wrote:
>
> > 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: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> > To: "Hardhats Sourceforge"
> > <[EMAIL PROTECTED]>
> > Sent: Tuesday, October 26, 2004 1:22 PM
> > Subject: [Hardhats-members] Linux console as
> > terminal emulator, with
> > scripting?
> >
> >
> > > Hello all,
> > >
> > > I need to do some terminal scripting.  As I try to
> > > download old progress notes from my server, it
> > keeps
> > > stopping and asking me a pointless question
> > (1000's of
> > > times!).  I need a simple terminal script that
> > enters
> > > "N".
> > >
> > > I know that TeraTerm Pro will do scripting, but I
> > > can't get it to properly emulate an 3151 terminal
> > that
> > > our server expects.  The bash shell, however, does
> > > fine: all the functions keys work as needed etc.
> > >
> > > So I know that there is a scripting language built
> > > into bash.  Is there any easy to write a program
> > that
> > > simply scans for a given phrase (i.e. "Is this the
> > > same patient?") and then automatically enter "N".
> > And
> > > if not found, then stay out of the way?
> > >
> > > Thanks
> > > Kevin



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to