home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat1 / stty.0 < prev    next >
Text File  |  1993-12-07  |  12KB  |  463 lines

  1.  
  2.  
  3.  
  4. STTY(1L)                                                 STTY(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        stty - change and print terminal line settings
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ssttttyy [-ag] [--all] [--save] [setting...]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        This  manual  page  documents the GNU version of ssttttyy.  If
  15.        given no arguments, ssttttyy prints the baud rate, line disci-
  16.        pline  number  (on systems that support it), and line set-
  17.        tings that have been changed from the values set by  `stty
  18.        sane'.   Mode reading and setting are performed on the tty
  19.        line connected to the standard input.
  20.  
  21.        ssttttyy  accepts  the  following  non-option  arguments  that
  22.        change  aspects  of  the terminal line operation.  A `[-]'
  23.        before a capability means that it can  be  turned  off  by
  24.        preceding it with a `-'.  Some arguments are not available
  25.        on all systems, since they use non-POSIX extensions.  Such
  26.        arguments are marked below with `(np)'.
  27.  
  28.        Control settings:
  29.  
  30.  
  31.        [-]parenb
  32.               Generate parity bit in output and expect parity bit
  33.               in input.
  34.  
  35.        [-]parodd
  36.               Set odd parity (even with `-').
  37.  
  38.        cs5 cs6 cs7 cs8
  39.               Set character size to 5, 6, 7, or 8 bits.
  40.  
  41.        [-]hupcl [-]hup
  42.               Send a hangup signal when the last  process  closes
  43.               the tty.
  44.  
  45.        [-]cstopb
  46.               Use two stop bits per character (one with `-').
  47.  
  48.        [-]cread
  49.               Allow input to be received.
  50.  
  51.        [-]clocal
  52.               Disable modem control signals.
  53.  
  54.        [-]crtscts (np)
  55.               Enable RTS/CTS handshaking.
  56.  
  57.        Input settings:
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                                                 1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. STTY(1L)                                                 STTY(1L)
  71.  
  72.  
  73.        [-]ignbrk
  74.               Ignore breaks.
  75.  
  76.        [-]brkint
  77.               Breaks cause an interrupt signal.
  78.  
  79.        [-]ignpar
  80.               Ignore parity errors.
  81.  
  82.        [-]parmrk
  83.               Mark   parity   errors   (with   a  255-0-character
  84.               sequence).
  85.  
  86.        [-]inpck
  87.               Enable input parity checking.
  88.  
  89.        [-]istrip
  90.               Clear high (8th) bit of input characters.
  91.  
  92.        [-]inlcr
  93.               Translate newline to carriage return.
  94.  
  95.        [-]igncr
  96.               Ignore carriage return.
  97.  
  98.        [-]icrnl
  99.               Translate carriage return to newline.
  100.  
  101.        [-]ixon
  102.               Enable XON/XOFF flow control.
  103.  
  104.        [-]ixoff [-]tandem
  105.               Enable sending of stop character  when  the  system
  106.               input  buffer  is  almost full, and start character
  107.               when it becomes almost empty again.
  108.  
  109.        [-]iuclc (np)
  110.               Translate uppercase characters to lowercase.
  111.  
  112.        [-]ixany (np)
  113.               Allow any character to  restart  output  (only  the
  114.               start character with `-').
  115.  
  116.        [-]imaxbel (np)
  117.               Enable  beeping  and not flushing input buffer if a
  118.               character arrives when the input buffer is full.
  119.  
  120.        Output settings:
  121.  
  122.  
  123.        [-]opost
  124.               Postprocess output.
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                                                 2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. STTY(1L)                                                 STTY(1L)
  137.  
  138.  
  139.        [-]olcuc (np)
  140.               Translate lowercase characters to uppercase.
  141.  
  142.        [-]ocrnl (np)
  143.               Translate carriage return to newline.
  144.  
  145.        [-]onlcr (np)
  146.               Translate newline to carriage return-newline.
  147.  
  148.        [-]onocr (np)
  149.               Do not print carriage returns in the first  column.
  150.  
  151.        [-]onlret (np)
  152.               Newline performs a carriage return.
  153.  
  154.        [-]ofill (np)
  155.               Use fill (padding) characters instead of timing for
  156.               delays.
  157.  
  158.        [-]ofdel (np)
  159.               Use delete characters  for  fill  instead  of  null
  160.               characters.
  161.  
  162.        nl1 nl0 (np)
  163.               Newline delay style.
  164.  
  165.        cr3 cr2 cr1 cr0 (np)
  166.               Carriage return delay style.
  167.  
  168.        tab3 tab2 tab1 tab0 (np)
  169.               Horizontal tab delay style.
  170.  
  171.        bs1 bs0 (np)
  172.               Backspace delay style.
  173.  
  174.        vt1 vt0 (np)
  175.               Vertical tab delay style.
  176.  
  177.        ff1 ff0 (np)
  178.               Form feed delay style.
  179.  
  180.        Local settings:
  181.  
  182.  
  183.        [-]isig
  184.               Enable interrupt, quit, and suspend special charac-
  185.               ters.
  186.  
  187.        [-]icanon
  188.               Enable erase, kill, werase, and rprnt special char-
  189.               acters.
  190.  
  191.        [-]iexten
  192.               Enable non-POSIX special characters.
  193.  
  194.  
  195.  
  196.                                                                 3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. STTY(1L)                                                 STTY(1L)
  203.  
  204.  
  205.        [-]echo
  206.               Echo input characters.
  207.  
  208.        [-]echoe, [-]crterase
  209.               Echo erase characters as backspace-space-backspace.
  210.  
  211.        [-]echok
  212.               Echo a newline after a kill character.
  213.  
  214.        [-]echonl
  215.               Echo newline even if not echoing other  characters.
  216.  
  217.        [-]noflsh
  218.               Disable  flushing  after interrupt and quit special
  219.               characters.
  220.  
  221.        [-]xcase (np)
  222.               Enable input and output of uppercase characters  by
  223.               preceding  their  lowercase  equivalents  with `\',
  224.               when icanon is set.
  225.  
  226.        [-]tostop (np)
  227.               Stop background jobs that try to write to the  ter-
  228.               minal.
  229.  
  230.        [-]echoprt [-]prterase (np)
  231.               Echo  erased  characters  backward, between `\' and
  232.               '/'.
  233.  
  234.        [-]echoctl [-]ctlecho (np)
  235.               Echo control  characters  in  hat  notation  (`^c')
  236.               instead of literally.
  237.  
  238.        [-]echoke [-]crtkill (np)
  239.               Echo  the  kill  special  character by erasing each
  240.               character on the line as indicated by  the  echoprt
  241.               and  echoe  settings, instead of by the echoctl and
  242.               echok settings.
  243.  
  244.        Combination settings:
  245.  
  246.  
  247.        [-]evenp [-]parity
  248.               Same as parenb -parodd  cs7.   With  `-',  same  as
  249.               -parenb cs8.
  250.  
  251.        [-]oddp
  252.               Same  as  parenb  parodd  cs7.   With  `-', same as
  253.               -parenb cs8.
  254.  
  255.        [-]nl  Same as -icrnl -onlcr.  With  `-',  same  as  icrnl
  256.               -inlcr -igncr onlcr -ocrnl -onlret.
  257.  
  258.        ek     Reset  the  erase  and  kill  special characters to
  259.  
  260.  
  261.  
  262.                                                                 4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. STTY(1L)                                                 STTY(1L)
  269.  
  270.  
  271.               their default values.
  272.  
  273.        sane   Same as cread -ignbrk brkint  -inlcr  -igncr  icrnl
  274.               -ixoff  -iuclc  -ixany  imaxbel opost -olcuc -ocrnl
  275.               onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
  276.               vt0 ff0 isig icanon iexten echo echoe echok -echonl
  277.               -noflsh -xcase -tostop -echoprt echoctl echoke, and
  278.               also  sets  all special characters to their default
  279.               values.
  280.  
  281.        [-]cooked
  282.               Same as brkint ignpar istrip icrnl ixon opost  isig
  283.               icanon,  plus  sets  the  eof and eol characters to
  284.               their default values if they are the  same  as  the
  285.               min and time characters.  With `-', same as raw.
  286.  
  287.        [-]raw Same  as  -ignbrk  -brkint  -ignpar  -parmrk -inpck
  288.               -istrip -inlcr -igncr -icrnl  -ixon  -ixoff  -iuclc
  289.               -ixany  -imaxbel  -opost -isig -icanon -xcase min 1
  290.               time 0.  With `-', same as cooked.
  291.  
  292.        [-]cbreak
  293.               Same as -icanon.
  294.  
  295.        [-]pass8
  296.               Same as -parenb -istrip cs8.   With  `-',  same  as
  297.               parenb istrip cs7.
  298.  
  299.        [-]litout
  300.               Same as -parenb -istrip -opost cs8.  With `-', same
  301.               as parenb istrip opost cs7.
  302.  
  303.        [-]decctlq (np)
  304.               Same as -ixany.
  305.  
  306.        [-]tabs (np)
  307.               Same as tab0.  With `-', same as tab3.
  308.  
  309.        [-]lcase [-]LCASE (np)
  310.               Same as xcase iuclc olcuc.
  311.  
  312.        crt    Same as echoe echoctl echoke.
  313.  
  314.        dec    Same as echoe echoctl echoke -ixany, and also  sets
  315.               the interrupt s