[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev [2.8.1dev24] one more cookie-file patch (.lynxrc, lynx.cfg)
From: |
pk |
Subject: |
lynx-dev [2.8.1dev24] one more cookie-file patch (.lynxrc, lynx.cfg) |
Date: |
Fri, 4 Sep 1998 21:26:33 -0700 |
One more small patch re: cookie_file handling, this time one that adds
a description of the cookie_file option to lynx.cfg and to the code in
LYrcFile.c that creates .lynxrc.
Against a clean dev24.
Anyone who has better ideas for what to say as documentation here, jump
right in...
diff -cr 2.8.1dev.24/lynx.cfg 2.8.1dev.24.bri/lynx.cfg
*** 2.8.1dev.24/lynx.cfg Sat Aug 29 16:22:40 1998
--- 2.8.1dev.24.bri/lynx.cfg Fri Sep 4 20:57:11 1998
***************
*** 787,792 ****
--- 787,797 ----
#COOKIE_ACCEPT_DOMAINS:
#COOKIE_REJECT_DOMAINS:
+ # COOKIE_FILE is the default file to store persistent downloaded cookies
+ # in, if Lynx was compiled with EXP_PERSISTENT_COOKIES. The cookie file
+ # can also be specified in .lynxrc or on the commandline.
+ #COOKIE_FILE:~/.lynx_cookies
+
# VMS:
#=====
# The mail command and qualifiers are defined in userdefs.h. Lynx
diff -cr 2.8.1dev.24/src/LYrcFile.c 2.8.1dev.24.bri/src/LYrcFile.c
*** 2.8.1dev.24/src/LYrcFile.c Tue Sep 1 19:00:43 1998
--- 2.8.1dev.24.bri/src/LYrcFile.c Fri Sep 4 21:01:13 1998
***************
*** 892,897 ****
--- 892,908 ----
(user_mode == ADVANCED_MODE ?
"ADVANCED" : "INTERMEDIATE")));
+ #ifdef EXP_PERSISTENT_COOKIES
+ /*
+ * Cookie file.
+ */
+ fprintf(fp, "\
+ # cookie_file specifies the file in which to store persistent cookies.\n\
+ # The default is ~/.lynx_cookies.\n");
+ fprintf(fp, "cookie_file=%s\n\n",
+ (LYCookieFile == NULL ? "~/.lynx_cookies" : LYCookieFile));
+ #endif /* EXP_PERSISTENT_COOKIES */
+
#if defined(EXEC_LINKS) || defined(EXEC_SCRIPTS)
/*
* Local execution mode - all links.
--
If you can't learn to do it well, learn to enjoy doing it badly.
"Sendmail == peace of mind." -Louis-David Mitterrand
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev [2.8.1dev24] one more cookie-file patch (.lynxrc, lynx.cfg),
pk <=