Date: Fri, 8 Sep 2006 11:04:25 -0400 From: "Huy Ton That" <huyslogic@gmail.com> To: "Dominique Goncalves" <dominique.goncalves@gmail.com> Cc: questions@freebsd.org Subject: Re: Changing Default Editor in profile Message-ID: <1cac28080609080804r3f258233ldbf6b4a91b7fc600@mail.gmail.com> In-Reply-To: <7daacbbe0609080759m21433582q5518912d23c8cd22@mail.gmail.com> References: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> <7daacbbe0609080759m21433582q5518912d23c8cd22@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you sirs!!! That did the trick! On 9/8/06, Dominique Goncalves <dominique.goncalves@gmail.com> wrote: > > Hi, > > On 9/8/06, Huy Ton That <huyslogic@gmail.com> wrote: > > under my home directory for root under .profile I added the line: > > > > EDITOR=pico; export EDITOR > > > > where no such line existed for EDITOR before; this line exists in my > > personal account that I use and my default for external launched editors > is > > now pico such that I can edit crontab stuff easily. However, when I ssh > in > > and then su, I try to run crontab only to find it is still booting into > 'vi' > > by default. Any ideas how I can get this loaded? > > You have to use "su -", if you want load your root's environnement. > su(1) for more explications. > > HTH > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > Regards. > > -- > There's this old saying: "Give a man a fish, feed him for a day. Teach > a man to fish, feed him for life." >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1cac28080609080804r3f258233ldbf6b4a91b7fc600>