aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/shell.erl
AgeCommit message (Collapse)Author
2015-11-27stdlib: Fix the shell command rp and pretty-printingHans Bolinder
The shell command 'rp' prints strings as lists of integers when pretty printing of lists is 'false'.
2015-07-07Export shell:catch_exception/1 as documentedLeo Liu
2015-06-18Change license text to APLv2Bruce Yinhe
2015-04-30stdlib: Use module erl_annoHans Bolinder
2014-07-01Expand shell functions in map expressionsAnthony Ramine
Reported-by: Danil Zagoskin
2013-12-12Support named funs in the shellAnthony Ramine
The current code for the evaluation of ordinary funs is dependent on the order on variables in the fun environment as returned by erlang:fun_info(Fun, env). To avoid the problem in the future, make sure that we only have one free variable in the funs that we will need to inspect using erlang:fun_info(Fun, env).
2013-05-06Fix unmatched_returns warnings in STDLIB and KernelHans Bolinder
2013-02-22[stdlib] Let the shell turn off echo while skipping lineHans Bolinder
The I/O-server group.erl echoed the skipped line.
2013-02-18Leave the +pc handling to io and io_lib_prettyPatrik Nyblom
This makes the shell output binaries and list as intended by the +pc setting.
2013-02-18Fix some Unicode issuesHans Bolinder
Also let the Erlang shell use the new function io:printable_range().
2013-02-15[stdlib] Add new SDTLIB application variable 'shell_strings'Hans Bolinder
Use the new function shell:strings/1 to toggle how the Erlang shell outputs lists of integers.
2013-02-11Make Unicode correctionsHans Bolinder
2013-02-07[stdlib] Fix a bug that could cause the Erlang shell to loopHans Bolinder
2013-01-26Merge branch 'bjorn/remove-packages/OTP-10348'Björn Gustavsson
* bjorn/remove-packages/OTP-10348: erl_lint: Remove vestiges of package support shell: Remove vestiges of package support
2013-01-25shell: Remove vestiges of package supportBjörn Gustavsson
Remove the which/1 command which provides no useful information for a non-package module. Remove references to the deleted commands import/1, import_all/1, use/1, and use_all/1 (removed in f31ee362c3421922518). Remove code that handles {module,_} in bindings.
2013-01-25Make adjustments for UnicodeHans Bolinder
2013-01-09shell: Remove support for packagesBjörn Gustavsson
2013-01-07[stdlib] Improve the Erlang shell's handling of scanner errorsHans Bolinder
The Erlang shell now skips the rest of the line when it encounters an Erlang scanner error. Examples: 1> $\xtt. * 1: illegal character 1> "$\xtt". * 1: illegal character 1>
2013-01-02[stdlib, kernel] Introduce Unicode support for Erlang source filesHans Bolinder
Expect modifications, additions and corrections. There is a kludge in file_io_server and erl_scan:continuation_location() that's not so pleasing.
2011-11-29shell: Eliminate use of tuple funsBjörn Gustavsson
2011-08-16emulator: Add a fourth element in exception stacktracesBjörn Gustavsson
This commit is a preparation for introducing location information (filename/line number) in stacktraces in exceptions. Currently a stack trace looks like: [{Mod1,Function1,Arity1}, . . . {ModN,FunctionN,ArityN}] Add a forth element to each tuple that can be used indication the filename and line number of the source file: [{Mod1,Function1,Arity1,Location1}, . . . {ModN,FunctionN,ArityN,LocationN}] In this commit, the fourth element will just be an empty list, and we will change all code that look at or manipulate stacktraces.
2011-05-12Types and specifications have been modified and addedHans Bolinder
2010-02-05OTP-8393 The new function shell:prompt_func/1 and the new applicationHans Bolinder
configuration parameter shell_prompt_func can be used for customizing the Erlang shell prompt.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP