Dan Schmidt | 25 Jan 01:22 2016
Picon

Newer DOS Lynx Port

It's kind of a pain to get all the modules & CA cert, but SSL works.  Kaufman's port is great, but lacks current SSL.

I use a small enet/wireless usb bridge.  I can boot & get the weather faster on my twenty year old laptop than my two year old chromebook. 
_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Thorsten Glaser | 24 Jan 02:33 2016
Picon
Gravatar

scrolling bug

Hi,

when the status line (on E) begins with…

Edit the current link's URL: ←somelinktext_

… and then you fill it up, it doesn't scroll after filling
the second-to-last column (as it does when you don’t have
that little ← there) but only one after it, which kinda is
irritating with a block mode cursor that hides that character.

bye,
//mirabilos
--

-- 
Stéphane, I actually don’t block Googlemail, they’re just too utterly
stupid to successfully deliver to me (or anyone else using Greylisting
and not whitelisting their ranges). Same for a few other providers such
as Hotmail. Some spammers (Yahoo) I do block.

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Axel Beckert | 23 Jan 20:42 2016
Face
Gravatar

Lynx 2.8.9dev.8 doesn't build against GnuTLS 3.4.x: gnutls_protocol_set_priority removed

Hi,

GnuTLS 3.4.8 arrived in Debian Unstable and Lynx no more builds since
then. Reason is the usage of gnutls_protocol_set_priority in
src/tidy_tls.c as gnutls_protocol_set_priority has been removed from
GnuTLS since 3.4.0.

It only seems to be used for cipher/protocol removal in Lynx, so the
following patch makes it build again.

Nevertheless,

* I'm not sure if the changed code paths are really used in my
  environment, and

* I'm quite sure that this patch is probably not suitable for general
  inclusion as it is probably GnuTLS-specific and also doesn't take
  into account that others might build Lynx against older versions of
  GnuTLS.

So you likely need to adapt that patch to be more suited for upstream
usage.

Index: lynx/src/tidy_tls.c
===================================================================
--- lynx.orig/src/tidy_tls.c	2015-12-21 10:11:11.719618478 +0100
+++ lynx/src/tidy_tls.c	2016-01-23 20:01:04.100447994 +0100
 <at>  <at>  -262,27 +262,6  <at>  <at> 
     ctx->verify_callback = verify_callback;
 }

-static void RemoveProtocol(SSL * ssl, int protocol)
-{
-    int j, k;
-    int changed = 0;
-    int *protocols = ssl->ctx->method->priority.protocol;
-
-    for (j = k = 0; j < GNUTLS_MAX_ALGORITHM_NUM;) {
-	if (protocols[k] == protocol) {
-	    if (++k >= GNUTLS_MAX_ALGORITHM_NUM)
-		break;
-	    changed = 1;
-	} else {
-	    protocols[j++] = protocols[k++];
-	}
-    }
-
-    if (changed) {
-	gnutls_protocol_set_priority(ssl->gnutls_state, protocols);
-    }
-}
-
 /*
  * Initiate the TLS/SSL handshake with an TLS/SSL server.
  */
 <at>  <at>  -294,9 +273,7  <at>  <at> 
     const char *aname;

     if (ssl->options & SSL_OP_NO_TLSv1)
-	RemoveProtocol(ssl, GNUTLS_TLS1);
-    if (ssl->options & SSL_OP_NO_SSLv3)
-	RemoveProtocol(ssl, GNUTLS_SSL3);
+	gnutls_priority_set(ssl->gnutls_state, "VERS-TLS1.0!");

     while ((rc = gnutls_handshake(ssl->gnutls_state)) < 0 &&
 	   !gnutls_error_is_fatal(rc)) {

		Kind regards, Axel
--

-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe <at> deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe <at> noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)
_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Daniel Bridges | 21 Jan 15:11 2016

Help customize: screen size, color, text size; status bar covers hotkey listing

‎Thank you for your time. I am an intermediate computer user, having failed to use multiple versions of Linux in the past (mostly Ubuntu). Currently using Windows 10 Pro, 64-bit, on the Surface Pro 4 in Japan (USA regional settings, English from first-time screen), I used the Win32 installer lynx-cs-setup.exe , likely from http://invisible-island.net/lynx/ ; I think it was “Current patch built with curses (color-style)”.

 

