On Thu, 7 Jul 2005, Brian M. Chappell wrote:

I am working on putting tn5250 on an embedded linux system running on an arm processor for work. Currently I have only gotten 0.16.5 to cross compile, but that really isnt what troubles me. I have dug around the archives and there have been a lot of posts about keyboard mapping, but all have pertained to systems with X.

So you have tried 0.17.3, right? Can you tell us what problems you had with the build? This won't fix your problem, but maybe we can make 0.17.4 better.

Here is what I am trying to do:

I have 0.16.5 cross-compiled and running on the system. Because it is an embedded system it does not have a standard keyboard, I need some way to re-map the keys without changing the console's terminal. The only keys I am fighting with are F2-F5 and F21-F24. I finally got F1 working by changing the escape sequence tied to it in cursesterm.c to a VT100 style:

{ K_F1, "\033\117\120" }, /* ESC OP */

This works fine, but when I try to change K_F2 - K_F5 to ESC OQ - ESC OT, the

So your embedded system has curses support? And does not have X11? Are you running this on the console (no X runnning)? I'm just trying to figure out display options you have.

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].