On Sun, Oct 28, 2012 at 12:07:04AM +0200, Vincent Lefevre wrote:
> Package: xterm
> Version: 278-2
> Severity: grave
> Tags: security
> Justification: causes non-serious data loss
...

> I have the following X resource:
> 
>   *printerCommand: ""
> 
> The xterm(1) man page says:
> 
>   printerCommand (class PrinterCommand)
>     Specifies  a shell command to which xterm will open a pipe when
>     the first MC (Media Copy) command is initiated.  The default is
>     an  empty  string, i.e., ??????.  If the resource value is given as
>     an empty string, the printer is disabled.
> 
> So, it doesn't behave correctly with the empty string!

The documentation is correct; there is an error in your report.
The rules for X resource syntax are different from your expectation.
This is an empty string:

*printerCommand:

This is the two double-quote characters (literally):

*printerCommand: ""

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to