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

@ -539,16 +539,16 @@
.SH ファイル
.PD 0
.TP \w'\ \ \ \ user/\f2username\f1/private.dic'u+2n
.B /usr/bin/sj3serv
.B /usr/local/bin/sj3serv
かな漢字変換サーバ
.TP
.B /usr/lib/sj3/serverrc
.B /usr/local/lib/sj3/serverrc
かな漢字変換サーバ セットアップファイル
.TP
.B /usr/bin/sj3
.B /usr/local/bin/sj3
日本語入力フロントエンドプロセッサ
.TP
.B /usr/dict/sj3/
.B /usr/local/lib/sj3/dict/
かな漢字変換サーバ デフォルト辞書ディレクトリ
.TP
.B " sj3main.dic
@ -560,14 +560,14 @@
.B " user/\f2username\f1/study.dat
かな漢字変換学習ファイル
.TP
.B /usr/include/sj3lib.h
.B /usr/local/include/sj3lib.h
かな漢字変換ライブラリ用インクルードファイル
.TP
.B /usr/lib/libsj3lib.a
.B /usr/local/lib/libsj3lib.a
かな漢字変換ライブラリ
.TP
\f3/usr/demo/sj3/ *\f1
かな漢字変換ライブラリ 使用法サンプル
.\".TP
.\"\f3/usr/local/demo/sj3/ *\f1
.\"かな漢字変換ライブラリ 使用法サンプル
.PD
.SH 関連項目
\f4sj3\f1 (1),