My overarching problem is that manual installation and editing configuration files appears advanced; I don’t know what to do. I tried figuring it out months ago on an old MacBook Pro and wound up installing lynxlet instead after writing to you. I cannot use the Lynx main help and User Guide because I cannot see it (e.g. recurring blue text on black), and because it is not clear to me which section has the answers I seek; I don’t currently have time to read it cover-to-cover.

 

My problems are:

1.       The content does not resize with making the window larger; I’d like to use it full-screen in addition to any size.

2.       Blue text is basically impossible for me to read against the black background. (I want to keep the black background.)

3.       I would like to make the text larger. It is a little too small, difficult to see.

4.       For ‘a name’ hyperlinks to a section of a webpage, there appears to be no text highlight when moving between them with the down arrow. (Example: http://www.usccb.org/bible/genesis/21 ; is there a way to copy-to-clipboard the current page’s URL from within Lynx?)

5.       Text remains ‘burned onto’ the screen after navigating away, apparently from resizing the window – clicking the ‘maximize’ and ‘unmaximize’ button in the top-right window corner, and scrolling the text back into view after unmaximizing, and then navigating to a new screen.

6.       The status bar, e.g. “press space for next page”, covered the hotkey info, i.e. the “H)elp O)ptions” etc. listing, I think after maximizing the window, possibly the first time I used it after installation. I have not been able to cause this problem to repeat.

7.       I understand Lynx uses the terminal or something similar (bash?) and there’s a good reason why the mouse and clicking doesn’t work, but it would be nice if this feature could be implemented, to click on links (or use touchscreen). I could list other things I’d love to see, e.g. the “pinch out to zoom in” type touchscreen features.

 

I found documentation seemingly related to problem #1, I think from the User Guide:

>For win32, allow the console window to be resized to the given values. This requires PDCurses 2.5. The values given are width,height.

>Default value

> SCREEN_SIZE:80,24

> Support for this setting was disabled at compile-time.

 

Does this mean resizing the content to match window size is impossible if one has used the lynx-cs-setup.exe Win32 installer? Is there a better 64-bit version instead?

 

I intend to browse the help documentation mentioned on the startup window eventually, but I have very little spare time.

Would you please add this software to the Windows Store? I think it could become more popular. I did not find any Apps like Lynx searching for text web browsers.

I am very grateful for a text web browser, and would like to become a supporter and proponent of it. In addition to being ad-free, I think it promotes mental health and productivity. Thank you for making it! (What programming languages would I need to learn to contribute?)

Regards,

DB

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Jude DaShiell | 15 Jan 15:11 2016
Picon

/etc/lynx.cfg update

Please update line 93 and put the new lynx home page on that line.

--

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Thorsten Glaser | 15 Jan 01:20 2016
Picon
Gravatar

unkillable hanging connections

Hi,

I’ve occasionally got unkillable (with z or ^G) hanging connections,
which is quite annoying because if I kill lynx I don’t get my
cookies.txt file updated and lose other state.

I now found out a few things:

• even during normal operation, a zombie is kept around:

tg <at> blau:~ $ ps ax|fgrep lynx
 7106 p9  ZW+     0:00.00 (lynx)
 3343 p9  I+      0:52.49 lynx

• during the hanging event, a TCP connection is open:

tg <at> blau:~ $ ps ax|fgrep lynx
 4269 p9  ZW+     0:00.00 (lynx)
 3343 p9  I+      0:52.09 lynx
16864 pa  I+      0:00.01 fgrep lynx
tg <at> blau:~ $ netstat -anp|fgrep -e 4269 -e 3343
netstat: option requires an argument -- p
usage: netstat [-Aan] [-f address_family] [-M core] [-N system]
       netstat [-bdgilmnqrSstu] [-f address_family] [-M core] [-N system]
       netstat [-bdn] [-I interface] [-M core] [-N system] [-w wait]
       netstat [-s] [-M core] [-N system] [-p protocol]
       netstat [-a] [-f address_family] [-i | -I interface]
1|tg <at> blau:~ $ man fstat
[…]
tg <at> blau:~ $ fstat -p 4269
USER     CMD          PID   FD MOUNT      INUM MODE       R/W    DV|SZ
tg <at> blau:~ $ fstat -p 3343
USER     CMD          PID   FD MOUNT      INUM MODE       R/W    DV|SZ
tg       lynx        3343   wd /        2514177 drwx------   r     1536
tg       lynx        3343    0 /        1818857 crw-------  rw    ttyp9
tg       lynx        3343    1 /        1818857 crw-------  rw    ttyp9
tg       lynx        3343    2 /        1818857 crw-------  rw    ttyp9
tg       lynx        3343    3* internet stream tcp 0xe8da897c 192.168.0.225:47056 --> 63.251.163.200:443
tg <at> blau:~ $ tcpdrop
usage: tcpdrop laddr lport faddr fport
1|tg <at> blau:~ $ tcpdrop 192.168.0.225 47056  63.251.163.200 443
tcpdrop: 192.168.0.225 47056 63.251.163.200 443: Operation not permitted
1|tg <at> blau:~ $ doch
192.168.0.225 47056 63.251.163.200 443: dropped

