acid: fix transcript

This commit is contained in:
BurnZeZ 2018-12-06 07:11:35 +00:00
parent 64d0d3b8ac
commit 023f5eca58

View file

@ -1,7 +1,7 @@
#!/bin/rc
switch($#*){
case 0 1 2
echo usage: window '''minx miny maxx maxy''' '''minx miny maxx maxy''' cmd args ...
echo usage: $0 '''minx miny maxx maxy''' '''minx miny maxx maxy''' cmd args ... >[1=2]
exit usage
}
@ -24,7 +24,7 @@ if not exit 0
echo -n `{basename $1} > /dev/label >[2] /dev/null
@{
echo hang > /proc/^`{cat /dev/ppid}^/ctl
$* < /dev/$winid/cons > /dev/$winid/cons >[2] /dev/$winid/cons &
$* < /dev/wsys/$winid/cons > /dev/wsys/$winid/cons >[2] /dev/wsys/$winid/cons &
exit $apid
}
ostatus = `{echo $status | sed 's/.*://'}