[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:82148] Re: kinput2について(strings命令、長文です)


sweepです。

ISHIOKA Takashiさんの<20010404185538X.ishioka _at_ dad.eec.toshiba.co.jp>から
>いしおかです.
>
(略)
>sweep> >wnnstat すると、画面が返ってきません。
>sweep> これが違っていまして、
>sweep> 置き場所は /etc/FreeWnn/ja/wnnenvrc でした。
>sweep> これをつけて起動すると、 203 エラーが2回でます。
>
>つけないと出ないんでしたっけ?

今まで&をつけていなかったので確認できてません。

>sweep> >ちょっと実験.
>sweep> >strings -a `which kinput2` | less して
>sweep> 
>sweep> これはどこにいて行うものですか?ディレクトリの位置は無関係です
>
>無関係です.. くわしくは man which ,man bash か man csh してほしいんですが.
>
>`command` は  特殊なキーワードなんで
>% echo `which ls`
>% echo 'which ls'
>
>この違いを試しましょ.

この`の記号の読み方を知らないのですが、Pの横にあるやつですよね?
で、
echo `which ls` では alias や path が分かります
echo 'which ls' では文字列がエコーされるだけです

strings `which kinput2` でたくさんでてくるので、
strings `which kinput2` | less して
/libwnn.msg すると
libwnn.msg(白の反転)
libwnn: Cannot open message file for libwnn.a
の2行でました。

>ええと, strings は バイナリファイルなどのうち 人間に理解できる部分だけ
>引張だしマス. その結果を less でみて '/' で 前方検索なので libwnn.msg
>の あるとこを 探しています.

なるほど。便利ですね。

で、たくさん出ていたので、
strings `which kinput2` > which.txt とやって、テキストに落としました。
man strings man which man bash しましたが、`の説明は直接は書いてないよ
うに見えます。

ファイルの 1230行目あたりから、処理の経過のようなものが見えます。

1255行目付近
*CcWnn.wnnEnvrc
-wnnenvrc
*CcWnn.wnnEnvrc6
-wnnenvrc6
*CcWnn.wnnEnvrc4
-wnnenvrc4
*CcWnn.wnnEnvname
-wnnenvname
*CcWnn.ccdef
-ccdef
*CcWnn.jserver
-jserver
.conversionEngine
-wnn
*ConversionControl.titlebarHeight
-tbheight
+xim
.useXIMProtocol
-xim
+ximp
.useXimpProtocol
-ximp
+kinput
.useKinputProtocol
-kinput
*JpWcharDisplay.kanaFont
-kanafont
*JpWcharDisplay.kanjiFont
-kanjifont
*JpWcharDisplay.font
-font
True
*KinputProtocol.backwardCompatible
Kinput2
-version
unknown argument: %s
Warning: Cannot load app-defaults file.
  Kinput2 may not work properly without it.
  Maybe kinput2 is not installed correctly,
  or your file search path (specified by
  environment variable 'XFILESEARCHPATH')
  is wrong.
inputObj
convmanager
displayObjectClass
inputObjectClass
JAPANESE
language
kinputprotocol
ja_JP
localeName
ximpprotocol
improtocol
no protocols activated
iroha
print version information and exit
specify display
-display <display>

1820行目付近
unconvert
convert-s
convert-or-sendback
convert-or-space
convert-or-fix1
convert
ccWnn Object: jserver died
ccWnn Object: GetAuxSegments shouldn't be called
CC_DEF
ccdef.kinput
CcWnn Object: cconv initialization failed.
ccWnn Object: can't open jserver
ccWnn Object: can't change resource by XtSetValues()
for_selection
_KI2_WNN_REG
_KI2_WNN_YOMI
TEXT
_KI2_WNN_KANJI
$Id: cconv.c,v 10.8 1999/05/07 03:12:36 ishisone Exp $
CC_DEF_PATH
/usr/X11R6/lib/X11/ccdef/
include nesting too deep
missing include filename
can't open %s
include
can't open file %s

2000行目付近
selectfocus
either inputObject or inputObjectClass must be specified at creation time
noResourceError
inputObjectClass must be subclass of inputConvObjectClass
classError
inputObject must be subclass of inputConvObjectClass
displayObjectClass must be specified
displayObjectClass must be subclass of convDisplayObjectClass
inputObject resource can't be changed during conversion
setValuesError
eventSelectionMethod resource can't be changed during conversion
eventSelectionMethod
clientWindow and focusWindow resources are read-only
is busy. can't start conversion
CControlStartConversion
busyError
clientWindow not specified. can't start conversion.
cControlStartConversion
dataError
clientWindow does not exist. can't start conversion.
badWindowError

2060行目付近
ConvDisplay Object: StringWidth function isn't defined.
ConvDisplay Object: LineHeight function isn't defined.
ConvDisplay Object: DrawString function isn't defined.
ConvDisplay Object: MaxChar function isn't defined.
ConvDisplay Object: SetFonts function isn't defined.
CHARSET_REGISTRY
CHARSET_ENCODING
$Id: ICLabel.c,v 1.11 1991/09/23 04:01:20 ishisone Rel $
cursor
verticalSpacing
Spacing
horizontalSpacing
ICLabel
%s: child must be subclass of ConvDisplayObject
WidgetError
class
childError
%s: can only take one child

2085行目付近
BadBackground
LocaleNotSupported
BadSomething
? (undefined error code)
** XIM_ERROR message received:
	 input-method ID: %d
	 input-method ID: N/A
	input-context ID: %d
	input-context ID: N/A
	      error code: %s
	   error message: %s
unknown locale
invalid trigger key specification
COMPOUND_TEXT
corrupted argument
xxxxllllsssssxx
ext_forward_keyevent extension not enabled
forwarded event is invalid type
duplicate XIM_CONNECT message
Clients should not send this request
not authentication phase

2280行目付近
$Id: imic.c,v 1.10 1999/01/13 08:42:04 ishisone Exp $
input-method ID expected
invalid input-method ID
input-context ID expected
invalid input-context ID
/tmp/jd_sockV4
wnn4
/etc/FreeWnn
/%L/%N
libwnn.msg
libwnn: Cannot open message file for libwnn.a
unix
/serverdefs

他にもエラーっぽいメッセージがたくさん出ていました。

以上です。

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: