bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Ctrl-D and )off


From: Jay Foad
Subject: Re: [Bug-apl] Ctrl-D and )off
Date: Fri, 19 Dec 2014 10:54:15 +0000

(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 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]