From owner-freebsd-newbies@FreeBSD.ORG Mon Jan 12 11:14:26 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6240216A4CE for ; Mon, 12 Jan 2004 11:14:26 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E7E643D31 for ; Mon, 12 Jan 2004 11:14:21 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 9982 invoked from network); 12 Jan 2004 18:56:30 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 12 Jan 2004 18:56:30 -0000 Date: Mon, 12 Jan 2004 20:57:19 +0200 From: Ion-Mihai Tetcu To: fcash-ml@sd73.bc.ca Message-Id: <20040112205719.2ec40f3e@it.buh.cameradicommercio.ro> In-Reply-To: <200401121025.35451.fcash-ml@sd73.bc.ca> References: <20040112165721.85994.qmail@web21508.mail.yahoo.com> <000a01c3d930$c02120c0$0201a8c0@pentagon> <20040112201406.6001cdaa@it.buh.cameradicommercio.ro> <200401121025.35451.fcash-ml@sd73.bc.ca> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: newbies@freebsd.org Subject: Re: prompt X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 19:14:26 -0000 On Mon, 12 Jan 2004 10:25:35 -0800 Freddie Cash wrote: > On January 12, 2004 10:14 am, Ion-Mihai Tetcu wrote: > > do a man csh and search for `prompt' (press / and write prompt and > > then ENTER; for search again press / and ENTER) untill you get to the > > `prompt' in the variables section, where you can see all teh options. > > Save yourself a few keystrokes. To find the next occurence of a search > term, just press the "n" key. :) BTW, I've tried the following: set prompt = "`hostname -s`> %/ [%P] %? \n`fortune -a -s` \n :-) \n # " and sometime works OK, producing: it> /usr/ports [20:41:57] 0 OK, so you're a Ph.D. Just don't touch anything.:-) # but in other cases doesn't print the hole prompt: it> /usr/ports [20:43:12] 0 "Just once, I wish we would encounter an alien menace that wasn't ^^^^ it gives me the prompt at the end of the line. Any hints ? -- IOnut Unregistered ;) FreeBSD user