[erlang-questions] Erlang shell patch for special keys

Serge Aleynikov <>
Tue Sep 23 04:25:26 CEST 2008

Attached patch fixes handling of special keys in the Erlang shell.  I 
tested this on Linux and Windows, though my primary concern was to get 
it working on Linux.

Del - Delete char at current position
^-> - Move right one word
^<- - Move left one word
^W  - kill a word
^U  - kill a line


P.S. ^U is a merge of someone else's contrib - I saw this on the mailing 
list a couple of years ago, but don't recall who the author was...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: erlin.erl.patch
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080922/409a6d7e/attachment.ksh>

More information about the erlang-questions mailing list