Chinaunix首页 | 论坛 | 博客
  • 博客访问: 311357
  • 博文数量: 69
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 759
  • 用 户 组: 普通用户
  • 注册时间: 2014-09-09 14:15
个人简介

〆 人生就是拼命地奔跑,和华丽的跌倒。 つ

文章分类

全部博文(69)

文章存档

2017年(2)

2016年(16)

2015年(21)

2014年(30)

分类: C/C++

2015-05-07 13:07:23

WRITE(1)                   Linux Programmer’s Manual                  WRITE(1)

NAME
       write - send a message to another user
       // 写 - 发送一个信息给其他用户

SYNOPSIS
       write user [ttyname]

DESCRIPTION
       Write allows you to communicate with other users, by copying lines from
       your terminal to theirs.
       //写允许你和其他用户交流,通过末端复制线从你的用户到其他用户。

       When you run the write command, the user you are writing to gets a mes-
       sage of the form:
      //当你运行写命令时,会得到一个信息的形式:

       Message from yourname@yourhost on yourtty at hh:mm ...
      //在电传打印机上传出你主机的信息...

       Any tfurher lines you enter will be copied to the specified user’s ter-
       minal.  If the other user wants to reply, they must run write as  well.
     //一些你输入的路线将会去复制用户终端,如果其他用户想依靠这个,他们
      也必须运行写的指令。

       When  you  are  done,  type an end-of-file or interrupt character.  The
       other user will see the message EOF indicating that the conversation is
       over.
     //当你已经做好的时候,复制文件尾部或者终端字符。其他的用户在通信结束时
       将会看见显示的EOF信息。

       You  can prevent people (other than the super-user) from writing to you
       with the mesg(1) command.  Some  commands,  for  example  nroff(1)  and
       pr(1),  may  disallow  writing automatically, so that your output isn’t
       overwritten.
      //你能够阻止来自其他用户(其他的超级用户)传输给你的写命令,例如:格式化(1)
       还有公共关系(1),不允许自动写,目的是你输出的信息不会被覆盖。
       
       If the user you want to write to is logged in on more than  one  termi-
       nal,  you can specify which terminal to write to by specifying the ter-
       minal name as the second operand to the write command.   Alternatively,
       you  can  let  write select one of the terminals - it will pick the one
       with the shortest idle time.  This is so that if the user is logged  in
       at  work and also dialed up from home, the message will go to the right
       place.
      //如果你想写的这个用户已经在一个又一个终端登录了,那么就通过特别的
       终端名字作为运行写的第二个命令。作为一种选择,你会让写选择其中一个
       终端-它将会在很短的空闲时间选择。这也就是说,如果用户工作的时候已
       经登录了并且也播了来自主机的号,那么这个信息也将会去正当的地方。

       The traditional protocol for writing to  someone  is  that  the  string
       ‘-o’,  either  at  the end of a line or on a line by itself, means that
       it’s the other person’s turn to talk.  The string ‘oo’ means  that  the
       person believes the conversation to be over.
      //对于写给某人字符串‘-o’是传统的协议,在线的末尾或者通过自身,意味着
       它将其用户转换为说。这个‘oo’字符串意味着人们相信通信的结束。

SEE ALSO
       mesg(1), talk(1), who(1)

HISTORY
       A write command appeared in Version 6 AT&T UNIX.
       //一个写的命令出现在AT&T UNTX版本6中。

AVAILABILITY
       The write command is part of the util-linux-ng package and is available
       from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
       //写的命令是util-linux-ng包中的一部分并且还可以利用
       ftp://ftp.kernel.org./pub/linux/utils/util-linux-ng/.
   
                                 12 March 1995                        WRITE(1)
(END) 


阅读(1422) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~