Subject: pkg/14323: Package sysutils/mc does not work in 1.5.2 (wrong keyboard translation)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <a.bocaniciu@computer.org>
List: netbsd-bugs
Date: 10/22/2001 03:57:37
>Number:         14323
>Category:       pkg
>Synopsis:       Package sysutils/mc does not work in 1.5.2 (wrong keyboard translation)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 22 03:58:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Bocaniciu
>Release:        1.5.2
>Organization:
Alvarion Ltd.
>Environment:
Full installation from CD of NetBSD 1.5.2 on i386 (Athlon) PC with
a Iwill KK266-R motherboard using a Via chipset.
The hardware is probably irrelevant, except that the keyboard
is a standard US PS/2 keyboard.  No changes have been made
between installation and starting to build packages from
sources.
>Description:
The package sysutils/mc (Midnight Commander), as built on NetBSD 1.5.2,
cannot be used because a lot of keys are misinterpreted.  For example
the keys <F1> to <F5> are not recognized.  The keys <F6> to <F10>
are recognized, but as <F5> to <F9> (one position shifted to the left).

On the same hardware, mc works OK under other operating systems, e.g.
Mandrake Linux or Cygwin Windows 98.

>How-To-Repeat:
Change directory to /usr/pkgsrc/sysutils/mc, type "make install".
Then try to run "mc" and press the function keys.
>Fix:
The incorrect keyboard translation might be in another package, not
in sysutils/mc, probably in devel/libslang.  Also it is possible
that the type of terminal used by NetBSD is wrongly detected.  mc also
didn't recognize the terminal as color and had to be forced to
use colors. 
>Release-Note:
>Audit-Trail:
>Unformatted: