shell line buffer behavior

Dave Peticolas <>
Sun Mar 7 19:15:07 CET 2010

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

   git fetch git:// shell


       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?


More information about the erlang-patches mailing list