Hi,I'm trying to use tn5250 with OpenBSD. It work but there seems to have problem with the F1-F24 key. I first tried with OpenBSD's package. Work well but the function keys. I then tried to download the latest version and compile it.
Same result.Now i tried to get the FreeBSD termcap.sample to work. It add the color right but F key still not working. And there is some part of the screen not cleared when a new screen is displayed.
Following are part of trace file... tn5250_char_map_new: map = "37" Found string for cap 'cr': '^M'. Found string for cap 'kB': '^[[Z'. Found string for cap 'k1': '^[[M'. Found string for cap 'k2': '^[[N'. <..> When I press F1 key... <..> display_do_keys! curses_getch: received 0x1B. curses_getch: received 0x5B. curses_getch: received 0x31. curses_getch: received 0x31. curses_getch: received 0x7E. @key 27 HandleKey: Weird key ignored: 27 @key 91 HandleKey: key = [ HandleKey: fieldtype = 0; char = '['. @key 49 HandleKey: key = 1 HandleKey: fieldtype = 0; char = '1'. @key 49 HandleKey: key = 1 HandleKey: fieldtype = 0; char = '1'. @key 126 HandleKey: key = ~ HandleKey: fieldtype = 0; char = '~'. <..> How can I get the function key to work. Regards,
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact