From owner-freebsd-questions@freebsd.org Tue Dec 15 09:51:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FACCA4348F for ; Tue, 15 Dec 2015 09:51:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EDEB418FC for ; Tue, 15 Dec 2015 09:51:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-31-25.dynamic.qsc.de [92.195.31.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E6E462BA88; Tue, 15 Dec 2015 10:51:45 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBF9pj9S011998; Tue, 15 Dec 2015 10:51:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 15 Dec 2015 10:51:45 +0100 From: Polytropon To: "Gene" Cc: "Freebsd Questions" Subject: Re: freebsd-update editor choice Message-Id: <20151215105145.75e5d9ec.freebsd@edvax.de> In-Reply-To: <20151213182848.M69104@brightstar.bomgardner.net> References: <20151213182848.M69104@brightstar.bomgardner.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 09:51:55 -0000 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, ...