From owner-freebsd-questions Mon Jan 22 8: 7:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 50BEF37B402 for ; Mon, 22 Jan 2001 08:07:31 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 0115A1D4; Mon, 22 Jan 2001 17:07:29 +0100 (CET) Date: Mon, 22 Jan 2001 17:07:29 +0100 From: Edwin Groothuis To: Christophe Jelger Cc: freebsd-questions@freebsd.org Subject: Re: Prompt and text editor Message-ID: <20010122170729.A94743@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , Christophe Jelger , freebsd-questions@freebsd.org References: <3A6C570C.A40B3D4F@swan.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A6C570C.A40B3D4F@swan.ac.uk>; from eejelgec@swan.ac.uk on Mon, Jan 22, 2001 at 03:51:40PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 22, 2001 at 03:51:40PM +0000, Christophe Jelger wrote: > First a very stupid question : is there a way to have the shell prompt > in BOLD in an xterm window ? if [ "$TERM" = "xterm" ]; then export PS1="^[[[5m$PS1^[[0m" fi These ^[ is a ^V and an escape key. Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message