|
Hi Alexey, try e.g.: )HOST xterm vim /// Jürgen On 12/20/2016 10:30 AM, Alexey
Veretennikov wrote:
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 <[email protected]> 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. |
- [Bug-apl] Calling external editor from APL session Alexey Veretennikov
- Re: [Bug-apl] Calling external editor from APL se... Juergen Sauermann
- Re: [Bug-apl] Calling external editor from AP... Alexey Veretennikov
- Re: [Bug-apl] Calling external editor fro... Juergen Sauermann
- Re: [Bug-apl] Calling external editor... Alexey Veretennikov
- Re: [Bug-apl] Calling external e... Juergen Sauermann
- Re: [Bug-apl] Calling extern... Alexey Veretennikov
- Re: [Bug-apl] Calling ex... Juergen Sauermann
- Re: [Bug-apl] Calling external editor fro... Kacper Gutowski
- Re: [Bug-apl] Calling external editor... Alexey Veretennikov
- Re: [Bug-apl] Calling external e... Juergen Sauermann
- Re: [Bug-apl] Calling extern... Alexey Veretennikov
- Re: [Bug-apl] Calling ex... Juergen Sauermann
- Re: [Bug-apl] Calling ex... David B. Lamkins
