From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 27-JUL-1994 11:31:08.17
To:	EVERHART
CC:	
Subj:	Re: EDT keys on SUN/X11 window/keyboard?

X-Newsgroups: comp.os.vms
From: fairfield@slacvx.slac.stanford.edu
Subject: Re: EDT keys on SUN/X11 window/keyboard?
Message-ID: <1994Jul26.143457.1@slacvx.slac.stanford.edu>
Lines: 55
Sender: news@unixhub.SLAC.Stanford.EDU
Organization: Stanford Linear Accelerator Center
Date: Tue, 26 Jul 1994 22:34:57 GMT
To: Info-VAX@CRVAX.SRI.COM
X-Gateway-Source-Info: USENET

In article <313iqs$apm@news.CCIT.Arizona.EDU>, 
    				ron@argus.lpl.Arizona.EDU (Ron Watkins) writes:
> I have a SUN Sparc10 running X11. I have an xterm which I use to telnet into
> a VMS system. I would like to know how to map the EDT keys onto the keyboard
> so that I can edit files on the VMS system from the xterm on the SUN.

        Do man xterm  and  way  down  near  the  bottom,  it talks about
    "translations".    Basically,   you   need  to  define  a   set   of
    translatations from the X-keysyms that the Sun keypad is sending out
    to VT100 numeric-keypad escape sequences.  You can find  the  latter
    on  any  VMS  system by looking in SYS$SYSTEM:SMGTERMS.TXT, but I'll
    list 'em for you anyway, below.   Use  something like xev on the Sun
    to find out what keysym each Sun key sends.

        Numeric Keypad
        --------------
        PF1                      <esc>OP
        PF2                      <esc>OQ
        PF3                      <esc>OR
        PF4                      <esc>OS

        KP0                      <esc>Op
        KP1                      <esc>Oq
        KP2                      <esc>Or
        KP3                      <esc>Os
        KP4                      <esc>Ot
        KP5                      <esc>Ou
        KP6                      <esc>Ov
        KP7                      <esc>Ow
        KP8                      <esc>Ox
        KP9                      <esc>Oy
        MINUS                    <esc>Om
        COMMA                    <esc>Ol
        PERIOD                   <esc>On
        ENTER                    <esc>OM

        Cursor (arrow) Keys
        -------------------
        UP                       <esc>[A
        DOWN                     <esc>[B
        RIGHT                    <esc>[C
        LEFT                     <esc>[D


> Please e-mail to ron@argus.lpl.arizona.edu

        I prefer to post.

            -Ken
-- 
 Dr. Kenneth H. Fairfield    |   Internet: Fairfield@Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 98   |   DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309        |   Voice: (415) 926-2924  FAX: (415) 926-4335
 ----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...