From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16329 invoked by alias); 23 Feb 2015 09:46:35 -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: 19907 Received: (qmail 22690 invoked from network); 23 Feb 2015 09:46:30 -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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no version=3.3.2 Date: Mon, 23 Feb 2015 10:46:26 +0100 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: ANSI bg colour outside of prompt area Message-ID: <20150223094626.GA28360@xvii.vinc17.org> Mail-Followup-To: zsh-users@zsh.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54EAA154.1080602@eastlink.ca> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6424-vl-r76280 (2015-02-19) On 2015-02-22 19:41:08 -0800, Ray Andrews wrote: > I'm thinking how cool it might be to have different builds on > different xterms showing different BG colors, so that it's easier to > keep track of which is which. But, yes, it is just a bon-bon. You shouldn't mix up the default background/foreground color pair and the current background/foreground color pair. The user completely controls the former one. The latter one can be chosen by programs that output text (this includes the shell), each time they need to do some output. With xterm, you can set the default background/foreground colors with the -bg and -fg options (or via X resources); it is possible to change these default colors dynamically via the "dynamic color" feature (when enabled). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)