Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 17:07:29 +0100
From:      Edwin Groothuis <mavetju@chello.nl>
To:        Christophe Jelger <eejelgec@swan.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Prompt and text editor
Message-ID:  <20010122170729.A94743@d9168.upc-d.chello.nl>
In-Reply-To: <3A6C570C.A40B3D4F@swan.ac.uk>; from eejelgec@swan.ac.uk on Mon, Jan 22, 2001 at 03:51:40PM %2B0000
References:  <3A6C570C.A40B3D4F@swan.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010122170729.A94743>