🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38008

XTERM AND EDITORS

#38008
From: MATLEVAN
Date: Sat, 10 Mar 1990 20:22
48 lines
2586 bytes
Hello,

I have found that the xterm terminfo entry does not work with my system V vi
editor on (at least) the 3b2 family. In particular the "open" line command
would not work properly. The following terminfo description file seems to
have fixed the problem.

xterm|vs100|xterm terminal emulator,
        ri@,rc@,sc@,smso=\E[7m,rmso=\E[m,
        il1=\E[L, dl1=\E[M, use=vt100,

I also have occasion to use VMS. The full screen editors for VMS require
the use of the keypad. I cannot determine if the appropriate escape sequences
are built in to xterm. (ie I can't get the editors to work properly). The
following resource will map the keypad on a MacII to the appropriate escape
sequences.

XTerm.VT100.Translations: #override \
        <Key>Clear: string("\033OP")\n\
        <Key>KP_Equal: string("\033OQ")\n\
        <Key>KP_Divide: string("\033OR")\n\
        <Key>KP_Multiply: string("\033OS")\n\
        <Key>KP_7: string("\033Ow")\n\
        <Key>KP_8: string("\033Ox")\n\
        <Key>KP_9: string("\033Oy")\n\
        <Key>KP_Subtract: string("\033Om")\n\
        <Key>KP_4: string("\033Ot")\n\
        <Key>KP_5: string("\033Ou")\n\
        <Key>KP_6: string("\033Ov")\n\
        <Key>KP_Add: string("\033Ol")\n\
        <Key>KP_1: string("\033Oq")\n\
        <Key>KP_2: string("\033Or")\n\
        <Key>KP_3: string("\033Os")\n\
        <Key>KP_Enter: string("\033OM")\n
        <Key>KP_0: string("\033Op")\n\
        <Key>KP_Decimal: string("\033On")

Don't forget to set term/page=nn before invoking any TPU based utility.

Jerry
-----------------------------------------------------------------------------
| Jerry LeVan                           | Phone:(606)-622-1931              |
| Department of Computer Science        |                                   |
| Eastern Kentucky University           | Email:matlevan@eku.bitnet         |
| Richmond Ky 40475                     |                                   |
|---------------------------------------------------------------------------|
|      "The series converges so slowly that it actually diverges."          |
-----------------------------------------------------------------------------
Technical Details
Message-ID: <9003122039.AA24504@ATHENA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EKU.BITNET!MATLEVAN

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EKU.BITNET!MATLEVAN
From: MATLEVAN@EKU.BITNET
Newsgroups: comp.windows.x
Subject: XTERM AND EDITORS
Message-ID: <9003122039.AA24504@ATHENA.MIT.EDU>
Date: 10 Mar 90 20:22:00 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 48