delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/17/23:06:22

From: "John M. Aldrich" <fighteer AT NO DOT SPAM DOT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Getting INFO M-x print-node to actually print?
Date: Thu, 17 Apr 1997 07:14:12 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 28
Message-ID: <3355CDC4.6A7F@NO.SPAM.cs.com>
References: <1997Apr16 DOT 130645 DOT 28288 AT indyvax DOT iupui DOT edu>
NNTP-Posting-Host: ppp208.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019