[erlang-questions] Ctrl+R bug in erl?

Dave Cottlehuber dch@REDACTED
Fri Apr 26 19:19:38 CEST 2019


On Fri, 26 Apr 2019, at 19:05, Hugo Mills wrote:
> On Fri, Apr 26, 2019 at 05:49:39PM +0100, Roger Lipscombe wrote:
> > Steps to reproduce (in OTP-21.0):
> > 
> > 1. Run 'erl'.
> > 2. Evaluate an expression, so there's something in the history.
> > 3. Press Ctrl+R to bring up reverse search.
> > 4. At the (search) prompt, press Backspace.
> > 5. Weirdness ensues.
> > 
> > Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:12:12] [ds:12:12:10]
> > [async-threads:1] [hipe]
> > 
> > Eshell V10.0 (abort with ^G)
> > 1> 42 + 42.
> > 84
> > (search)`': 42 + 42.42 + 42.42 + 42.42 + 42.42 + 42.
> 
> I get this, too. I'm on Debian, with their packaged version of
> 21.2.2. It's probably some peculiarity of the termcap
On FreeBSD 12.0 All using the same system readline I get weirdness on OTP21 and 22 but not OTP19 or OTP20 erts 9.3.3.10. This bug seems rather cosmetic. More like an erts change than a readline or termcap thing?
—
 Dave Cottlehuber






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190426/d8f79674/attachment.htm>


More information about the erlang-questions mailing list