Zhihao Yuan

Results 49 comments of Zhihao Yuan

You will need to set both "directory" and "recdir" (for recovery files).

Yes. And by relying on the Unicode information, we can also eliminate the platform differences on locale. Currently we have some code to get the Unicode codepoint https://github.com/lichray/nvi2/blob/1d22313e3390a9b4a3220f2dc78fc28ff23ae6d5/common/key.c#L285 , but...

Merged in 2df74214 and 5740b1c8. The `expandtab` option is adopted since f89afc93.

It seems you're building using GCC on macOS. If so, `CMAKE_OSX_SYSROOT` doesn't make sense. We should use the previous fix only when using Xcode toolchain, then.

The `db.h` is not provided by db1

db1 is the initial version of Berkeley DB. Your build system observed a `db.h`, but not the `db.h`. I don't know which RPM package provides db1 on CentOS 8, though.

I don't notice an issue... Please share a video/gif clip if possible. Also, which terminal you're using? I'm using mintty.

When cat'ing something, it's only terminal in play. nvi2 is a program that obeys your locale. When you see some Unicode characters displayed as-is but not others, it may be...

It seems that Alacrity at least tried to follow system locale (https://github.com/alacritty/alacritty/commit/7901b454ee04c7873e611986ed2dbe5c3d6331eb#diff-35bac35ab4fe2dcd2348a1e8ea0541e66f4a5dfd0ee9569cfa33479a21c3f3a3R64) so I'm not sure how do you have `LC_CTYPE` not set, but you can set it manually according...

Nvi2 is a multibyte fork of the nvi editor for BSD. It is hard to say that https://repo.or.cz/nvi.git is the original nvi, and nvi2 is not branched off it, although...