[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"q"s and "x"s as line graphics on Linux console
From: |
Patrick McDermott |
Subject: |
"q"s and "x"s as line graphics on Linux console |
Date: |
Mon, 11 Jan 2021 11:29:53 -0500 |
Hello,
I'm using ncurses 6.2-20210109 and dialog 1.3-20201126. It works fine
on VTE, but on the Linux framebuffer console the line graphics are drawn
with characters like "q" and "x". For example:
$ dialog --msgbox 'Hello, world!' 5 17
lqqqqqqqqqqqqqqqk
x Hello, world! x
tqqqqqqqqqqqqqqqu
x < OK > t
mqqqqqqqqqqqqqqqj
My environment is `TERM=linux LC_ALL=C` (I also tried `LC_ALL=en_US` and
variants of the "linux" terminal found in terminfo). I'm using 8-bit
ncurses, but I've also tried a wide-character build. I've tried setting
`NCURSES_NO_UTF8_ACS=1`, and a glance at the ncurses source shows that
`TERM=linux` already disables ACS. I'm not using a UTF-8 locale
encoding because I'm using Linux's built-in (8-bit) fbcon fonts.
I've read the FAQ on this issue [1] (and similar discussions online),
but it doesn't seem to offer a solution in this case (unless there's
some other $TERM I should try). Any suggestions?
[1]: https://invisible-island.net/ncurses/ncurses.faq.html#no_line_drawing
Thanks,
--
Patrick McDermott, CEO
Libiquity
Putting customers in control of high-quality technologies
https://www.libiquity.com/
- "q"s and "x"s as line graphics on Linux console,
Patrick McDermott <=