[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Line Editor bug?
From: |
enztec |
Subject: |
Re: [Bug-apl] Line Editor bug? |
Date: |
Sat, 26 Apr 2014 17:14:04 -0600 |
Hi Jürgen,
What is the character below? after the / the cursor?
I'm a bit confused - please straighten me out on this if you could
what are you using so that a cursor can be on a line and have the ability to
edit the line?
---
from my memory (or imagination now ...) i thought
[⎕2] displays line 2 and opens up line 3
[2⎕] displays line 2 and puts cursor at front of the line
[2⎕10] displays line 2 and puts cursor at position 10 not needed if
readline isn't a required lib as you say below - ? maybe any right side number
moves cursor to end of the line?
[⎕2-4] displays lines 2-4 and opens up line 5
enztec
On Sat, 26 Apr 2014 19:47:00 +0200
Juergen Sauermann <address@hidden> wrote:
> Hi,
>
> I changed it to what the example in the IBM language reference manual
> seems to suggest
> (there are other places suggesting different things):
>
> "
> Prompting for an additional
> line following the display of
> line 2:
>
> ∇ENTER[⎕2]
> [2] TAB←TAB,(I>ρTAB)/,NAME
> [3]
> "
>
> Starting editing in the middle of the line is somewhat complicated
> because we have
> different input options (with readline, without readline, testcase files
> etc.) that are
> difficult to bring in line.
>
> /// Jürgen
>
>
>
> On 04/26/2014 05:12 PM, address@hidden wrote:
> > On Sat, 26 Apr 2014 15:15:03 +0200
> > Juergen Sauermann <address@hidden> wrote:
> >
> >> Hi Peter,
> >>
> >> thanks, I have changed the ?-editor.
> >>
> >> My interpretation of eg [2?10] is "display lines 2-10 and edit line
> >> 10 (or 10.1 or 11 if 10 or 10 and 11 alreadyexists). See SVN 224.
> >>
> > what is the behavior you changed it to?
> >
> > the apl2 line editor uses '-' for line ranges [⎕2-10] is [2⎕10] edit
> > line 2 at position 10?
> >
> > btw what is the different https://github.com/baruchel/APLedit (i'm not
> > sure i want to commit to having an .inputrc ;)
> >
> >> /// Jürgen
> >>
> >>
> >> On 04/25/2014 04:01 PM, Peter Teeson wrote:
> >>> As of svn 221
> >>>
> >>> I expected the editor to allow editing of line [1] at position 10.
> >>> Did I misunderstand?
> >>>
> >>> respect….
> >>>
> >>> Peter
> >
>