From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22742 invoked by alias); 24 Mar 2016 17:39:49 -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: 21407 Received: (qmail 22702 invoked from network); 24 Mar 2016 17:39:47 -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 X-AuditID: cbfec7f5-f792a6d000001302-fc-56f4265e8b32 Date: Thu, 24 Mar 2016 17:39:37 +0000 From: Peter Stephenson To: Zsh Users Subject: Re: End boldface also ends background color Message-id: <20160324173937.4bd709e3@pwslap01u.europe.root.pri> In-reply-to: <160324103347.ZM5300@torch.brasslantern.com> References: <160323185356.ZM2458@torch.brasslantern.com> <20160324103837.678f2f36@pwslap01u.europe.root.pri> <160324103347.ZM5300@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t/xy7pxal/CDGbdsLTYcXIlowOjx6qD H5gCGKO4bFJSczLLUov07RK4Mlr3XmMtaGCruHFVqoHxAUsXIweHhICJxKsz6l2MnECmmMSF e+vZuhi5OIQEljJKdN6ezgrhTGOSaFn3hQmkSkjgHKNEf48bROIso8Suxf/ZQBIsAqoSi1d/ ACtiEzCUmLppNiOILSKgKHHm1zewuDDQtrv9u9hBbF4Be4l9+y6zgticApYSC6Z3MEEMXcsk 0b1pF1gzv4C+xNW/n5gg7rOXmHnlDCNEs6DEj8n3WEBsZgEtic3bmlghbHmJzWveMkNcqi5x 4+5u9gmMwrOQtMxC0jILScsCRuZVjKKppckFxUnpuUZ6xYm5xaV56XrJ+bmbGCHB/HUH49Jj VocYBTgYlXh4b3B9DhNiTSwrrsw9xCjBwawkwiun+CVMiDclsbIqtSg/vqg0J7X4EKM0B4uS OO/MXe9DhATSE0tSs1NTC1KLYLJMHJzAyGiaLW/kaTyFeZ/Pcpv8622TjfWFGnYu+eXz9/mT bcLO6hFvGC7v+Z6w0JFnjirDnZ/y3Z2VyQdsD+fO8N1ZNG1+W6GVoJPIT/E98yVsFJbptwbY K2w5ruItcXZtje+aTQFbuKbNtmmb8jtpg+H8DyqHeMNe/+m45baQd+XL4u22PDeMU7ewFyux FGckGmoxFxUnAgDdjKYHYgIAAA== On Thu, 24 Mar 2016 10:33:47 -0700 Bart Schaefer wrote: > On Mar 24, 10:38am, Peter Stephenson wrote: > } Subject: Re: End boldface also ends background color > } > } If you look at the definitions, you'll see that \e[1m turns on bold, > } \e[7m reverse, \e[4m underline. The definitions mapping to exit reverse > } and exit underline are \e[27m and \e[24m. Nothing maps to \e[21m that I > } can see. > > 21m is double-underline, according to comments in Functions/Misc/colors, > but it's not widely supported. > > The right thing for bold-off would be "normal" i.e. 22m, but as noted > there is no termcap code for that. As long as it generally works when the other sequences do, we could use a special case. pws