[BACK]Return to tset.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / tset

Diff for /src/usr.bin/tset/tset.1 between version 1.5 and 1.6

version 1.5, 1998/10/30 00:24:40 version 1.6, 1998/11/16 03:08:41
Line 1 
Line 1 
 .\"     $OpenBSD$  .\"     $OpenBSD$
 .\"     $NetBSD: tset.1,v 1.4.2.1 1995/12/05 02:53:34 jtc Exp $  
 .\"  .\"
 .\" Copyright (c) 1985, 1990, 1993  .\" Copyright (c) 1985, 1990, 1993
 .\"     The Regents of the University of California.  All rights reserved.  .\"     The Regents of the University of California.  All rights reserved.
Line 34 
Line 33 
 .\"  .\"
 .\"     @(#)tset.1      8.1 (Berkeley) 6/9/93  .\"     @(#)tset.1      8.1 (Berkeley) 6/9/93
 .\"  .\"
 .Dd June 9, 1993  .Dd November 15, 1998
 .Dt TSET 1  .Dt TSET 1
 .Os BSD 4  .Os
 .Sh NAME  .Sh NAME
 .Nm tset  .Nm tset
 .Nd terminal initialization  .Nd terminal initialization
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm tset  .Nm tset
 .Op Fl IQrSs  .Op Fl IQqrSs
 .Op Fl  .Op Fl
 .Op Fl e Ar ch  .Op Fl e Ar ch
 .Op Fl i Ar ch  .Op Fl i Ar ch
Line 51 
Line 50 
 .Op Ar terminal  .Op Ar terminal
 .br  .br
 .Nm reset  .Nm reset
 .Op Fl IQrSs  .Op Fl IQqrSs
 .Op Fl  .Op Fl
 .Op Fl e Ar ch  .Op Fl e Ar ch
 .Op Fl i Ar ch  .Op Fl i Ar ch
Line 64 
Line 63 
 .Nm tset  .Nm tset
 first determines the type of terminal that you are using.  first determines the type of terminal that you are using.
 This determination is done as follows, using the first terminal type found:  This determination is done as follows, using the first terminal type found:
 .sp  .Bl -enum -offset indent
 .Bl -bullet -compact -offset indent  
 .It  .It
 The  The
 .Ar terminal  .Ar terminal
Line 79 
Line 77 
 .Pa /etc/ttys  .Pa /etc/ttys
 file.  file.
 .It  .It
 The default terminal type, ``unknown''.  The default terminal type,
   .Dq unknown .
 .El  .El
 .Pp  .Pp
 If the terminal type was not specified on the command-line, the  If the terminal type was not specified on the command-line, the
Line 118 
Line 117 
 .Bl -tag -width flag  .Bl -tag -width flag
 .It Fl  .It Fl
 The terminal type is displayed to the standard output, and the terminal is  The terminal type is displayed to the standard output, and the terminal is
 not initialized in any way.  not initialized in any way.  This option has been deprecated in favor of
   the
   .Fl q
   flag.
 .It Fl e Ar ch  .It Fl e Ar ch
 Set the erase character to  Set the erase character to
 .Ar ch .  .Ar ch .
Line 135 
Line 137 
 See below for more information.  See below for more information.
 .It Fl Q  .It Fl Q
 Don't display any values for the erase, interrupt and line kill characters.  Don't display any values for the erase, interrupt and line kill characters.
   .It Fl q
   The terminal type is displayed to the standard output, and the terminal is
   not initialized in any way.
 .It Fl r  .It Fl r
 Print the terminal type to the standard error output.  Print the terminal type to the standard error output.
 .It Fl S  .It Fl S
Line 186 
Line 191 
 shell's environment are written to the standard output.  shell's environment are written to the standard output.
 If the  If the
 .Ev SHELL  .Ev SHELL
 environment variable ends in ``csh'', the commands are for  environment variable ends in
   .Dq csh ,
   the commands are for
 .Xr csh 1 ,  .Xr csh 1 ,
 otherwise, they are for  otherwise, they are for
 .Xr sh 1 .  .Xr sh 1 .
Line 240 
Line 247 
 .Xr csh 1  .Xr csh 1
 users) it is often desirable to provide information about the type of  users) it is often desirable to provide information about the type of
 terminal used on such ports.  terminal used on such ports.
   .Pp
 The purpose of the  The purpose of the
 .Fl m  .Fl m
 option is to  option is to
Line 350 
Line 358 
 command appeared in  command appeared in
 .Bx 3.0 .  .Bx 3.0 .
 .Sh COMPATIBILITY  .Sh COMPATIBILITY
   The
   .Nm tset
   command now uses the
   .Xr terminfo 5
   database where previous versions used
   .Xr termcap 5 .
   To make the
   .Fl s
   and
   .Fl S
   options still work,
   .Nm tset
   also reads in the terminal entry from
   .Xr termcap 5 .
   However, this info is used for setting
   .Ev TERMCAP
   only.  If the terminal type appears in
   .Xr terminfo 5
   but not in
   .Xr termcap 5 ,
   the
   .Fl q
   option will not set
   .Ev TERMCAP
   and the
   .Fl Q
   option will not work at all.
   .Pp
 The  The
 .Fl A ,  .Fl A ,
 .Fl E ,  .Fl E ,

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6