Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/n

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc -x
loadkeys
echo y | delkey ramnode
echo
echo y | delkey glenda
echo
if(! ~ $sysname mars2 nm pp){
#	srv -s 5 -e 'scpu -u mischief -h 10.0.1.10 -c ''ssh iota /usr/local/bin/u9fs -u mischief -na none'' ' iota /n/iota
	srv -s 5 -e 'scpu -h holon -u stanleylieber -c ''/usr/local/bin/u9fs -u stanleylieber -na none''' holon /n/holon
#	srv -s 5 -e 'ssh2 stanleylieber@holon ''/usr/local/bin/u9fs -u stanleylieber -na none''' holon /n/holon
#	@{ rfork n; bind -b /386/openssh /bin; srvssh -u /usr/local/bin/u9fs stanleylieber@holon holon }
#	9fs holon
#	sftpfs -o -m /n/holon stanleylieber@$holon
	bind -c /n/holon/Volumes/SHIT2 /n/shit2
#	sftpfs -o -m /n/wm sl@wm
	srv -s 5 -e 'scpu -h wm -u sl -c ''/usr/local/bin/u9fs -u sl -na none''' wm /n/wm
#	srv -s 5 -e 'ssh2 sl@wm ''/usr/local/bin/u9fs -u sl -na none''' wm /n/wm
	import -c -p fs / /n/fs
	if(! ~ $sysname gl mars2 nm pp ttr2){
		bind -c /n/fs/shr/sdU*/books $home/books
		bind -c /n/fs/shr/sdU*/comics $home/comics
		bind -c /n/fs/shr/sdU*/games $home/games
		bind -c /n/fs/shr/sdU*/img $home/img
		bind -c /n/fs/shr/sdU*/irc $home/irc
		bind -c /n/fs/shr/sdU*/magazines $home/magazines
		bind -c /n/fs/shr/sdU*/music $home/music
		bind -c /n/fs/shr/sdU*/simh $home/simh
		bind -c /n/fs/shr/sdU*.0/mroot $home/mroot
	}
	import -c -p mars2 / /n/mars2
	import -c -p nm / /n/nm
	import -c -p pp / /n/pp
	bind -c /n/pp/mail/box/sl/spam /mail/box/$user/spam
	bind -c /n/pp/mail/box/sl/spam.idx /mail/box/$user/spam.idx
	upas/fs -f /n/pp/mail/box/sl/mbox
#	sftpfs -o -m /n/fm uriel@fremont.cat-v.org
#	srv -s 5 -e 'scpu -u uriel -h fremont.cat-v.org -c ''/usr/local/bin/u9fs -u uriel -na none''' fremont /n/fremont
}
alarm 20 nntpfs -a news.eternal-september.org
#nntpfs news.aioe.org # slow
#nntpfs csiph.com # comp only
#nntpfs news2.informatik.uni-stuttgart.de
bind /net /n/home.net
bind /n/pp/net /net
webcookies
webfs -A xmlset_roodkcableoj28840ybtide -T 100000
bind /n/home.net /net
#echo 'useragent Lynx/2.8.7rel.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.0a' >/mnt/web/ctl
#echo 'useragent Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3' >/mnt/web/ctl
#echo 'useragent Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.102011-10-16 20:23:50' >/mnt/web/ctl
echo go!

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.