Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 1998 15:03:15 +0000
From:      Ghulum Dastgir <Ghulam_Dastgir@uk.ibm.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   editor for vipw
Message-ID:  <5060100023353721000002L012*@MHS>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5060100023353721000002L012*>