Scott Klement <[EMAIL PROTECTED]> 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.
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]

Reply via email to