*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ttty (7)              
Title
Content
Arch
Section
 

ttty(7)

Contents


NAME    [Toc]    [Back]

       ttty - Thai terminal driver

SYNOPSIS    [Toc]    [Back]

       #include <sys/aioctl.h>

DESCRIPTION    [Toc]    [Back]

       This  section  describes special features supported by the
       Thai terminal driver, which  is  used  for  conversational
       computing in a Thai environment.  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 Tru64 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    [Toc]    [Back]
       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    [Toc]    [Back]
       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 obviously illegal input sequences.

   Input Reordering    [Toc]    [Back]
       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    [Toc]    [Back]
       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 characters.  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 delimited
       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 character 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 history 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.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: stty(1)

       Functions: ioctl(2)

       Files: tty(7)

       Others: Thai(5), Wototo(5)



                                                          ttty(7)
[ Back ]
 Similar pages
Name OS Title
telm HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
tels HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
pty HP-UX pseudo terminal driver
pty IRIX pseudo terminal driver
ptm OpenBSD pseudo terminal driver
pty Tru64 Pseudo terminal driver
pty OpenBSD pseudo terminal driver
pty FreeBSD pseudo terminal driver
atty Tru64 Asian terminal driver
nmdm FreeBSD nullmodem terminal driver
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service