The classic way of selection an editor is to look at environment variables:
EDITOR is used for a line oriented editor
VISUAL is used for a visual editor

So, export VISUAL=emacs will select emacs as the visual editor.
export EDITOR=nano

etc.

Ken
Kenneth Lerman
55 Main Street
Newtown, CT 06470



On Sun, Mar 17, 2019 at 11:40 AM Jon Elson <el...@pico-systems.com> wrote:

> On 03/17/2019 09:15 AM, andy pugh wrote:
> > On Sun, 17 Mar 2019 at 13:51, Nicklas Karlsson
> > <nicklas.karlsso...@gmail.com> wrote:
> >> Do not know if I like emacs but it seems to stick forever.
> Emacs is a "heavyweight" editor.  It pulls in so many
> language support libraries that it takes a long time to
> load.  It used to take a whole minute on my CNC computer a
> long time ago.  That one was very short on memory, but was
> good enough for the old EMC2. Much better now, but still a
> few seconds delay to start.
> > Doesn't appear on the LiveCD as far as I can see. vi is there...
> >
> > This isn't about editors. This is about changes we can make in the
> > LinuxCNC sample configs _only_ to make the user experience a bit
> > better.
> >
> > And clicking "Edit G-code" and having nothing happen is not good.
> >
> Hmm, maybe during install the script could look for what
> editors are actually installed and select one of them to be
> used by the Edit button.
>
> Jon
>
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to