From owner-freebsd-questions Wed Oct 11 18:15:59 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA25972 for questions-outgoing; Wed, 11 Oct 1995 18:15:59 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA25962 for ; Wed, 11 Oct 1995 18:15:56 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id LAA15615; Thu, 12 Oct 1995 11:15:16 +0930 From: Michael Smith Message-Id: <199510120145.LAA15615@genesis.atrad.adelaide.edu.au> Subject: Re: EDITOR environment variable To: dbrockus@cyberhall.com (David Brockus) Date: Thu, 12 Oct 1995 11:15:16 +0930 (CST) Cc: questions@freebsd.org In-Reply-To: from "David Brockus" at Oct 11, 95 10:58:40 am Content-Type: text Content-Length: 870 Sender: owner-questions@freebsd.org Precedence: bulk David Brockus stands accused of saying: > > I am running FreeBSD 2.0.5. I am trying to set pico as the default > editor for the vipw command. Pico is in the path and can be executed > from the shell prompt. > > I have the following lines in the root users .profile > > EDITOR=pico > export EDITOR > > This does not work. Could someone tell my the correct syntax and file to > edit to add environment variables to FreeBSD. Unless you have changed something, root's shell is csh. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[