Article View: comp.sys.next.misc
Article #740Re: Termcap & keybrd macros & ibm 3270
From: Jim LeBay
Date: Thu, 06 Aug 1992 00:59
Date: Thu, 06 Aug 1992 00:59
45 lines
2674 bytes
2674 bytes
In article <PFKEB.92Aug5070418@kaon.SLAC.Stanford.EDU> pfkeb@kaon.SLAC.Stanford.EDU (Paul Kunz) writes: > In article <1992Aug4.152740.21960@magnus.acs.ohio-state.edu> szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) writes: > > We are trying to make our keyboard's have "function" keys that are > equivalent to emulate a ibm 3270. > > tn3270 in /usr/ucb works right out of the box. The function key > mapping is controled by the file /etc/map3270. But you must first > enable VT100 keypad emulation with Terminal/Stuart preferences for the > keypad to work. The default mapping is the '1' key on the keypad is > PF1, '2' PF2, etc. It is easy enough to change this so that the top > row becomes (left to right) PF1, PF2, PF3, and the next row PF4, PF5, > etc., which I think is the "right way". But then, flame wars can > be had on the subject of the "right" mapping. I'm trying to map the control sequences generated by Terminal (and Stuart) in "VT100 keypad emulation", to use in /etc/map3270. I've got most of them, but I can't figure out the top row. Does anyone know what sequences these top 4 keys generate? +--------+--------+--------+--------+ | ~` | |= | \/ | * | | ?? | ?? | ?? | ?? | +--------+--------+--------+--------+ | 7 | 8 | 9 | - | | \EOw | \EOx | \EOy | \EOm | +--------+--------+--------+--------+ | 4 | 5 | 6 | + | | \EOt | \EOu | \EOv | \EOl | +--------+--------+--------+--------+ | 1 | 2 | 3 | Enter | | \EOq | \EOr | \EOs | | +--------+--------+--------+ \EOM | | 0 | . | | | \EOp | \EOn | | +-----------------+--------+--------+ ====================================================================== Jim LeBay lebay@msu.edu Computer Info Center lebay@mercury.cl.msu.edu (NeXTmail) Michigan State University ----------->>> I feel better than James Brown! <<<--------- ======================================================================
Technical Details
Message-ID:
<1992Aug6.005904.29436@msuinfo.cl.msu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!netnews.upenn.edu!msuinfo!newsReferences:
<PFKEB.92Aug5070418@kaon.SLAC.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!netnews.upenn.edu!msuinfo!news From: lebay@mercury.cl.msu.edu (Jim LeBay) Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin Subject: Re: Termcap & keybrd macros & ibm 3270 Keywords: map3270, tn3270, vt100, keypad Message-ID: <1992Aug6.005904.29436@msuinfo.cl.msu.edu> Date: 6 Aug 92 00:59:04 GMT References: <PFKEB.92Aug5070418@kaon.SLAC.Stanford.EDU> Sender: news@msuinfo.cl.msu.edu Reply-To: lebay@msu.edu Organization: Michigan State University Lines: 45