WRITE.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH WRITE 1
- .SH NAME
- write - send a message to a logged-in user
- .SH SYNOPSIS
- fBwritefR [fB-cvfR] fIuserfR [fIttyfR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-c" "Use cbreak mode"
- .FL "-v" "Verbose mode"
- .SH EXAMPLES
- .EX "write ast" "Send a message to ast"
- .EX "write ast tty00" "Send a message to ast on tty00"
- .SH DESCRIPTION
- .PP
- fIWritefR 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/wtmpfR is searched to determine which tty to send to.
- If the user is logged onto more than one terminal, the fIttyfR argument
- selects the terminal. Type CTRL- D to terminate the command.
- Use ! as a shell escape.
- .SH "SEE ALSO"
- .BR mail (1).