missing proto and more dummys

This commit is contained in:
cinap_lenrek 2011-04-12 01:59:30 +00:00
parent d1fd22d72b
commit f8062ba939
6 changed files with 142 additions and 0 deletions

19
mail/lib/gone.fishing Normal file
View file

@ -0,0 +1,19 @@
#!/bin/rc
# gone.fishing local!$user /mail/box/$user/mbox - vacation responder
# as pipeto script
# standard library. saves the message on standard input in $TMP.msg and
# parses it into /mail/fs/mbox/1.
. /mail/lib/pipeto.lib $*
{cat $TMP.msg; echo} >>/mail/box/$USER/gone.mail
message=/mail/box/$USER/gone.msg
if (! test -e $message)
message=/mail/lib/gone.msg
MAILTO=`{cat $D/replyto}
grep '^'$"MAILTO'$' /mail/box/$USER/gone.addrs >/dev/null >[2=1] || {
echo $MAILTO >>/mail/box/$USER/gone.addrs
mail $MAILTO <$message
}

6
mail/lib/gone.msg Normal file
View file

@ -0,0 +1,6 @@
subject: away from my computer
This is a recorded message. I am currently out of contact with my
computer system. Your message to me has been saved and will be
read upon my return. This is the last time you will receive this
message during my absence. Thank you.

116
sys/lib/dist/pc/cdproto vendored Normal file
View file

@ -0,0 +1,116 @@
adm
timezone
*
cfg
+
fd
lib
+
rc
+
mail
box
faxoutqueue
faxqueue
fs
grey
lib
*
queue
tmp
$cputype
+
acme
acid
*
$cputype
*
bin
*
$cputype
*
mail
*
$cputype
*
news
*
wiki
*
mnt
acme
apeselect
apm
cd
cons
cons
consctl
consoles
doc
exportfs
*
keys
lp
netkeys
news
plumb
rdb
temp
term
ums
vmware
web
webcookies
wiki
wrap
wsys
n
net
proc
srv
sys
games
+
include
+
lib
+
log
cs 666 sys sys /dev/null
dns 666 sys sys /dev/null
mail 666 sys sys /dev/null
smtp 666 sys sys /dev/null
smtpd 666 sys sys /dev/null
listen 666 sys sys /dev/null
ipboot 666 sys sys /dev/null
man
fonts
1pub
*
1
*
2
*
3
*
4
*
5
*
6
*
7
*
8
*
src
+
tmp
usr
glenda
+
LICENSE
LICENSE.afpl
LICENSE.gpl
NOTICE

0
sys/log/.dummy Normal file
View file

View file

@ -8,6 +8,7 @@ fn cd { builtin cd $* && awd } # for acme
switch($service){
case terminal
plumber
webfs
echo -n accelerated > '#m/mousectl'
echo -n 'res 3' > '#m/mousectl'
prompt=('term% ' ' ')