Menu

#289 vim invoked in two ini files but it's /usr/bin/vi

open
GUI - AXIS (36)
5
2012-08-02
2012-08-02
CNCdreamer
No

This came up while I was looking into the problem with blank lines in tool table files.

Two of the sim/axis ini files, profile_axis.ini and random_tc.ini, declare vim as the editor (e.g., "EDITOR = xterm -e vim" and "TOOL_EDITOR = xterm -e vim") but the distribution installs vim as /usr/bin/vi (at least as of the linuxcnc livecd 2.5.0).

If a hapless user tries to edit the tool table via the pulldown file menu in axis he gets a rude popup window with the line "xterm: Can't execvp vim: no such file or directory". Noobies wouldn't know how to respond.

possible fixes:
1) change the ini files to invoke vi or gedit or tooledit as the case may be, or
2) create a symbolic link from /usr/bin/vim to /usr/bin/vi in the distribution

Regards,
Kent

PS - this time I won't clutter the tracker in an attempt to change this entry from the default priority 5.

Discussion