Andreas Metzler | 24 Jan 16:26 2015

lynx 2.8.9dev3 does not check certificate expiration


lynx 2.8.9dev3 (GnuTLS) invokes gnutls_certificate_verify_peers2() but
does not use/check all error flags. e.g. certificate expiration is not
checked. <>. Find attached a patch
against 2.8.9dev3 to change the respective code to simply check for
/any/ error and use gnutls_certificate_verification_status_print() to
print what exactly failed. This follows the example in upstream's

The respective function was added in GnuTLS 3.1.4 (released in
November 2012).

Please doublecheck, I am not a programmer by profession.

thanks, cu Andreas

`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Attachment (25_use_status_print.diff): text/x-diff, 2120 bytes
Lynx-dev mailing list
Lynx-dev <at>
Martin Tournoij | 15 Jan 15:40 2015

Lynx doesn't follow 30* redirect if the Location is the same

Hi there,

If I do a request:

  POST /test

and this returns a 303 with:

    Location /test

Lynx decides not to redirect to the new /test URL...
If I change either the original request or the Location response to
include a query parameter (ie. s=t), Lynx redirects as expected.

Is this a bug or a feature? All browsers that I tested properly
redirect, except for Lynx and derivatives (Links, ELinks).

(Also see my SO question:

PS. I am *not* subscribed to this list, please CC me in replies!


Lynx-dev mailing list
Lynx-dev <at>

(Continue reading)

Gisle Vanem | 8 Jan 16:23 2015

Huge files on Win32

I've built the latest version using both MingW and MSVC. But
I'm having difficulty showing local huge-files (>4GB)
correctly. Without or with a "LIST_FORMAT: %5K %-12.12d %a",
doesn't matter. E.g from the command 'lynx f:/':
     -1122303K Nov 08 12:23 pagefile.sys

Please take a look at the attached screenshot.

AFAICS, Lynx/Win32 doesn't use a 'PRI_off_t "I64d"'
as it should here. Hence the roll-over into negative values.
But looking through the messy details in HTFile.c + HTUtils.h,
I have no clue how to fix this. Anyone?



Lynx-dev mailing list
Lynx-dev <at>
Raoul MEGELAS | 6 Jan 22:44 2015

Solved fatal trap 6 on OS X

Hello Thomas and all,

Lynx-cur create, rename files as a charm now.
many Thanks for your work.

rmgls <at>

Lynx-dev mailing list
Lynx-dev <at>

Thomas Dickey | 6 Jan 02:41 2015


The current version of lynx is 2.8.8

It's available at
2.8.9 Development & patches:

2015-01-05 (2.8.9dev.3)
* correct shortcut for "Send To" link used in Inno Setup script, broken in
  2.8.8dev.15 -TD
* amend change made in 2.8.8dev.10 to LYLocal.c get_filename(), ensuring that
  the bstring parameter can be (re)allocated within that function's call to 
  LYgetBString() (report by Raoul Megelas) -TG
* build-fixes for djgpp 2.04 and gcc 4.8.4 using Watt-32 -GV


Thomas E. Dickey <dickey <at>>
Lynx-dev mailing list
Lynx-dev <at>
Raoul | 4 Jan 22:46 2015

fatal trap 6 on OS X

hi lynx-dev,

i run lynx-dev from the current macports (darwin) version, in terminal mode under yosemite (10.10.X.

i encounter the following problem:

in terminal mode, with and without screen loaded, renaming a file with  or without spaces,
lynx crashes (trap 6), and of course cannot rename anything.

The encoding is utf-8.

this behaviour is osx specific,
cannot be observed on FreeBSD for instance.

another point: same crashe on OX X 10.9 Maverick, with the older version of macports, and on 2 different
Apple machines.

Thanks for any hint.

Please Cc: i am not on the list.

rmgls <at>

Lynx-dev mailing list
Lynx-dev <at>

(Continue reading)

Андрей | 2 Jan 00:10 2015

★ Lynx-dev, Андрей оставил для вас сообщение

Андрей оставил для вас сообщение
Вы можете прочитать сообщение и ответить на него через наш чат.

Вы получили это письмо от Badoo Trading Limited (почтовый адрес ниже). Отписаться от этих уведомлений можно здесь.
Badoo Trading Limited - компания с ограниченной ответственностью, зарегистрированная в Англии и Уэльсе под номером CRN 7540255 по юридическому адресу: Media Village, 131 - 151 Great Titchfield Street, London, W1W 5BB.

Lynx-dev mailing list
Lynx-dev <at>
Gisle Vanem | 30 Dec 16:16 2014

djgpp compile errors

While compiling the last Lynx using djgpp 2.04 and gcc 4.8.4,
I'm getting:

LYForms.c: In function 'form_getstr':
LYForms.c:424:36: error: 'FieldEditor' has no member named 'efWide'
       if (!(edit->efBufInUse >= edit->efWide &&
LYForms.c:425:22: error: 'FieldEditor' has no member named 'efWide'
      LastTFPos >= edit->efWide - edit->efPanMargin)) {
LYForms.c:427:31: error: 'FieldEditor' has no member named 'efWide'
    if (edit->efBufInUse >= edit->efWide)

Presumably 'efWide' should be 'efWidth'?

But there's more:

LYMail.c: In function 'LYSendMailFile':
LYMail.c:537:13: error: conflicting types for 'dj_is_bash'
   extern int dj_is_bash;
In file included from LYMail.c:6:0:
./LYGlobalDefs.h:649:20: note: previous declaration of 'dj_is_bash' was here
      extern BOOLEAN dj_is_bash;


--- orig/src/LYMail.c       2013-11-29 01:52:56 +0000
+++ src/LYMail.c     2014-12-30 15:53:56 +0000
 <at>  <at>  -534,7 +534,6  <at>  <at> 
  #ifdef __DJGPP__
      if (LYGetEnv("SHELL")) {
-       extern int dj_is_bash;
         extern char *shell;
         const char *c_option;
         const char *format = "%s %s %s -t %s -F %s";


Also a problem WRT. 'USE_DOS_DRIVES' in HomeEnv().
The function w32_get_shell_folder() is for Win32 only:

--- orig/src/LYUtils.c      2014-12-22 02:39:40 +0000
+++ src/LYUtils.c    2014-12-30 16:04:16 +0000
 <at>  <at>  -5183,7 +5183,7  <at>  <at> 
      char *result = CheckDir(LYGetEnv("HOME"));

-#if defined (USE_DOS_DRIVES)
+#if defined (USE_DOS_DRIVES) && defined(_WIN32)
      if (result == 0) {
         char *head;
         char *leaf;


After these changes, the djgpp/Watt-32 version of Lynx works
fine. I'm amazed!



Lynx-dev mailing list
Lynx-dev <at>

Shel Talmy | 23 Dec 23:51 2014

Phone number for BOOKSHARE tech support

Sorry, re my previous email re BOOKSHARE & LYNX, forgot to include their 
tech support number.
It's 650-644-3424.

Shel Talmy

Lynx-dev mailing list
Lynx-dev <at>

Shel Talmy | 23 Dec 23:40 2014


Hi, to whom is concerned with updating, just recently "BOOKSHARE" the 
books for the blind distrib org ( changed accessibility to 
"SSL" so that trying to access it from LYNX is now problematical.

I just spoke to one of their tech staff and he said they'd done patches 
for all the "popular" browsers, but not LYNX and that nobody on their 
staff had the UNIX knowledge to make it usable.

So I'm hoping that somebody from your group would contact them and get the 
info to make LYNX operable again.

Thanks, look forward to hearing from you.

Shel Talmy

Lynx-dev mailing list
Lynx-dev <at>

Thomas Dickey | 22 Dec 02:56 2014


The current version of lynx is 2.8.8

It's available at
2.8.9 Development & patches:

2014-12-21 (2.8.9dev.2)
* correct an inconsistent check for reload using isLYNXCGI() in the
  options-screen -TD
* add script after using msginit to create en.po, to work around renaming in
  Cygwin environment -TD
* improve overlay of field contents in form for "-dump" option; the change
  in 2.8.8dev.3 did not take into account UTF-8 values (Debian #770011) -TD
* correct a bug in the map_string_to_keysym() function introduced in
  2.8.8dev.17:  as used via the remap() function, this returns the curses
  code for a special key rather than Lynx's internal code (Debian #769601) -TD
* add checks when translating from UTF-8 to Unicode, to ensure that only the
  shortest encoding is accepted.  Other/longer encodings are mapped to the UCS
  replacement character as in xterm (Debian #763268) -TD
* modify LYExpandHostForURL() to call HTGetAddrInfo(), allowing DNS lookups
  for IPv6 to be interrupted, e.g., by typing ^G.  This was a path overlooked
  in 2.8.8dev.13 (reports by Chad Kline, etc.) -TD
* drop libgnutls-extra when using --with-gnutls-compat option -TD
* drop libgcrypt dependency when building with gnutls, using gnutls_rnd()
  rather than gcry_randomize() (adapted from patch by Andreas Metzler,
  Debian #753699) -TD
* fix a reference-after-free in scan_cookie_sublist(), probably fixing RedHat
  #1120925 (patch by Mike Gorse).
* update eo.po, id.po from
* improve workaround for too-long pathnames in LYPrint.c SetupFilename() -TD
* fix a few inconsistencies between #if / #ifdef, including one for sleep()
  which broke cross-compiles for MinGW -TD
* updated/improved configure script macros (TD):
  + CF_ACVERSION_CHECK:  work around another gratuitous incompatibility
    introduced in 2.69 (reported by Ross Burton,
  + CF_ADD_CFLAGS:  workaround for ash-shell
  + CF_ADD_LIBS:  workaround in CF_X_TOOLKIT uses pkgconfig, whose files
    generally are using incomplete dependencies - in turn introducing lots of
    duplication.  filter out the duplicates.
  + CF_CHECK_CFLAGS:  workaround for ash-shell
  + CF_CURSES_FUNCS:  improve workaround for weak-linkage, seems to fix tests
    with NetBSD 6.1
  + CF_INTEL_COMPILER:  cleanup the -no-gcc option which was leftover from
    testing - prcs does not build with this option.
  + CF_MAKEFLAGS:  workaround for GNU make 4.0 incompatibility with previous
  + CF_SUBDIR_PATH:  add /usr/pkg and /opt/local to help configuring with
    pkgsrc and macports -TD
  + CF_XOPEN_SOURCE:  Minix3.2 ifdef's the POSIX.1-2001 functions inside
    _NETBSD_SOURCE, even though it was released 2012-02-29 - appease it.  At
    the same time, turn on the verbose flag to show that most platforms need
    platform-specific define's to get POSIX (sic).  Also, add case for UnixWare
    (report/discussion with Mark Ryan).
  + CF_X_ATHENA:  add --with-Xaw3dxft option
  + CF_X_TOOLKIT:  add workaround for breakage in XQuartz upgrades
* add check to ensure that "submit" command from 2.8.8dev.10 is performed
  in a form (report by Karen Lewellen) -TD
* update config.guess (2014-03-23), config.sub (2014-07-28)


Thomas E. Dickey <dickey <at>>
Lynx-dev mailing list
Lynx-dev <at>