From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29927 invoked by alias); 23 Feb 2015 11:15:30 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34609 Received: (qmail 26955 invoked from network); 23 Feb 2015 11:15:24 -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.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Christian Neukirchen Subject: Re: ANSI bg colour outside of prompt area Date: Mon, 23 Feb 2015 11:58:12 +0100 Message-ID: <87fv9wuc6z.fsf@gmail.com> References: <20150222132310.GA18377@wintermute> <150222111007.ZM18687@torch.brasslantern.com> <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host57-2.natpool.mwn.de In-Reply-To: <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute> (junkcommander0@gmail.com's message of "Sun, 22 Feb 2015 15:07:35 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) junkcommander0@gmail.com writes: > As a workaround for now I have a little alias that switches the value > of the background colour in st's config.h, and recompiles it. It's not > quite the same as toggling it in the terminal I'm working in, but it's > not terribly difficult to open a new terminal with a different > background colour. In xterm and urxvt, you can do printf '\033]10;%d\a\033]11;%d\a' $fgcolor $bgcolor -- Christian Neukirchen http://chneukirchen.org