avatar
why my "biff" doesn't work?# Unix - 噫吁兮,危乎高哉
m*y
1
I turn it on and turn the bell on
but when I send some email to myself, and when I get some emails,
it never biffs :(
avatar
m*e
2
what's biff??

【在 m******y 的大作中提到】
: I turn it on and turn the bell on
: but when I send some email to myself, and when I get some emails,
: it never biffs :(

avatar
l*l
3
Biff is the name of a dog, when Unix first have a email alert program,
hackers want find a name for this program.
His dog biff always bite when he find the postman come, so the dog's
name biff become the program's name.
you need turn comsat server, comsat let the biff make sound.

【在 m*****e 的大作中提到】
: what's biff??
avatar
m*y
4
what does "turn comsat server" mean?
I check the man page of comsat, but still cannot get any hint :(

【在 l*l 的大作中提到】
: Biff is the name of a dog, when Unix first have a email alert program,
: hackers want find a name for this program.
: His dog biff always bite when he find the postman come, so the dog's
: name biff become the program's name.
: you need turn comsat server, comsat let the biff make sound.

avatar
n*t
5
start it!
or How can your biff program know wether a new mail has come?

【在 m******y 的大作中提到】
: what does "turn comsat server" mean?
: I check the man page of comsat, but still cannot get any hint :(

avatar
m*y
6
but it is started,
i have two evidence:
1. my classmate can let his biff bell
2. in the file /etc/services we have a line:
biff 512/utp comsat

【在 n******t 的大作中提到】
: start it!
: or How can your biff program know wether a new mail has come?

avatar
l*l
7

It tell you nothing new.

【在 m******y 的大作中提到】
: but it is started,
: i have two evidence:
: 1. my classmate can let his biff bell
: 2. in the file /etc/services we have a line:
: biff 512/utp comsat

avatar
m*y
8
what do you mean? the sentence do nothing or
because I have no letter? I try to email me with many emails :(
and it is strange in this board:
one possibility: few people comes here
the other possibility: people are not as man always mentioned:
people who love unix are lover to knowledge and always ready for
strange problem and helping others :)

It tell you nothing new.

【在 l*l 的大作中提到】
:
: It tell you nothing new.

avatar
l*l
9
/etc/services is only a table which let inetd to kow what process/protocal
and what port if the demo is running. It is staticly the same every where.
If you want start a tcp/udp demo in UNIX system, you need find where is
your inetd(or other) start from. Add comsat demo in it and restart inetd
(killall -HUP inetd)
Differet UNIX os using different demo system,I can't tell you more before
I know you OS.

This is true, UNIX is difficult for these M$ guys.
Cause some time we just don't know how to a

【在 m******y 的大作中提到】
: what do you mean? the sentence do nothing or
: because I have no letter? I try to email me with many emails :(
: and it is strange in this board:
: one possibility: few people comes here
: the other possibility: people are not as man always mentioned:
: people who love unix are lover to knowledge and always ready for
: strange problem and helping others :)
:
: It tell you nothing new.

avatar
q*t
10
nothing to complain....
just to note another probability :
people came, and read your post, but just know no more than you do..
should be ready to read on your own..

【在 m******y 的大作中提到】
: what do you mean? the sentence do nothing or
: because I have no letter? I try to email me with many emails :(
: and it is strange in this board:
: one possibility: few people comes here
: the other possibility: people are not as man always mentioned:
: people who love unix are lover to knowledge and always ready for
: strange problem and helping others :)
:
: It tell you nothing new.

avatar
p*f
11

I do not use biff now. You can use xbiff if you work on X.
If you always work on text based shell, your shell should tell you
when mail comes.

【在 m******y 的大作中提到】
: I turn it on and turn the bell on
: but when I send some email to myself, and when I get some emails,
: it never biffs :(

avatar
m*y
12
ok, this problem maybe simple:
how can I know what Unix system I am using?

【在 l*l 的大作中提到】
: /etc/services is only a table which let inetd to kow what process/protocal
: and what port if the demo is running. It is staticly the same every where.
: If you want start a tcp/udp demo in UNIX system, you need find where is
: your inetd(or other) start from. Add comsat demo in it and restart inetd
: (killall -HUP inetd)
: Differet UNIX os using different demo system,I can't tell you more before
: I know you OS.
:
: This is true, UNIX is difficult for these M$ guys.
: Cause some time we just don't know how to a

avatar
l*l
13
uname -a
or look at the machine you are using, they show have some logo on it:
HP HPUN
SUN Solaris/SUN OS
IBM AIX
SGI IRIX
Compaq OSF
Compaq Trye 64
SCO UNIX Ware
Apple MAC OS X

Other may be BSD like, Linux Like, Minix Like, ....

【在 m******y 的大作中提到】
: ok, this problem maybe simple:
: how can I know what Unix system I am using?

avatar
m*y
14
avatar
l*l
15
Good,
put such line in your /etc/inetd.conf
comsat dgram udp nowait root /usr/sbin/tcpd in.comsat
And then
killall -HUP inetd
I haven't touch SUN for several years, maybe not right, just as reference.

【在 m******y 的大作中提到】

avatar
m*y
16
I have no write right :(
but the students have the same right level can let their bell ring.
they can not change the inetd.conf also.

【在 l*l 的大作中提到】
: Good,
: put such line in your /etc/inetd.conf
: comsat dgram udp nowait root /usr/sbin/tcpd in.comsat
: And then
: killall -HUP inetd
: I haven't touch SUN for several years, maybe not right, just as reference.

avatar
l*l
17
我给你个一次性解决方案, 我写了一个 shell demo 来替代 comsat, 免得
去搞系统, 在说不同 shell, 也不同, 也许你的喇叭关了呢. 以后问问题
尽量描述清楚, 这样大家都很方便的.
把下面的程序 copy 到一个文件里, 后台运行. 有信件会 bell 三十声
注意, 也许要修改的部分是 ' { print $5 } ', 不过我测试过基本 run anywhere.
#!/bin/sh
mailcheck(){
COUNT=1
while [ $COUNT -lt 30 ]
do
echo -ne \\a
sleep 1
COUNT=`expr $COUNT + 1`
done
}
MAILST=`ls -l /var/spool/mail/$USER | gawk '{print $5 }'`
LOOP1=1
while [ $LOOP1 -lt 100 ]
do
MAILED=`ls -l /var/spool/mail/$USER | gawk '{print $5 }'`
if [ $MAILED -gt $MAIL
avatar
m*y
18
whatever, thank you very very much !

【在 l*l 的大作中提到】
: 我给你个一次性解决方案, 我写了一个 shell demo 来替代 comsat, 免得
: 去搞系统, 在说不同 shell, 也不同, 也许你的喇叭关了呢. 以后问问题
: 尽量描述清楚, 这样大家都很方便的.
: 把下面的程序 copy 到一个文件里, 后台运行. 有信件会 bell 三十声
: 注意, 也许要修改的部分是 ' { print $5 } ', 不过我测试过基本 run anywhere.
: #!/bin/sh
: mailcheck(){
: COUNT=1
: while [ $COUNT -lt 30 ]
: do

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。