shithub: rc

Download patch

ref: 89adda8b58ed899a9f591cde6f43077ace454728
parent: 8b15a2b04136a915466309e919ebdf0ff7906f9e
author: qwx <qwx@sciops.net>
date: Fri Mar 25 05:14:39 EDT 2022

cpurio/vncrio: fix reading profile at the wrong time

--- a/bin/cpurio
+++ b/bin/cpurio
@@ -7,8 +7,10 @@
 rfork efns	# weeeee
 bind -a '#A' /dev
 service=terminal
+norio=1
+. $home/lib/profile
 if(test -f $home/lib/ass){
 	auth/factotum
 	setec
 }
-. $home/lib/profile
+bof
--- a/bin/vncrio
+++ b/bin/vncrio
@@ -2,11 +2,11 @@
 rfork nefs
 service=terminal
 norio=1
+. $home/lib/profile
 if(test -f $home/lib/ass){
 	auth/factotum
 	setec
 }
-. $home/lib/profile
 cat <<! >/tmp/bof.$pid
 #!/bin/rc
 window -r 586 0 1280 584 9grid