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

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


#!/bin/rc
if(test -f /boot/boot){
	os=Plan9
	homeroot=/usr
	EMU='-r /usr/inferno -c0 -g1024x768'
	exec /usr/inferno/$os/386/bin/emu $* /dis/sh.dis -c 'bind ''#U*/usr'' /usr; bind ''#U*/net'' /net; wm/wm wm/logon -u '^$user
}
#if not {
#	os=OpenBSD
#	homeroot=/home
#	user=$USER
#	hostname=`{hostname -s}
#	switch($hostname) {
#	case pham
#		EMU='-r'^$home^'/inferno -c0 -g1920x1080'
#	case l1
#		EMU='-r'^$home^'/inferno -c0 -g1024x768'
#	case *
#		EMU='-r'^$home^'/inferno -c0 -g1280x1024'
#	}
#	exec $home/inferno/$os/386/bin/emu $* /dis/sh.dis -c 'bind ''#U*/home'' /usr; bind ''#U*/net'' /net; wm/wm wm/logon -u '^$user
#}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].