On Wed, 13 Oct 1999, Erwin S. Andreasen wrote:
When accidentally someone prints binary data to stdout (in a xterm) for example "cat image.tif", a connection to the lpd-daemon is established, and the printer prints a lot of nonsense.
There is a vt100 control code which when printed starts printing to the local printer.
I'm not sure how you can disable that; a quick glance at ``man xterm'' shows that there is a "printerCommand" resource which allows you to supply a replacement for lpr. You could set that to something else that wil just eat your input, like cat > /dev/null (I'm not sure you can specify redirection there though). Or maybe it will be disabled entirely if you just set it to nothing, try it out :)
Hello Erwin! Thank you very much for your explanation! >/dev/null didn't work, but I'll just use xterm*printerCommand: "true" now. ( "" didn't work neither) When someone knows other issues for other terminals (linux console, vt??...), please let me know. Cheers, Peter -- ************************************************************** URL: http://gmv.spm.univ-rennes1.fr/~peter/ -Powered by LinuX- **************************************************************
participants (1)
-
Peter Münster