From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 11:28:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A35516A4CE for ; Fri, 7 Jan 2005 11:28:12 +0000 (GMT) Received: from kender.sians.org (adsl-ppp00.fastnet.gr [193.58.186.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC49A43D1D for ; Fri, 7 Jan 2005 11:28:09 +0000 (GMT) (envelope-from thanos@sians.org) Received: from kender.sians.org (thtsou@localhost.sians.org [127.0.0.1]) by kender.sians.org (8.13.0/8.13.0) with ESMTP id j07BS4ci024547 for ; Fri, 7 Jan 2005 13:28:04 +0200 (EET) Received: (from thtsou@localhost) by kender.sians.org (8.13.0/8.13.0/Submit) id j07BS31Z026461 for freebsd-questions@freebsd.org; Fri, 7 Jan 2005 13:28:03 +0200 (EET) X-Authentication-Warning: kender.sians.org: thtsou set sender to thanos@sians.org using -f Date: Fri, 7 Jan 2005 13:28:03 +0200 From: Thanos Tsouanas To: freebsd-questions@freebsd.org Message-ID: <20050107112803.GB10151@kender.sians.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20050106001935.GA29480@kender.sians.org> <20050107030659.GA2673@Pandora.MHoerich.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050107030659.GA2673@Pandora.MHoerich.de> User-Agent: Mutt/1.4.2i Subject: Re: tcsh, colorful prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 11:28:12 -0000 On Fri, Jan 07, 2005 at 04:06:59AM +0100, Mario Hoerich wrote: > # Thanos Tsouanas: > > I dont really care for the color of the prompt, but I would like > > to see what i type (input) with a specific color. > [...] > > In short, i would like the color to end upon \n... > > I think you can do this with > > alias postcmd 'echo "[0m"' > > For the character, press ctrl-v and then esc > (which inserts a ^[-character as literal). thanks! tput sgr0 also does the trick :) -- Thanos Tsouanas .: Sians http://thanos.sians.org/ .: http://www.sians.org/