From owner-freebsd-questions Fri May 19 18:55: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 15B2237B560 for ; Fri, 19 May 2000 18:55:03 -0700 (PDT) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id SAA35538; Fri, 19 May 2000 18:55:02 -0700 (PDT) Date: Fri, 19 May 2000 18:55:02 -0700 (PDT) From: Ken Bolingbroke To: freebsd-questions@FreeBSD.ORG Cc: Doug Young Subject: Re: Setting environment variable "EDITOR" in vipw In-Reply-To: <018201bfc1fb$f1eb8780$847e03cb@ROADRUNNER> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Environment variables come with your login shell, and they're described there. You'll want to read the man page for your shell, probably 'man csh', and learn more about them there. For this one specifically, you'll want to set the EDITOR environment variable to "ee". If you're using csh, you can do this on a global basis in /etc/csh.cshrc, or you can do it for individual users in their home directories' .cshrc Adjust as necessary for other shells. Ken Bolingbroke hacker@bolingbroke.com On Sat, 20 May 2000, Doug Young wrote: > I'm trying to change the default editor in vipw from "vi" to "ee" . > "Man vipw" tells me I need to do something with an environment > variable, but doesn't say exactly where the thing is. I've browsed > around the mailing list archives but although lots of people appear > to have had problems with the same issue, there doesn't appear > to be any straightforward explanation of environment variables. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > 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