"; echo system(EscapeShellCmd("/home/jhollan/bin/".$para) . "| sed -r 's/>/\>\;/g ; s/\<\;/g ; s/^[[:cntrl:]]// s/([[:cntrl:]]?\[[Hm1]B?){2,4}// s/\( (press Q.*explanation\)) *// ' | sed /--------/d ") ; # the output of help has LF CR sequences, ^CR had to be discarded echo "
"; echo '
' ; echo EscapeShellCmd($para) ; echo "" ; echo "can be downloaded as an easy-to-edit postscript file map.eps, a larger pdf got from it " ; echo system("/usr/bin/epstopdf map.eps") ; echo "map.pdf or a low-quality bitmap " ; echo system("/usr/bin/gs -sOutputFile=map.png -sDEVICE=pngmono -g1393x1044 \ -dNOPAUSE -q -c '2 2 scale (map.eps) run quit' ") ; # it would be preferrable to take the dimensions from the bounding box # and multiply them by two, but I don't know how. echo "map.png." ; ?>