From owner-freebsd-questions Wed Dec 15 21:37:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.cybersurf.net (smtp2.cybersurf.net [209.197.145.112]) by hub.freebsd.org (Postfix) with ESMTP id 7034514FF4 for ; Wed, 15 Dec 1999 21:37:19 -0800 (PST) (envelope-from 01031149@3web.net) Received: from webserver ([209.197.154.87]) by smtp2.cybersurf.net (Netscape Messaging Server 4.05) with SMTP id FMTJ2200.D92 for ; Wed, 15 Dec 1999 22:25:14 -0700 Message-ID: <000501bf478e$3ef90ae0$579ac5d1@webserver> From: "Duke Normandin" <01031149@3web.net> To: "freebsd-questions" Subject: csh prompt Date: Wed, 15 Dec 1999 22:21:55 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi... I've been reading a Linux shell tutorial and the man pages. ;) Searched the mailing list for, and found examples of, prompts with various shells. In my ~/.cshrc file: set prompt = "' hostname -s'# " works. Why doesn't the following? set prompt = "'whoami'@'hostname -s':$cwd# " I keep getting for example: 'whoami'@'hostname':/etc# _ TIA............duke later..........duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message