Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scanon(M) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stty(C)

tput(C)

mapstr(M)

ttytype(F)


 scanon(M)                       19 June 1992                       scanon(M)


 Name

    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 ter-
    minals function keys.

 Files

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

 Notes

    When scanon or scanoff are called without parameters, the $TERM environ-
    ment 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.

 See also

    stty(C), tput(C), mapstr(M), ttytype(F)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026