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

This commit is contained in:
aiju 2011-05-07 19:43:16 +00:00
parent fa71f44fef
commit c4d530a909

6
rc/bin/hold Executable file
View file

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