erlang-shell Questions
4
Solved
I'm running Kubuntu 15.04 64-bit and trying to get Erlang's 18.1 'debugger' or 'observer' to run (EDIT: from within the shell):
observer:start().
debugger:start().
I get the following error:
{e...
Huehuebner asked 4/10, 2015 at 14:37
6
Solved
I'm sure that there is a function for that. I just want to make a list of 1000 numbers, each one of them which should be random.
Drucill asked 25/4, 2012 at 14:48
1
When typing () in IEx 1.2.4, the cursor would "jumping" to the matching parenthesis for 1s and move back. Even though it's not really jumping but it's kinda annoying to the eye. Is there a way to d...
Stratfordonavon asked 15/4, 2016 at 18:43
1
Solved
I have some strange behaviour on my docker containers (CentOS). When I SSH into it there's a running instance of Erlang VM ([email protected]) I can't connect to it with -remsh argument, howev...
Paulino asked 20/10, 2016 at 5:30
1
Solved
When I try to execute following command that returns error or doesn't exit on Windows - I always get empty list instead of error returned as string so for example:
I get:
[] = os:cmd("blah").
...
Twink asked 19/11, 2014 at 22:45
7
Solved
The Erlang shell "guesses" whether a given list is a printable string and prints it that way for convenience. Can this "convenience" be disabled?
Assent asked 27/2, 2010 at 16:41
1
Solved
I'm trying to dynamically evalutate Erlang terms
Start up Erlang
basho-catah% erl
Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V5...
Condolence asked 22/5, 2014 at 15:28
3
Solved
I'm currently running an Erlang application that is running C code through Nifs. However, if a segmentation fault occurs within the C code, the entire node goes down, as well as the Erlang virtual ...
Wasteland asked 11/11, 2013 at 14:46
1
Solved
Given a known TCP port and name for a remote beam.smp service, as well as a known cookie, is it possible to short circuit the Erlang Port Mapper Daemon handshake phase of the Erlang distribution pr...
Yellows asked 18/10, 2013 at 4:25
2
Solved
When compiling an erlang file with erlc I can add additional include directories like so:
erlc -I /home/trotter/code/open-source/yaws/include src/myapp.erl
When I'm compiling from within erl tho...
Mother asked 4/12, 2010 at 16:45
2
Solved
I can start an Erlang file either via the command line or bash script:
exec erl file.erl
But, I cannot seem to find out how to directly start a function within this file.
e.g.
exec erl file.e...
Rozella asked 27/11, 2010 at 14:30
3
Solved
This started off as the question:
Almost every time when I use the Erlang shell, I'd like to run some command on shell startup, e.g. something like
rr("*.hrl").
Or similar. Currently I have to ...
Judaize asked 1/11, 2010 at 18:15
2
Solved
In the Erlang interactive shell you can bind variables to values. If I would like to clear everything and start from scratch without exiting the session and starting a new one, how do I do that?
A...
Taxidermy asked 24/3, 2010 at 21:12
1
© 2022 - 2024 — McMap. All rights reserved.