#!/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('Javascript Stream Output\n');
END_OF_FILE
$echocmd '\000\c'