shithub: riscv

Download patch

ref: c4d530a90965e2c154063de3ec1616f17298bf57
parent: fa71f44fef28b27f46b7a6c95d2e1e0434c16752
author: aiju <aiju@localhost>
date: Sat May 7 15:43:16 EDT 2011

added the hold (pseudo-) editor; useful for hg commit

--- /dev/null
+++ b/rc/bin/hold
@@ -1,0 +1,6 @@
+#!/bin/rc
+{
+	echo holdon >[1=3]
+	cat $1 > /dev/cons
+	cat /dev/cons > $1
+} >[3]/dev/consctl