| STDLIB(Application) | Ericsson AB | STDLIB(Application) |
NAME
STDLIB Application
DESCRIPTION
Description
The STDLIB application is mandatory in the sense that the minimal system based on Erlang/OTP consists of Kernel and STDLIB. The STDLIB application contains no services.
Configuration
The following configuration parameters are defined for the STDLIB application. For more information about configuration parameters, see the app(4) module in Kernel.
shell_esc = icl | abort
restricted_shell = module()
shell_catch_exception = boolean()
shell_docs_columns = pos_integer()
See also shell_docs:config/0.
shell_expand_location = above | below
shell_history_length = integer() >= 0
shell_keymap = #{}
format_shell_func = {Mod, Func} | string() | default
If instead a string is provided, it will be used as a shell command. Your command must include ${file} somewhere in the string, for the shell to know where the file goes in the command.
-
-stdlib format_shell_func "\"emacs -batch \${file} -l ~/erlang-format/emacs-format-file -f emacs-format-function\"" -
-stdlib format_shell_func "{shell, erl_pp_format_func}"
shell_prompt_func = {Mod, Func} | default
Can be used to set a customized Erlang shell prompt function.
shell_multiline_prompt = {Mod, Func} | string() | default
Can be used to set a customized multiline shell prompt function. The multiline prompt function takes the main prompt as its only parameter.
shell_saved_results = integer() >= 0
shell_session_slogan = string() | fun() -> string())
-
$ erl -stdlib shell_session_slogan '"Test slogan"' Erlang/OTP 26 [DEVELOPMENT] [erts-13.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns] Test slogan 1>
shell_slogan = string() | fun(() -> string())
-
$ erl -stdlib shell_slogan '"Test slogan"' Test slogan Eshell V13.0.2 (abort with ^G) 1>
The default is the return value of erlang:system_info(system_version).
shell_strings = boolean()
shell_hints = boolean()
See Also
app(4), application, shell
| 6 | stdlib 7.2 |