Path: 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 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 \ Clear: string("\033OP")\n\ KP_Equal: string("\033OQ")\n\ KP_Divide: string("\033OR")\n\ KP_Multiply: string("\033OS")\n\ KP_7: string("\033Ow")\n\ KP_8: string("\033Ox")\n\ KP_9: string("\033Oy")\n\ KP_Subtract: string("\033Om")\n\ KP_4: string("\033Ot")\n\ KP_5: string("\033Ou")\n\ KP_6: string("\033Ov")\n\ KP_Add: string("\033Ol")\n\ KP_1: string("\033Oq")\n\ KP_2: string("\033Or")\n\ KP_3: string("\033Os")\n\ KP_Enter: string("\033OM")\n KP_0: string("\033Op")\n\ 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." | -----------------------------------------------------------------------------