tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp ($Id: tramp.el,v 1.8 2002/04/15 11:27:18 kaig Exp $); Can't wo


From: Adrian Aichner
Subject: Re: tramp ($Id: tramp.el,v 1.8 2002/04/15 11:27:18 kaig Exp $); Can't work around pseudo-terminal problem in W2K
Date: 05 Aug 2002 22:31:53 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoli)

>>>>> "Kai" == Kai Gro <address@hidden> writes:

    Kai> Adrian Aichner <address@hidden> writes:
    >> $ $ # Setting shell prompt
    >> $ PS1='
    >> /////
    >> '; PS2=''; PS3=''
    >> $ cd ~; pwd
    >> 
    >> ~: does not exist
    >> 
    >> 
    >> /////
    >> 
    >> 
    >> 
    >> /////

    Kai> Something is missing here!  After "Setting shell prompt", Tramp should
    Kai> call tramp-post-connection which issues a lot of commands to the
    Kai> remote shell, including finding a shell which groks tilde expansion.
    Kai> Why is this not happening for you?

Why I don't know.

I know it never gets to tramp-post-connection, because it hangs in
accept-process-output.

Here is what I get when I
C-g (keyboard-quit)
after
M-x toggle-debug-on-quit

Signaling: (quit)
  accept-process-output(#<process "*tramp/scpx address@hidden" pid 1912 
state:run> 1)
  tramp-wait-for-output()
  tramp-open-connection-setup-interactive-shell(#<process "*tramp/scpx 
address@hidden" pid 1912 state:run> nil "scpx" "adriana" "xemacs.sf.net")
  tramp-open-connection-rsh(nil "scpx" "adriana" "xemacs.sf.net")
  tramp-maybe-open-connection(nil "scpx" "adriana" "xemacs.sf.net")
  tramp-send-command(nil "scpx" "adriana" "xemacs.sf.net" "cd ~; pwd" t)
  tramp-handle-expand-file-name("/address@hidden" nil)
  apply(tramp-handle-expand-file-name ("/address@hidden" nil))
  tramp-file-name-handler(expand-file-name "/address@hidden" nil)
  expand-file-name("/address@hidden" nil)
  apply(expand-file-name ("/address@hidden" nil))
  dired-handler-fn(expand-file-name "/address@hidden" nil)
  expand-file-name("/address@hidden")
  find-file-noselect("/address@hidden")
  find-file("/address@hidden" nil)
  #<compiled-function (file &optional wildcards) "...(5)" [wildcards file 
find-file] 3 ("c:\\Program 
Files\\XEmacs\\xemacs-packages\\lisp\\ibuffer\\ibuffer.elc" . 32858) (let (...) 
(list ... current-prefix-arg))>("/address@hidden" nil)
  call-interactively(ibuffer-find-file)

    Kai> Note how Tramp says "cd ~" but the remote /bin/sh doesn't know what
    Kai> to do with it.

Yep, I noticed, but don't know what to make of it.

    Kai> Or did I copy and paste stuff which does not belong together?  Is

No.

    Kai> there more between "Setting shell prompt" and the "/////" prompts?

Here is what I get in *Message-Log* (trying to log in to another
account):

Quit
Entering debugger...
tramp: Setting shell prompt
tramp: Waiting 30s for `unset CDPATH'
tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
tramp: Waiting 30s for `set +o vi +o emacs'
tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
tramp: Determining coding system
tramp: Setting up remote shell environment
tramp: Waiting 30s for remote `/bin/sh' to come up...
tramp: Initializing remote shell
tramp: Waiting 60s for shell or passwd prompt from xemacs.sf.net
tramp: Opening connection for address@hidden using scpx...

    Kai> kai
    Kai> -- 
    Kai> A large number of young women don't trust men with beards.  (BFBS 
Radio)


-- 
Adrian Aichner
 mailto:address@hidden
 http://www.xemacs.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]