Date: Sun, 20 Apr 1997 17:04:17 +0300 (IDT) From: Eli Zaretskii To: "John M. Aldrich" cc: djgpp AT delorie DOT com Subject: Re: Getting INFO M-x print-node to actually print? In-Reply-To: <3355CDC4.6A7F@NO.SPAM.cs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 17 Apr 1997, John M. Aldrich wrote: > INFO_PRINT_COMMAND=%/>;INFO_PRINT_COMMAND%cat >c:\info.prn > > The extra junk at the beginning allows me to > override the setting with a preexisting environment variable. Why not just say this: +INFO_PRINT_COMMAND=cat >c:\info.prn That `+' tells the DJGPP startup code that if the variable is defined in the real environment, it overrides the value from DJGPP.ENV. It's all in the docs (type "info know hidden djgpp"). Also note that since INFO_PRINT_COMMAND is passed to `popen', you don't need the ugly backslashes, you can say "> c:/info.prn" (recall that `popen' emulates redirection internally).