bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Patch for aplwrap compatibility


From: Juergen Sauermann
Subject: Re: [Bug-apl] Patch for aplwrap compatibility
Date: Sat, 06 Sep 2014 15:34:50 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi David,

I believe I found (and fixed) another source of ESC sequences in --rawCIN mode, SVN 457.
I also tried aplwrap on my machine - looks good.

/// Jürgen


On 09/05/2014 11:14 PM, David Lamkins wrote:
Aplwrap uses --rawCIN; that works with SVN 454 except for the following:

Aplwrap depends upon the "out-of-band signal" of the APL prompt on stderr to determine when the interpreter is "at rest". Because aplwrap prints both stdout and stderr to the screen, the prompt is also an essential part of the user interface.

The attached patch does three things, all present only for --rawCIN mode:

1) suppress printing of a newline after a quote-quad prompt,
2) print the APL prompt to stderr before accepting raw CIN input, and
3) accept a new command-line option --noPromptCERR to suppress the prompt in (2).

The default behavior -- that of printing the APL prompt to stderr -- is backward compatible with GNU APL 1.4 and (not coincidentally) with aplwrap.


reply via email to

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