[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FDclone-users:00440] terminal settings
- Subject: [FDclone-users:00440] terminal settings
- From: "Akinori MUSHA" <knu@iDaemons.org>
- Date: Tue, 08 Nov 2005 12:12:59 +0900
ふと、 stty -ixon しているはずなのにいつのまにか Ctrl-S で画面が
固まるようになっていることに気づき、調べたところ、 FDclone が原因
とわかりました。
試したのは FreeBSD 4-STABLE および 6-STABLE ですが、 stty(1) で
FDclone 起動前と終了後の設定を見てみると、 iflag に echoe echoke
echoctl がセットされて 102 から 302 に、 lflag からは -ixon が
外れて 20000588 から 200005cb に変化しています。Cygwin でも同様
でした。
これはあまり行儀がよくない感じがします。FDclone の終了時に端末の
設定を元の状態に戻すようにはできないでしょうか。
また、外部コマンドを起動する際も、起動前に端末設定を一時的に戻し、
外部コマンド終了時に改めて状態を保存してやるとよさそうです。
ご検討いただければ幸いです。(ひさしぶりの登場でした)
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"Different eyes see different things,
Different hearts beat on different strings --
But there are times for you and me when all such things agree"