Subj : Re: Need volonteers to test another patch
To   : Wilfred van Velzen
From : Vitaliy Aksyonov
Date : Tue Mar 12 2024 07:34 pm

Hello Wilfred.

11 Mar 24 09:26, you wrote to me:

WvV>>>> And starting golded in a local Konsole terminal "TERM=xterm"
WvV>>>> with the default charset set to utf-8:

WvV>>>> # sudo -u fido LANG=en_EN.CP850 luit -encoding 'CP850'
WvV>>>> /usr/local/bin/golded -f

VA>>> If you use luit - than having xterm in UTF-8 is correct.

WvV> This one also works with putty (which is set to use utf-8 as charset).

Yep. I've tried luit in my configuration and it works totally fine.

WvV>>>> And in the same kind of terminal but with the default charset
WvV>>>> set to cp850, this one works:

WvV>>>> # sudo -u fido LANG=en_US.CP850 /usr/local/bin/golded -f

VA>>> This is correct commandline to if you have your terminal in
VA>>> cp850. Just choose what works better for you. Probably luit and
VA>>> terminal in UTF-8 is most convenient.

WvV>> I'll see after I have tested with putty...

WvV> I'll probably switch to this setup since it also works with putty.

It's definitely more convenient.

WvV>>>> I will still have to test these in a putty terminal later
WvV>>>> during the coming week.

VA>>> Putty will work fine. Only I suggest you to change terminal type
VA>>> in putty from xterm (they use if by default)

WvV>> I think it's set to 'linux' in putty.

WvV> Switching from 'linux' to 'putty' makes things worse:

WvV> https://paste.opensuse.org/pastes/8a290fabf761

That may be because terminfo for putty doesn't exist on your system. You may need to install additional packages. I have putty-256color and it works perfect.

How to check.
Run infocmp -D
This will show you which directories are used to find terminfo.
Then search in those directories, is putty available. If not - you may need install package like ncurses-term. May have different name on your system.

Let me know it that helped please.

WvV> Also some keys, like the F3 key stopped working. So I keep my
WvV> terminal
WvV> type as 'linux'.

VA>>> to putty or putty-256color. It's in Connection->Data section.

WvV> 'putty-256color' makes no difference.

putty-256color just add more colors support. F keys are broken most probably because terminfo is missing.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
* Origin: Aurora, Colorado (1:104/117)