shithub: riscv

Download patch

ref: 023f5eca58471db968aee3de7729c1c9b0540952
parent: 64d0d3b8ac00ef31607314415b302eb61ec441d3
author: BurnZeZ <devnull@localhost>
date: Thu Dec 6 02:11:35 EST 2018

acid: fix transcript

--- a/sys/lib/acid/transcript
+++ b/sys/lib/acid/transcript
@@ -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 @@
 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/.*://'}