From owner-freebsd-questions@FreeBSD.ORG Fri Sep 8 15:04:30 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B07816A4DD for ; Fri, 8 Sep 2006 15:04:30 +0000 (UTC) (envelope-from huyslogic@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D2D143D46 for ; Fri, 8 Sep 2006 15:04:26 +0000 (GMT) (envelope-from huyslogic@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so738845nfc for ; Fri, 08 Sep 2006 08:04:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bgqsKnRXWFeP1SEX+1YqnJ59uKA4pKPzOvHjuaIqo9K7AuVCy/JSJEkQGghiyyyPkT2M+oYZtXNB8ip5ttjE9MP46vFo88SfhnZu73Hq0FNeSPjfd07YzwZGbaKb5KrTgPR21DfFcB6w5iIJxUZCMW9xHuT4W0mPsoiELFP5S1E= Received: by 10.49.8.4 with SMTP id l4mr4256117nfi; Fri, 08 Sep 2006 08:04:25 -0700 (PDT) Received: by 10.49.67.12 with HTTP; Fri, 8 Sep 2006 08:04:25 -0700 (PDT) Message-ID: <1cac28080609080804r3f258233ldbf6b4a91b7fc600@mail.gmail.com> Date: Fri, 8 Sep 2006 11:04:25 -0400 From: "Huy Ton That" To: "Dominique Goncalves" In-Reply-To: <7daacbbe0609080759m21433582q5518912d23c8cd22@mail.gmail.com> MIME-Version: 1.0 References: <1cac28080609080749q4fe4d31agc51d5206b0340f5c@mail.gmail.com> <7daacbbe0609080759m21433582q5518912d23c8cd22@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Changing Default Editor in profile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 15:04:30 -0000 Thank you sirs!!! That did the trick! On 9/8/06, Dominique Goncalves wrote: > > Hi, > > On 9/8/06, Huy Ton That 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." >