new tclX-based startup cvs/HEAD cvs/master
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 May 2009 21:16:16 +0000 (21:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 May 2009 21:16:16 +0000 (21:16 +0000)
blight-startup.tcl [new file with mode: 0755]
startup.sh

diff --git a/blight-startup.tcl b/blight-startup.tcl
new file mode 100755 (executable)
index 0000000..c2a2436
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/tcl -f
+source blight.tcl
+set tcl_prompt1 { puts -nonewline "% " }
+set tcl_prompt2 { puts -nonewline "> " }
+commandloop -async -interactive on
+mainloop
index 88d1200..42a3eb8 100755 (executable)
@@ -3,5 +3,5 @@ set -e
 cd "`dirname $0`"
 sleep 1
 set +e
-HOME=. tclsh8.2
+./blight-startup.tcl
 sleep ${1:-5000000}