bug-ncurses
[Top][All Lists]
Advanced

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

tset bug


From: Rich Burridge
Subject: tset bug
Date: Fri, 6 Nov 2015 06:52:53 -0800

Hi,

I see the following problem with the tset application that comes with ncurses:

% $ TERM=sun-cmd
% tset -s -Q
TERM=sun-c;
%

A quick scan of the code suggests that the line:

    /* Get the terminal name from the entry. */
    ttype = _nc_first_name(cur_term->type.term_names);

in .../progs/tset.c should be trying to find an exact match rather
than the first one, as it's finding /usr/share/terminfo/s/sun-c and
not
/usr/share/terminfo/s/sun-cmd

Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]