Rev | Line | |
---|
[9] | 1 | .TH WRITE 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | write \- send a message to a logged-in user
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBwrite\fR [\fB\-cv\fR] \fIuser\fR [\fItty\fR]\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-c" "Use cbreak mode"
|
---|
| 19 | .FL "\-v" "Verbose mode"
|
---|
| 20 | .SH EXAMPLES
|
---|
| 21 | .EX "write ast" "Send a message to ast"
|
---|
| 22 | .EX "write ast tty00" "Send a message to ast on tty00"
|
---|
| 23 | .SH DESCRIPTION
|
---|
| 24 | .PP
|
---|
| 25 | \fIWrite\fR lets a user send messages to another logged-in user.
|
---|
| 26 | Lines typed by the user appear on the other user's screen a line at a time
|
---|
| 27 | (a character at a time in the case of cbreak mode).
|
---|
| 28 | The file \fI/usr/adm/wtmp\fR is searched to determine which tty to send to.
|
---|
| 29 | If the user is logged onto more than one terminal, the \fItty\fR argument
|
---|
| 30 | selects the terminal. Type CTRL- D to terminate the command.
|
---|
| 31 | Use ! as a shell escape.
|
---|
| 32 | .SH "SEE ALSO"
|
---|
| 33 | .BR mail (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.