|
NAMEkeyboard - how to type charactersDESCRIPTIONKeyboards are idiosyncratic. It should be obvious how to type ordinary ASCII characters, backspace, tab, escape, and newline. In Plan 9, the key labeled Return or Enter generates a newline (0x0A); if there is a key labeled Line Feed, it generates a carriage return (0x0D); Plan 9 eschews CRLFs. All control characters are typed in the usual way; in particular, control-J is a line feed and control-M a carriage return.The down arrow, used by and causes windows to scroll forward. The up arrow scrolls backward. Characters in Plan 9 are runes (see Any rune can be typed using a compose key followed by several other keys. The compose key is also generally near the lower right of the main key area: the NUM PAD key on the Gnot, the Alternate key on the Next, the Compose key on the SLC, the Option key on the Magnum, and either Alt key on the PC. To type a single rune with the value specified by a given four-digit hexadecimal number, type the compose key, then a capital and then the four hexadecimal digits (decimal digits and to For a longer rune, type twice followed by five digits, or type three times followed by six digits. There are shorthands for many characters, comprising the compose key followed by a two- or three-character sequence. The full list is too long to repeat here, but is contained in the file in a format suitable for or To add a sequence, edit that file and then rebuild There are several rules guiding the design of the sequences, as illustrated by the following examples.
Note the difference between ß (ss) and µ (micron) and the Greek β and μ. X WINDOWSUnder X Windows, both the Alt key and the ``Multi key'' can begin a compose sequence in a Plan 9 program.It is also possible to configure X Windows to use the same keystroke mappings as the Plan 9 programs. First, generate an XCompose sequence list by using mklatinkbd:
Second, configure a ``Multi key'' by running
(The name typically denotes the Windows key on recent keyboards.) Third, set these environment variables so that GTK- and QT-based programs will use the compose sequences:
Finally, start a new GTK- or QT-based program:
In that terminal, typing the key sequence `Windows * a' should be interpreted as the Greek letter If using the GNOME Window Manager, put the xmodmap and export commands into the file $HOME/.gnomerc to run them automatically at startup. FILES
SEE ALSO Visit the GSP FreeBSD Man Page Interface. |