delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/09/20:05:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 10 May 2000 03:07:24 +0200 (MET DST)
From: <Pierre DOT Humblet AT eurecom DOT fr>
Message-Id: <200005100107.DAA21250@pomerol.eurecom.fr>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: weird keyboard behaviour
Cc: bug-readline AT gnu DOT org

The source of the bug is in readline/bind.c as reported before, e.g. in
http://sourceware.cygnus.com/ml/cygwin/1999-02/msg00909.html

A partial fix appears on
line 670 of bind.c from Cygnus bash-src.tar.gz
and line 633 of bind.c from Gnu readline-4.1.tar.gz

However the size of the buffer returned by
_rl_read_file( ) is not correct. It still includes the \r 
suppressed by text mode processing.
To fix the bug, add the line indicated below.

#if 0
  if (i < file_size)
#else
         file_size = i;   <======  Add this line here
  if (i < 0)
#endif

Pierre

At 07:09 AM 5/9/00 -0700, Earnie Boyd wrote:
>--- Jean-Paul Le Fevre <J-P DOT LeFevre AT cea DOT fr> wrote:
>> 
>> Under bash the keyboard has a strange behaviour.
>> My keyboard is a french one (azerty). The letter 's'
>> is not available : pressing the key does nothing
>
>This can be caused by an improper ~/.inputrc file.  If you have a ~/.inputrc
>file make sure that it has UNIX style (\n only) line endings.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019