Subject: lib/15535: function keys in wscons don't work in many settings
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@netbsd.org>
List: netbsd-bugs
Date: 02/08/2002 12:23:50
>Number:         15535
>Category:       lib
>Synopsis:       function keys in wscons don't work in many settings
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 08 03:23:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Klausner
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
	
	
System: NetBSD hiro 1.5ZA NetBSD 1.5ZA (HIRO) #0: Thu Feb 7 14:12:23 CET 2002 wiz@hiro:/archive/cvs/src/sys/arch/i386/compile/HIRO i386
Architecture: i386
Machine: i386
>Description:
Function keys don't work in sushi on a wscons console on i386, or in an
xterm.
When I press any function key in sushi, it quits (in the examples below,
F1 == help...)
On console (TERM exported):
TERM=vt100, wsvt25, wsvt25m: screen not cleared, exit.
TERM=wscons: core dump (doesn't exist, I know -- shouldn't core dump, anyway)
In xterm:
TERM=xterm: works
In wterm:
TERM=xterm: exits, screen cleared.
TERM=rxvt: works, but the borders are missing.

So the only way to use sushi seems to have X already running, and starting
it in an (x|w)term. That's not good.
>How-To-Repeat:
See above.
>Fix:
I'm not sure, any combination of the following:
1) Fix libcurses/libmenu
2) Fix termcap entries
3) Fix sushi (for the segfault with unknown TERM at least)
This should definitely be fixed before 1.6.
>Release-Note:
>Audit-Trail:
>Unformatted: