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: Juergen Sauermann
Subject: Re: [Bug-apl] Ctrl-D and )off
Date: Thu, 25 Dec 2014 12:10:45 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Tobia,

thanks, fixed in SVN 518.

/// Jürgen


On 12/22/2014 09:18 PM, Tobia Conforto wrote:
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]