|
But 'Pressing' Control t does not do cause the AS400 to do a testreq. And I don't know how to code a character control followed by a character t. control is not an ascii character, it is a modifier like Shift. Is it possible you guys have different "kind' of AS400 than I have? One in which ctrl-t / 0x14 / \024 is test request? Or is there hard code in tn5250 which maps ctrl-t to test req.? James Rich <james@xxxxxxxxxxx> on 08/13/2003 04:10:31 PM To: Phillip Watts/austin/Nlynx@xxxxx cc: tn5250 <linux5250@xxxxxxxxxxxx> Subject: Re: 122 kbd Phillip.Watts@xxxxxxxxx wrote: > > Thanks for your help on th Xdefaults file. > I have had some success and I think I am getting it. > > Ctrl-t doesn't give me TestReq. > I mapped Escape(which i would prefer) to "/024". > That doesn't give me TestReq either. > > On the man page for tn5250, it gives all the functions which are supported > but not the ascii sequences which are generated. Is there such > a table somewhere? There isn't a table, but here's how it works (maybe I should make a table): The man page says that FieldExit is Control-k or Meta-x (Meta is usually the escape key unless you have a real unix keyboard from someone like Sun with a Meta key on it). The escape code for the escape key is \033. So the string for field exit is \033x, which is Meta followed by 'x'. For testreq you need Control followed by 't'. I don't know how control is specified, so I'm CC'ing this to linux5250@xxxxxxxxxxxxx If someone wants to point me to a table of keys with their octal translation appropriate for use in XTerm I will add this info to the HOWTO. James Rich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.