On 25 Nov 2001, IBMackey wrote:

> Printing to lpt works great. However when I try to print to file the
> application hangs. On google, someone had a similar problem with no
> help for dosemu 1.0, and he had tried freedos, dos 6.22, dos 5.0.
> 
> I'm using Dosemu version .97 with dos 6.22. What I've tried to do is
> change lpt2  under the dosemu.conf.
> 
> Here's the relavent changes, I've tried.
> 
> $_printer = "lp, file:///tmp/prnt"

try to write a little shell script, cat_to

#!/bin/sh
cat > /tmp/prnt

chmod +x it, put it in your PATH, and have

$_printer = "lp, cat_to"

BTW, suid-root DOSEMU<1.0.2 didn't protect this well enough, and a
local root exploit is possible this way.

Bart 

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to