[Top][All Lists]

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

Re: LYNX-DEV Lynx W32 bug report

From: Benjamin C. W. Sittler
Subject: Re: LYNX-DEV Lynx W32 bug report
Date: Fri, 7 Mar 1997 11:39:34 -0700 (MST)

On Thu, 6 Mar 1997, Wayne Buttles wrote:

> Is this close enough to correct?  I don't understand the need for
> ~buttles/ when ~/ should do the same thing and if it doesn't then why
> would you do it with lynx.cfg?
>       /*        
>        *  Convert a '~' in the configuration file path to $HOME.        
>        */
> if (lynx_cfg_file[0] == '~') {
> #ifdef VMS
>       StrAllocCopy(temp, HTVMS_wwwName((char *)Home_Dir()));
> #else
>       StrAllocCopy(temp, Home_Dir());
> #endif /* VMS */
>       StrAllocCat(temp, lynx_cfg_file+1);
>       FREE(lynx_cfg_file);
>       StrAllocCopy(lynx_cfg_file, temp);
>       FREE(temp);
> }

The reason to accept the ~buttles is that you could also accept ~foo, and
use another user's configuration file. For example, user foo could install
a personal copy of Lynx, and users bar and baz could access foo's setup
file using ~foo/lynx/lynx.cfg.

; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

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