Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kbd_mode(1) — SunOS 4.1.3B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kb(4S)

kbd_mode(1)  —  USER COMMANDS

NAME

kbd_mode − change the keyboard translation mode

SYNOPSIS

kbd_mode  -a |  -n |  -e |  -u 

DESCRIPTION

kbd_mode sets the translation mode of the console’s keyboard (/dev/kbd) to one of the four values defined for KIOCTRANS in kb(4S).  This is useful when a program that resets the translation mode crashes; for example, NeWS (when run from SunView) can sometimes leave SunView reading untranslated events. 

Note that SunView desires translated events (kbd_mode -e), while X11/NeWS desires untranslated events (kbd_mode -u).  See below for an explanation of the -e and -u options. 

OPTIONS

−a ASCII: the keyboard will generate simple ASCII characters. 

−n None: the keyboard will generate unencoded bytes − a distinct value for up and down on each switch on the keyboard. 

−e Events: the keyboard will generate SunWindows input events with ASCII characters in the value field. 

−u Unencoded: the keyboard will generate SunWindows input events with unencoded bytes in the value field (this is the mode NeWS currently uses). 

FILES

/dev/kbd
$OPENWINHOME/bin/kbd_mode

SEE ALSO

kb(4S)

{:heading=>"kbd_mode\|(\|1\|)\0\0\(em\0\0\∗(]D"}  —  Last change: 25 February 1991  —  Last change: 25 February 1991

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