shithub: 9scripts

Download patch

ref: 41335d8a8dfb0f192ad76c662b4f721d8af3d845
parent: 462245df3071ba0164757ccc010dfc05bf3e7898
author: glenda <glenda@9front.local>
date: Tue Nov 24 21:36:52 EST 2020

added clear from the 9gridchan

--- /dev/null
+++ b/clear
@@ -1,0 +1,14 @@
+#!/bin/rc
+# clear -- clears the window
+
+> /dev/text
+
+if(! ~ $#* 0){
+	echo -n $prompt 
+	echo -n ' clear '
+	echo -n ''''
+	echo -n $"*
+	echo ''''
+	echo 
+	eval $"*
+}
--- a/restore
+++ b/restore
@@ -1,5 +1,5 @@
 #!/bin/rc
-cp ./df ./email-login ./riostart ./chat ./gridstart ./screenshot $home/bin/rc
+cp ./df ./email-login ./riostart ./clear ./chat ./gridstart ./screenshot $home/bin/rc
 cp color $home/
 ./install-go.rc
 ./pull9front