|
jsanchez@cyberdude.com 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 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-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.