NetBSD Problem Report #55931

From  Sat Jan 16 00:38:07 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 4F3E61A9217
	for <>; Sat, 16 Jan 2021 00:38:07 +0000 (UTC)
Message-Id: <>
Date: Fri, 15 Jan 2021 16:38:04 -0800 (PST)
Subject: Lynx-2.8.9rel.1 doesn't work with libcurses in NetBSD-9
X-Send-Pr-Version: 3.95

>Number:         55931
>Category:       pkg
>Synopsis:       Lynx-2.8.9rel.1 doesn't work with libcurses in NetBSD-9
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 16 00:40:00 +0000 2021
>Originator:     Brian Buhrow
>Release:        NetBSD 9.1_stable
NFB of California


System: NetBSD 9.1_STABLE NetBSD 9.1_STABLE (MIRKWOOD) #0: Wed Dec 23 20:12:58 PST 2020 amd64
Architecture: x86_64
Machine: amd64
When using lynx, the text based browser, with NetBSD-9, the screen is improperly rendered.
Specifically, as the screen is redrawn as part of the updating process, characters from
previous screens are left behind, rendering a very messy screen.  In addition, there appears to
be some kind of cursor addressing problem in that the cursor is not always placed correctly on
the current link or form field.

I've tried reinstalling the package using the curses option, rather than the cursesw option,
thinking it might be an issue with wide curses support.  That didn't fix the problem.

I believe the problem is with the libcurses library because the same version of the same
package works fine when compiled on NetBSD-5.2.  Other programs, such as vi, top etc. that use
libcurses seem to work fine under NetBSD-9, so there seems to be some interaction between the
updated version of libcurses and lynx that other programs aren't exhibiting.

Output of ldd against lynx looks like:

	-lz.1 => /usr/lib/
	-lc.12 => /usr/lib/
	-lcurses.8 => /usr/lib/
	-lterminfo.1 => /usr/lib/
	-lssl.14 => /usr/lib/
	-lcrypto.14 => /usr/lib/
	-lcrypt.1 => /lib/
	-lintl.1 => /usr/lib/

Install the pkg/www/lynx package under NetBSD-9
Install the window(1) package 
run: window -e^o (to make the window command control-o)
Run lynx under wond of your windows.

I don't yet have a fix, but I'm hoping someone who knows about the innards of libcurses will be
able to identify the problem quickly.

 The screen isn't properly drawn with lynx when used with libcurses under NetBSD-9

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.