From owner-freebsd-questions Sun Sep 13 07:57:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08322 for freebsd-questions-outgoing; Sun, 13 Sep 1998 07:57:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp3.ny.us.ibm.com (smtp3.ny.us.ibm.com [198.133.22.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08294 for ; Sun, 13 Sep 1998 07:57:05 -0700 (PDT) (envelope-from Ghulam_Dastgir@uk.ibm.com) Received: from relay2.server.ibm.com (relay2.server.ibm.com [9.14.2.99]) by smtp3.ny.us.ibm.com (8.8.7/8.8.7) with ESMTP id KAA07112 for ; Sun, 13 Sep 1998 10:41:19 -0400 Received: from UK.IBM.COM (d06lms01.emea.ibm.com [9.166.34.1]) by relay2.server.ibm.com (8.8.7/8.8.7) with SMTP id KAA17648 for ; Sun, 13 Sep 1998 10:50:39 -0400 Received: by UK.IBM.COM (Soft-Switch LMS 2.0) with snapi via D06AU007 id 5060100023353721; Sun, 13 Sep 1998 15:03:15 +0000 From: Ghulum Dastgir To: Subject: editor for vipw Message-ID: <5060100023353721000002L012*@MHS> Date: Sun, 13 Sep 1998 15:03:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id HAA08313 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i've had problem adding test users to master.passwd, and it's because i've been accessing this file directly through emacs, since vipw uses the vi editor by default. Now if i want to get vipw to use the emacs editor by default then presumably I change the EDITOR env. variable to emacs, like so: EDITOR=emacs export EDITOR right? I usually do this on the command line and it works ... usually ... i think! i've tried adding this command to one of the shell startup files and when i reboot vipw resorts to using vi. ahh, also when i echo $EDITOR it returns "/bin/bash/ee". what is this? is ee an editor. thanx, ghulam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message