Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 10:51:45 +0100
From:      Polytropon <>
To:        "Gene" <>
Cc:        "Freebsd  Questions" <>
Subject:   Re: freebsd-update editor choice
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

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

Want to link to this message? Use this URL: <>