From owner-freebsd-questions Thu Nov 25 10:25:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id C22C814A12 for ; Thu, 25 Nov 1999 10:25:15 -0800 (PST) (envelope-from sarig@bezeqint.net) Received: from asmodean ([212.25.116.100]) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FLR00ATPN5ED2@mail.bezeqint.net> for freebsd-questions@freebsd.org; Thu, 25 Nov 1999 20:24:51 +0200 (IST) Date: Thu, 25 Nov 1999 20:24:21 +0200 From: Oren Sarig Subject: Re: prompt and default editor To: Guillaume Paquet , freebsd-questions@freebsd.org Message-id: <05a601bf3772$4ba57fc0$470cb3d4@asmodean> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 References: <001e01bf345b$722ec800$0201a8c0@cgocable.ca> X-Priority: 3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1) How can I change my prompt? like myhostname@pwd$ I'd like to have an example please. It depends on the shell, for example, in bash you would do a PS1=""; export PS1 2) How can I change the default editor of quota\crontab? vi --> pico There is an environment variable called EDITOR, so in a bourne shell you woul EDITOR=pico; export EDITOR -- Oren Sarig sarig@bezeqint.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message