Mail Archives: djgpp/1997/04/17/23:06:22
Mark H. Wood wrote:
>
> Silly newbie question: what is everybody using to support INFO's
> M-x print-node command? It wants to pipe into a command that will Do The Right
> Thing, but I haven't been able to find a command that will copy standard input
> to a file (e.g. LPT1:) without using redirection (which appears not to work in
> this context).
This is straight out of my 'djgpp.env':
INFO_PRINT_COMMAND=%/>;INFO_PRINT_COMMAND%cat >c:\info.prn
This redirects the output of the print-node command to the file
'info.prn' in my C: root directory. At that point, I can print it or
edit it or whatever. The extra junk at the beginning allows me to
override the setting with a preexisting environment variable.
--
John M. Aldrich <fighteer AT cs DOT com>
* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
again.
* It doesn't necessarily do it in chronological order, though.
--- Douglas Adams
- Raw text -