lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV LYNX, change temp download dir from /tmp


From: Doug Kaufman
Subject: Re: LYNX-DEV LYNX, change temp download dir from /tmp
Date: Mon, 6 Apr 1998 08:04:12 -0700 (PDT)

On Mon, 6 Apr 1998, Mark H. Wood wrote:

> > Set "LYNX_TEMP_SPACE" to the directory you want in your environment.
> 
> Instead of the standard TMPDIR ?  :-(

The /tmp/ directory is hardcoded into lynx at time of compilation in
USERDEFS.H. See this extract:

/**************************
 * A place to put temporary files, it's almost always in "/tmp/"
 * for UNIX systems.  If you include "$USER" in the definition
 * (e.g., "/tmp/$USER"), Lynx will replace the "$USER" with the
 * username of the account which invoked the Lynx image.  Such
 * directories should already exist, and have protections/ACLs set
 * so that only the appropriate user(s) will have read/write access.
 * If the path includes a tilde (e.g, "~" or "~/lynxtmp"), Lynx will
 * replace the tilde with the full path for the user's home.
 * The definition here can be overridden at run time by setting a
 * "LYNX_TEMP_SPACE" environment symbol.
 */
#define TEMP_SPACE "/tmp/"

                              Doug
__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

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