Plan 9 from Bell Labs’s /usr/web/sources/contrib/fst/root/rc/bin/target

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


#!/bin/rc

# Target, our dog, likes to chase deer, herd geese and help Tippi, our
# cat, who is specially good at catching mice

rfork n
mntgen /n
bind '#|' /n/mouse
aux/tippi <>[0]/dev/mouse <>[1]/n/mouse/data &
bind /n/mouse/data1 /dev/mouse
if (~ $#* 0) {
	exec rio
}
if not {
	exec $*
}

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.