wmii/test/event

20 lines
240 B
Plaintext
Raw Permalink Normal View History

2007-07-19 01:56:13 +04:00
#!/bin/rc
wm=''
if(~ $1 -d) {
wm = '&wm/wm wm/logon</dev/null'
shift
}
inferno '{$home/wmii/test/event.dis $*'$wm'}' $* &
inf = $apid
. 9.rc
fn sigint sigterm {exit}
fn sigexit {/bin/kill $apid}
while(! ~ `{read </dev/tty} q)
true