roberts
Group: Members
Posts: 4983
Joined: Oct. 2003 |
|
Posted: Nov. 02 2004,01:59 |
|
Apparently there is no entry in the MC ini file to indicate which external editor to use. However, mc will use the envirnoment EDITOR variable. This is even better because some will want nano, others may want scite, still some? may want zile.
To test this, do the following from a shell window
export EDITOR=nano mc
Then press F4 on a text file, you should be in editor nano.
Once you have picked your favorite editor then do the following. Using your editor of choice edit the hidden file .bash_profile add the following line just below the existing EXPORT line
export EDITOR=your_fav_editor
Save .bash_profile. Now if you are running from liveCD or compressed file system, then be sure to add the following line to your filetool.lst
home/dsl/.bash_profile
Backup and then upon each restore you will have mc using your editor of choice.
|