1STDLIB(7) Erlang Application Definition STDLIB(7)
2
3
4
6 STDLIB - The STDLIB application.
7
9 The STDLIB application is mandatory in the sense that the minimal sys‐
10 tem based on Erlang/OTP consists of Kernel and STDLIB. The STDLIB ap‐
11 plication contains no services.
12
14 The following configuration parameters are defined for the STDLIB ap‐
15 plication. For more information about configuration parameters, see the
16 app(4) module in Kernel.
17
18 shell_esc = icl | abort:
19 Can be used to change the behavior of the Erlang shell when ^G is
20 pressed.
21
22 restricted_shell = module():
23 Can be used to run the Erlang shell in restricted mode.
24
25 shell_catch_exception = boolean():
26 Can be used to set the exception handling of the evaluator process
27 of Erlang shell.
28
29 shell_expand_location = above | below:
30 Sets where the tab expansion text should appear in the shell. The
31 default is below.
32
33 shell_history_length = integer() >= 0:
34 Can be used to determine how many commands are saved by the Erlang
35 shell. See edlin for more.
36
37 shell_keymap = #{}:
38 Can be used to override the default keymap configuration for the
39 shell.
40
41 shell_prompt_func = {Mod, Func} | default:
42 where
43
44 * Mod = atom()
45
46 * Func = atom()
47
48 Can be used to set a customized Erlang shell prompt function.
49
50 shell_saved_results = integer() >= 0:
51 Can be used to determine how many results are saved by the Erlang
52 shell.
53
54 shell_session_slogan = string() | fun() -> string()):
55 The slogan printed when starting an Erlang shell. Example:
56
57 $ erl -stdlib shell_session_slogan '"Test slogan"'
58 Erlang/OTP 26 [DEVELOPMENT] [erts-13.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
59
60 Test slogan
61 1>
62
63
64 shell_slogan = string() | fun(() -> string()):
65 The slogan printed when starting the Erlang shell subsystem. Exam‐
66 ple:
67
68 $ erl -stdlib shell_slogan '"Test slogan"'
69 Test slogan
70 Eshell V13.0.2 (abort with ^G)
71 1>
72
73
74 The default is the return value of erlang:system_info(system_ver‐
75 sion).
76
77 shell_strings = boolean():
78 Can be used to determine how the Erlang shell outputs lists of in‐
79 tegers.
80
82 app(4), application(3), shell(3)
83
84
85
86Ericsson AB stdlib 5.1.1 STDLIB(7)