BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.bin / tset / tset.1
index b0cfeb9..8a05fe1 100644 (file)
@@ -1,13 +1,37 @@
 .\" Copyright (c) 1985, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" Copyright (c) 1985, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
-.\" %sccs.include.redist.man%
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"     @(#)tset.1     6.6 (Berkeley) %G%
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
 .\"
 .\"
-.Vx
-.Vx
-.Dd 
+.\"    @(#)tset.1      6.7 (Berkeley) 7/27/91
+.\"
+.Dd July 27, 1991
 .Dt TSET 1
 .Os BSD 4
 .Sh NAME
 .Dt TSET 1
 .Os BSD 4
 .Sh NAME
 .Sh SYNOPSIS
 .Nm tset
 .Op Ar options
 .Sh SYNOPSIS
 .Nm tset
 .Op Ar options
-.Cx \&[\ \&
+.Oo
 .Fl m
 .Fl m
-.Cx \&\ \&
-.Op Ar ident
-.Op Ar test baudrate
-.Cx Cm \&:
-.Ar type
-.Cx \&]\ \&...
-.Cx
-.Op  type
-.Pp
+.Oo
+.Ar ident
+.Oc Ns Oo
+.Ar test baudrate
+.Oc Ns Cm \&: Ns Ar type
+.Oc ...
+.Op type
 .Nm reset
 .Op Ar options
 .Nm reset
 .Op Ar options
-.Cx \&[\ \&
+.Oo
 .Fl m
 .Fl m
-.Cx \&\ \&
-.Op Ar ident
-.Op Ar test baudrate
-.Cx Cm \&:
-.Ar type
-.Cx \&]\ \&...
-.Cx
-.Op  type
+.Oo
+.Ar ident
+.Oc Ns Oo
+.Ar test baudrate
+.Oc Ns Cm \&: Ns Ar type
+.Oc ...
+.Op type
 .Sh DESCRIPTION
 .Nm Tset
 .Sh DESCRIPTION
 .Nm Tset
-sets up your terminal when you first log in to a UNIX system.
+sets up your terminal when you first log in to a
+.Tn UNIX
+system.
 It does terminal dependent processing such as setting
 erase and kill characters, setting or resetting delays,
 sending any sequences needed to properly initialized the terminal,
 It does terminal dependent processing such as setting
 erase and kill characters, setting or resetting delays,
 sending any sequences needed to properly initialized the terminal,
@@ -51,7 +74,7 @@ It first determines the
 of terminal involved,
 and then does necessary initializations and mode settings.
 The type of terminal attached to each
 of terminal involved,
 and then does necessary initializations and mode settings.
 The type of terminal attached to each
-UNIX
+.Tn UNIX
 port is specified in the
 .Xr ttys  5
 database.
 port is specified in the
 .Xr ttys  5
 database.
@@ -60,22 +83,21 @@ Type names for terminals may be found in the
 database.
 If a port is not wired permanently to a specific terminal (not hardwired)
 it will be given an appropriate generic identifier such as
 database.
 If a port is not wired permanently to a specific terminal (not hardwired)
 it will be given an appropriate generic identifier such as
-.Ar dialup  .
+.Em dialup  .
 .Pp
 In the case where no arguments are specified,
 .Nm tset
 simply reads the terminal type out of the environment variable
 .Ev TERM
 .Pp
 In the case where no arguments are specified,
 .Nm tset
 simply reads the terminal type out of the environment variable
 .Ev TERM
-and re-initializes the terminal.  The rest of this manual concerns
+and re-initializes the terminal.
+The rest of this manual concerns
 itself with mode and environment initialization,
 typically done once at login, and options
 used at initialization time to determine the terminal type and set up
 terminal modes.
 .Pp
 itself with mode and environment initialization,
 typically done once at login, and options
 used at initialization time to determine the terminal type and set up
 terminal modes.
 .Pp
-.Tw Ds
-.Tp Cx Fl e
-.Ar c
-.Cx
+.Bl -tag -width flag
+.It Fl e Ns Ar c
 set the erase character to be the named character
 .Ar c
 on all terminals,
 set the erase character to be the named character
 .Ar c
 on all terminals,
