From owner-freebsd-questions Sun Apr 2 22:30: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id DC39337BD56 for ; Sun, 2 Apr 2000 22:30:03 -0700 (PDT) (envelope-from williamsl@home.com) Received: from RELIABLE ([24.4.115.31]) by mail.rdc1.tn.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000403053003.RQOK14777.mail.rdc1.tn.home.com@RELIABLE> for ; Sun, 2 Apr 2000 22:30:03 -0700 Date: Mon, 3 Apr 2000 01:30:06 -0400 From: Ben Williams X-Mailer: The Bat! (v1.39) Personal Organization: Williams Enterprises X-Priority: 3 (Normal) Message-ID: <1762.000403@home.com> To: FreeBSD Questions Subject: Re[2]: help! In-reply-To: <38E8070F.10B8BAD7@raccoon.com> References: <38E8070F.10B8BAD7@raccoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just out of curiosity why are all the examples I ever see re setting environment variables in bash listed as: VARNAME=value; export VARNAME instead of: export VARNAME=value ? --Ben Williams mailto:received@email dot com Quoting John Lengeling Monday, April 03, 2000 JL> If you just want to change your default editor, it depends on which JL> shell you are using. If you are using csh edit your .login file and JL> look for the line: JL> SETENV EDITOR vi JL> If you are using bourne shell, edit your .profile and look for: JL> EDITOR=vi; export EDITOR JL> When you create a new login on the system, the default shell startup JL> config files are copied from /usr/share/skel into the new user's home JL> directory. If you want to fix it for every new user created, then edit JL> the files in that directory. JL> johnl JL> outlawtx@bga.com wrote: >> >> Hello, >> >> How do I change the default text editor? >> >> Don James >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message JL> To Unsubscribe: send mail to majordomo@FreeBSD.org JL> with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message