zsh-workers
 help / color / mirror / code / Atom feed
From: Jim <linux.tech.guy@gmail.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Bart Schaefer <schaefer@brasslantern.com>, devs <zsh-workers@zsh.org>
Subject: Re: possible PATCH to colors function
Date: Tue, 18 Jul 2023 07:48:38 -0500	[thread overview]
Message-ID: <CA+rB6GLDm3NR4hjgFyLqtiQdMFKJ5S5xz147jh2rv-OA2n5z4A@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMqFfbYyQ8s6H27D2DPToFr=22PjL=EBJMzUpXw=R+zCbQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1861 bytes --]

On Tue, Jul 18, 2023 at 6:18 AM Roman Perepelitsa <
roman.perepelitsa@gmail.com> wrote:

> On Tue, Jul 18, 2023 at 12:27 PM Jim <linux.tech.guy@gmail.com> wrote:
> >
> >
> > I get the same results with your code.  But the patch has to do with
> ${color[bold]}.
> > Without faint the result of bold is the same for <color> and
> <bright-color>.  With
> > faint the result is different intensity.
>
> I haven't been following this discussion very closely. It's not
> unlikely that my comment will miss the mark.
>
>
Don't think you missed the mark.  I believe it is all in the way you look
at it.  I see  your point.  The patch adds another intensity that bold
doesn't
do.  Even though gnome, xfce, xterm ... all seem to do somewhat the
same thing with bold, I was looking for a way to get another option with
bold when producing output.  Personally ... I believe if using a different
intensity color you should  get a different intensity bold output. It
appears
I'm somewhat alone in this thinking.

Most graphical terminal emulators have an option that controls the
>
CLIP


> FWIW, I always uncheck "Show bold text in bright colors" or its
> equivalent in all terminals that I use. I want "bold" to mean the same
> thing in the terminal as everywhere else: use the bold font, keep the
> same color. In addition, I find it counterintuitive when bold text
> changes its color ONLY if the original color was in 0-7.
>
> Roman.
>

Need to think about this.  Bold doesn't seem to care if the colors were 0-7
or 8-15. Bold always outputs 8-15. What my patch was trying to do was to
correct this. As I originally said, this is a patch for the group's
consideration.
I'll respect whatever the group believes is correct.

FWIW I also attached some screenshots from xfce with bold turned on and off.

Regards,

Jim

[-- Attachment #1.2: Type: text/html, Size: 2894 bytes --]

[-- Attachment #2: script_text_output_xfcd_bold_off.png --]
[-- Type: image/png, Size: 4124 bytes --]

[-- Attachment #3: script_text_output_xfcd_bold_on.png --]
[-- Type: image/png, Size: 5344 bytes --]

[-- Attachment #4: txt_xfce_bold_off.png --]
[-- Type: image/png, Size: 76082 bytes --]

[-- Attachment #5: script_output_xfce_bold_on.png --]
[-- Type: image/png, Size: 3476 bytes --]

[-- Attachment #6: txt_w_xfce_bold_on.png --]
[-- Type: image/png, Size: 79846 bytes --]

[-- Attachment #7: script_output_xfce_bold_off.png --]
[-- Type: image/png, Size: 3674 bytes --]

      reply	other threads:[~2023-07-18 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-17 17:44 Jim
2023-07-17 18:40 ` Bart Schaefer
2023-07-17 18:48   ` Bart Schaefer
2023-07-18 10:26     ` Jim
2023-07-18 11:18       ` Roman Perepelitsa
2023-07-18 12:48         ` Jim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+rB6GLDm3NR4hjgFyLqtiQdMFKJ5S5xz147jh2rv-OA2n5z4A@mail.gmail.com \
    --to=linux.tech.guy@gmail.com \
    --cc=linuxtechguy@gmail.com \
    --cc=roman.perepelitsa@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).