# HG changeset patch # User roug # Date 1026032336 0 # Node ID 0b25831b73ee2f5198ce012dedb1c6218ca8237c # Parent d9631713b7cd196e84397ec652629dc7feca9acd Split up the commands into individual files. diff -r d9631713b7cd -r 0b25831b73ee docs/nitros9guide/tmode.refentry --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/nitros9guide/tmode.refentry Sun Jul 07 08:58:56 2002 +0000 @@ -0,0 +1,205 @@ + + +TMODE +Change terminal operating mode + + + + +TMODE + + .&replstart;pathnum&replend; + + + &replstart;arglist&replend; + + + + +Description + +This command is used to display or change the operating parameters +of the user's terminal. + + +If no arguments are given, the present values for each parameter are +displayed, otherwise, the parameter(s) given in the argument list +are processed. Any number of parameters can be. given, and are +separated by spaces or commas. A period and a number can be used to +optionally specify the path number to be affected. If none is given, +the standard input path is affected. + + +NOTE: If this command is used in a shell procedure file, the +option ".&replstart;path num&replend;" must be used to specify one of the standard +output paths (0, 1 or 2) to change the terminal's operating +characteristics. The change will remain in effect until the path is +closed. To effect a permanent change to a device characteristic, +the device descriptor must be changed. + + +This command can work only if a path to the file/device has already +been opened. You may alter the device descriptor to set a device's +initial operating parameter (see the System Programmer's Manual). + + + + + + + + +upc +Upper case only. Lower case characters are automatically +converted to upper case. + + +-upc +Upper case and lower case characters permitted (default). + + +bsb +Erase on backspace: backspace characters echoed as a +backspace-space-backspace sequence (default). + + +-bsb +no erase on backspace: echoes single backspace only + + +bsl +Backspace over line: lines are "deleted" by sending +backspace-space-backspace sequences to erase the same +line (for video terminals) (default). + + +-bsl +No backspace over line: lines are "deleted" by printing +a new line sequence (for hard-copy terminals). +echo Input characters "echoed" back to terminal (default) + + +-echo +No echo + + +lf +Auto line feed on: line feeds automatically echoed to +terminal on input and output carriage returns (default). + + +-lf +Auto line feed off. + + +pause +Screen pause on: output suspended upon full screen. See +"pag" parameter for definition of screen size. Output +can be resumed by typing any key. + + +-pause +Screen pause mode off. + + +null=n +Set null count: number of null ($00) characters +transmitted after carriage returns for return delay. +The number is decimal, default = 0. + + +pag=n +Set video display page length to n (decimal) lines. +Used for "pause" mode, see above. + + +bsp=h +Set input backspace character. Numeric value of +character in hexadecimal. Default = 08. + + +bse=h +Set output backspace character. Numeric value of +character in hexadecimal. Default = 08. + + +del=h +Set input delete line character. Numeric value of +character in hexadecimal. Default = 18. + + +bell=h +Set bell (alert) output character. Numeric value of +character in hexadecimal. Default = 07 + + +eor=h +Set end-of-record (carriage return) input character. +Numeric value of character in hexadecimal. Default = 0D + + +eof=h +Set end-of-file input character. Numeric value of +character in hexadecimal. Default 1B. + + +type=h +ACIA initialization value: sets parity, word size, etc. +Value in hexadecimal. Default 15 + + +reprint=h +Reprint line character. Numeric value of character +in hexadecimal. + + +dup=h +Duplicate last input line character. Numeric value of +character in hexadecimal. + + +psc=h +Pause character. Numeric value of character in +hexadecimal. + + +abort=h +Abort character (normally control C). Numeric value +of character in hexadecimal. + + +quit=h +Quit character (normally control E). Numeric value +of character in hexadecimal. + + +baud=d +Set baud rate for software-controllable interface. Numeric +code for baud rate: 0=110 1=300 2=600 3=1200 4=2400 5=4800 +6=9600 7=19200 + + + + + + +Examples + +tmode -upc lf null=4 bselF pause + +tmode pag=24 pause bsl -echo bsp=8 bsl=C + + +NOTE: If you use TMODE in a procedure file, it will be necessary to +specify one of the standard output paths (.1 or .2) since the +shell's standard input path will have been redirected to the disk +file (TMODE can be used on an SCFMAN-type devices only). + +Example: + + +tmode .1 pag=24 (set lines/page on standard output) + + + +