bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Quick Question


From: Mike Duvos
Subject: Re: [Bug-apl] Quick Question
Date: Thu, 6 Aug 2015 20:16:22 -0700

Thanks.  That is an improvement.

--rawCIN gets rid of the extra echo of input, but now I don't get the APL indent, which is somewhat uncosmetic.

Regards
Mike



On Thu, Aug 6, 2015 at 8:08 PM, Elias Mårtenson <address@hidden> wrote:

You might want to try to use the --rawCIN flag.

Regards,
Elias

On 7 Aug 2015 11:04, "Mike Duvos" <address@hidden> wrote:
In Cygwin, I set up GNU APL as a server I could connect to by doing the following.

mkfifo /tmp/pipe
cat /tmp/pipe |apl --noColor 2>&1 | nc -l 127.0.0.1 9999 > /tmp/pipe

Now if I connect to this, GNU APL comes up, but it exhibits a rather odd echoing of my input where it prints the first character, five spaces, and then the rest of the input, before printing the output.  Like this...

      1 2 3 4 5
1       2 3 4 5
1 2 3 4 5
      'this is a test'
'      this is a test'
this is a test

The odd thing is that it doesn't do this if I make the program I am redirecting a shell, or some C program that reads and writes stdio.  It only happens when I do it with GNU APL.  While I'm not suggesting this is a bug, I was wondering if anyone could suggest an explanation of this unexpected behavior.  Is there something uncommon about the way GNU APL reads and writes stdio?


--
Mike Duvos
address@hidden



reply via email to

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