changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: acid: fix transcript

changeset 6942: b76d6262d1e3
parent 6941: 73f77dc6f0c6
child 6943: a62d8d9eda33
author: BurnZeZ
date: Thu, 06 Dec 2018 07:11:35 +0000
files: sys/lib/acid/transcript
description: acid: fix transcript
     1.1--- a/sys/lib/acid/transcript
     1.2+++ b/sys/lib/acid/transcript
     1.3@@ -1,7 +1,7 @@
     1.4 #!/bin/rc
     1.5 switch($#*){
     1.6 case 0 1 2
     1.7-	echo usage: window '''minx miny maxx maxy''' '''minx miny maxx maxy''' cmd args ...
     1.8+	echo usage: $0 '''minx miny maxx maxy''' '''minx miny maxx maxy''' cmd args ... >[1=2]
     1.9 	exit usage
    1.10 }
    1.11 
    1.12@@ -24,7 +24,7 @@ if not exit 0
    1.13 echo -n `{basename $1} > /dev/label >[2] /dev/null
    1.14 @{
    1.15 	echo hang > /proc/^`{cat /dev/ppid}^/ctl
    1.16-	$* < /dev/$winid/cons > /dev/$winid/cons >[2] /dev/$winid/cons &
    1.17+	$* < /dev/wsys/$winid/cons > /dev/wsys/$winid/cons >[2] /dev/wsys/$winid/cons &
    1.18 	exit $apid
    1.19 }
    1.20 ostatus = `{echo $status | sed 's/.*://'}