bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] New Input Mode


From: Juergen Sauermann
Subject: Re: [Bug-apl] New Input Mode
Date: Sat, 06 Sep 2014 14:32:42 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Elias,

could actually be that your OS is echoing your input, see stty -a.
--rawCIN only prevents extra echoing of the user input inside GNU APL.

Some (but not all) input modes turn off input echo (eg. readline and --noRL).
But if, for example, readline is not installed and --noRL is not given either then
the terminal setting at the start of GNU APL may have left input echo on.

/// Jürgen


On 09/06/2014 12:51 AM, Elias Mårtenson wrote:
In a previous post I mentioned that removing --rawCIN fixed my problem with not seeing the 6-space prompt. I spoke too soon however. It turns out that while it works fine on Linux, on OSX I keep getting duplicated output.

Frankly, I don't quite understand why it echoes my input in the first place. That should be the job of the operating system. Even with that in mind, --noCIN does not change this behaviour.

An example when typing 'foo':

      'foo'
'foo'
foo

Regards,
Elias


On 6 September 2014 02:15, Juergen Sauermann <address@hidden> wrote:
Hi,

as a preparation for the removal of libreadline I have created a new input mode for GNU APL.
The first shot (which is still a bit bumpy) is contained in SVN 454.

The new mode is enabled with --noRL. It will become the default (and --noRL will disappear when
the new mode is stable and readline has been removed.

The issues reported today have not been addressed yet, but will be taken care of.

The new mode is supposed to have similar (actually better) properties as readline:

- tab completion is more APL aware (⎕xx, user-defined symbols, )commands and more are considered)
- history (i.e. cursor up/down) is improved (eg. inside you can recall other function lines for editing).

Cursor key ESC sequences are currently hardwired - I will check if curses can be used instead.

/// Jürgen







reply via email to

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