From owner-freebsd-questions Wed Oct 18 14:55:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.new.rr.com (mail3.rdc-detw.rr.com [24.30.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 526CC37B4D7 for ; Wed, 18 Oct 2000 14:55:17 -0700 (PDT) Received: from judah ([24.164.246.248]) by mail3.new.rr.com with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 18 Oct 2000 17:55:41 -0400 From: "Doug Poland" To: "Rick Hamell" Cc: Subject: RE: CSH Shell Date: Wed, 18 Oct 2000 16:55:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick, try this... set prompt = "`hostname -s`% " I recommend "Using csh & tcsh", O'Reilly, ISBN 1-56592-132-1 Spend an evening with this book and you'll be a happy camper. Regards, Doug > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Rick Hamell > Sent: Tuesday, October 17, 2000 08:00 > To: freebsd-questions@freebsd.org > Subject: CSH Shell > > > > Taking my first steps into scripting, my first task is to figure > out how to customize csh. Problem is, I can't seem to make something like > set prompt="'hostname' %" work... The command hostname dosen't seem to > work at all. I figure I've got the syntax wrong, but where... ? :) What I > get is 'hostname' btw. Thanks much! > > > Rick > > ******************************************************************* > Rick's FreeBSD Web page http://heorot.1nova.com/freebsd > Ace Logan's Hardware Guide http://www.shatteredcrystal.net/hardware > ***FreeBSD - The Power to Serve! http://www.freebsd.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message