summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authoraiju <aiju@localhost>2011-05-07 19:43:16 +0000
committeraiju <aiju@localhost>2011-05-07 19:43:16 +0000
commitc4d530a90965e2c154063de3ec1616f17298bf57 (patch)
tree1e9bb166086653644f725cc4c476d93bd5909fdf /rc
parentfa71f44fef28b27f46b7a6c95d2e1e0434c16752 (diff)
added the hold (pseudo-) editor; useful for hg commit
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/hold6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc/bin/hold b/rc/bin/hold
new file mode 100755
index 000000000..9baa4070b
--- /dev/null
+++ b/rc/bin/hold
@@ -0,0 +1,6 @@
+#!/bin/rc
+{
+ echo holdon >[1=3]
+ cat $1 > /dev/cons
+ cat /dev/cons > $1
+} >[3]/dev/consctl