On Wed, 2006-02-15 at 08:54 -0500, Raymond Toy wrote:
> >>>>> "Samium" == Samium Gromoff <[EMAIL PROTECTED]> writes:
> 
>     Samium> Is it possible to make cmucl exit when ctrl+d is pressed in the 
> REPL,
>     Samium> the same was as many of the UNIX`s interactive tools do?
> 
> There is a constant that controls this and it's set to 10, so 10 C-d's
> are needed to exit.  I once changed it to a defvar and set it to 1.
> Even then it didn't really do what you want.  You have to press C-d
> and return.  That caused cmucl to switch input from standard-input to
> terminal-input.  Another C-d/Return exited cmucl.

That`s for top level frame, yes, but what about inner, debug frames?

>     Samium> This might look like a compromise to the UNIX side, as per the
>     Samium> Unix Haters Handbook, but nevertheless it would be a great 
> convenience
>     Samium> to have this feature.
> 
> Having accidentally exited clisp before, I find it rather annoying,
> especially when my Lisp contained lots of state that I wasn't ready to
> destroy it yet.

Perhaps it could be made configurable?

> Ray

regards, Samium Gromoff


Reply via email to