From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25482 invoked by alias); 24 Mar 2016 18:08:15 -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: 21409 Received: (qmail 13456 invoked from network); 24 Mar 2016 18:08:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Thu, 24 Mar 2016 11:08:25 -0700 From: Danek Duvall To: Bart Schaefer Cc: Zsh Users Subject: Re: End boldface also ends background color Message-ID: <20160324180825.GB16328@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Bart Schaefer , Zsh Users References: <160323185356.ZM2458@torch.brasslantern.com> <20160324103837.678f2f36@pwslap01u.europe.root.pri> <20160324145351.GA16328@lorien.comfychair.org> <160324102633.ZM5277@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160324102633.ZM5277@torch.brasslantern.com> User-Agent: Mutt/1.5.20 (2010-04-22) On Thu, Mar 24, 2016 at 10:26:33AM -0700, Bart Schaefer wrote: > On Mar 24, 7:53am, Danek Duvall wrote: > } > } Worth at least pinging Thomas Dickey to add the capability to xterm > > This would have to be a new termcap/terminfo library entry (or whatever > stands in for them, maybe it's ncurses); it's not something missing from > xterm. You said that the expected escape sequence, which worked on gnome-terminal, didn't work on xterm. So it's both, AFAICT, which was what I was trying to say. > } Once you build zsh against the new version of > } both, it would work, and you'd get historical behavior until then. > > We'd still have to reprogram zle_refresh.c to know about and do the > run-time test for the new capability, which would take years to make it > into everyone's terminfo databases, etc. Sure. It may not be useful for the current problem, and something you'll still want to work around, but unless there's a particularly good reason why exit_bold_mode doesn't exist, I don't see why adding it wouldn't be generally useful down the line. I can ping Thomas about it, if he isn't already listening (I forget whether he lurks here or not). Danek