mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
16 lines
285 B
Bash
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'
|