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: Tobia Conforto
Subject: Re: [Bug-apl] Ctrl-D and )off
Date: Mon, 22 Dec 2014 21:18:06 +0100

Actually, by setting CONTROL-Ds-TO-EXIT 1, I have to type it twice and I still get the message, plus the extra blank lines:

$ apl
      ^D
      ^D

      *** end of input

$

If I set it to 2, I have to type it 3 times, with the message, and so on. I have tried the latest svn head on both GNU/Linux and OS X.

Tobia


On Mon, Dec 22, 2014 at 12:31 PM, Juergen Sauermann <address@hidden> wrote:
Hi Tobia,

thanks, fixed ^D count in SVN 517.

Actuallly, we are not using readline. And the message should not occur if you
set the control-D count > 0. I would leave the message as is because this is a
rather unusual situation and the user should always be informed about it.

/// Jürgen


On 12/20/2014 01:13 PM, Tobia Conforto wrote:
Thank you Jürgen.

I'm not sure values > 1 are working properly, but maybe that's just my system. I've set it to 1 anyways.

As for the output messages, I suggest the attached changes, because 1) readline is already ending CIN on Ctrl-D, so we don't need to output another endl; 2) that "*** end of input" can be silenced with uprefs.silent ;-)

Tobia



reply via email to

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