lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev patch: lynxrc comments for cookie opts


From: brian j. pardy
Subject: lynx-dev patch: lynxrc comments for cookie opts
Date: Sat, 29 Aug 1998 16:48:38 -0700

Okay, I just did this against dev22, but it should be easy enough to apply
this against dev23. This patch adds comments to .lynxrc for the
accept_all_cookies, cookie_accept_domains and cookie_reject_domains
options. 


diff -cr 2.8.1dev.22/src/LYrcFile.c 2.8.1dev.22.bri/src/LYrcFile.c
*** 2.8.1dev.22/src/LYrcFile.c  Fri Aug 21 18:22:25 1998
--- 2.8.1dev.22.bri/src/LYrcFile.c      Sat Aug 29 16:30:29 1998
***************
*** 880,885 ****
--- 880,912 ----
                         (user_mode == ADVANCED_MODE ?
                                          "ADVANCED" : "INTERMEDIATE")));
  
+     /*
+      * Cookie options
+      */
+     fprintf(fp, "\
+ # accept_all_cookies allows the user to tell Lynx to automatically\n\
+ # accept all cookies if desired.  The default is \"FALSE\" which will\n\
+ # prompt for each cookie.  Set accept_all_cookies to \"TRUE\" to accept\n\
+ # all cookies.\n");
+     fprintf(fp, "accept_all_cookies=%s\n\n",
+                 (LYAcceptAllCookies == FALSE ? "FALSE" : "TRUE"));
+ 
+     fprintf(fp, "\
+ # cookie_accept_domains and cookie_reject_domains are comma-delimited\n\
+ # lists of domains (with a leading '.') to automatically accept or\n\
+ # reject all cookies from.  The accept_all_cookies parameter will\n\
+ # override any settings made here.  If a single domain is specified in\n\
+ # both cookie_accept_domains and in cookie_reject_domains, the rejection\n\
+ # will take precedence.\n");
+     fprintf(fp, "# cookie_accept_domains=\n");
+     fprintf(fp, "# cookie_reject_domains=\n\n");
+ 
+     /*
+      * cookie_accept_domains and cookie_reject_domains not set here because
+      * there's not currently a method on the options menu (maybe later?)
+      * to set them. 
+      */
+ 
  #if defined(EXEC_LINKS) || defined(EXEC_SCRIPTS)
      /*
       *  Local execution mode - all links.

-- 
One good reason why computers can do more work than
people is that they never have to stop and answer the phone.

reply via email to

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