Matthias Klose wrote: > > ------------------------------------------------------------------------ > > Subject: > Bug#343128: libreadline5: Ignoring terminal control characters for > prompt length also broken in irb > From: > Aaron Schrab <[EMAIL PROTECTED]> > Date: > Wed, 14 Dec 2005 09:54:41 -0600 > To: > Debian Bug Tracking System <[EMAIL PROTECTED]> > > To: > Debian Bug Tracking System <[EMAIL PROTECTED]> > > > Package: libreadline5 > Version: 5.1-1 > Followup-For: Bug #343128 > > I just noticed that this bug also affects irb (from the irb1.8 package, > version 1.8.3-3). > > Since Ruby's readline interface doesn't currently provide a way to > access the RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE values, I > simulate this manually by including "\001\001" and "\001\002" in my IRb > prompt. This works fine with libreadline5 5.0-11, but with the current > version, I get the same behaviour as I saw in psql.
OK, I saw the original report. Before I start checking, why are you adding the extra '\001' to the start and end ignore values? Does irb handle that specially somehow? (Bash does it because it has to quote those characters internally, but those are not part of what readline understands.) Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]