Import patches from pkgsrc

* Adjust paths to modern conventions.
* Avoid opening /dev/console.
* Consistently provide lowercase and MixedCase options.
* Don't abuse an int as a pointer (optarg).
* Fix compilation errors on NetBSD and DragonFly BSD.
* Fix documentation.
* Import headers and remove redundant declarations.

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Masanori Ogino 2023-11-27 10:29:45 +09:00
commit 381c676eda
26 changed files with 143 additions and 98 deletions

View file

@ -109,13 +109,13 @@ sj3 \-
.SH 関連ファイル
.PD 0
.TP 15
/usr/dict/sj3/user/$USER/private.dic
/usr/local/lib/sj3/dict/user/$USER/private.dic
仮名漢字変換ユーザ辞書
.TP
/usr/dict/sj3/user/$USER/study.dat
/usr/local/lib/sj3/dict/user/$USER/study.dat
仮名漢字変換学習ファイル
.TP
/usr/lib/sj3/sjrk
/usr/local/lib/sj3/sjrk
デフォルトローマ字仮名変換規則定義ファイル
.SH 関連事項
sj3serv(1), sj3lib(3)