STDLIB

STDLIB

STDLIB
The STDLIB application.

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.

The following configuration parameters are defined for the STDLIB application. For more information about configuration parameters, see the app(4) module in Kernel.

Can be used to change the behavior of the Erlang shell when ^G is pressed.

Can be used to run the Erlang shell in restricted mode.

Can be used to set the exception handling of the evaluator process of Erlang shell.

Sets where the tab expansion text should appear in the shell. The default is below.

Can be used to determine how many commands are saved by the Erlang shell. See edlin for more.

Can be used to override the default keymap configuration for the shell.

where

  • Mod = atom()
  • Func = atom()

Can be used to set a customized Erlang shell prompt function.

Can be used to determine how many results are saved by the Erlang shell.

The slogan printed when starting an Erlang shell. Example:

$ 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>

The slogan printed when starting the Erlang shell subsystem. Example:

$ 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).

Can be used to determine how the Erlang shell outputs lists of integers.