[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Tramp



こんにちは。吉田と申します。

Meadow で Tramp↓
http://ls6-www.informatik.uni-dortmund.de/~grossjoh/emacs/tramp_ja.html
を使いたいのですが、上手く動きません。

使用環境
--------
Windows98-SP1
Meadow-1.14.2pre3 (AWSAKA:62)
CYGWIN_98-4.10 hoge 1.3.3s(0.39/3/2) 2001-05-31 23:55 i586 unknown
OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
(Tramp) $Id: tramp.el,v 2.24 2001/05/28 20:07:51 grossjoh Exp$

C-x d /r@su:yoshi@xxxxxxxxxxxxxx:~/ とすると、暫く待たされたのち、
次のようなメッセージが出て止まります。

エラー時の *debug tramp/su yoshi@xxxxxxxxxxxxxx* の中身
-------------------------------------------------------
# Opening connection for yoshi@xxxxxxxxxxxxxx using su...
# Waiting 60s for shell or passwd prompt from xxx.yyy.zzz.ww
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: no access to tty (Bad file number).
Thus no job control in this shell.
TERM: Undefined variable.
[[Regexp `\(^.*\([pP]assword\|passphrase.*\):
]*[#$%>] *\)' not found in 60 secs]]

今の場合、TERM、tramp-terminal-type などは特に指定をしていない状態のメッ
セージですが、*scratch* バッファで適当にこれらを設定しても TERM に関す
る部分が無くなるだけで、Pseudo-terminal ... と出ます。

処理を待っている間のプロセスは、次のようになっています。
norihide@~$ ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
  3921425       1 3921425 4291045871    0  500 22:06:55 /usr/local/BIN/RXVT
  3868425 3921425 3868425 4291095971    1  500 22:06:55 /usr/bin/BASH
  3837089       1 3837089 4291130207    2  500 22:30:07 /usr/bin/SSH
  3867269 3868425 3867269 4291136399    1  500 22:31:03 /usr/bin/PS

当然、コマンドプロンプトからホスト xxx.yyy.zzz.ww への接続は出来ます。
ssh-agent を介しての接続も試みましたが、だめでした。
FreeBSD 上の Emacs21 では期待どおりに動いているのですが…

私には問題が Meadow の設定不足なのか、Tramp 自身にあるのか、Cygwin 上
の SSH だからなのか分かりません。そもそも Windows 上では無理なのかもし
れませんが、何かアドバイス戴けると幸いです。

以下に **Backtrace** を添付致しますので、よろしくお願い致します。

Attachment: backtrace
Description: Binary data

-- 
Norihide Yoshida
nyoshida@xxxxxxxxxxxxxxxxxxxxxx
norihide@xxxxxxxxxxxxxx