2
# xcat.csh: a C-shell XMLterm wrapper for the UNIX "cat" command
3
# Usage: xcat.csh <filename1> <filename2> ...
5
##set echocmd="/usr/bin/echo"
6
set echocmd="/bin/echo -e"
10
set firstchar = `echo $file|cut -c1`
12
if ("$firstchar" == "/") then
15
set url="file:$PWD/$file"
21
# Is this a security risk??? Perhaps display using IFRAME?
22
$echocmd "\033{S${LTERM_COOKIE}\007\c"