Xterm VT100/102 function keys

Xterm VT100/102 function keys

Post by Ewin H. Barnet » Fri, 20 Mar 1998 04:00:00



I am running Solaris x86 2.5.1

Can anyone publish their XTERM setup so it can be used to telnet into
another host and run a VT100/102 session?

I use>>  xterm -title "Telnet to Work" -e telnet xxx.com

which works just fine, EXCEPT I don't know how to get the keyboard
numeric function pad keys to behave like VT100 PF etc. keys, which are
needed for text editing.

Ewin

--

====
Ewin H. Barnett III, Boone County, Missouri, USA.

When encryption is outlawed, only outlaws will encrypt.

"Never believe anything until it has been officially denied." Bismarck

 
 
 

Xterm VT100/102 function keys

Post by T.E.Dicke » Fri, 20 Mar 1998 04:00:00



: I am running Solaris x86 2.5.1

: Can anyone publish their XTERM setup so it can be used to telnet into
: another host and run a VT100/102 session?
Some people do this with translations (I've an example on my FAQ).  I do
it by modifying xterm to be more amenable.

The XFree86 3.3.2 xterm supports ANSI color and VT220 emulation
There's an faq at
        http://www.veryComputer.com/

--
Thomas E.*ey

http://www.veryComputer.com/

 
 
 

Xterm VT100/102 function keys

Post by Ewin H. Barnet » Mon, 23 Mar 1998 04:00:00


Newsgroups:

My thanks to the people who took time to respond to my cry for help in
getting xterm to have the proper PC key mapping for VT100, when loggin
on to a remote VAX/VMS system.  I have combined the best parts from
several of the replies and produced the following whi works just fine
for me.

Ewin Barnett

 xterm  -title "Xterm on VAX" -sb -sl 1200  \
                -xrm \
                "XTerm*vt100.translations:     #override \n\
                <Key>Insert:            string(\001) \n\
                Shift <Key>Up:          scroll-back(1,lines) \n\
                Shift <Key>Down:        scroll-forw(1,lines) \n\
                Shift <Key>Right:       string(0x1b) string("f") \n\
                Shift <Key>Left:        string(0x1b) string("b") \n\
                Shift <Key>Delete:      string(0x1b) string(0x08) \n\
                Shift <Key>Tab:         string(0x1b) string("*") \n\
                <Key>0x1000FF0D:        scroll-back(1,page) \n\
                <Key>0x1000FF0E:        scroll-forw(1,page) \n\
                <Key>0x1000FF09:        string(\010) \n\
                <Key>0x1000FF0A:        string(\005) \n\
                <Key>BackSpace:         string(0x7f) \n\
                <Key>Select:            select-start() \n\
                <Key>0x1000FF02:        select-end(PRIMARY,CUT_BUFFER0)
\n\
                Meta <Key>0x1000FF02:   select-end(CLIPBOARD) \n\
                <Key>0x1000FF04:
insert-selection(PRIMARY,CUT_BUFFER0) \n\
                Meta <Key>0x1000FF04:   insert-selection(CLIPBOARD) \n\
                <Key>F1:                string(0x1b) string("OP") \n\
                <Key>F2:                string(0x1b) string("OQ") \n\
                <Key>F3:                string(0x1b) string("OR") \n\
                <Key>F4:                string(0x1b) string("OS") \n\
                <Key>F5:                string(0x1b) string("OA") \n\
                <Key>F11:               string(0x1b) string("[23~") \n\
                <Key>F12:               string(0x1b) string("[24~") \n\
                <Key>KP_0:              string(0x1b) string("OP") \n\
                <Key>KP_1:              string(0x1b) string("OQ") \n\
                <Key>KP_2:              string(0x1b) string("OR") \n\
                <Key>KP_3:              string(0x1b) string("OS") \n\
                <Key>KP_4:              string(0x1b) string("OT") \n\
                <Key>KP_5:              string(0x1b) string("OT") \n\
                <Key>KP_6: string(0x1b) string("Ov") \n\
                <Key>KP_7: string(0x1b) string("Ow") \n\
                <Key>KP_8: string(0x1b) string("Ox") \n\
                <Key>KP_9: string(0x1b) string("Oy") \n\
                <Key>KP_Divide:         string(0x1b) string("OQ") \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\
                <KeyPress>Num_Lock: string(0x1b) string("OP") \n\
                <KeyRelease>Num_Lock: string(0x1b) string("OP") \n\
                Ctrl<Key>KP_Add: string(0x1b) string("Om") \n\
                <Key>KP_Add:            string(0x1b) string("Ol") \n\
                <Key>KP_Decimal:        string(0x1b) string("On") \n\
                <Key>Insert: string(0x1b) string("[1~") \n\
                <Key>Delete: string(0x1b) string("[4~") \n\
                <Key>Home: string(0x1b) string("[2~") \n\
                <Key>End: string(0x1b) string("[5~") \n\
                <Btn1Down>:             select-start() \n\
                <Btn1Motion>:           select-extend() \n\
                <Btn1Up>:               select-end(PRIMARY,CUT_BUFFER0)
\n\
                Button1<Btn2Down>:      select-end(CLIPBOARD) \n\
                Button1<Btn2Up>:        ignore()" \
                -e telnet xxxxx.com

--

====
Ewin H. Barnett III, Boone County, Missouri, USA.

When encryption is outlawed, only outlaws will encrypt.

"Never believe anything until it has been officially denied." Bismarck

 
 
 

1. Sun Keys on MF-Keyboard (102 keys)

Dear all,

I'd like to configure my Linux X-Keyboard to have
the keys used on Suns as well. How can I manage,
that [PrtScr], [SrcLck], [Pause], [grey -], [grey +]
function as copy, cut, paste, front, open?

The Second problem is, on Xemacs M-w should copy a marked
string into the kill-ring, but my Linux closes the xterm.

What is wrong? All my tries with xmodmap failed.
Thanks for any hint!
Johannes

What is wrong? All my tries with xmodmap failed.
Thanks for any hint!
Johannes

--

Johannes Heinecke
Computerlinguistik
Humboldt Universit"at zu Berlin

http://www.compling.hu-berlin.de/~johannes

2. I can't start X from a users account

3. VT100, 102 & 220 Terminals

4. What's the story with the ever changing SunBlade-[12]000/280R OBP/POST?

5. can PuTTY emulate vt100/102?

6. BinHex utility for Linux?

7. Howto define Sun-Keys on a Linux (MF 102) keyboard?

8. Help : rsh rcp permission denied under Linux 1.2.13

9. RH 6.1 install with 102-key (Int.) keyboard anyone?

10. Need vt100 or vt102 key settings for xterm or rxvt.

11. VT100 Function keys

12. X vt100 function keys

13. Define function keys in vt100 emulator