Et voilà, lynx reacts again. The tcpdrop(8) tool is a rather
recent OpenBSD invention and just kills a connection kernel-side:
https://www.mirbsd.org/man8/tcpdrop (may be down for a while,
the server has got hardware issues I’ll ask the hoster to look
at tomorrow).

Any idea?

configure options: --prefix=/usr --sysconfdir=/etc --enable-echo
--enable-vertrace --enable-warnings --disable-nls --disable-full-paths
--with-ssl --without-gnutls --without-socks --without-socks5
--without-pkg-config --enable-ipv6 --with-screen=ncursesw
--enable-widec --enable-color-style --disable-htmlized-cfg
--enable-locale-charset --disable-sessions --disable-session-cache
--enable-addrlist-page --enable-cjk --enable-japanese-utf8
--enable-default-colors --enable-kbd-layout --enable-nested-tables
--enable-ascii-ctypes --disable-idna --enable-justify-elts
--enable-progressbar --disable-scrollbar --enable-charset-choice
--enable-externs --enable-internal-links --enable-nsl-fork
--enable-underlines --without-bzlib --with-zlib --without-x
--disable-rpath-hack --build=i386-ecce-mirbsd10
--host=i386-ecce-mirbsd10 --srcdir=/usr/src/gnu/usr.bin/lynx

OS: MirBSD (synchronous DNS, IIRC, which is probably the
cause for the zombie due to --enable-nsl-fork though adding
a wait* syscall at some good place might fix that)

bye,
//mirabilos
--

-- 
Stéphane, I actually don’t block Googlemail, they’re just too utterly
stupid to successfully deliver to me (or anyone else using Greylisting
and not whitelisting their ranges). Same for a few other providers such
as Hotmail. Some spammers (Yahoo) I do block.

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Héctor A. Abreu | 12 Jan 12:31 2016
Picon

Problem displaying gopherspace UTF-8 on ARM (Raspberry Pi)

Hi there,

I installed Lynx using "aptitude install" on my Raspberry Pi 2 (Raspbian Jessie Lite). I set computer
locale and browser to UTF-8 and have no problem to view UTF-8 on http, for example
http://www.columbia.edu/kermit/utf8.html 

The problem is when I try to do the same thing on gopher, for example
gopher://z3bra.org:70/0/notes/vim/digraphs.txt 

Characters are displayed incorrectly on gopher... but only when I use Lynx on Raspberry Pi. Lynx displays
gopher UTF-8 correctly from my non-ARM Linux boxes (HP Laptop with Lubuntu, AMD with Debian).

Should I compile Lynx myself on ARM instead of using "aptitude install"?

I really need my Raspberry Pi to display gopherspace UTF-8 correctly. If anyone out there manages to
display gopherspace UTF-8 correctly from a Raspberry Pi please let me know how.

Thank you in advance for any hint or help.

Regards,
--

-- 
Héctor

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

David Niklas | 29 Dec 23:52 2015
Picon

Why write new code for http 1.1 and 2.0

Hello,
I've been following the recent discussions and I'm curious,
Why not use a library for your TCP needs?
I know that it would add another dependency, but all these different
projects all using their own, and in your case semi-broken, methods adds
development overhead and increases the code base size of the various
projects.
Their are good ones out their like libcurl.

Thanks, David

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Zbigniew H. Loboda | 27 Dec 18:05 2015
Picon

browser architecturre

where I can find your browser architecture and associated with it code?

_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Thomas Dickey | 22 Dec 03:16 2015
Picon

ANN: lynx2.8.9dev.8

The current version of lynx is 2.8.8

It's available at
	http://lynx.invisible-island.net/
	ftp://invisible-island.net/lynx/
2.8.9 Development & patches:
	http://lynx.invisible-island.net/current/index.html

Files:
	ftp://invisible-island.net/lynx/patches/lynx2.8.9dev.8.patch.gz
	ftp://invisible-island.net/lynx/patches/lynx2.8.9dev.8.patch.gz.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.8.tar.bz2
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.8.tar.bz2.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.8.tar.gz
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.8.tar.gz.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.8.zip

