*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ttty | Section: 7 | Source: Digital UNIX | File: ttty.7.gz
ttty(7) Miscellaneous Information Manual ttty(7) NAME ttty - Thai terminal driver SYNOPSIS #include <sys/aioctl.h> DESCRIPTION This section describes special features supported by the Thai terminal driver, which is used for conversational computing in a Thai environ- ment. See tty(7) for a general description of terminal interfaces. See stty(1) for information on how to activate the features discussed here. The Thai terminal driver is available only when DIGITAL UNIX optional subsets for worldwide support are installed. This driver also must be configured into the current running kernel in order for Thai support features to be enabled. Line Disciplines Line discipline switching to the Thai terminal driver is accomplished with the following TIOCSETD ioctl: int ldisc = THAIDISC; ioctl(f, TIOCSETD, &ldisc); Input Sequence Checking The Thai terminal driver supports input sequence checking that complies with the Wototo standard. The three different modes of input sequence checking are as follows: Mode 0 (pass-through) No input checking is performed. This mode allows the application program to handle checking of the input sequence. Mode 1 (basic check) This is the default mode for a Thai system. Mode 2 (strict) This mode imposes additional constraints in order to reject ob- viously illegal input sequences. Input Reordering Input reordering mode, if activated, will reorder the following two types of Thai sequences: L3L1L2 -> L3L2L1 L3L4L1 -> L3L1L4 In these sequences, L1, L2, L3, and L4 are level-1, level-2, level-3, and level-4 characters, respectively. History Mode Line Editing The history mode of the Thai terminal driver allows users to use Emacs- like control codes to edit previously entered command lines. Up to 32 lines can be stored and each line can have a maximum width of 127 char- acters. However, short command lines, those that are fewer than three characters in length, are not stored in the history list. Depending on the editing command used, the unit of editing may be a character, a cell, or a word. A cell is one physical display column on the screen and may consist of one ASCII character or one to three Thai characters. In this context, a word is a string of characters delim- ited by white spaces. The following editing commands are available in the history mode: Move to the beginning of the line. Delete the cell under the cursor. Move to the end of the line. Recall the previous command in the history list. Recall the next command in the history list. Move the cursor to the left by one cell. Move the cursor to the right by one cell. Delete the Thai character immediately before the cursor. You can use the stty command to determine and set the charac- ter that erases a character. Delete the word before the cursor. You can use the stty command to determine and set the character that erases a word. Typing a normal character causes it to be inserted before the character under the cursor. The kill, interrupt, and suspend characters cause the Thai terminal driver to break out of the history mode. Input sequence checking and input reordering are not performed in his- tory mode. The line-editing features support only single-line editing, not multiple-line editing. For instance, if the cursor is wrapped to the beginning of the next line, you cannot return the cursor to the previous line by pressing the left arrow key. RELATED INFORMATION Commands: stty(1) Functions: ioctl(2) Files: tty(7) Others: Thai(5), Wototo(5) delim off ttty(7)

Navigation Options