You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The shell crashes when Erlang/OTP is built without Termcap support:
=ERROR REPORT==== 24-May-2023::18:06:35.217012 ===
** State machine user_drv terminating
** When server state = {undefined,undefined}
** Reason for termination = error:{badmatch,{error,enotsup}}
** Callback modules = [user_drv]
** Callback mode = state_functions
** Stacktrace =
** [{prim_tty,init_term,1,[{file,"prim_tty.erl"},{line,237}]},
{user_drv,init,1,[{file,"user_drv.erl"},{line,167}]},
{gen_statem,init_it,6,[{file,"gen_statem.erl"},{line,966}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]
=CRASH REPORT==== 24-May-2023::18:06:35.217077 ===
crasher:
initial call: user_drv:init/1
pid: <0.66.0>
registered_name: []
exception error: no match of right hand side value {error,enotsup}
in function prim_tty:init_term/1 (prim_tty.erl, line 237)
in call from user_drv:init/1 (user_drv.erl, line 167)
in call from gen_statem:init_it/6 (gen_statem.erl, line 966)
ancestors: [<0.65.0>,kernel_sup,<0.47.0>]
message_queue_len: 0
messages: []
links: []
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 382
neighbours:
To Reproduce
$ ./configure --prefix=/tmp/erlang --without-termcap
$ make
$ make install
$ /tmp/erlang/bin/erl
Expected behavior
The shell behaves like it does when started via TERM=dumb erl.
Affected versions
Erlang/OTP 26.0.
The text was updated successfully, but these errors were encountered:
Describe the bug
The shell crashes when Erlang/OTP is built without Termcap support:
To Reproduce
Expected behavior
The shell behaves like it does when started via
TERM=dumb erl
.Affected versions
Erlang/OTP 26.0.
The text was updated successfully, but these errors were encountered: