DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring terminal line settings

Creating a hunt sequence

The object of a hunt sequence is to link a range of line speeds. Entering a BREAK during the baud rate search causes ttymon to step to the next entry in the sequence. The hunt continues until the baud rate of the line matches the speed of the user's terminal. For example, the following sequence of commands adds records with labels ``1200'', ``2400'', ``4800'', and ``9600'' to the ttydefs file and puts them in a circular list or hunt sequence. In the example, the ``nextlabel'' field of each line is the ``ttylabel'' of the next line. The ``nextlabel'' field for the last line shown points back to the first line in the sequence.

   sttydefs -a 1200 -n 2400 -i 1200 -f "1200 sane"
   sttydefs -a 2400 -n 4800 -i 2400 -f "2400 sane"
   sttydefs -a 4800 -n 9600 -i 4800 -f "4800 sane"
   sttydefs -a 9600 -n 1200 -i 9600 -f "9600 sane"
The records in the ttydefs file will look like this:
   # VERSION=2
   1200:1200:1200 sane::2400
   2400:2400:2400 sane::4800
   4800:4800:4800 sane::9600
   9600:9600:9600 sane::1200

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004