aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/user.erl
AgeCommit message (Collapse)Author
2019-05-07kernel: Force synchronous port_commands in user/user_drvJohn Högberg
Banging data to a local port was always synchronous prior to Erlang/OTP R16, and these modules relied on that behavior to report that data had successfully been enqueued on the stdout port. This would cause data to be silently dropped if the command didn't run synchronously and the emulator halted before the port received the data. This was fairly rare in practice, but could be seen from time to time on Windows with escripts that ended with a call to io:format/2, such as the one used by the escript_SUITE:create_and_extract test. This is a minimal band-aid to make things reliable again. A more complete fix would add explicit synchronization with the port.
2019-01-28erts: Add magic port control numbersSverker Eriksson
to increase the probablity of a nice badarg from erlang:port_control.
2017-10-03stdlib: Make ets:i/1 exit cleaner upon ^D (old Erlang shell)Hans Bolinder
Instead of crashing, ^D now exits Erlang if started with -oldshell.
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2013-05-06Fix unmatched_returns warnings in STDLIB and KernelHans Bolinder
2013-01-25[kernel] Correct bugs in the old shell (user.erl)Hans Bolinder
The inline attribute has been simplified due to problems with compiling to native code. The exact cause it beyond the scope of this commit.
2013-01-02Make sure the Erlang shell prompt can handle UnicodeHans Bolinder
2013-01-02Correct bugs in the old shell (user.erl)Hans Bolinder
2010-04-28kernel: Clean up as suggested by tidierKostis Sagonas
2010-02-10OTP-8418 user.erl (used in oldshell) is updated to handle unicode inPatrik Nyblom
prompt strings (io:get_line/{1,2}). io_lib is also updated to format prompts with the 't' modifier (i.e. ~ts instead of ~s).
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP