On May 7, 2013, at 8:56 PM, Jeremy Huffman wrote:
> Yes Ctrl-G was mystifying to me at first.
CTRL-G would simply need to be advertised as it is in erl though instead of CTRL-C. But it would only make any sense to an Erlang programmer, which may not be good enough.
> Also I think Erlang and Elixir might be the only REPLs that will not quit immediately from a CTRL-D.
This is true. CTRL-D would make more sense to me. Historically, that is the Unix shell command for 'end text input', and works in more than just some REPLs...
I suppose that's the problem I have with CTRL-C, whose historical (Unix) semantics are "interrupt running program" (see
http://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_38.html)
But why shouldn't q(). (or 'q') work too? That is also in some form also supported by many REPLs...
JohnK