@@ -84,9 +106,7 @@ The character
 .Ar c
 can either be typed directly, or entered using the hat
 notation used here.
 .Ar c
 can either be typed directly, or entered using the hat
 notation used here.
-.Tp Cx Fl k
-.Ar c
-.Cx
+.It Fl k Ns Ar c
 is similar to
 .Fl e
 but for the line kill character rather than the erase character;
 is similar to
 .Fl e
 but for the line kill character rather than the erase character;
@@ -96,21 +116,20 @@ The kill characters is left alone if
 .Fl k
 is not specified.
 The hat notation can also be used for this option.
 .Fl k
 is not specified.
 The hat notation can also be used for this option.
-.Tp Cx Fl i
-.Ar c
-.Cx
+.It Fl i Ns Ar c
 is similar to
 .Fl e
 but for the interrupt character rather than the erase character;
 .Ar c
 is similar to
 .Fl e
 but for the interrupt character rather than the erase character;
 .Ar c
-defaults to ^C.  The hat notation can also be used for this option.
-.Tp Fl
+defaults to ^C.
+The hat notation can also be used for this option.
+.It Fl
 The name of the terminal finally decided upon is output on the
 standard output.
 This is intended to be captured by the shell and placed in the
 environment variable
 .Ev TERM.
 The name of the terminal finally decided upon is output on the
 standard output.
 This is intended to be captured by the shell and placed in the
 environment variable
 .Ev TERM.
-.Tp Fl s
+.It Fl s
 Print the sequence of
 .Xr csh 1
 commands to initialize the environment variables
 Print the sequence of
 .Xr csh 1
 commands to initialize the environment variables
@@ -119,44 +138,46 @@ and
 .Ev TERMCAP
 based on
 the name of the terminal finally decided upon.
 .Ev TERMCAP
 based on
 the name of the terminal finally decided upon.
-.Tp Fl m
+.It Fl m
 The
 .FL m
 Specify what terminal type to use on specific ports (i.e. map the
 terminal type to a port as found in
 .Xr ttys 5 . )
 See below.
 The
 .FL m
 Specify what terminal type to use on specific ports (i.e. map the
 terminal type to a port as found in
 .Xr ttys 5 . )
 See below.
-.Tp Fl n
-On systems with the Berkeley 4BSD tty driver,
+.It Fl n
+On systems with the
+.Bx 4
+driver,
 specifies that the new tty driver modes should be initialized for this terminal.
 For a
 specifies that the new tty driver modes should be initialized for this terminal.
 For a
-.Li CRT ,
+.Tn CRT ,
 the
 the
-.Li CRTERASE
+.Dv CRTERASE
 and
 and
-.Li CRTKILL
+.Dv CRTKILL
 modes are set only if the baud rate is 1200 or greater.
 See
 .Xr tty 4
 for more detail.
 modes are set only if the baud rate is 1200 or greater.
 See
 .Xr tty 4
 for more detail.
-.Tp Fl I
+.It Fl I
 suppresses transmitting terminal initialization strings.
 suppresses transmitting terminal initialization strings.
-.Tp Fl Q
+.It Fl Q
 suppresses printing the
 suppresses printing the
-.Dq Li Erase set to
+.Dq Li "Erase set to"
 and
 and
-.Dq Li Kill set to
+.Dq Li "Kill set to"
 messages.
 messages.
-.Tp
+.El
 .Pp
 When used in a startup script
 .Pp
 When used in a startup script
-.Pf \&( Pa \&.profile
+.Pf ( Pa .profile
 for
 .Xr sh  1
 users or
 for
 .Xr sh  1
 users or
-.Pa \&.login
+.Pa .login
 for
 for
-.Xr csh  1
+.Xr csh 1
 users) it is desirable to give information about the type of terminal
 you will usually use on ports which are not hardwired.
 These ports are identified in
 users) it is desirable to give information about the type of terminal
 you will usually use on ports which are not hardwired.
 These ports are identified in
