🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #769

Re: Termcap & keybrd macros & ibm 3270

#769
From: Paul Kunz
Date: Thu, 06 Aug 1992 14:05
42 lines
2534 bytes
In article <1992Aug6.005904.29436@msuinfo.cl.msu.edu> lebay@mercury.cl.msu.edu (Jim LeBay) writes:

   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  |        |
   +-----------------+--------+--------+


Here's our entry in /etc/map3270 for the 12 PFKeys

pfk1 = '\EOP' | '\E1'; pfk2 = '\EOQ' | '\E2'; pfk3 = '\EOR' | '\E3';
pfk4 = '\EOw' | '\E4'; pfk5 = '\EOx' | '\E5'; pfk6 = '\EOy' | '\E6';
pfk7 = '\EOt' | '\E7'; pfk8 = '\EOu' | '\E8'; pfk9 = '\EOv' | '\E9';
pfk10 = '\EOq' | '\E0'; pfk11 = '\EOr' | '\E-'; pfk12 = '\EOs' | '\E='; 

The "*" key should be '\EOS', which we assigned to PA1.   But I haven't
used tn3270 in a long time, so haven't verified it.

Note: PF1 is on the "~`" key and PF12 on the "3" key.   The /etc/map3270
that NeXT ships has PF1 on the "1" key.   Its your choice on which
way is right-side up.
--
Paul F. Kunz	(NeXT mail ok)
Stanford Linear Accelerator Center, Stanford University
Voice: (415) 926-2884   (NeXT) Fax: (415) 926-3587
Technical Details
Message-ID: <PFKEB.92Aug6070555@kaon.SLAC.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!gossip.pyramid.com!decwrl!sdd.hp.com!usc!rpi!uwm.edu!linac!unixhub!kaon.SLAC.Stanford.EDU!pfkeb
References: <PFKEB.92Aug5070418@kaon.SLAC.Stanford.EDU> <1992Aug6.005904.29436@msuinfo.cl.msu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gossip.pyramid.com!decwrl!sdd.hp.com!usc!rpi!uwm.edu!linac!unixhub!kaon.SLAC.Stanford.EDU!pfkeb
From: pfkeb@kaon.SLAC.Stanford.EDU (Paul Kunz)
Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin
Subject: Re: Termcap & keybrd macros & ibm 3270
Message-ID: <PFKEB.92Aug6070555@kaon.SLAC.Stanford.EDU>
Date: 6 Aug 92 14:05:55 GMT
References: <PFKEB.92Aug5070418@kaon.SLAC.Stanford.EDU>
 <1992Aug6.005904.29436@msuinfo.cl.msu.edu>
Sender: news@unixhub.SLAC.Stanford.EDU
Followup-To: comp.sys.next.misc
Organization: Stanford Linear Accelerator Center
Lines: 42
Nntp-Posting-Host: kaon.slac.stanford.edu
In-reply-to: lebay@mercury.cl.msu.edu's message of 6 Aug 92 00:59:04 GMT