Mail Archives: djgpp/1997/01/28/10:20:04
On Tue, 28 Jan 1997, Burton Radons/Lothloriel wrote:
> In the info command list, it states that 'INFO_PRINT_COMMAND' should
> be set to the command you wish to use to print (invoked: M-x
> print-node). How should I set that to print to a file/device? It
> says it would pipe it to the command, but I didn't seem to get
> anything from info... my test command was 'copy con lpt1', and similar
> output of the copy con to a file produced nothing as well. If you use
> just 'lpt1' it'll try to invoke it as a command, and hence doesn't
> work.
"copy con lpt1" won't work, because it reads the CON device rather than
the (redirected) stdin. If you have a DOS port of `cat', write a batch
file which says "cat > prn" and set INFO_PRINT_COMMAND to point to the
pathname of that batch file. If you don't have `cat', the easiest way to
set this up is to write a trivial program which reads from stdin and
writes to stdprn. Compile that program, point INFO_PRINT_COMMAND to it,
and you are all set up.
> Also, can you change how Info links input to command? For example, so
> I could set C-p to print-node?
You can't, unless you change the sources and rebuild Info. (Do you really
need to print the nodes so frequently?)
> And finally, could someone direct me to the Info source?
Get v2gnu/txi390s.zip from the same place you got the binary distribution.
- Raw text -