NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/57592: curses: aspell clears screen if no correction found



>Number:         57592
>Category:       lib
>Synopsis:       curses: aspell clears screen if no correction found
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 23 02:40:00 +0000 2023
>Originator:     Rin Okuyama
>Release:        10.99.7
>Organization:
Internet Initiative Japan Inc.
>Environment:
NetBSD netbsd 10.99.7 NetBSD 10.99.7 (AMD64_NET_MPSAFE) #2: Tue Aug 15 12:13:48 JST 2023  rin@netbsd:/home/rin/src/sys/arch/amd64/compile/AMD64_NET_MPSAFE amd64
>Description:
With recent version (9.1) of curses:
-r--r--r-- 1 root wheel 206472 Aug 15 11:13 /usr/lib/libcurses.so.9.1
pkgsrc/textproc/aspell 0.60.8nb4 clears screen on exit if no
correction was found.

This is a behavior different to old curses, e.g.:
-r--r--r-- 1 root wheel 201048 May 10 2021 /usr/lib/libcurses.so.9.0
nor pkgsrc/devel/ncursesw 6.4; if aspell is linked against these,
it silently exits on success without modifying screen.

I don't know whether this is a regression for our curses, or something
wrong for aspell (depending on some unspecified implement details?).
>How-To-Repeat:
Install textproc/aspell and aspell-en from pkgsrc.

% cat foo.txt
only correct words
% aspell -c foo.txt

Then, if it is linked to old curses (9.0) or ncursesw, it silently
exits. However, it clears screen for recent curses (9.1).
>Fix:
N/A



Home | Main Index | Thread Index | Old Index