groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

$REFER doc patch (was Re: [Groff] confused by soelim)


From: Jorgen Grahn
Subject: $REFER doc patch (was Re: [Groff] confused by soelim)
Date: Thu, 16 Jan 2003 09:56:27 +0100
User-agent: Mutt/1.2.5i

On Wed Jan 15 14:31:07 2003, address@hidden wrote:
...
> 
> Anyway, I agree that this is a missing feature.  The best solution
> IMHO is to add an environment variable to `refer', say, `REFER_PATH',
> together with a command line variable, say, `-I' or `-m', which
> defines a search path for files included with the `include' and
> `database' commands of `refer'.

Speaking of which, I've noticed that refer(1) doesn't mention
$REFER.  Here's a patch for that (sorry if the patch format is
non-standard).

/Jörgen

Index: src/preproc/refer/refer.man
===================================================================
RCS file: /var/cvs/groff/src/preproc/refer/refer.man,v
retrieving revision 1.4
diff -c -r1.4 refer.man
*** src/preproc/refer/refer.man 11 Dec 2002 14:26:21 -0000      1.4
--- src/preproc/refer/refer.man 16 Jan 2003 08:40:39 -0000
***************
*** 1289,1294 ****
--- 1289,1298 ----
  .TP
  .IB file @INDEX_SUFFIX@
  Index files.
+ .SH ENVIRONMENT
+ .Tp \w'\fBREFER'u+2n
+ .B REFER
+ If set, overrides the default database.
  .SH "SEE ALSO"
  .BR @address@hidden (@MAN1EXT@),
  .BR @address@hidden (@MAN1EXT@),



-- 
  // Jörgen Grahn       "And then the design was ignored, and small children
\X/ <address@hidden>  with crayons were given the O'Reilly Perl books and
                         told to Create.  And lo, it was done."
                                                         -- Teo de H, in ASR

reply via email to

[Prev in Thread] Current Thread [Next in Thread]