.TH STDLIB 7 "stdlib 5.2.2" "Ericsson AB" "Erlang Application Definition" .SH NAME STDLIB \- The STDLIB application. .SH DESCRIPTION .LP 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\&. .SH "CONFIGURATION" .LP The following configuration parameters are defined for the STDLIB application\&. For more information about configuration parameters, see the \fIapp(5)\fR\& module in Kernel\&. .RS 2 .TP 2 .B \fIshell_esc = icl | abort\fR\&: Can be used to change the behavior of the Erlang shell when \fI^G\fR\& is pressed\&. .TP 2 .B \fIrestricted_shell = module()\fR\&: Can be used to run the Erlang shell in restricted mode\&. .TP 2 .B \fIshell_catch_exception = boolean()\fR\&: Can be used to set the exception handling of the evaluator process of Erlang shell\&. .TP 2 .B \fIshell_expand_location = above | below\fR\&: Sets where the tab expansion text should appear in the shell\&. The default is \fIbelow\fR\&\&. .TP 2 .B \fIshell_history_length = integer() >= 0\fR\&: Can be used to determine how many commands are saved by the Erlang shell\&. See \fIedlin\fR\& for more\&. .TP 2 .B \fIshell_keymap = #{}\fR\&: Can be used to override the default keymap configuration for the shell\&. .TP 2 .B \fIshell_prompt_func = {Mod, Func} | default\fR\&: where .RS 2 .TP 2 * \fIMod = atom()\fR\& .LP .TP 2 * \fIFunc = atom()\fR\& .LP .RE .RS 2 .LP Can be used to set a customized Erlang shell prompt function\&. .RE .TP 2 .B \fIshell_saved_results = integer() >= 0\fR\&: Can be used to determine how many results are saved by the Erlang shell\&. .TP 2 .B \fIshell_session_slogan = string() | fun() -> string())\fR\&: The slogan printed when starting an Erlang shell\&. Example: .LP .nf $ 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> .fi .TP 2 .B \fIshell_slogan = string() | fun(() -> string())\fR\&: The slogan printed when starting the Erlang shell subsystem\&. Example: .LP .nf $ erl -stdlib shell_slogan '"Test slogan"' Test slogan Eshell V13.0.2 (abort with ^G) 1> .fi .RS 2 .LP The default is the return value of \fIerlang:system_info(system_version)\fR\&\&. .RE .TP 2 .B \fIshell_strings = boolean()\fR\&: Can be used to determine how the Erlang shell outputs lists of integers\&. .RE .SH "SEE ALSO" .LP \fIapp(5)\fR\&, \fIapplication(3erl)\fR\&, shell(3erl)