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

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


#!/bin/rc
rfork en
if(test -x /386/9pcf){
	os=Plan9
	homeroot=/usr
	EMU='-r'^$home^'/inferno -c0 -g1024x768'
	exec $home/inferno/$os/386/bin/emu $* /dis/sh.dis -c 'bind ''#U*/usr'' /usr; bind ''#U*/net'' /net; bind -b /icons/tinytk /icons/tk; /dis/wm/qwm -t sh /dis/wm/sh.dis -t charon /dis/charon.dis -t tetris /dis/wm/tetris.dis'
}
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 -b /icons/tinytk /icons/tk; /dis/wm/qwm -t sh /dis/wm/sh.dis -t charon /dis/charon.dis -t tetris /dis/wm/tetris.dis'
}

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.