Re: readline Bug! ;-) [was: Bash Bug! (was: Bug in rxvt 2.7.2 ...)]
Thomas, On Thu, Oct 10, 2002 at 02:30:46PM +0200, Thomas Mellman wrote: WRT [EMAIL PROTECTED], I have been experiencing similar problems since upgrading to bash 2.05b-2 and libreadline5 4.3-1. My typical problem is that the c command as in cw (i.e., change word) would stop working, but dw (i.e., delete word) followed by i (i.e., insert) was fine. I think I discovered something interesting about this: I believe it occurs after one uses a different vi feature that is also broken: The use of . to repeat the last operation works intermittenly in CYGWIN readline, but I believe that if you use it and it doesn't do what it's supposed to, then the problem with the loss of functionality with the other commands stops working... Thanks for the above -- it seems to match my observations. I will (try to) avoid using the . command until a patched bash is released. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: readline Bug! ;-) [was: Bash Bug! (was: Bug in rxvt 2.7.2 ...)]
WRT [EMAIL PROTECTED], I have been experiencing similar problems since upgrading to bash 2.05b-2 and libreadline5 4.3-1. My typical problem is that the c command as in cw (i.e., change word) would stop working, but dw (i.e., delete word) followed by i (i.e., insert) was fine. I think I discovered something interesting about this: I believe it occurs after one uses a different vi feature that is also broken: The use of . to repeat the last operation works intermittenly in CYGWIN readline, but I believe that if you use it and it doesn't do what it's supposed to, then the problem with the loss of functionality with the other commands stops working... Da - naturally, it could also be that there is an even earlier event that breaks not only the . command but the other operations as well I don't know if there's any causation there - but I do believe there's a connection. -- Thomas Mellman [EMAIL PROTECTED] __ Tippen Sie mit der cleveren Kombination von Zusammen und Alleine. Der neue Weg zum Lottoglueck: WEB.DE Spielgemeinschaften! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: readline Bug! ;-) [was: Bash Bug! (was: Bug in rxvt 2.7.2 ...)]
On Thu, 10 Oct 2002, Thomas Mellman wrote: WRT [EMAIL PROTECTED], I have been experiencing similar problems since upgrading to bash 2.05b-2 and libreadline5 4.3-1. My typical problem is that the c command as in cw (i.e., change word) would stop working, but dw (i.e., delete word) followed by i (i.e., insert) was fine. I think I discovered something interesting about this: I believe it occurs after one uses a different vi feature that is also broken: The use of . to repeat the last operation works intermittenly in CYGWIN readline, but I believe that if you use it and it doesn't do what it's supposed to, then the problem with the loss of functionality with the other commands stops working... Da - naturally, it could also be that there is an even earlier event that breaks not only the . command but the other operations as well I don't know if there's any causation there - but I do believe there's a connection. Yes, there is. This particular bug has apparently been fixed in the latest version of readline. See one of my previous messages for the link to the ftp site with the patches. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: readline Bug! ;-) [was: Bash Bug! (was: Bug in rxvt 2.7.2 ...)]
Thomas, On Wed, Oct 02, 2002 at 11:20:35AM +0200, Thomas Mellman wrote: I haven't been able to isolate it any further, so I haven't said anything yet, but since this has come up, and seems to be in roughly the same place, it seems to me it's worth bringing up. If anyone else has observed this, I'd appreciate a word so we can track it down further. I have been experiencing similar problems since upgrading to bash 2.05b-2 and libreadline5 4.3-1. My typical problem is that the c command as in cw (i.e., change word) would stop working, but dw (i.e., delete word) followed by i (i.e., insert) was fine. I can work around the problem by re-initializing readline. But, since I also seem to be unable to reliably re-initializing readline, I usually resort to restarting bash via exec bash. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [PATCH] Re: readline Bug! ;-) [was: Bash Bug! (was: Bug in rxvt 2.7.2 ...)]
On Wed, Oct 02, 2002 at 10:46:23PM -0400, Igor Pechtchanski wrote: Well, I guess I've figured this one out... The bug was in readline-4.3. I'm attaching patches for both bash-2.05b-5 and readline-4.3-1 (nearly identical). There is a *long* description of the bug and the fix below for those who are interested, feel free to skip. Has this been sent to the readline maintainer (not the cygwin one), Igor? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/