<div dir="ltr"><div>I would say there is a clear usability flaw here. The shell should be smart enough to distinguish which command was typed (^G, ^C or q() or exit() or init:stop() or halt()) and whether there is a remote shell active. What it would do is to ask user what is his intent or somehow confirm that remote shell is active and REMOTE VM will now quit. <br></div><div><br></div><div>If the shell isn't that smart, there's a great improvement waiting to happen.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-07 12:59 GMT+02:00 <span dir="ltr"><<a href="mailto:zxq9@zxq9.com" target="_blank">zxq9@zxq9.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A quick anecdote...<br>
<br>
I and a lot of people on my team used to habitually halt() to exit.<br>
<br>
Then one day someone abruptly shut down a remote node they were connected<br>
to because, well, they had that habit.<br>
<br>
^G is a safer habit to form and reminds you where you are at when you hit<br>
it, whether connected to a remote node from a local erl shell (want 'q'),<br>
or via SSH (want 'exit()').<br>
<br>
-Craig<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div><br></div>