[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Run macros within lynx
From: |
Thorsten Glaser |
Subject: |
Re: [Lynx-dev] Run macros within lynx |
Date: |
Tue, 24 Mar 2020 22:57:34 +0000 (UTC) |
dan d. dixit:
>I love the macro function for lynx. Among other things,I use it to
>change options that can not be saved at startup.
You can just enable saving them in lynx.cfg…
@Tom: any reason that not almost all are enabled by default?
I currently ship the following diff against lynx-2_8_8dev_16
(yes I know, I should upgrade…) in MirBSD:
Index: src/gnu/usr.bin/lynx/lynx.cfg
diff -u src/gnu/usr.bin/lynx/lynx.cfg:1.1.109.24
src/gnu/usr.bin/lynx/lynx.cfg:1.47
--- src/gnu/usr.bin/lynx/lynx.cfg:1.1.109.24 Tue Aug 6 20:31:28 2013
+++ src/gnu/usr.bin/lynx/lynx.cfg Sun Nov 18 02:18:33 2018
@@ […]
@@ -3344,8 +3354,9 @@
# one lynx.cfg setting.
.nf
#ENABLE_LYNXRC:ACCEPT_ALL_COOKIES:ON
-#ENABLE_LYNXRC:ASSUME_CHARSET:OFF
+ENABLE_LYNXRC:ASSUME_CHARSET:ON
#ENABLE_LYNXRC:AUTO_SESSION:OFF
+ENABLE_LYNXRC:BAD_HTML:ON
#ENABLE_LYNXRC:BOOKMARK_FILE:ON
#ENABLE_LYNXRC:CASE_SENSITIVE_SEARCHING:ON
#ENABLE_LYNXRC:CHARACTER_SET:ON
@@ -3360,44 +3371,43 @@
#ENABLE_LYNXRC:EMACS_KEYS:ON
#ENABLE_LYNXRC:FILE_EDITOR:ON
#ENABLE_LYNXRC:FILE_SORTING_METHOD:ON
-#ENABLE_LYNXRC:FORCE_COOKIE_PROMPT:OFF
-#ENABLE_LYNXRC:FORCE_SSL_PROMPT:OFF
-#ENABLE_LYNXRC:FTP_PASSIVE:OFF
-#ENABLE_LYNXRC:HTML5_CHARSETS:OFF
+ENABLE_LYNXRC:FORCE_COOKIE_PROMPT:ON
+ENABLE_LYNXRC:FORCE_SSL_PROMPT:ON
+ENABLE_LYNXRC:FTP_PASSIVE:ON
+ENABLE_LYNXRC:HTML5_CHARSETS:ON
#ENABLE_LYNXRC:KBLAYOUT:ON
#ENABLE_LYNXRC:KEYPAD_MODE:ON
#ENABLE_LYNXRC:LINEEDIT_MODE:ON
#ENABLE_LYNXRC:LOCALE_CHARSET:ON
-#ENABLE_LYNXRC:MAKE_LINKS_FOR_ALL_IMAGES:OFF
-#ENABLE_LYNXRC:MAKE_PSEUDO_ALTS_FOR_INLINES:OFF
+ENABLE_LYNXRC:MAKE_LINKS_FOR_ALL_IMAGES:ON
+ENABLE_LYNXRC:MAKE_PSEUDO_ALTS_FOR_INLINES:ON
#ENABLE_LYNXRC:MULTI_BOOKMARK:ON
-#ENABLE_LYNXRC:NO_PAUSE:OFF
+ENABLE_LYNXRC:NO_PAUSE:ON
#ENABLE_LYNXRC:PERSONAL_MAIL_ADDRESS:ON
#ENABLE_LYNXRC:PREFERRED_CHARSET:ON
-#ENABLE_LYNXRC:PREFERRED_ENCODING:OFF
+ENABLE_LYNXRC:PREFERRED_ENCODING:ON
#ENABLE_LYNXRC:PREFERRED_LANGUAGE:ON
-#ENABLE_LYNXRC:PREFERRED_MEDIA_TYPES:OFF
-#ENABLE_LYNXRC:RAW_MODE:OFF
+ENABLE_LYNXRC:PREFERRED_MEDIA_TYPES:ON
+ENABLE_LYNXRC:RAW_MODE:ON
#ENABLE_LYNXRC:RUN_ALL_EXECUTION_LINKS:ON
#ENABLE_LYNXRC:RUN_EXECUTION_LINKS_ON_LOCAL_FILES:ON
-#ENABLE_LYNXRC:SCROLLBAR:OFF
+ENABLE_LYNXRC:SCROLLBAR:ON
#ENABLE_LYNXRC:SELECT_POPUPS:ON
#ENABLE_LYNXRC:SEND_USERAGENT:OFF
#ENABLE_LYNXRC:SESSION_FILE:OFF
-#ENABLE_LYNXRC:SET_COOKIES:OFF
+ENABLE_LYNXRC:SET_COOKIES:ON
#ENABLE_LYNXRC:SHOW_COLOR:ON
#ENABLE_LYNXRC:SHOW_CURSOR:ON
#ENABLE_LYNXRC:SHOW_DOTFILES:ON
-#ENABLE_LYNXRC:SHOW_KB_RATE:OFF
+ENABLE_LYNXRC:SHOW_KB_RATE:ON
#ENABLE_LYNXRC:SUB_BOOKMARKS:ON
-#ENABLE_LYNXRC:TAGSOUP:OFF
-#ENABLE_LYNXRC:UNDERLINE_LINKS:OFF
-#ENABLE_LYNXRC:USER_MODE:ON
-#ENABLE_LYNXRC:SEND_USERAGENT:OFF
+ENABLE_LYNXRC:TAGSOUP:ON
+ENABLE_LYNXRC:UNDERLINE_LINKS:ON
#ENABLE_LYNXRC:USERAGENT:OFF
+#ENABLE_LYNXRC:USER_MODE:ON
#ENABLE_LYNXRC:VERBOSE_IMAGES:ON
-#ENABLE_LYNXRC:VI_KEYS:ON
#ENABLE_LYNXRC:VISITED_LINKS:ON
+#ENABLE_LYNXRC:VI_KEYS:ON
.fi
.h1 External Programs
bye,
//mirabilos
--
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font. -- Rob Pike in "Notes on Programming in C"