× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott Klement <klemscot@klements.com> writes:

> A real xterm is required for the keyboard mapping to work...  If you
> figured out how to make the keyboard mapping work in an aterm, you
> should be okay....

(Wow... I go away for a week, and there's nearly 50 tn5250 messages
waiting when I get back!)

tn5250 will mostly work on any terminal that has complete enough key
mappings and terminfo definition by default.  Finally, with XFree86
4.1 and ncurses 5.2, this is true of xterm; without any special
mappings, you can get all function keys, shift-Tab, and all the cursor
movement keys.  I've done this for the Debian package of tn5250, with
only a few special keys being defined in the XTerm resources file, and
the xt5250 script not overriding the terminal type:

xt5250*VT100.Translations: #override \n\
         <Key>Scroll_Lock: string("\033H") \n\
         ~Shift<Key>Print: string("\020") \n\
          Shift<Key>Print: string("\003") \n\
        ~Shift<Key>Escape: string("\001") \n\
         Shift<Key>Escape: string("\003") \n\
           <Key>Control_L: string("\022")

Any other X terminal emulator *should* work just as well as this, if
it's configured properly.  How to set up the keys above will vary a
bit, though.

BTW, it occurs to me that ${datadir}/XTerm and ${datadir}/dialogrc
should probably be in ${sysconfdir}/tn5250/XTerm, etc., instead, since
they're both configuration files that might be edited by the local
sysadmin.

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

        You think you know... what's to come... what you are.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.