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: 06 Aug 2002 08:29:16 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoli)

>>>>> "APA" == Adrian Aichner <address@hidden> writes:

Using (emacs-version)
"XEmacs 21.5 (beta8) \"broccoli\" [Lucid] (i586-pc-win32, Mule) of Wed
Jul 31 2002 on D5DC120J"
which is a non-MULE build, and
tramp-version "2.0.10"
I get even farther along, but the file cannot be read:

tramp: Finding true name for `/[scpx/address@hidden/home/adrian/.emacs'
tramp: Check /home
tramp: file attributes with perl: /[scpx/address@hidden/home
tramp: Check /home/adrian
tramp: file attributes with perl: /[scpx/address@hidden/home/adrian
tramp: Follow symlink to /mnt/home1/home1/adrian
tramp: Check /mnt
tramp: file attributes with perl: /[scpx/address@hidden/mnt
tramp: Check /mnt/home1
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1
tramp: Check /mnt/home1/home1
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1/home1
tramp: Check /mnt/home1/home1/adrian
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1/home1/adrian
tramp: Check /mnt/home1/home1/adrian/.emacs
tramp: file attributes with perl: 
/[scpx/address@hidden/mnt/home1/home1/adrian/.emacs
tramp: True name of `/[scpx/address@hidden/home/adrian/.emacs' is 
`/mnt/home1/home1/adrian/.emacs'
tramp: Finding true name for `/[scpx/address@hidden/home/adrian/.emacs'
tramp: Check /home
tramp: file attributes with perl: /[scpx/address@hidden/home
tramp: Check /home/adrian
tramp: file attributes with perl: /[scpx/address@hidden/home/adrian
tramp: Follow symlink to /mnt/home1/home1/adrian
tramp: Check /mnt
tramp: file attributes with perl: /[scpx/address@hidden/mnt
tramp: Check /mnt/home1
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1
tramp: Check /mnt/home1/home1
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1/home1
tramp: Check /mnt/home1/home1/adrian
tramp: file attributes with perl: /[scpx/address@hidden/mnt/home1/home1/adrian
tramp: Check /mnt/home1/home1/adrian/.emacs
tramp: file attributes with perl: 
/[scpx/address@hidden/mnt/home1/home1/adrian/.emacs
tramp: True name of `/[scpx/address@hidden/home/adrian/.emacs' is 
`/mnt/home1/home1/adrian/.emacs'
tramp: file attributes with perl: 
/[scpx/address@hidden/mnt/home1/home1/adrian/.emacs
tramp: Fetching /[scpx/address@hidden/home/adrian/.emacs to tmp file 
c:\DOCUME~1\AICHNE~1\LOCALS~1\Temp\tramp.QfAX9a...
tramp: Fetching /[scpx/address@hidden/home/adrian/.emacs to tmp file 
c:\DOCUME~1\AICHNE~1\LOCALS~1\Temp\tramp.QfAX9a...done
tramp: file attributes with perl: /[scpx/address@hidden/home/adrian/.emacs
tramp: Inserting local temp file 
`c:\DOCUME~1\AICHNE~1\LOCALS~1\Temp\tramp.QfAX9a'...
tramp: file attributes with perl: /[scpx/address@hidden/home/adrian/.emacs
File exists, but cannot be read.
Fontifying .emacs...
Fontifying .emacs... (syntactically).
tramp: file attributes with perl: /[scpx/address@hidden/home/adrian/.emacs
Fontifying .emacs... done.

Later,

Adrian

>>>>> "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?

    APA> Why I don't know.

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

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

    APA> Signaling: (quit)
    APA>   accept-process-output(#<process "*tramp/scpx address@hidden" pid 
1912 state:run> 1)
    APA>   tramp-wait-for-output()
    APA>   tramp-open-connection-setup-interactive-shell(#<process "*tramp/scpx 
address@hidden" pid 1912 state:run> nil "scpx" "adriana" "xemacs.sf.net")
    APA>   tramp-open-connection-rsh(nil "scpx" "adriana" "xemacs.sf.net")
    APA>   tramp-maybe-open-connection(nil "scpx" "adriana" "xemacs.sf.net")
    APA>   tramp-send-command(nil "scpx" "adriana" "xemacs.sf.net" "cd ~; pwd" 
t)
    APA>   tramp-handle-expand-file-name("/address@hidden" nil)
    APA>   apply(tramp-handle-expand-file-name ("/address@hidden" nil))
    APA>   tramp-file-name-handler(expand-file-name "/address@hidden" nil)
    APA>   expand-file-name("/address@hidden" nil)
    APA>   apply(expand-file-name ("/address@hidden" nil))
    APA>   dired-handler-fn(expand-file-name "/address@hidden" nil)
    APA>   expand-file-name("/address@hidden")
    APA>   find-file-noselect("/address@hidden")
    APA>   find-file("/address@hidden" nil)
    APA>   #<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)
    APA>   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.

    APA> 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

    APA> No.

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

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

    APA> Quit
    APA> Entering debugger...
    APA> tramp: Setting shell prompt
    APA> tramp: Waiting 30s for `unset CDPATH'
    APA> tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
    APA> tramp: Waiting 30s for `set +o vi +o emacs'
    APA> tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
    APA> tramp: Determining coding system
    APA> tramp: Setting up remote shell environment
    APA> tramp: Waiting 30s for remote `/bin/sh' to come up...
    APA> tramp: Initializing remote shell
    APA> tramp: Waiting 60s for shell or passwd prompt from xemacs.sf.net
    APA> 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)


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



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




reply via email to

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