|
Lets see if I understand this correctly....
a) You use tn5250 to get to your AS/400.
b) Use use passthru (over SNA?) to get to a remote AS/400.
c) You use the "TELNET" client on the remote AS/400 to
log onto a router.
d) While on the router, you need to be able to send ESC
to the router.
This doesn't sound like a TN5250 issue to me -- it sounds like an AS/400
telnet client issue.
I don't have a remote AS/400 to use passthru with, but... if I tn5250 to
my AS/400, and then TELNET to another Unix box, this is what I need to do
to send escape:
Hit ATTN (ctrl-A in TN5250)
Select "6. Change VT100 (Primary) keyboard map"
Look for a function key that is mapped to "*ESC". On my system, I have
F5 mapped to *ESC, yours may be different. It should look something like
this:
Function Key 5 . . . . *ESC
(You can change your function keys to suit your needs.)
Now that I know that pressing F5 will send ESC, I hit F3 to get out
of the VT100 keyboard map screen, and simply hit F5 whenever I want
to send ESC.
Another idea:
If you prompt the TELNET command from your OS/400 command line (type
?TELNET) you'll see that there are "Additional Parameters" to the
telnet command. Press F10 to see what they are, and you'll see that
there is a 'Control character key'. By default, it's set to the '&'
character.
What this means is that if I want to send Ctrl-T to the remote system, I
can simply type '&T' during my telnet session, and it'll send Ctrl-T.
All of these fun AS400 -> VT100-style workarounds should be documented in
the TCP/IP Configuration & Reference manual (SC41-5420):
http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/DOCNUM/SC41-5420-03
Does this help, or am I completely off track?
On Tue, 6 Feb 2001, Sean Porterfield wrote:
> Is it possible to send characters such as Escape or CTRL-T through
> tn5250? I do a passthru to a remote AS/400 and need to telnet to a
> router. Unfortunately, the AS/400 telnet program is screen based, not
> character based. I get stuck in router menus if I can't send Escape
> (CTRL-T would work, but Escape is better for me.) Any chance of this
> happening?
>
> TIA!
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.