Menu

Escape sequence processing

Help
Anonymous
2001-03-10
2001-03-12
  • Anonymous

    Anonymous - 2001-03-10

    I do not seem to be able to set escape processing  'on'.

    Noescape works ok, but if I set escape and then examine the terminal characteristics escape is not in the list, and escape characters are not recognised on input.

     
    • Frans S.C. Witte

      You do not specify the exact steps that you performed. We use ESCape processing in GT.M for quite some time, and it seems to work OK.
      To check escape processing please perform the following steps:

      GTM>zshow "D"
      /dev/pts/0 OPEN TERMINAL NOPAST NOESCA NOREADS TYPE WIDTH=80 LENG=24

      GTM>use $I:escape zshow "D"
      /dev/pts/0 OPEN TERMINAL NOPAST NOREADS TYPE WIDTH=80 LENG=24

      GTM>read "Enter escape:",DUMMY,! set ESC=$ZB zwrite ESC
      Enter escape: (hit some funtion key, or arrow key)
      ESC=$C(27)_"OP"

      The above sequence is the result of pressing F1 on the MS-Windows telnet program.
      We noticed a problem with the "console" in RedHat 6.n (i.e. when not running XWindows): Function keys F1 through F5 generate sequences that are NOT recognized as ESCape sequences by GT.M. KDE's XTERM windows do generate sequences that are recognized by GT.M

      hope this helps ...
      Frans S.C. Witte

       

Log in to post a comment.