|
From: | Ram Rachum |
Subject: | Re: Curses doesn't display octants |
Date: | Sun, 15 Dec 2024 10:51:26 +0200 |
On Wed, Dec 11, 2024 at 10:41:01AM +0200, Ram Rachum wrote:
> Hello curses maintainers,
>
> I think that curses may have a bug which causes it to not be able to
> display octant characters correctly. Instead it displays blank space:
>
> [image: 394317958-959e0486-d8ac-4279-9896-bd8eb1ab01d4.png]
>
> Please see this bug report to CPython:
> https://github.com/python/cpython/issues/127795
There's not enough information in the bug report. If your system's
runtime (e.g., glibc) does not yet support the wcwidth data for those
characters, ncurses will show them as blanks.
(the font and terminal used are only one part - some terminals use
hardcoded behavior, while ncurses uses the system's locale information).
> See especially the message by midichef in that issue that gives more
> context and shows that the problem might be with the `ncurses` library.
no, that only eliminates the python script from discussion
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
➜ ~ dpkg -l | grep -E 'ncurses|glibc'
ii libncurses6:amd64 6.4+20240113-1ubuntu2 amd64 shared libraries for terminal handling
ii libncursesw6:amd64 6.4+20240113-1ubuntu2 amd64 shared libraries for terminal handling (wide character support)
ii ncurses-base 6.4+20240113-1ubuntu2 all basic terminal type definitions
ii ncurses-bin 6.4+20240113-1ubuntu2 amd64 terminal-related programs and man pages
ii ncurses-term 6.4+20240113-1ubuntu2 all additional terminal type definitions
➜ ~ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"LC_ALL=➜ ~ ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8.3) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
➜ ~ getconf GNU_LIBC_VERSION
glibc 2.39
[Prev in Thread] | Current Thread | [Next in Thread] |