[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Calling external editor from APL session
From: |
Alexey Veretennikov |
Subject: |
Re: [Bug-apl] Calling external editor from APL session |
Date: |
Tue, 20 Dec 2016 10:30:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) |
Hi,
Using )HOST Vim complains "Vim: Warning: Output is not to a terminal"
and not really useful (can't see what I type for instance).
Same if I use popen() via ⎕FIO.
juergen Sauermann <address@hidden> writes:
> Hi Alexey,
>
> it is possible though not very convenient:. You could write
> a function doing the following:
>
> 1. read EDITOR with ⎕ENV (or use vim right away)
> 2. call your editor using )HOST or with popen() via ⎕FIO
> 3. read the file produced by the editor with ⎕FIO
> 4. ⎕FX the the function text read.
>
> You can optionally bind that function to a user defined command.
>
> Another option could be Blake McBride's editor written in APL,
> see http://www.gnu.org/software/apl/Community.html
>
> Or Elias' emacs mode for GNU APL.
>
> /// Jürgen
>
> On 11/26/2016 11:39 PM, Alexey Veretennikov wrote:
>
> Hi,
>
> Is it possible to call external editor to edit function when using GNU
> APL? For example I would like to call Vim when I want to modify the
> function.
> For example in Dyalog there is an )ed command:
> http://help.dyalog.com/15.0/Content/Language/System%20Commands/ed.htm
> I'm looking at something like this for GNU APL but just calling whatever
> is set in the EDITOR variable.
>
>
--
Br,
/Alexey
- Re: [Bug-apl] Calling external editor from APL session,
Alexey Veretennikov <=
Re: [Bug-apl] Calling external editor from APL session, Kacper Gutowski, 2016/12/20