From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23724 invoked by alias); 23 Feb 2015 01:14:24 -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: 19893 Received: (qmail 1146 invoked from network); 23 Feb 2015 01:14:22 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=A7bb5BSD c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=0HtSIViG9nkA:10 a=0HuNUsHq_UcgdLOIq3sA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <150222171418.ZM19031@torch.brasslantern.com> Date: Sun, 22 Feb 2015 17:14:18 -0800 In-reply-to: Comments: In reply to Kurtis Rader "Re: ANSI bg colour outside of prompt area" (Feb 22, 4:28pm) References: <20150222132310.GA18377@wintermute> <150222111007.ZM18687@torch.brasslantern.com> <54EA6200.1040007@eastlink.ca> <4348921424650217@web10g.yandex.ru> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: ANSI bg colour outside of prompt area MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 22, 4:28pm, Kurtis Rader wrote: } } Those were pretty much my thoughts as well. I have never once in the 30+ } years I've been programming wanted to change the default background color } of an existing terminal session on the fly; i.e., outside of a particular } app. This is something you spend a few minutes every five years or so } deciding on your personal preference then set once and forget about it. Many terminal emulators (more modern than xterm; e.g. gnome-terminal and PuTTY, among others) provide GUI menus for doing this sort of thing. In gnome-terminal it's Terminal -> Change Profile, you can set up as many different profiles as you like with different font/color/lines/columns etc. combinations, and switch among them as necessary. Of course "st" is designed to be extremely simple/lightweight, so it does not have that sort of feature available. The only other argument that the shell should get involved in this is for non-GUI consoles. I've seen reference to default console colors having to be compiled in to the kernel, which does seem like overkill. Even so, as Zyx pointed out, there's no way for the shell to make color changes stick when other programs run.