.\"
.\" @(#)mesg.1 8.1 (Berkeley) 6/6/93
.\"
-.\" Fri Mar 10 20:31:02 1995, modified for standard man macros,
-.\" faith@cs.unc.edu
-.\"
-.\"
-.\" "
-.TH MESG 1 "April 2011" "util-linux" "User Commands"
+.TH MESG 1 "July 2014" "util-linux" "User Commands"
.SH NAME
-mesg \- display (do not display) messages from other users
+mesg \- display (or do not display) messages from other users
.SH SYNOPSIS
.B mesg
-.RB [options]
+[option]
.RB [ n | y ]
.SH DESCRIPTION
The
.B mesg
-utility is invoked by a users to control write access others have to the
-terminal device associated with the standard error output. If write access
+utility is invoked by a user to control write access others have to the
+terminal device associated with standard error output. If write access
is allowed, then programs such as
.BR talk (1)
and
.SH ARGUMENTS
.TP
.B n
-Disallows messages.
+Disallow messages.
.TP
.B y
-Permits messages to be displayed.
+Allow messages to be displayed.
+.PP
+If no arguments are given,
+.B mesg
+shows the current message status on standard error output.
.SH OPTIONS
.TP
-.B \-v, \-\-verbose
+.BR \-v , " \-\-verbose"
Explain what is being done.
.TP
-.B \-V, \-\-verbose
+.BR \-V , " \-\-version"
Display version information and exit.
.TP
-.B \-h, \-\-help
+.BR \-h , " \-\-help"
Display help text and exit.
-.PP
-If no arguments are given,
-.B mesg
-displays the present message status to the standard error output.
-.PP
+.SH EXIT STATUS
The
.B mesg
utility exits with one of the following values:
+.RS 4
.TP
-.I "\ 0"
+.B "\ 0"
Messages are allowed.
.TP
-.I "\ 1"
+.B "\ 1"
Messages are not allowed.
.TP
-.I ">1"
+.B ">1"
An error has occurred.
+.RE
.SH FILES
.I /dev/[pt]ty[pq]?
.SH "SEE ALSO"
(for the
.B ncurses
.BR tput ).
-This sequence seems to be sufficient to reset the Linux VC's when they
-start printing "funny-looking" characters. For good measure,
+This sequence seems to be sufficient to reset a Linux VC when it
+starts printing "funny-looking" characters. For good measure,
.BR stty (1)
is called with the
.I sane
.\"
.\" @(#)script.1 6.5 (Berkeley) 7/27/91
.\"
-.TH SCRIPT "1" "September 2011" "util-linux" "User Commands"
+.TH SCRIPT "1" "June 2014" "util-linux" "User Commands"
.SH NAME
script \- make typescript of terminal session
.SH SYNOPSIS
.B script
-[options] [file]
+[options]
+.RI [ file ]
.SH DESCRIPTION
.B script
-makes a typescript of everything printed on your terminal. It is useful for
+makes a typescript of everything displayed on your terminal. It is useful for
students who need a hardcopy record of an interactive session as proof of an
assignment, as the typescript file can be printed out later with
.BR lpr (1).
.I file
is given,
.B script
-saves all dialogue in
+saves the dialogue in this
.IR file .
-If no file name is given, the typescript is saved in the file
-.IR typescript .
+If no filename is given, the dialogue is saved in the file
+.BR typescript .
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-append\fR
Append the output to
.I file
-or
-.IR typescript ,
+or to
+.BR typescript ,
retaining the prior contents.
.TP
\fB\-c\fR, \fB\-\-command\fR \fIcommand\fR
.SH NOTES
The script ends when the forked shell exits (a
.I control-D
-to exit
-the Bourne shell
+for the Bourne shell
.RB ( sh (1)),
and
.IR exit ,
Certain interactive commands, such as
.BR vi (1),
create garbage in the typescript file.
-.B Script
+.B script
works best with commands that do not manipulate the screen, the results are
meant to emulate a hardcopy terminal.
.SH ENVIRONMENT
.TP
.B SHELL
If the variable
-.I SHELL
+.B SHELL
exists, the shell forked by
.B script
-will be that shell. If
-.I SHELL
+will be that shell. If
+.B SHELL
is not set, the Bourne shell is assumed. (Most shells set this variable
automatically).
.SH SEE ALSO
.B script
command appeared in 3.0BSD.
.SH BUGS
-.B Script
+.B script
places
-.B everything
+.I everything
in the log file, including linefeeds and backspaces. This is not what the
naive user expects.
.SH AVAILABILITY
scriptreplay \- play back typescripts, using timing information
.SH "SYNOPSIS"
.B scriptreplay
-.RI [ options ]
+[options]
.RB [ \-t ]
.I timingfile
.RI [ typescript
.RI [ divisor ]]
.SH "DESCRIPTION"
This program replays a typescript, using timing information to ensure that
-output happens at the same speed as it originally appeared when the script
+output happens in the same rhythm as it originally appeared when the script
was recorded.
.PP
The replay simply displays the information again; the programs
The first three options will overide old-style arguments.
.TP
.BR \-t , " \-\-timing " \fIfile\fR
-File containing script timing output.
+File containing \fBscript\fR's timing output.
.TP
.BR \-s , " \-\-typescript " \fIfile\fR
-File containing the script terminal output.
+File containing \fBscript\fR's terminal output.
.TP
.BR \-d , " \-\-divisor " \fInumber\fR
Speed up the replay displaying this
because it divides the timings by this factor.
.TP
.BR \-m , " \-\-maxdelay " \fInumber\fR
-Set the maximal delay between transcript updates to
+Set the maximum delay between transcript updates to
.I number
-seconds. The argument is a floating point number. This can be used to
+of seconds. The argument is a floating point number. This can be used to
avoid long pauses in the transcript replay.
.TP
.BR \-V , " \-\-version"
setterm \- set terminal attributes
.SH SYNOPSIS
.B setterm
-.RI [ options ]
+[options]
.SH DESCRIPTION
.B setterm
writes to standard output a character string that will invoke the specified
.\"
.TH WALL "1" "August 2013" "util-linux" "User Commands"
.SH NAME
-wall \- write a message to users
+wall \- write a message to all users
.SH SYNOPSIS
.B wall
.RB [ \-n ]
.SH DESCRIPTION
.B wall
displays a
-.I message
+.IR message ,
or the contents of a
-.I file
-or, by default, its standard input, on the terminals of all currently logged
+.IR file ,
+or otherwise its standard input, on the terminals of all currently logged
in users. The command will wrap lines that are longer than 79 characters.
Short lines are whitespace padded to have 79 characters. The command will
always put a carriage return and new line at the end of each line.
.I user
.RI [ ttyname ]
.SH DESCRIPTION
-.B Write
+.B write
allows you to communicate with other users, by copying lines from
your terminal to theirs.
.PP
.BR nroff (1)
and
.BR pr (1),
-may disallow writing automatically, so that your output isn't overwritten.
+may automatically disallow writing, so that the output they produce
+isn't overwritten.
.PP
If the user you want to write to is logged in on more than one terminal,
-you can specify which terminal to write to by specifying the terminal
+you can specify which terminal to write to by giving the terminal
name as the second operand to the
.B write
command. Alternatively, you can let