@@ -187,31 +208,31 @@ may be used for the identifier.
 A
 .Ar baudrate
 is specified as with
 A
 .Ar baudrate
 is specified as with
-.Xr stty  1  ,
+.Xr stty  1 ,
 and is compared with the
 speed of the diagnostic output (which should be the control terminal).
 The baud rate
 .Ar test
 may be any combination of:
 and is compared with the
 speed of the diagnostic output (which should be the control terminal).
 The baud rate
 .Ar test
 may be any combination of:
-.Ic \&> ,
-.Ic \&@ ,
-.Ic \&< ,
+.Cm \&> ,
+.Cm \&@ ,
+.Cm \&< ,
 and
 and
-.Ic \&! ;
-.Ic \&@
+.Cm \&! ;
+.Cm \&@
 means ``at''
 and
 means ``at''
 and
-.Ic \&!
-inverts the sense of the test.  To avoid problems with metacharacters, it
+.Cm \&!
+inverts the sense of the test.
+To avoid problems with metacharacters, it
 is best to place the entire argument to
 .Fl m
 within ``\''' characters; users of
 .Xr csh  1
 must also put a ``\e'' before any ``!'' used here.
 is best to place the entire argument to
 .Fl m
 within ``\''' characters; users of
 .Xr csh  1
 must also put a ``\e'' before any ``!'' used here.
-.Pp
-.Df I
+.Bd -filled -offset indent
 tset \-m \'dialup>300:adm3a\' -m dialup:dw2 -m \'plugboard:?adm3a\'
 tset \-m \'dialup>300:adm3a\' -m dialup:dw2 -m \'plugboard:?adm3a\'
-.De
+.Ed
 .Pp
 causes the terminal type to be set to an
 .Ar adm3a
 .Pp
 causes the terminal type to be set to an
 .Ar adm3a
@@ -219,9 +240,10 @@ if the port in use is a dialup at a speed greater than 300 baud;
 to a
 .Ar dw2
 if the port is (otherwise) a dialup (i.e. at 300 baud or less).
 to a
 .Ar dw2
 if the port is (otherwise) a dialup (i.e. at 300 baud or less).
-.Ar NOTE :
+.Sy NOTE :
 the examples given here appear to take up more than
 the examples given here appear to take up more than
-one line, for text processing reasons.  When you type in real
+one line, for text processing reasons.
+When you type in real
 .Nm tset
 commands, you must enter them entirely on one line.
 If the
 .Nm tset
 commands, you must enter them entirely on one line.
 If the
@@ -234,7 +256,7 @@ A null response means to use that type;
 otherwise, another type can be entered which will be used instead.
 Thus, in the above case, the user will be queried on a plugboard port
 as to whether they are actually using an
 otherwise, another type can be entered which will be used instead.
 Thus, in the above case, the user will be queried on a plugboard port
 as to whether they are actually using an
-.Ar adm3a  .
+.Ar adm3a .
 .Pp
 If no mapping applies and a final
 .Ar type
 .Pp
 If no mapping applies and a final
 .Ar type
@@ -250,44 +272,39 @@ This should always be the case for hardwired ports.
 It is usually desirable to return the terminal type, as finally determined by
 .Nm tset  ,
 and information about the terminal's capabilities
 It is usually desirable to return the terminal type, as finally determined by
 .Nm tset  ,
 and information about the terminal's capabilities
-to a shell's environment.  This can be done using the
+to a shell's environment.
+This can be done using the
 .Fl
 option; using the Bourne shell,
 .Fl
 option; using the Bourne shell,
-.Xr sh  1  :
-.Pp
-.Df I
-.Li export TERM; TERM=\&\`tset \-
-.Ar options ...
-.Li \&\`
-.De
+.Xr \&sh  1  :
+.Bd -literal -offset indent
+export TERM; TERM=\`tset options ... \`
+.Ed
 .Pp
 or using the C shell,
 .Xr csh  1  :
 .Pp
 or using the C shell,
 .Xr csh  1  :
-.Pp
-.Df I
-.Li setenv TERM \`tset \-
-.Ar options . . .
-.Li \&\`
-.De
+.Bd -literal -offset indent
+setenv TERM \`tset \- options ...  \`
+.Ed
 .Pp
 With
 .Xr csh 1
 .Pp
 With
 .Xr csh 1
-it is preferable to use the following command in your .login file to
+it is preferable to use the following command in one's
+.Pa .login
+file to
 initialize the
 .Ev TERM
 and
 .Ev TERMCAP
 environment variables at the same time.
 initialize the
 .Ev TERM
 and
 .Ev TERMCAP
 environment variables at the same time.
-.Pp
-.Df I
-.Li eval \`tset -s
-.Ar options ...
-.Li \&\`
-.De
+.Bd -literal -offset indent
+eval \`tset -s options ... \`
+.Ed
 .Pp
 It is also convenient to make an alias in your .cshrc:
 .Pp
 It is also convenient to make an alias in your .cshrc:
-.Pp
-.Dl alias tset \'eval \`tset \-s \e!*\`\'
+.Bd -literal -offset indent
+alias tset \'eval \`tset \-s \e!*\`\'
+.Ed
 .Pp
 This allows the command:
 .Pp
 .Pp
 This allows the command:
 .Pp
@@ -321,11 +338,11 @@ the terminal initialization sequence.
 .Pp
 On terminals that can backspace but not overstrike
 (such as a
 .Pp
 On terminals that can backspace but not overstrike
 (such as a
-.Em CRT ) ,
+.Tn CRT ) ,
 and when the erase character is the default erase character
 (`#' on standard systems),
 the erase character is changed to
 and when the erase character is the default erase character
 (`#' on standard systems),
 the erase character is changed to
-.Li BACKSPACE
+.Dv BACKSPACE
 (Control-H).
 .Pp
 If
 (Control-H).
 .Pp
 If
@@ -336,18 +353,21 @@ it will set cooked and echo modes, turn off cbreak and raw modes,
 turn on newline translation, and restore special characters
 to a sensible state before any terminal dependent processing is done.
 Any special character that is found to be
 turn on newline translation, and restore special characters
 to a sensible state before any terminal dependent processing is done.
 Any special character that is found to be
-.Li NULL
-or ``\-1'' is reset to its default value.  All arguments to
+.Tn NULL
+or ``\-1'' is reset to its default value.
+All arguments to
 .Nm tset
 may be used with reset.
 .Pp
 This is most useful after a program dies leaving a terminal in a funny
 .Nm tset
 may be used with reset.
 .Pp
 This is most useful after a program dies leaving a terminal in a funny
-state. You may have to type
+state.
+You may have to type
 .Dq Li <LF>reset<LF>
 to get it to work
 since
 .Li <CR>
 .Dq Li <LF>reset<LF>
 to get it to work
 since
 .Li <CR>
-may not work in this state. Often none of this will echo.
+may not work in this state.
+Often none of this will echo.
 .Sh EXAMPLES
 .Pp
 These examples all assume the Bourne shell and use the
 .Sh EXAMPLES
 .Pp
 These examples all assume the Bourne shell and use the
@@ -359,7 +379,8 @@ use one of the variations described above.
 Note that a typical use of
 .Nm tset
 in a
 Note that a typical use of
 .Nm tset
 in a
-.Pa .profile or
+.Pa .profile
+or
 .Pa .login
 will also use the
 .Fl e
 .Pa .login
 will also use the
 .Fl e
@@ -373,7 +394,8 @@ options as well.
 These options have not been included here to keep the examples small.
 .Sy NOTE :
 some of the examples given here appear to take up more than
 These options have not been included here to keep the examples small.
 .Sy NOTE :
 some of the examples given here appear to take up more than
-one line, for text processing reasons.  When you type in real
+one line, for text processing reasons.
+When you type in real
 .Nm tset
 commands, you must enter them entirely on one line.
 .Pp
 .Nm tset
 commands, you must enter them entirely on one line.
 .Pp
@@ -384,15 +406,16 @@ not for a
 .Pa .profile, unless you are
 .Em always
 on a 2621.
 .Pa .profile, unless you are
 .Em always
 on a 2621.
-.Pp
-.Dl export TERM; TERM=\`tset \- 2621\`
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \- 2621\`
+.Ed
 .Pp
 You have an h19 at home which you dial up on, but your office terminal
 is hardwired and known in
 .Pp
 You have an h19 at home which you dial up on, but your office terminal
 is hardwired and known in
-Xr ttys 5 .
-.Pp
-.Dl export 
-TERM; TERM=\`tset \- \-m dialup:h19\`
+.Xr ttys 5 .
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \- \-m dialup:h19\`
+.Ed
 .Pp
 You have a switch which connects everything to everything, making
 it nearly impossible to key on what port you are coming in on.
 .Pp
 You have a switch which connects everything to everything, making
 it nearly impossible to key on what port you are coming in on.
@@ -405,12 +428,10 @@ always on a 2621.
 Note the placement of the question mark, and the quotes
 to protect the greater than and question mark from
 interpretation by the shell.
 Note the placement of the question mark, and the quotes
 to protect the greater than and question mark from
 interpretation by the shell.
-.Pp
-.Df I
-.Li export TERM;
-.Li TERM=\`tset \- \-m 'switch>1200:?vt100'
-.Li \-m 'switch<=1200:2621'
-.De
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \- \-m 'switch>1200:?vt100'\e
+\-m 'switch<=1200:2621'
+.Ed
 .Pp
 All of the above entries will fall back on the terminal type
 specified in
 .Pp
 All of the above entries will fall back on the terminal type
 specified in
@@ -422,15 +443,17 @@ on many different kinds of terminals.
 Your most common terminal is an adm3a.
 It always asks you what kind of terminal you are on,
 defaulting to adm3a.
 Your most common terminal is an adm3a.
 It always asks you what kind of terminal you are on,
 defaulting to adm3a.
-.Pp
-.Dl export TERM; TERM=\`tset \- \?adm3a\`
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \- ?adm3a\`
+.Ed
 .Pp
 If the file
 .Xr ttys 5
 is not properly installed and you want to
 key entirely on the baud rate, the following can be used:
 .Pp
 If the file
 .Xr ttys 5
 is not properly installed and you want to
 key entirely on the baud rate, the following can be used:
-.Pp
-.Dl export TERM; TERM=\`tset \- \-m '>1200:vt100' 2621\`
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \- \-m '>1200:vt100' 2621\`
+.Ed
 .Pp
 Here is a fancy example to illustrate the power of
 .Nm tset
 .Pp
 Here is a fancy example to illustrate the power of
 .Nm tset
@@ -440,7 +463,11 @@ sometimes over switch ports and sometimes over regular dialups.
 You use various terminals at speeds higher than 1200 over switch ports,
 most often the terminal in your office, which is a vt100.
 However, sometimes you log in from the university you used to go to,
 You use various terminals at speeds higher than 1200 over switch ports,
 most often the terminal in your office, which is a vt100.
 However, sometimes you log in from the university you used to go to,
-over the ARPANET; in this case you are on an ALTO emulating a dm2500.
+over the
+.Tn ARPANET ;
+in this case you are on an
+.Tn ALTO
+emulating a dm2500.
 You also often log in on various hardwired ports, such as the console,
 all of which are properly entered in
 .Xr ttys 5 .
 You also often log in on various hardwired ports, such as the console,
 all of which are properly entered in
 .Xr ttys 5 .
@@ -452,15 +479,11 @@ to print the
 .Dq Li Erase set to Backspace ,
 .Dq Li Kill set to Control U
 message.
 .Dq Li Erase set to Backspace ,
 .Dq Li Kill set to Control U
 message.
-.Pp
-.Df I
-.Li export TERM;
-.Li TERM=\`tset \-e \-k^U \-Q \-
-.Li \-m 'switch<=1200:concept100'
-.Li \-m 'switch:?vt100'
-.Li \-m dialup:concept100
-.Li \-m arpanet:dm2500\`
-.De
+.Bd -literal -offset indent
+export TERM; TERM=\`tset \-e \-k^U \-Q \-\e
+\-m 'switch<=1200:concept100' \-m 'switch:?vt100'\e
+\-m dialup:concept100 \-m arpanet:dm2500\`
+.Ed
 .Sh ENVIRONMENT
 The
 .Nm tset
 .Sh ENVIRONMENT
 The
 .Nm tset
@@ -470,13 +493,12 @@ and
 .Ev TERMCAP
 environment variables.
 .Sh FILES
 .Ev TERMCAP
 environment variables.
 .Sh FILES
-.Dw /usr/share/misc/termcap
-.Di L
-.Dp Pa /etc/ttys
+.Bl -tag -width /usr/share/misc/termcap -compact
+.It Pa /etc/ttys
 port name to terminal type mapping database
 port name to terminal type mapping database
-.Dp Pa /usr/share/misc/termcap
+.It Pa /usr/share/misc/termcap
 terminal capability database
 terminal capability database
-.Dp
+.El
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr sh 1 ,
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr sh 1 ,
@@ -485,14 +507,18 @@ terminal capability database
 .Xr termcap 5 ,
 .Xr environ 7
 .Sh HISTORY
 .Xr termcap 5 ,
 .Xr environ 7
 .Sh HISTORY
-.Nm Tset
-appeared in 3 BSD.
+The
+.Nm tset
+command appeared in
+.Bx 3.0 .
 .Sh BUGS
 .Pp
 The
 .Nm tset
 command is one of the first commands a user must master when getting
 .Sh BUGS
 .Pp
 The
 .Nm tset
 command is one of the first commands a user must master when getting
-started on a UNIX system.
+started on a
+.Tn UNIX
+system.
 Unfortunately, it is one of the most complex,
 largely because of the extra effort the user must go through
 to get the environment of the login shell set.
 Unfortunately, it is one of the most complex,
 largely because of the extra effort the user must go through
 to get the environment of the login shell set.
@@ -506,40 +532,30 @@ or a way to set the environment of the parent should exist.
 This program can't intuit personal choices for erase, interrupt
 and line kill characters, so it leaves these set to the local system
 standards.
 This program can't intuit personal choices for erase, interrupt
 and line kill characters, so it leaves these set to the local system
 standards.
-.ig
-.Sh NOTES
-For compatibility with earlier versions of
-.Nm tset
-a number of flags are accepted whose use is discouraged:
-.Tw Fl
-.Tp Cx Fl d
-.Ar type
-.Cx
-equivalent to
-.Fl m
-.Ar dialup:type
-.Tp Cx Fl p
-.Ar type
-.Cx
-equivalent to
-.Fl m
-.Ar plugboard:type
-.Tp Cx Fl a
-.Ar type
-.Cx
-equivalent to
-.Fl m
-.Ar arpanet:type
-.Cx
-.Tp Cx Fl E
-.Ar c
-.Cx
-Sets the erase character to
-.Ar c
-only if the terminal can backspace.
-.Tp Fl
-prints the terminal type on the standard output
-.Tp Fl r
-prints the terminal type on the diagnostic output.
-.Tp
-..
+.\" .ig
+.\" .Sh NOTES
+.\" For compatibility with earlier versions of
+.\" .Nm tset
+.\" a number of flags are accepted whose use is discouraged:
+.\" .Bl -tag -width Fl
+.\" .It Fl d Ns Ar type
+.\" equivalent to
+.\" .Fl m
+.\" .Ar dialup:type
+.\" .It Fl p Ns Ar type
+.\" equivalent to
+.\" .Fl m
+.\" .Ar plugboard:type
+.\" .It Fl a Ns Ar type
+.\" equivalent to
+.\" .Fl m
+.\" .Ar arpanet:type
+.\" .It Fl E Ns Ar c
+.\" Sets the erase character to
+.\" .Ar c
+.\" only if the terminal can backspace.
+.\" .It Fl
+.\" prints the terminal type on the standard output
+.\" .It Fl r
+.\" prints the terminal type on the diagnostic output.
+.\" .El