summaryrefslogtreecommitdiff
path: root/rc/bin/inst/mainloop
blob: f57c3709887723b3f535708105634f21c536220c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/rc

cd /bin/inst
. defs
fn sigint { }

coherence

# we run this while() here so that ctl-d won''t exit from us -- it''ll only exit main!
# main contains a while() loop too, to avoid the hit of 
# continually reexecing from here.

while()
	main