(Resending because I forgot to cc the list.)

I agree that this is annoying, especially for new and casual users.

The only good reason I can think of for APL not exiting on Ctrl-D is
that if you accidentally hit Ctrl-D, you could accidentally lose the
whole contents of your workspace.

At least in GNU APL, if you hit Ctrl-D you get a message telling you
how to leave the interpreter.

Jay.

On 17 December 2014 at 20:06, Tobia Conforto <tobia.confo...@gmail.com> wrote:
> Hello
>
> Is there a reason why GNU APL does not exit on EOF, aka. Ctrl-D on cooked
> input? Every shell and interpreter I have ever used does so by default.
>
> Maybe there are people who are used to typing "exit" or "logout" by hand,
> but for those of us who have always hit Ctrl-D to exit from any interactive
> line-oriented application, GNU APL's persistent refusal to do so is quite
> annoying ;-)
>
> Even Bash, when it has background jobs still running (that would become
> orphaned or receive sighup) will print a warning at the first Ctrl-D, but
> comply without further ado at the second one.
>
> If there is no valid reason, meaning that it's just some historic behaviour
> of APL interpreters, I would suggest changing it so that it's more coherent
> with the rest of GNU CLI tools. If instead there are valid reasons, could
> there be an option in the preferences file to enable it?
>
> Tobia

Reply via email to