RetroZilla/extensions/xmlterm/tests/jstream
2015-10-20 23:03:22 -04:00

16 lines
285 B
Bash

#!/bin/sh
# jstream: Javascript stream test script
##echocmd="/usr/bin/echo"
echocmd="/bin/echo -e"
$echocmd "\033{J${LTERM_COOKIE}\007\c"
cat << END_OF_FILE
function JSTest(arg) {
return arg;
}
JSTest('<B>Javascript</B> <EM>Stream Output</EM>\n');
END_OF_FILE
$echocmd '\000\c'