aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/repl.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-08-07 20:07:34 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-08-07 20:15:58 +0300
commit0da832023b3d7d0921de1f76acbf6dd2595341d0 (patch)
treefcddc59d0a952a6a2a5455152480bf9df2f9b0f6 /lib/repl.tes
parentc385217bbb6448eb21d0cb1568e3cc10c47d0b5b (diff)
downloadsciteco-0da832023b3d7d0921de1f76acbf6dd2595341d0.tar.gz
added tecat.tes to standard library: can be installed as the Git textconv filter
tecat.tes and repl.tes are now executable scripts, even though they are installed into the $SCITECOPATH. This is still much slower than the Lua version here: https://gist.github.com/rhaberkorn/6534ecf1b05de6216d0a9c33f31ab5f8
Diffstat (limited to 'lib/repl.tes')
-rwxr-xr-x[-rw-r--r--]lib/repl.tes3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/repl.tes b/lib/repl.tes
index 9cfa8c0..b830e8b 100644..100755
--- a/lib/repl.tes
+++ b/lib/repl.tes
@@ -1,10 +1,11 @@
+#!/usr/local/bin/sciteco -m
!*
* This is a stand-alone script that mimics
* classic TECO command lines.
* Requires an ANSI-compatible terminal.
*
* Currently, you must set the terminal characteristics on the outside:
- * stty raw opost icrnl && sciteco -m repl.tes
+ * stty raw opost icrnl && /usr/local/share/sciteco/lib/repl.tes
*
* You can launch into interactive mode by typing -u#ex
*