NetBSD Problem Report #55931

From buhrow@nfbcal.org  Sat Jan 16 00:38:07 2021
Return-Path: <buhrow@nfbcal.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4F3E61A9217
	for <gnats-bugs@www.NetBSD.org>; Sat, 16 Jan 2021 00:38:07 +0000 (UTC)
Message-Id: <202101160038.10G0c4Qw011448@nfbcal.org>
Date: Fri, 15 Jan 2021 16:38:04 -0800 (PST)
From: buhrow@nfbcal.org
Reply-To: buhrow@nfbcal.org
To: gnats-bugs@www.NetBSD.org
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
>Organization:
NFB of California

>Environment:


System: NetBSD mirkwood.nfbcal.org 9.1_STABLE NetBSD 9.1_STABLE (MIRKWOOD) #0: Wed Dec 23 20:12:58 PST 2020  buhrow@loth-9.nfbcal.org:/usr/local/netbsd/src-90/sys/arch/amd64/compile/MIRKWOOD amd64
Architecture: x86_64
Machine: amd64
>Description:
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:

lynx:
	-lz.1 => /usr/lib/libz.so.1
	-lc.12 => /usr/lib/libc.so.12
	-lcurses.8 => /usr/lib/libcurses.so.8
	-lterminfo.1 => /usr/lib/libterminfo.so.1
	-lssl.14 => /usr/lib/libssl.so.14
	-lcrypto.14 => /usr/lib/libcrypto.so.14
	-lcrypt.1 => /lib/libcrypt.so.1
	-lintl.1 => /usr/lib/libintl.so.1


>How-To-Repeat:
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.


>Fix:
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.



>Unformatted:
 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: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.