[EMAIL PROTECTED] writes:

> Well, after a couple of weeks of trial and error (and of reading IBM's 
> programmer's guide for the IBM 3151) I've come up with a semi-
> working setup using the 3151->Linux Host->AS/400 setup 
> discussed sometime during February.

[snip tale of tn5250 not working with function keys]

tn5250 has mostly been developed on Linux console and xterm, which
both behave like DEC VTxxx consoles, so there could be some
assumptions which stop some keys from working.

If you use the latest version and log to a file with "-t log", then
you should get a list of all the escape sequences that tn5250 gets
from terminfo for function keys, etc.  If you get the correct sequence
here, but it doesn't work, it should be possible to rewrite some part
of cursesterm.c so that it does work.

[time passes]

OK.  At the moment, ESC-! is specially set up by tn5250 to send F13.
However, this is the start of the IBM 3151 function key sequence,
which is why the function keys didn't work.  This might be the problem
with your other keys, too.

To see whether this is the case, you could try commenting out all the
ESC-whatever key sequences at around line 185 in cursesterm.c.  This
isn't really a solution, but it might work for you and help with
tracking down the problem.

-- 
         Carey Evans  http://home.clear.net.nz/pages/c.evans/

"*South Park* is another movie straight from the smoking pits of Hell."
                       - http://www.capalert.com/capreports/southpark.htm
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to