⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 environments.html

📁 一个可用于linux下的命令行音乐播放器
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 3.0//EN"><html><head><title>Help on Environment variables</title><LINK rev="made" href="mailto:lynx-dev@sig.net"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><pre><em>ENVIRONMENT</em>       In addition to various  "standard"  environment  variables       such as HOME, PATH, USER, DISPLAY, TMPDIR, etc, Lynx utilizes       several Lynx-specific environment variables, <a href="#env">if they exist</a>.       Others may be created or modified by Lynx to pass data to       an external program, or for other reasons.  These are       listed separately <a href="#setenv">below</a>.       See also the sections on <a href="#cgi">SIMULATED CGI SUPPORT</a> and       <a href="#language">NATIVE LANGUAGE SUPPORT</a>, below.       Note:  Not all environment variables apply to all types of       platforms supported by Lynx, though most do.  Feedback on       platform dependencies is solicited.  See also <a href="#dos">win32/dos</a> specific       variables.<a name="env"><em>Environment Variables Used By Lynx:</em></a>       COLORTERM                           If set, color capability for the terminal                           is forced on at startup time. The actual                           value assigned to the variable is ignored.                           This variable is only meaningful if Lynx                           was built using the slang screen-handling                           library.       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_LOCALEDIR                           If  set,  this  variable overrides the                           compiled-in  location  of  the  locale                           directory  which  contains native lan-                           guage (NLS) message text.       LYNX_LSS                           This  variable,  if set, specifies the                           location of the default Lynx character                           style  sheet  file.   [Currently  only                           meaningful if  Lynx  was  built  using                           experimental color style support.]       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 information.       LYNX_TEMP_SPACE                           This variable, if set,  will  override                           the  default path prefix for temporary                           files that was defined during installation,                           as well as any value that may                           be assigned to the TMPDIR variable.       LYNX_TRACE                           If  set,  causes Lynx to write a trace                           file as if the -trace option were sup-                           plied.       LYNX_TRACE_FILE                           If set, overrides the compiled-in name                           of the trace  file,  which  is  either                           Lynx.trace or LY-TRACE.LOG (the latter                           on the DOS platform).  The trace  file                           is in either case relative to the home                           directory.       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 ORGANIZATION                           environment  variable, if it is also set                           (and, on  UNIX, the contents 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 protocol used by Lynx (http, ftp,                           gopher, etc), can be mapped separately                           by setting environment variables of                           the form PROTOCOL_proxy (literally:                           http_proxy, ftp_proxy, gopher_proxy,                           etc), to "http://some.server.dom:port/".                           See <a href="#proxy">Proxy details and examples</a>.       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"),                           however most gateway servers have been                           discontinued.  Note that  you  do  not                           include  a  terminal '/' for gateways,                           but do for proxies specified by PROTOCOL_proxy                           environment variables.  See <a href="#proxy">Proxy details</a>.       WWW_HOME                           This  variable,  if set, will override                           the default startup URL  specified  in                           any of the Lynx configuration files.<a name="setenv"><em>Environment Variables Set or Modified By Lynx:</em></a>       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 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 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  "Information                           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  "Information                           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 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 URL" under VMS.       LYNX_VERSION        This variable is always set  by  Lynx,                           and may be used by an external program                           to determine  if  it  was  invoked  by                           Lynx.   See  also  the comments in the                           distribution's  sample  mailcap  file,                           for notes on usage in such a file.       SSL_CERT_DIR        Set to the directory containing trusted                           certificates.       SSL_CERT_FILE       Set to the full path and filename  for                           your file of trusted certificates.       TERM                Normally,  this  variable  is  used by                           Lynx to determine  the  terminal  type                           being  used  to invoke Lynx.  If, however,                           it is unset at startup time  (or                           has  the  value  "unknown"), or if the                           -term  command-line option is used,                           Lynx will set or modify its value                           to the user specified  terminal type                           (for the Lynx execution   environment).                           Note: If set/modified by Lynx, the values of                           the LINES and/or  COLUMNS  environment                           variables may also be changed.<a name="cgi"><em>SIMULATED CGI SUPPORT</em></a>       If built with the cgi-links option  enabled,  Lynx  allows       access  to  a  cgi script directly without the need for an       http daemon.       When executing such "lynxcgi scripts"  (if  enabled),  the       following  variables may be set for simulating a CGI environment:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -