This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: newbie question & Readline bug report
- To: Schumann AG <hoops@asterix.schumann-ag.de>, michael.easter@excite.com
- Subject: Re: newbie question & Readline bug report
- From: "Pierre A. Humblet" <Pierre.Humblet@eurecom.fr>
- Date: Fri, 26 Feb 1999 19:11:58 -0500
- Cc: cygwin@sourceware.cygnus.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-Reply-To: <36D681FA.7A33FADE@asterix.schumann-ag.de>
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <919694979.22128.458@excite.com>
- Sender: cygwin-owner@sourceware.cygnus.com
At 12:14 PM 2/26/99 +0100, Schumann AG wrote:
>The .inputrc file must be unix-style. That fixed it for me.
>
>michael.easter@excite.com wrote:
>> There must be something I am missing. I have tried the following: "set
>> bell-style none" in a .inputrc file in both the $HOME and / directories.
>> Upon logging in again, the bell persists.
What Schumann AG means is that .inputrc can't include \r
EVEN ON TEXT MOUNTED PARTITIONS. That means there is a bug in readline.
Cygnus src/readline/bind.c
*******************************************
i = read (file, buffer, finfo.st_size);
close (file);
The error is here:
if (i != finfo.st_size) <========================
return (errno);
********************************************
It should be patched, e.g. to
if (i <= 0)
By curiosity I looked up ftp.gnu.org
The bug is present in versions up to readline-2.2.1 but it
appears to be fixed in readline-4.0
Pierre
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com