[OP Cc'ed as he doesn't apppear to be on tramp-devel] Kai Grossjohann wrote:
> lawrence mitchell <[EMAIL PROTECTED]> writes: >> I just had a thought, it may be that `tramp-wait-for-output' >> doesn't return at all. You could try edebugging that >> function to see what happens. But I'm grasping at straws >> somewhat. > I don't seem to have Mark's original message, but Lawrence's answers > went to tramp-devel only. Did Mark see them? Who is Mark? > Lawrence? I don't think he did, as I (perhaps sillily only sent to tramp-devel on fsf). Certainly I didn't get a private reply. Anyway, here's the original message: /---- | Message-Id: <[EMAIL PROTECTED]> | From: Mark Oberfield <[EMAIL PROTECTED]> | To: [EMAIL PROTECTED] | Subject: tramp freezes XEmacs on startup | Date: Fri, 9 Aug 2002 16:52:58 -0400 (EDT) | | After consulting the Info pages on tramp and reviewing the FAQ I | cannot determine what is wrong with my configuration of tramp. It | just seems to hang when attempting to fetch a file remotely. | | I am using tramp v2.0.12. | | ;;; ******************** | ;;; Set TRAMP to use ssh method | (add-to-list 'load-path "~/.xemacs/xemacs-packages/lisp/tramp/lisp/") | (require 'tramp) | (setq tramp-default-method "scp") | | I have configured ssh so that I do not have to provide a password to | connect to remote machine. | | Viewing the Message Log buffer reveals: | | tramp: Looking for pattern ^.*\(?:Connection | \(?:closed\|refused\)\|Host key verification failed\.\|Login | \(?:Incorrect\|incorrect\)\|Name or service not | known\|Permission denied\.\|Sorry, try | again\.\).*\|^.*\(Received signal [0-9]+\).* tramp: Looking for | pattern Are you sure you want to continue connecting (yes/no)\? | * tramp: Looking for pattern ^.*\([pP]assword\|passphrase.*\):? | * tramp: Looking for pattern .*ogin: * tramp: Looking for | pattern ^[^#$%> | ]*[#$%>] * | tramp: Found remote shell prompt. | tramp: Initializing remote shell | | I've set the tramp-debug-buffer to 't | | $ ( test -d | /staging/master/build/IFPS12/adapt/ifps/src/unld_to_zns/Makefile | 2>/dev/null; echo tramp_exit_status $? ) | | After this it just pauses for as long as I am willing to wait (several | minutes). The only way to regain control is to issue a ^G and the | remote file never gets sucked in. | | My shell on the remote machine is /bin/tcsh and does not require any | user interaction when logging in. Documentation states that tramp is | intelligent enough to determine the login shell and Do the Right | Thing, yet I see very Bourne shell syntax here in the tramp-debug | buffer. | | Can anyone suggest a workaround or ideas to get tramp working for me? \---- As I mentioned, I had suggested that either 'exec /bin/sh' was failing, or `tramp-wait-for-output' wasn't returning. -- lawrence mitchell <[EMAIL PROTECTED]> _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel
