freebsd-update editor choice

Polytropon freebsd at edvax.de
Tue Dec 15 09:51:55 UTC 2015


On Sun, 13 Dec 2015 12:31:22 -0600, Gene wrote:
> I'm using freebsd-update to update my 10.1 system to 10.2. When merging files,
> it insists on using the 'vi' editor. I really, really, REALLY, despise vi. Is
> there a way to get it to use another editor?

The OS supplies two main screen editors: vi and ee. Why vi has
been the choice here (while ee would probably have been better,
especially for new users) - no idea.

However, you can set $EDITOR like this:

	# setenv EDITOR /usr/local/bin/mcedit

or which editor you prefer (emacs, the, ...). To make this setting
permanent, add the line to the C shell's /etc/csh.cshrc global
configuration file, or ~/.cshrc for the root user.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list