From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21808 invoked by alias); 23 Feb 2015 16:51:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19910 Received: (qmail 743 invoked from network); 23 Feb 2015 16:51:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=6Eia9ogllWoXNUe/jSXtcw==:117 a=6Eia9ogllWoXNUe/jSXtcw==:17 a=VNsaWKQvMhEA:10 a=N659UExz7-8A:10 a=-bq_sdwvWoRncxnHYRkA:9 a=pILNOxqGKmIA:10 Message-id: <54EB5AA7.8070502@eastlink.ca> Date: Mon, 23 Feb 2015 08:51:51 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: ANSI bg colour outside of prompt area References: <20150222132310.GA18377@wintermute> <150222111007.ZM18687@torch.brasslantern.com> <54EA6200.1040007@eastlink.ca> <4348921424650217@web10g.yandex.ru> <150222171418.ZM19031@torch.brasslantern.com> <54EAA154.1080602@eastlink.ca> <20150223094626.GA28360@xvii.vinc17.org> <150223083637.ZM20263@torch.brasslantern.com> In-reply-to: <150223083637.ZM20263@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 02/23/2015 08:36 AM, Bart Schaefer wrote: > For what it's worth, the way I deal with keeping track of builds and > hosts is to include the host name and part of the version string in > the prompt, and color each of those differently. The background and > foreground stay the same because I have them adjusted for maximum > readability. > I have this in preexec(): echo $ZSH_PATCHLEVEL BTW, there seems to be a bit of fuzz in the term 'background' color. Sometimes it seems to mean just the color behind any typed text, other times it refers to the background of the whole screen. Are there more unambiguous terms?