all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bokr@bokr.com
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Julien Lepiller <julien@lepiller.eu>, guix-devel@gnu.org
Subject: Re: UTF-8 progress bar
Date: Tue, 31 Jan 2023 00:34:36 +0100	[thread overview]
Message-ID: <20230130233436.GA6502@LionPure> (raw)
In-Reply-To: <87zg9zwuik.fsf@gnu.org>

Hi Ludo, Akib, et al,

On +2023-01-30 23:02:43 +0100, Ludovic Courtès wrote:
> 👋
  ^^--- interesting: I see that thumb up emoji in mutt's display,
  but not in emacs, which I have configured mutt to use as my editor.

> 
> Julien Lepiller <julien@lepiller.eu> skribis:
> 
> > I have a patch waiting (https://issues.guix.gnu.org/59975) that will
> > change progress bars to use some unicode characters. I think they look
> > better, but I'm a bit afraid they might not look right on some config,
> > so I'd like to know if your terminal is able to show these characters:
> >
> > "▏▎▍▌▋▊▉█▏▕"
>
     ^^^^^^^^---seems fine in tilix and Emacs PureOS/Wayland/Gnom
     e
> Confirmed to work for me in xterm and Emacs on X11 (Guix System).
> 👍
  ^^---as above
> 
> Ludo’.
> 

I suspect those characters could be made to work in Akib's console
if his kernel supports KMS and setfont etc ..

So I guess you, Akib, mean $LANG="en_US.utf8" in your execution
context is insufficient to make your system show the utf8 charaters
in question, not that there's no fix possible? ;)

IDK, but perhaps your app could use a wrapper that sets up a font,
along with a utf8 map that will show the necessay characters?

See:
    info setfont
and
    info showconsolefont

HTH
--
Regards,
Bengt Richter


  reply	other threads:[~2023-01-30 23:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-28 13:17 UTF-8 progress bar Julien Lepiller
2023-01-28 13:49 ` Maxime Devos
2023-01-28 17:34 ` Kaelyn
2023-01-29  4:21 ` Akib Azmain Turja
2023-01-30 22:02 ` Ludovic Courtès
2023-01-30 23:34   ` bokr [this message]
2023-01-31  0:26     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-01-31 10:55       ` Akib Azmain Turja
2023-01-31 13:03     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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=20230130233436.GA6502@LionPure \
    --to=bokr@bokr.com \
    --cc=guix-devel@gnu.org \
    --cc=julien@lepiller.eu \
    --cc=ludo@gnu.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.