Date: Mon, 12 Jan 2004 20:57:19 +0200 From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: fcash-ml@sd73.bc.ca Cc: newbies@freebsd.org Subject: Re: prompt 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Jan 2004 10:25:35 -0800 Freddie Cash <fcash-ml@sd73.bc.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112205719.2ec40f3e>