Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 2351  |
|  Vitaliy Aksyonov to All  |
|  Locales and pseudo-graphics  |
|  17 Mar 24 13:47:38  |
 
MSGID: 1:104/117 65f748f1
CHRS: KOI8-R 2
TZUTC: -0600
TID: hpt/lnx 1.9 2022-07-03
Hello All.
In result of some research I decided to write short instruction, which may
help you to solve issues with pseudo-graphics in GoldEd.
I want to mention that following text is for Linux (maybe it's very similar on
MacOS, but I haven't tried), one-byte charsets and locales. You won't find
anything about running GoldEd in Unicode locale here. I plan to investigate,
how ncurses works with Unicode later.
So if you have issues with pseudo-graphics, you need to try following
insructions. All my examples are for KOI8-R, but shall not be any issues with
CP437 and other one-byte encodings.
Also this insruction assumes, that you don't use recodings (like luit) and/or
terminal multiplexors (screen, tmux).
1. Make sure that your terminal uses correct charset. I tried both remote ssh
access with Putty and local console with Gnome terminal. In both cases I've
set KOI8-R.
2. Try to run following script in console.
printf '%b' $(printf '\\%03o' {128..255})
You should see sequence of national letters, pseudo-graphics (if your charset
has it) and some special symbols. If it doesn't - check your terminal settings
for charset and try to use different fonts.
3. Very important to use correct locale when you run GoldEd. In my case it's
ru_RU.koi8r. It may differ from system to system. Also keep in mind that
you're not required to change whole system locale. Locale is a process
property and you may run GoldEd in locale which differs from your system's
locale with:
LANG=ru_RU.koi8r gedlnx -C
|
[ << oldest | < older | list | newer > | newest >> ]