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

Hugo Mills hugo@REDACTED
Fri Apr 26 19:04:43 CEST 2019


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 (and hence is
only fixable by a midnight sacrifice of an aubergine, performed by a
team consisting of three holy fools, two consecrated priestesses, and
a virgin unicylist).

   Hugo.

-- 
Hugo Mills             | Purrmetheus stole fur from the Dogs, and was chained
hugo@REDACTED carfax.org.uk | up for beagles to eat his liver.
http://carfax.org.uk/  |
PGP: E2AB1DE4          |                                         Rich and Hugo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190426/1affa565/attachment.bin>


More information about the erlang-questions mailing list