X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Ftset.1.html;h=3ecc39a295096408e59f7c45f5e0aba36c8b68b3;hp=73192cd5efbf20576c1207bc622f6ecd12e05911;hb=5dbe81a41e3c75806996cd762b9e55dcc9edb835;hpb=02f02dcd4464143580e783ae32c822d8eb8cdcbf diff --git a/doc/html/man/tset.1.html b/doc/html/man/tset.1.html index 73192cd5..3ecc39a2 100644 --- a/doc/html/man/tset.1.html +++ b/doc/html/man/tset.1.html @@ -1,6 +1,6 @@ @@ -45,21 +45,20 @@ - -
+
tset, reset - terminal initialization --
+
tset [-IQVcqrsw] [-] [-e ch] [-i ch] [-k ch] [-m mapping] [terminal] reset [-IQVcqrsw] [-] [-e ch] [-i ch] [-k ch] [-m mapping] [terminal] --
+
+ +
Tset initializes terminals. Tset first determines the type of terminal that you are using. This determination is done as follows, using the first terminal type found. @@ -99,6 +98,8 @@ versus the other initialization. If neither option is given, both are assumed. + +
When invoked as reset, tset sets cooked and echo modes, turns off cbreak and raw modes, turns on newline transla- tion and resets any unset special characters to their @@ -114,6 +115,8 @@ the abnormal state. Also, the terminal will often not echo the command. + +
The options are as follows: -c Set control characters and modes. @@ -158,8 +161,7 @@ tion, i.e., control-h may be specified as "^H" or "^h". --
+
It is often desirable to enter the terminal type and information about the terminal's capabilities into the shell's environment. This is done using the -s option. @@ -176,8 +178,7 @@ eval `tset -s options ... ` --
+
When the terminal is not hardwired into the system (or the current system information is incorrect) the terminal type derived from the /etc/ttys file or the TERM environmental @@ -236,16 +237,18 @@ marks ("!"). --
+
The tset command appeared in BSD 3.0. The ncurses imple- mentation was lightly adapted from the 4.4BSD sources for a terminfo environment by Eric S. Raymond <esr@snark.thyr- sus.com>. --
+
+ Neither IEEE Std 1003.1/The Open Group Base Specifications + Issue 7 (POSIX.1-2008) nor X/Open Curses Issue 7 documents + tset or reset. + The tset utility has been provided for backward-compati- bility with BSD environments (under most modern UNIXes, /etc/inittab and getty(1) can set TERM appropriately for @@ -271,30 +274,36 @@ -d, and -p options are similarly not documented or useful, but were retained as they appear to be in widespread use. It is strongly recommended that any usage of these three - options be changed to use the -m option instead. The -n - option remains, but has no effect. The -adnp options are - therefore omitted from the usage summary above. - - It is still permissible to specify the -e, -i, and -k - options without arguments, although it is strongly recom- - mended that such usage be fixed to explicitly specify the + options be changed to use the -m option instead. The -a, + -d, and -p options are therefore omitted from the usage + summary above. + + Very old systems, e.g., 3BSD, used a different terminal + driver which was replaced in 4BSD in the early 1980s. To + accommodate these older systems, the 4BSD tset provided a + -n option to specify that the new terminal driver should + be used. This implementation does not provide that + choice. + + It is still permissible to specify the -e, -i, and -k + options without arguments, although it is strongly recom- + mended that such usage be fixed to explicitly specify the character. - As of 4.4BSD, executing tset as reset no longer implies + As of 4.4BSD, executing tset as reset no longer implies the -Q option. Also, the interaction between the - option and the terminal argument in some historic implementations of tset has been removed. --
+
The tset command uses these environment variables: SHELL tells tset whether to initialize TERM using sh or csh syntax. - TERM Denotes your terminal type. Each terminal type is + TERM Denotes your terminal type. Each terminal type is distinct, though many are similar. TERMCAP @@ -304,22 +313,20 @@ looking for the terminal description. --
+
/etc/ttys - system port name to terminal type mapping database + system port name to terminal type mapping database (BSD versions only). /usr/share/terminfo terminal capability database --
+
csh(1), sh(1), stty(1), curs_terminfo(3x), tty(4), terminfo(5), ttys(5), environ(7) - This describes ncurses version 6.0 (patch 20150808). + This describes ncurses version 6.0 (patch 20160514). @@ -329,7 +336,13 @@