From owner-freebsd-questions Sat Jan 9 13:20:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15625 for freebsd-questions-outgoing; Sat, 9 Jan 1999 13:20:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15605 for ; Sat, 9 Jan 1999 13:20:06 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.56.193]) by smtp04.wxs.nl (Netscape Messaging Server 3.6) with ESMTP id AAADE5; Sat, 9 Jan 1999 22:19:29 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990110055504.32132@welearn.com.au> Date: Sat, 09 Jan 1999 22:27:01 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Sue Blake Subject: RE: pretty prompts Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-Jan-99 Sue Blake wrote: > Years ago in DOS I went through a fancy prompt phase. It got really bad >:-) > For example, one prompt put a blue stripe permanently along the top of > the screen that showed current directory, time, and whatever other junk > would fit, with a simple gold prompt mark in the main scrolling part. > > Now in my second newbiehood I'm wondering, can I do that sort of stuff > with FreeBSD? I can't find any clues in the sh or bash man pages (only > basic useful stuff, nothing senseless, fun, or psychadelic) so maybe > there's something else to learn? .shrc has a basic start for changing prompt. Basically prompts revolve around PS1, PS2, PS3, PS4 which can be set with standard export commands. This will get ye something like: [asmodai@daemon] (31) $ The 31 is the command history buffer and with ksh using vi-mode I can do a 31 g to go back to command number 31. To get that result use something like (!) in yer .kshrc or equivalent shell. --- Jeroen Ruigrok van der Werven A veil of smoke is what I am, asmodai(at)wxs.nl I wait and I wait... Network/Security Specialist BSD & picoBSD: The Power to Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message