Slashdot Mirror


Properly Configuring Terminal Emulation in Unix?

Jobe_br asks: "I've recently come across a need for a way of connecting to a SCO Unix box with full SCO-ANSI emulation (so that I can send F1-F12 commands and ASCII line art appears as lines, not strange foreign letters). After checking out the Terminal-HOWTO at linuxdoc.org I came away with no clearer understanding of what I need to do. I can pretty much pick any 'ole terminal emulator for win32 and get what I need, but no matter what I do to fiddle with my xterms/eterms/vts I can't get things to go. Is this not facilitated under Linux?"

2 of 20 comments (clear)

  1. You might try this by xiox · · Score: 4, Informative

    Found this on google.

    1. Re:You might try this by ksheff · · Score: 3, Informative

      After getting the correct termcap entries, to make xterm have the correct function key mappings, you can put the following in your ~/.Xdefaults file if you are going to use the scoansi terminal type:

      SCOTerm.vt100.translations:#override\
      <Key>F1: string(0x1b) string("[M")\n\
      <Key>F2: string(0x1b) string("[N")\n\
      <Key>F3: string(0x1b) string("[O")\n\
      <Key>F4: string(0x1b) string("[P")\n\
      <Key>F5: string(0x1b) string("[Q")\n\
      <Key>F6: string(0x1b) string("[R")\n\
      <Key>F7: string(0x1b) string("[S")\n\
      <Key>F8: string(0x1b) string("[T")\n\
      <Key>F9: string(0x1b) string("[U")\n\
      <Key>F10: string(0x1b) string("[V")\n

      When you run an xterm that you want to have those keybindings, just run it as xterm -name SCOTerm. If you need to send different function key sequences, look at the /etc/termcap or the terminfo stuff to determine what the function keys are to send.

      --
      the good ground has been paved over by suicidal maniacs