lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Re: [2.8.2dev.8] Env var data for PRINTER: pgms (w/man page ent


From: Kim DeVaughn
Subject: lynx-dev Re: [2.8.2dev.8] Env var data for PRINTER: pgms (w/man page entries)
Date: Sun, 6 Dec 1998 19:50:51 -0800

On Sun, Dec 06, 1998, address@hidden (address@hidden) said:
|
| > Yes, but since lynx.hlp is more-or-less just an ascii rendering of the
| > lynx.man source, I assume [yes, I know] that it is generated when lynx
| > is packaged for distribution.  Is that not correct?
|
| no - I don't think there's a script for that. (The .hlp file is VMS-specific,
| and cannot be generated by a trivial script - the section numbering is a
| gotcha).

Ouch ...!  Doesn't that make it difficult to keep the two doc's in sync?

Given all the various packages that run on both platforms out there, surely
such a utility must already exist somewhere (no, I personally don't know of
one, but if I were a VMS'er, I'd be looking for a "man2hlp" utility, or some
such).


| ( now I suppose someone will sit up all night and make a perl script ;-)

Not I ... I don't know perl all that well, nor the expected VMS format
(other than the obvious).

But what I will do, is attach a patch for a literal inclusion of the added
ENVIRONMENT section from the .man file, which I *think* is suitable for the
VMS .hlp file.

/kim


diff -uNr lynx-2.8.2-dev.8.orig/lynx.hlp lynx-2.8.2-dev.8+kd/lynx.hlp
--- lynx-2.8.2-dev.8.orig/lynx.hlp      Fri Nov  6 06:29:41 1998
+++ lynx-2.8.2-dev.8+kd/lynx.hlp        Sun Dec  6 19:28:07 1998
@@ -475,6 +475,146 @@
  o Type "H" or "?" for online help and descriptions of key-stroke commands. 
  o Type "K" for a complete list of the current key-stroke command mappings. 
 
+2 ENVIRONMENT
+       In addition to various  "standard"  environment  variables
+       such as HOME, PATH, DISPLAY, TERM, LINES, COLUMNS, TMPDIR,
+       etc, Lynx utilizes the following environment variables, if
+       they exist (some may be created by Lynx to pass data to an
+       external program):
+
+       COLORTERM           If set, color capability for the  ter-
+                           minal  is  inferred  at  startup time.
+                           [Usage of this variable  is  dependent
+                           on the screen handling library used to
+                           build  Lynx   (curses,   ncurses,   or
+                           slang).]
+
+       LYNX_CFG            This  variable,  if set, will override
+                           the default location and name  of  the
+                           global  configuration  file (normally,
+                           lynx.cfg)  that  was  defined  by  the
+                           LYNX_CFG_FILE    constant    in    the
+                           userdefs.h file, during  installation.
+                           See   the  userdefs.h  file  for  more
+                           information.
+
+       LYNX_LSS            This variable, if set,  specifies  the
+                           location of the default Lynx character
+                           style sheet file.
+
+       LYNX_PRINT_DATE     This  variable  is  set  by  the  Lynx
+                           p(rint)  function, to the Date: string
+                           seen in  the  document's  "Information
+                           about"  page  (=  cmd), if any.  It is
+                           created for use by  an  external  pro-
+                           gram,   as   defined   in  a  lynx.cfg
+                           PRINTER: definition statement.  If the
+                           field does not exist for the document,
+                           the variable is set to a  null  string
+                           under UNIX, or "No Date" under VMS.
+
+       LYNX_PRINT_LASTMOD  This  variable  is  set  by  the  Lynx
+                           p(rint) function,  to  the  Last  Mod:
+                           string  seen in the document's "Infor-
+                           mation about" page (=  cmd),  if  any.
+                           It  is  created for use by an external
+                           program,  as  defined  in  a  lynx.cfg
+                           PRINTER: definition statement.  If the
+                           field does not exist for the document,
+                           the  variable  is set to a null string
+                           under UNIX, or "No LastMod" under VMS.
+
+       LYNX_PRINT_TITLE    This  variable  is  set  by  the  Lynx
+                           p(rint)  function,  to  the  Linkname:
+                           string  seen in the document's "Infor-
+                           mation about" page (=  cmd),  if  any.
+                           It  is  created for use by an external
+                           program,  as  defined  in  a  lynx.cfg
+                           PRINTER: definition statement.  If the
+                           field does not exist for the document,
+                           the  variable  is set to a null string
+                           under UNIX, or "No Title" under VMS.
+
+       LYNX_PRINT_URL      This  variable  is  set  by  the  Lynx
+                           p(rint)  function,  to the URL: string
+                           seen in  the  document's  "Information
+                           about"  page  (=  cmd), if any.  It is
+                           created for use by  an  external  pro-
+                           gram,   as   defined   in  a  lynx.cfg
+                           PRINTER: definition statement.  If the
+                           field does not exist for the document,
+                           the variable is set to a  null  string
+                           under UNIX, or "No URL" under VMS.
+
+       LYNX_SAVE_SPACE     This  variable,  if set, will override
+                           the  default  path  prefix  for  files
+                           saved  to  disk that is defined in the
+                           lynx.cfg SAVE_SPACE:  statement.   See
+                           the  lynx.cfg  file  for more informa-
+                           tion.
+
+       LYNX_TEMP_SPACE     This variable, if set,  will  override
+                           the  default path prefix for temporary
+                           files that is defined in the  lynx.cfg
+                           TEMP_SPACE:    statement.    See   the
+                           lynx.cfg file for more information.
+
+       MAIL                This variable  specifies  the  default
+                           inbox Lynx will check for new mail, if
+                           such  checking  is  enabled   in   the
+                           lynx.cfg file.
+
+       NEWS_ORGANIZATION   This  variable,  if  set, provides the
+                           string  used  in   the   Organization:
+                           header  of  USENET  news postings.  It
+                           will override the setting of the ORGA-
+                           NIZATION  environment  variable, if it
+                           is also set (and, on  UNIX,  the  con-
+                           tents of an /etc/organization file, if
+                           present).
+
+       NNTPSERVER          If set, this  variable  specifies  the
+                           default  NNTP server that will be used
+                           for USENET news  reading  and  posting
+                           with Lynx, via news: URL's.
+
+       ORGANIZATION        This  variable,  if  set, provides the
+                           string  used  in   the   Organization:
+                           header  of  USENET  news postings.  On
+                           UNIX, it will override the contents of
+                           an /etc/organization file, if present.
+
+       PROTOCOL_proxy      Lynx supports the use of proxy servers
+                           that  can act as firewall gateways and
+                           caching servers.  They are  preferable
+                           to  the  older  gateway  servers  (see
+                           WWW_access_GATEWAY, below).  Each pro-
+                           tocol used by Lynx can be mapped sepa-
+                           rately using  PROTOCOL_proxy  environ-
+                           ment    variables    of    the   form:
+                           'http_proxy
+                           "http://some.server.dom:port/";'.   See
+                           the INSTALLATION file in the Lynx dis-
+                           tribution for details, and examples.
+
+       WWW_access_GATEWAY  Lynx  still  supports  use  of gateway
+                           servers, with  the  servers  specified
+                           via   "WWW_access_GATEWAY"  variables,
+                           where "access" is lower case  and  can
+                           be  "http", "ftp", "gopher" or "wais".
+                           Most gateway servers have been discon-
+                           tinued,  but  "http://www.w3.org:8001";
+                           is available for wais  searches  (note
+                           that you do not include a terminal '/'
+                           for gateways, but do for proxies spec-
+                           ified  by  PROTOCOL_proxy  environment
+                           variables.  See the INSTALLATION  file
+                           in  the Lynx distribution for details.
+
+       WWW_HOME            This variable, if set,  will  override
+                           the  default  startup URL specified in
+                           any of the Lynx configuration files.
+
 2 NOTES
  This is the Lynx v2.8.1 Release
 
##--eof--##

reply via email to

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