4 ms·
"You can exit the Tokay REPL with Ctrl+C." Other repls often use ctrl-d for end of Input Stream instead. Ctrl-c is rather expected to Interrupt the programme e
by stewbrew 4y ago
"You can exit the Tokay REPL with Ctrl+C."
Other repls often use ctrl-d for end of Input Stream instead. Ctrl-c is rather expected to Interrupt the programme execution, not the repl.
- mananaysiempre 4y agoThe Lua REPL also terminates on Ctrl-C, which can be infuriating when you’re accustomed to Readline’s interpretation of “abort history editing and clear input”.
- ihateolives 4y agoCtrl+C for Elixir's iex as well. When i first used it I had to Google, it was that special "how to exit vim" moment for me.
- darrenf 4y agoPerl's re.pl exits on ^C too (as well as ^D). Ditto Clojure.
- square_usual 4y agoThe even more annoying thing is that it's Ctrl+C twice.
- weavie 4y agoClozure common lisp is Ctrl+D three times.
- klibertp 4y agoWell, at least there's a reason for this: Elixir REPL is actually a remote shell, and the first Ctrl+C is an escape sequence that drops you into local connection manager. You of course know this, but I thought I'll leave it here for people who don't :)
- square_usual 4y agoTIL, in fact. I had a vague understanding of it - I knew that the REPL was sort of "sshing" into the actual BEAM process, but your explanation cleared it up. Thanks!
- deleted 4y ago[deleted]
- sullyj3 4y agoI often use Ctrl-C to abandon a command I'm typing and get a new prompt.