[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash exits with SIGSEGV when I press the key with keycode 82
From: |
Chet Ramey |
Subject: |
Re: bash exits with SIGSEGV when I press the key with keycode 82 |
Date: |
Mon, 5 Aug 2002 09:49:06 -0400 |
> Machine Type: i686-pc-linux-gnu
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
> Description:
> [Detailed description of the problem, suggestion, or complaint.]
>
> when i press the 0/ins key on my numeric keypad, if numlock is off bash
> exits with SIGSEGV. to demonstrate this, i recompiled bash like this:
Here's the patch.
*** ../bash-2.05b/lib/readline/bind.c Thu Jan 24 11:15:52 2002
--- lib/readline/bind.c Wed Jul 31 09:11:18 2002
***************
*** 312,316 ****
and the function bound to `a' to be executed when the user
types `abx', leaving `bx' in the input queue. */
! if (k.function /* && k.type == ISFUNC */)
{
map[ANYOTHERKEY] = k;
--- 312,316 ----
and the function bound to `a' to be executed when the user
types `abx', leaving `bx' in the input queue. */
! if (k.function && ((k.type == ISFUNC && k.function !=
rl_do_lowercase_version) || k.type == ISMACR))
{
map[ANYOTHERKEY] = k;
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/