Hi Alexey,
not sure what you mean by 'console mode'?
/// Jürgen
On 12/20/2016 01:13 PM, Alexey Veretennikov wrote:
Thanks, by launchig via external terminal it works (but it will not work
in console mode :( ).
Juergen Sauermann <address@hidden> writes:
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 <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.