From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5082 invoked by alias); 23 Feb 2015 16:47:54 -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: 34620 Received: (qmail 21463 invoked from network); 23 Feb 2015 16:47:53 -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=7HP-uLjPaW-ORXcyNPgA:9 a=CjuIK1q_8ugA:10 a=gU9QOCc-P1wA:10 a=8rMhFK8_MaYA:10 a=Qwe0yEf1qG4A:10 From: Bart Schaefer Message-id: <150223084750.ZM20328@torch.brasslantern.com> Date: Mon, 23 Feb 2015 08:47:50 -0800 In-reply-to: <87fv9wuc6z.fsf@gmail.com> Comments: In reply to Christian Neukirchen "Re: ANSI bg colour outside of prompt area" (Feb 23, 11:58am) References: <20150222132310.GA18377@wintermute> <150222111007.ZM18687@torch.brasslantern.com> <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute> <87fv9wuc6z.fsf@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: ANSI bg colour outside of prompt area MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 23, 11:58am, Christian Neukirchen wrote: } } In xterm and urxvt, you can do } } printf '\033]10;%d\a\033]11;%d\a' $fgcolor $bgcolor Hmm, that didn't work for me -- it did nothing in xterm, and in urxvt it changed the background but not the foreground. Incidentally $fgcolor and $bgcolor there are numeric codes, not escape sequences. If you do autoload colors colors then you can use e.g. $color[yellow] to get the numeric code.