You are not logged in.

#1 2017-09-03 20:16:34

welovelain
Member
Registered: 2015-10-19
Posts: 4

Erlang shell - no input for commands

I recently installed erlang (Erlang (BEAM) emulator version 9.0.1).

When I type "erl" command I expect the erlang shell to start invoking the commands I type (for the simplest example: 2+3. should return 5)

However, after I run "erl" nothing shows up on screen. I can type anything I want, nothing is executed. Images with example are attached.

What I expect:
2f8cS.png

What I got:
xwRiF.jpg


Now I only started to learn erlang, and this is confusing. Don't know if it is some repository bug, or erlang normal behavior?

Offline

#2 2017-09-05 01:30:32

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Erlang shell - no input for commands

I can't reproduce this. I just installed erlang:

$ sudo pacman -S erlang

And I get the header and prompt when I run `erl`:

$ erl
Erlang/OTP 20 [erts-9.0.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V9.0.1  (abort with ^G)
1> 2 + 4 .
6
2> 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
v
Erlang (BEAM) emulator version 9.0.1
Compiled on Tue Jul 25 10:24:20 2017

Maybe something else in your system is borked.

Last edited by Trent (2017-09-05 01:31:25)

Offline

Board footer

Powered by FluxBB