DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

scanon(M)


scanon, scanoff -- enable and disable scancode-to-character mapping

Syntax

scanon [ /dev/ttyline . . . ]

scanoff [ /dev/ttyline . . . ]

Description

The scanon script simultaneously sets the terminal and the serial line to send PC scancodes (turns on PC-scancode mode). The scanoff script turns off PC-scancode mode. With no arguments, scanon and scanoff affect the current tty.

scanon also calls the mapstr function to set up the strings for the terminals function keys.

Limitations

When scanon or scanoff are called without parameters, the $TERM environment variable is used to determine the terminal type. When a device is specified on the command line, the connect terminal type for the device must be entered in the /etc/ttytype file for the command to work correctly. Note that for a Wyse-60 terminal the type (or $TERM, if the command is run from the terminal itself) must be set to wy60-pc.

Files

/etc/ttytype
/usr/lib/keyboard/strings.d/*

See also

stty(C), tput(C), ttytype(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005