2015-12-18 (2.8.9dev.8)
* fix regression in SSL support (report by Axel Beckert) -TD
* update et.po, fr.po, vi.po, zh_CN.po from
    http://translationproject.org/latest/lynx

--

-- 
Thomas E. Dickey <dickey <at> invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
Thomas Dickey | 19 Dec 02:57 2015
Picon

ANN: lynx2.8.9dev.7

The current version of lynx is 2.8.8

It's available at
	http://lynx.invisible-island.net/
	ftp://invisible-island.net/lynx/
2.8.9 Development & patches:
	http://lynx.invisible-island.net/current/index.html

Files:
	ftp://invisible-island.net/lynx/patches/lynx2.8.9dev.7.patch.gz
	ftp://invisible-island.net/lynx/patches/lynx2.8.9dev.7.patch.gz.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.7.tar.bz2
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.7.tar.bz2.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.7.tar.gz
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.7.tar.gz.asc
	ftp://invisible-island.net/lynx/tarballs/lynx2.8.9dev.7.zip

2015-12-18 (2.8.9dev.7)
* make the HTTP version configurable, defaulting to "1.0" (HTTP/1.0) as
  HTTP_PROTOCOL, and make it changeable in the options menu -TD
* switch HTTP version to 1.1, adding an explicit "close" to work around
  the pitfall of persistent connections.  This is to work around a selective
  reading of RFC 2068 by duckduckgo.com - see
    http://lists.nongnu.org/archive/html/lynx-dev/2015-12/index.html
  -Axel Beckert
* fix a potential null dereference in tidy_tls.c reported by Coverity -TD
* extend advanced mode by showing field names in forms in the status line
  (suggested by TG) -TD
* fix some typos found by lintian -Axel Beckert
* correct buffer size in pretty_html() function of LYKeymap.c -TG
* add support for some HTML5 elements -Kihara Hideto 
  Using this change, you can jump to <section id="speakers">.
  (The addition in src{0,1}_HTMLDTD.txt is copied from DIV.)
  <section>, <article>, <main>, <aside>, <header>, <footer>, <nav>, <figure>
* improve configure check for extended curses functions, needed for compiling
  with ncursesw on OSX, in particular when configuring with ncurses6 (report
  by Tom Wyant) -TD
* set SSL_MODE_AUTO_RETRY in OpenSSL configuration, completing work needed for
  Debian #707059 -TD
* correct description used for "K" vs "k" key binding in manpage -TD
* adopt some of the patches from Debian lynx package:
  + add Delete key usage to manpage (patch by Denis Briand, Debian #74358)
  + add $(LDFLAGS) when building makeuctb (patch by Atsuhito Kohda).
  + add NO_BUILDSTAMP symbol to appease
    https://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros
  + add -n option to gzip when making gzip'd helpfiles (patch by Andreas
    Metzler).
  + add support for client certificates (patch by Simon Kainz, Debian #797901).
* use POSIX locale when sorting entries in cfg_defs.h (patch by Reiner Hermann,
  Debian #792770).
* move homepage for Lynx from
    http://lynx.isc.org
  to
    http://lynx.invisible-island.net
  because ISC has ended support -TD
* change "GNU Public License" to "GNU General Public License" for consistency
  (report by Axel Beckert) -TD
* free a use-after-free in scan_cookie_sublist (Redhat #1120925) -TG
* updates for configure macros from ncurses and xterm -TD
* fix for gnutls logic to support rehandshake on negotiation for optional
  client certificate, e.g., for https://contributors.debian.org (patch by
  Simon Kainz, Debian #797059).
* update ca.po, sv.po, et.po from
    http://translationproject.org/latest/lynx
* use gnutls_set_default_priority() to simplify algorithm priorities in the
  gnutls configuration as well as track occassional changes in that library
  (patch by Andreas Metzler, Debian #789189, Debian #784430).
* correct logic in LYsetRcValue() from 2.8.8dev.13, which would free the wrong
  pointer if the input had leading blanks (patch by Ruda Moura).
* fix CF_CHECK_SIZEOF autoconf macro to work when its working variables have
  been preset to an empty value (report by Andrew Arensburger) -TD
* update config.guess (2015-10-21), config.sub (2015-08-20)

--

-- 
Thomas E. Dickey <dickey <at> invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Lynx-dev mailing list
Lynx-dev <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Gmane