shell line buffer behavior

Dave Peticolas dave@REDACTED
Sun Mar 7 19:15:07 CET 2010


Here's some work to make the Erlang shell history
more like readline:

   git fetch git://github.com/jdavisp3/otp.git shell

Specifically:

       1. Blank lines are not added to the line buffer.

       2. Pressing the down arrow on the last line causes no change.

          The previous behavior erased the line.

       3. The new line is temporarily added to the line buffer
          so the user can move to previous lines with up arrows
          and then back to the new line with down arrows.

          The previous behavior discarded the partially written
          new line.

       4. Changes made to previous lines while exploring the line
          buffer history are preserved.

          The previous behavior discarded changes made to older lines.

Any interest in this?

thanks,
dave


More information about the erlang-patches mailing list