As a user, not a developer...
I still use finger, gopher, and news URLs at least once a year each.  As a 
user, I disagree with turning support for those schemes off completely.
Finger and news I can use another tool, and I'd concede that no-one really 
*needs* a news reader in base.  (I still find having a finger client of some 
sort in base useful at one site, however.)
Gopher, however, is not as dead as everyone assumes.
I believe I can re-enable tn3270 and telnet schemes manually, which is fine.  I 
still use both of those fairly often.
The other protocols are irrelevant to me.
-Adam

On July 10, 2014 10:05:45 PM CDT, Daniel Dickman <didick...@gmail.com> wrote:
>Patch below turns off the following ancient protocols built into lynx: 
>bibp, finger, gopher, and news.
>
>For some urls, lynx will invoke an external command. Turn off telnet, 
>rlogin and tn3270 urls by defining them to false(1) as documented in
>the 
>lynx manual.
>
>Finally, turn off the file editor which can be accessed with
>"g.<enter>" 
>using the --disable-dired switch.
>
>ok to commit?
>
>Index: Makefile.bsd-wrapper
>===================================================================
>RCS file: /home/cvs/src/gnu/usr.bin/lynx/Makefile.bsd-wrapper,v
>retrieving revision 1.24
>diff -u -p -u -r1.24 Makefile.bsd-wrapper
>--- Makefile.bsd-wrapper       15 Apr 2014 20:55:42 -0000      1.24
>+++ Makefile.bsd-wrapper       11 Jul 2014 02:47:31 -0000
>@@ -5,7 +5,10 @@ CLEANFILES+= lynx.1
> DPADD=        ${LIBSSL} ${LIBCRYPTO}
> 
>GNUCFLAGS=     CC="${CC}" CFLAGS="${CFLAGS} ${COPTS} ${OPT}"
>LDFLAGS="${LDFLAGS}"
>-CONFIGURE_ARGS= --with-ssl=/usr --enable-widec --enable-ipv6
>--enable-debug
>+CONFIGURE_ARGS= --with-ssl=/usr --enable-widec --enable-ipv6
>--enable-debug \
>+              --disable-bibp-urls --disable-finger --disable-gopher 
>--disable-news
>\
>+              --disable-dired
>+
> HTMLDIR=      /usr/share/doc/html
>HELPFILES=     keystrokes/alt_edit_help.html keystrokes/bookmark_help.html
>\
>               keystrokes/cookie_help.html keystrokes/dired_help.html \
>@@ -39,12 +42,18 @@ config: .FORCE
>       PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
>       ${GNUCFLAGS} \
>       INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
>+      TELNET=/usr/bin/false \
>+      RLOGIN=/usr/bin/false \
>+      TN3270=/usr/bin/false \
>       sh ${.CURDIR}/configure --prefix=/usr --sysconfdir=/etc
>--disable-color-style ${CONFIGURE_ARGS}
> 
> config.status:
>       PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
>       ${GNUCFLAGS} \
>       INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
>+      TELNET=/usr/bin/false \
>+      RLOGIN=/usr/bin/false \
>+      TN3270=/usr/bin/false \
>       sh ${.CURDIR}/configure --prefix=/usr --sysconfdir=/etc
>--disable-color-style ${CONFIGURE_ARGS} ${CF}
> 
> lynx.1:       ${.CURDIR}/lynx.man

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to