All! Is it possible to configure Home,End, Del key in Erlang shell under Linux.
At the moment when I press Home, it generate 'H' and when End - 'F'...
On a Unix system you enter the command erl at the operating system prompt. This command starts the Erlang runtime system and the Erlang shell. On the Windows platform you normally start Erlang/OTP from the start menu. You can also enter the command erl or werl from a DOS box or Command box.
Syntax − f(). For example − Following is an example of how the function is used. First a variable called Str is defined which has the value abcd. The f() is then used to remove the Str variable binding.
The shell is a user interface program for entering expression sequences. The expressions are evaluated and a value is returned. A history mechanism saves previous commands and their values, which can then be incorporated in later commands.
One way to do it is to start the Erlang shell with rlwrap -a erl
. rlwrap
is a utility that puts the readline
library between the user and the underlying program, giving features such as familiar key bindings, history search, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With