Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/lib/riostart

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


#!/bin/rc
rfork e
scr=(`{cat /dev/draw/new >[2]/dev/null})
w=$scr(11)
h=$scr(12)
if(~ $sysname tr1 u2){
	aux/wacom
	aux/tablet &
}
header
spread
mo
verso -i
if(~ $w 1280 1376 1408 1440 1600 1680 1696 1920)
	recto -6
if not
	recto -3
#auth/fgui &
#if(grep -s wayport.net /net/ndb)
#	@{wifiroam attwifi | aux/statusmsg -k wifiroam} &

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.