From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillermo Gomez Subject: Re: Resources Eating? Date: 08 Dec 2003 22:23:45 -0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1070936625.1195.51.camel@frickx.localdomain> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Bart Oldeman Cc: dosemu Hi I compiled from source including global.conf modified as... ... if (strlen($_printer)) foreach $xxx ($LIST_DELIM, $_printer) ## $xxx = "'-P", $xxx, "'"; ## printer { options $$xxx command "lpr" timeout $_printer_timeout } printer { options '%s' command 'vtprint -fq' } done endif ... But vtprint is reporting the following message vtprint: Couldn't open %s for reading.- What i'm doing wrong now? Guillermo On Mon, 2003-12-08 at 20:20, Bart Oldeman wrote: > On 8 Dec 2003, Guillermo Gomez wrote: > > > Well i found the problem is that the global.conf is "builtin" is taken > > precdence and my modified global.conf is not doing anything. > > > > I'm trying to use the -F option with no luck..How can i dump the > > "built-in" global.conf to tweak it using option -F. > > Presently only by editing etc/global.conf in the source code and > recompiling. dosemu.bin in the bindist can be replaced by the one you > obtain that way. > > > My installation is working ok without the -F option. > > it's on my list to fix for 1.2.0. -F should work. The problem is here: > > In file included from > dosemu/dosemu-cvs/dosemu-1.1.99.1/etc/global.conf:212 > Error in : (line 212) parse error > Error in : (line 556) parse error > Error in : (line 556) expected 'emulated' or 'native' > 3 error(s) detected while parsing the configuration-file > > by the way, because your problem came up in different variations before > the CVS version (and 1.2.0-final when released) allow you to do what you > want in dosemu.conf or ~/.dosemurc: > > # list of (/etc/printcap) printer names to appear as LPT1, LPT2, LPT3 > # (not all are needed, empty for none). Default: "lp" > > # $_printer = "lp" > > # Print command to use. Default: "lpr", for "lpr -P printername". > # Sometimes (with CUPS) "lpr -l" is necessary. > > # $_printer_command = "lpr" > > Bart > > [snip] >