Actually seems to work!
[ircbot] / on-vc.sh
index 54cc812..a5e726a 100755 (executable)
--- a/on-vc.sh
+++ b/on-vc.sh
@@ -19,7 +19,8 @@ script="$3"
 
 cd "$(dirname $0)"
 test -L .tclshrc || fail "no .tclshrc symlink"
-text -x "./$script" || fail "script not executable"
+test -x "./$script" || fail "script not executable"
 
-openvt -c "$vc" -w -- \
-       really -u "$username" screen ./"$script"
+really -u "$username" \
+       openvt -f -c "$vc" -w -- \
+       screen ./"$script"