NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/56926: curses: vi screen corrupted with UTF-8 multicolumn characters
On 2022/07/15 22:50, rokuyama.rk%gmail.com@localhost wrote:
% ftp http://www.netbsd.org/~rin/curses_20220715/sample.txt
...snip...
% export LC_CTYPE=ja_JP.UTF-8
% locale
LANG=""
LC_CTYPE="ja_JP.UTF-8"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=""
% vi sample.txt
Oops, this example is misleading. This is on SSH session with
unicode-aware terminal emulators.
If you reproduce the problem on xterm, LC_CTYPE should be set
*before* you start xterm.
Thanks,
rin
Home |
Main Index |
Thread Index |
Old Index