[sylpheed-jp:10697] [私にとっては解決編](Re: 秀丸メールとのGPG相互運用連携 について)

Yukiharu Yabuki <[email protected]>
Newsgroups gmane.mail.sylpheed.general.japanese
Organization LILO(netfort.gr.jp)
Message-ID <[email protected]>
岩本さま

フォローアップありがとうございます。
解説いただきまして、助かりました。

Debian GNU/Linux Lenny の LANG=ja_JP.UTF-8 環境にて
下記の設定で、自分の思い通りになりました。

(1) gnome-terminal -e 'sh -c "gpg -d %f | lv"'
および
(2) * gpg --decrypt --passphrase-fd 0 --batch %f | nkf -w |

(1)は、gnometermianlが立ち上がってメッセージが表示されますし、
(2)は、sylpheedのメッセージ表示ペインが置き換わります。


以下は余談です。

gnome-terminalが、execvp()を呼んでいるかもしれないという件
http://www.gnome.gr.jp/docs/glib-2.8.x-refs/glib/glib-Shell-related-Utilities.html#g-shell-parse-argv
にある、g-shell-parse-argvを呼んで引数チェックをしている所まで
は、apt-get source gnome-terminal してソースを取得し、
terminal.cを見てチェックできました。あとは実際に呼び出す所が
判れば良かったのですが、ざっくりと眺めた範囲では、プログラムを
GNOME 2.2.xから導入されたvte-widgetに引き渡す所まで確認しました。
http://developer.gnome.org/arch/gnome/widgets/vte.html

--
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Yukiharu Yabuki (矢吹幸治)                      I use Debian GNU/Linux
mail: [email protected]
クレクレタコラは好き / クレクレタコだはイヤ
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.