Article 162806 of comp.os.vms:
In a message of Tue, 14 Jan 1997 07:20:40 -0800, received on 14 Jan 1=
997, 17:20
Frank Chiulli <chiulli@aisf.com> wrote to Info-VAX@Mvb.Saic.Com

>Malcolm R Peacock wrote:
>>=20
>> Anybody know where I can a vt320 (or similar) terminal emulator fo=
r Sun
>> Solaris (preferably free) ? Xterms are a bit limited as you don't =
get
>> the function keys (or is there any way of doing this ?)
>>=20
>> Thanks in advance for any help.
>> ---------------------------------------------------------
>> Malcolm R Peacock              |      class need
>> malcolm@mpeacock.demon.co.uk   |      {
>>                                |         friend indeed;
>>                                |      };
>
>I used xterm on a Sun running Solaris for years.  I was able to conn=
ect
>to
>a VAX and use LSE just find.  I did this by using xmodmap to redefin=
e
>some
>keys - principally the keypad keys.  Be aware that this changes the =
key
>definitions for everything.  This was ok with me.  Below is a copy o=
f
>the=20
>file which I would input to xmodmap. =20

Ok, that's one way.  Another is to have something like this (this is =
not
complete, I believe) in ~/.Xdefaults

XTerm*VT100.translations:       #override  <Key>R3:      string(0x1b)=
 string("Om") \n\
    <Key>KP_Add:  string(0x1b) string("Ol") \n\
    <Key>F9:  string(0x1b) string("[A") \n\
    <Key>F11:  string(0x1b) string("[D") \n\
    <Key>F10:  string(0x1b) string("[B") \n\
    <Key>F12:  string(0x1b) string("[C") \n\
    <Key>F24:  string(0x1b) string("OP") \n\
    <Key>KP_Equal:  string(0x1b) string("OP") \n\
    <Key>F25:  string(0x1b) string("OQ") \n\
    <Key>KP_Divide:  string(0x1b) string("OQ") \n\
    <Key>F26:  string(0x1b) string("OR") \n\
    <Key>KP_Multiply:  string(0x1b) string("OR") \n\
    <Key>KP_Subtract:  string(0x1b) string("OS") \n\
    <Key>KP_Enter:  string(0x1b) string("OM") \n\
    <Key>KP_Decimal:  string(0x1b) string("On") \n\
    <Key>KP_0:  string(0x1b) string("Op") \n\
    <Key>Insert:  string(0x1b) string("Op") \n\
    <Key>KP_1:  string(0x1b) string("Oq") \n\
    <Key>R13:  string(0x1b) string("Oq") \n\
    <Key>KP_2:  string(0x1b) string("Or") \n\
    <Key>Down:  string(0x1b) string("Or") \n\
    <Key>KP_3:  string(0x1b) string("Os") \n\
    <Key>F35:  string(0x1b) string("Os") \n\
    <Key>KP_4:  string(0x1b) string("Ot") \n\
    <Key>Left:  string(0x1b) string("Ot") \n\
    <Key>KP_5:  string(0x1b) string("Ou") \n\
    <Key>F31:  string(0x1b) string("Ou") \n\
    <Key>KP_6:  string(0x1b) string("Ov") \n\
    <Key>Right:  string(0x1b) string("Ov") \n\
    <Key>KP_7:  string(0x1b) string("Ow") \n\
    <Key>F27:  string(0x1b) string("Ow") \n\
    <Key>KP_8:  string(0x1b) string("Ox") \n\
    <Key>KP_9:  string(0x1b) string("Oy") \n\
    <Key>F29:  string(0x1b) string("Oy") \n

Michael

--
Michael Lemke
Sternwarte Bamberg, University of Erlangen-N=FCrnberg, Germany
(michael@astro.as.utexas.edu or ai26@a400.sternwarte.uni-erlangen.de)



