Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <3.0.5.32.19990226191158.00878440@pop.ne.mediaone.net> X-Sender: phumblet AT pop DOT ne DOT mediaone DOT net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 26 Feb 1999 19:11:58 -0500 To: Schumann AG , michael DOT easter AT excite DOT com From: "Pierre A. Humblet" Subject: Re: newbie question & Readline bug report Cc: cygwin AT sourceware DOT cygnus DOT com In-Reply-To: <36D681FA.7A33FADE@asterix.schumann-ag.de> References: <919694979 DOT 22128 DOT 458 AT excite DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:14 PM 2/26/99 +0100, Schumann AG wrote: >The .inputrc file must be unix-style. That fixed it for me. > >michael DOT easter AT excite DOT 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 AT sourceware DOT cygnus DOT com