View Single Post
Old 08-21-2013, 06:47 AM   #182
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
#define EDITOR "/mnt/us/extensions/leafpad/bin/leafpad"
That reads to my like a define of the **default** editor.
Where 'EDITOR' is one of the standard *nix environment variables.

Try just resetting it to the path of the editor you want to use when running whatever program:
Code:
EDITOR=/path/name/and/file/name/of/editor  whatever_program_name
knc1 is offline   Reply With Quote