The FreeBSD Diary

The FreeBSD Diary (TM) Remember
I remember
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Things look quiet here. But I've been doing a lot of blogging at dan.langille.org because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

changing your default editor 4 March 1999
Need more help on this topic? Click here
This article has 1 comment
Show me similar articles
When I was upgrading to 3.1, I was told about mergemaster, which helps you reconcile/merge your old /etc with the new /etc.  However, with my upgrade came the vi editor, and not the ee which I knew and loved.  Here's how I changed it so that mergemaster used ee.

This setting will also affect the vipw and chsh commands, which is a Good Thing (TM).

Please note that I'm using the bash shell.  And I've been told this will work for all Bourne derived shells (e.g. sh, bash, ksh).

# export EDITOR=/usr/bin/ee
# echo $EDITOR
/usr/bin/ee

For csh derived shells, I'm told that you use this command:

# setenv EDITOR /usr/bin/ee

You may also want to know about changing your shell.


Share
Need more help on this topic? Click here
This article has 1 comment
Show me similar articles