Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Function key mappings in telnet session to Universe Application


    Our client uses Termtek terminals to connect to their Universe platform. More terminals needed and we can't get any. The alternative is to get winboxes and run wintegrate or try and get a linux terminal working. Configured xterm with keybindings that I need for the F1-F5 keys. In xterm session these bindings work, however when I connect via telnet to the Universe sessions, they don't. For F1 I get ^[OP. I need EX and return. F2 I need + and return and so forth. I have been trawling the net with not much luck. Indications are its to to do with the terminal settings rather than on the host side however I can't seem to find anything concrete. I found that the the backspace button did not work(even though worked in terminal session) and used a script I found on unix forums to run with the telnet command. This tends to suggest that the terminal keyboard mappings need to change for Telnet sessions.

    The supplier has set up the universe platform for us to test but only have 10 days before it expires. Hope I can get some help before then

    Thanks in advance

  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada

  3. #3

    Thank you - have been using the settings here and not having an affect. I am still fiddling around.


  4. $spacer_open
  5. #4
    Ok figured it out. Seems when I telnet, I have to provide octal values for the keys I want. ie ESC is \033, carriage return is \015. So if I use Xterm, the configuration file must have syntax like so:
    <Key>F1: string("\033\015") \n\

    Hope this helps someone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts