minix/man/man1/write.1

42 lines
873 B
Groff
Raw Normal View History

2005-05-02 15:01:42 +02:00
.TH WRITE 1
.SH NAME
write \- send a message to a logged-in user
.SH SYNOPSIS
\fBwrite\fR [\fB\-cv\fR] \fIuser\fR [\fItty\fR]\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
2012-03-31 23:44:29 +02:00
.TP 5
.B \-c
# Use cbreak mode
.TP 5
.B \-v
# Verbose mode
2005-05-02 15:01:42 +02:00
.SH EXAMPLES
2012-03-31 23:44:29 +02:00
.TP 20
.B write ast
# Send a message to ast
.TP 20
.B write ast tty00
# Send a message to ast on tty00
2005-05-02 15:01:42 +02:00
.SH DESCRIPTION
.PP
\fIWrite\fR lets a user send messages to another logged-in user.
Lines typed by the user appear on the other user's screen a line at a time
(a character at a time in the case of cbreak mode).
The file \fI/usr/adm/wtmp\fR is searched to determine which tty to send to.
If the user is logged onto more than one terminal, the \fItty\fR argument
selects the terminal. Type CTRL- D to terminate the command.
Use ! as a shell escape.
.SH "SEE ALSO"
.BR mail (1).