Imported upstream version 1.5
[manpages-zh.git] / src / man1 / biff.1
blobd4d52c31481659e7a25577df5588c17c97869c54
1 .\" Copyright (c) 1980, 1990 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     from: @(#)biff.1        6.5 (Berkeley) 3/14/91
33 .\"
34 .Dd July 31, 1999
35 .Dt BIFF 1
36 .Os "Linux NetKit (0.16)"
37 .Sh "名称 (NAME)"
38 .Nm biff
39 .Nd "新到邮件提醒"
40 .Sh "总览 (SYNOPSIS)"
41 .Nm biff
42 .Op Cm ny
43 .Sh "描述 (DESCRIPTION)"
44 .Nm Biff
45 通知系统在当前终端会话期间有新邮件是否提醒你。
46 .Pp
47 支持的选项有
48 .Nm biff :
49 .Bl -tag -width 4n
50 .It Cm n
51 禁止新邮件提醒。
52 .It Cm y
53 开启新邮件提醒。
54 .El
55 .Pp
56 当新邮件提醒开启后, 如果有邮件到达, 邮件头和邮件正文的头几行将在你的屏幕上打印出来。
57 通常会在
58 .Pa \&.login
59 或者
60 .Pa \&.profile
61 文件中加上一个
62 .Dq Li biff y
63 命令, 好让每次登录时自动执行。 
64 .Pp
65 .Nm Biff
66 通过
67 .Xr comsat 8
68 服务异步执行。 如果此服务没有开启,
69 .Nm biff
70 就不做任何事情。 在这种情况下, 或者需要同步提醒, 用
71 .Xr sh 1
72
73 .Ar MAIL
74 变量, 或者
75 .Xr csh 1
76
77 .Ar mail
78 变量。
79 .Sh "参见 (SEE ALSO)"
80 .Xr csh 1 ,
81 .Xr mail 1 ,
82 .Xr sh 1 ,
83 .Xr comsat 8
84 .Sh "历史 (HISTORY)"
85 .Nm
86 此命令出现于
87 .Bx 4.0
88
89 .Sh "错误 (BUGS)"
90 .Xr su 1
91 ,和 biff 看来并不能一起工作。 这个问题是由于 tty 任然是执行 su 命令的人所有, 这可能导致在改变你的会话的 biff 状态时出现
92 .Dq Li 拒绝访问错误。
93 .Pp
94 请把错误报告给 netbug@ftp.uk.linux.org。 并且附上diffs/patches, 或者编译错误日志等,尽可能完整。
95 .Sh "[中文版维护人]"
96 .B 唐友 <tony_ty@263.net>
97 .Sh "[中文版最新更新]"
98 .B 2001/8/28
99 .Sh "[中国Linux论坛man手册页翻译计划]"
100 .BI http://cmpp.linuxforum.net