[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tramp (2.2.1); Tramp hangs while trying to connect
From: |
Chow Loong Jin |
Subject: |
tramp (2.2.1); Tramp hangs while trying to connect |
Date: |
Sun, 27 Mar 2011 13:32:16 +0800 |
Enter your bug report in this message, including as much detail
as you possibly can about the problem, what you did to cause it
and what the local and remote machines are.
If you can give a simple set of instructions to make this bug
happen reliably, please include those. Thank you for helping
kill bugs in Tramp.
Before reproducing the bug, you might apply
M-x tramp-cleanup-all-connections
This allows to investigate from a clean environment. Another
useful thing to do is to put
(setq tramp-verbose 9)
in the ~/.emacs file and to repeat the bug. Then, include the
contents of the *tramp/foo* buffer and the *debug tramp/foo*
buffer in your bug report.
--bug report follows this line--
When connecting to a remote host, Tramp hangs, showing the rotating
progress indicator. However, the process that Tramp is supposed to be
executing (e.g. sudo or ssh) doesn't exist in the `ps -ef` output.
tramp-debug
Description: Tramp debug log
Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu)
of 2011-03-24 on dfontaine-laptop, modified by Debian
Package: tramp (2.2.1)
current state:
==============
(setq
backup-by-copying nil
backup-by-copying-when-linked nil
backup-by-copying-when-mismatch t
backup-by-copying-when-privileged-mismatch 200
backup-directory-alist '(("." . "/home/hyperair/.emacs.d/autobackups"))
file-name-handler-alist
'(("\\(?:\\.dz\\|\\.xz\\|\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:address@hidden(?:~[[:digit:]]+\\)?~\\)?\\'"
. jka-compr-handler)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" .
epa-file-handler)
("\\`/[^/]*\\'" .
tramp-completion-file-name-handler)
("\\`/\\([^[/:]+\\|[^/]+]\\):" .
tramp-file-name-handler)
("\\`/:" . file-name-non-special))
password-cache t
password-cache-expiry 16
remote-file-name-inhibit-cache 10
shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
tramp-actions-before-shell '((tramp-login-prompt-regexp
tramp-action-login)
(tramp-password-prompt-regexp
tramp-action-password)
(tramp-wrong-passwd-regexp
tramp-action-permission-denied)
(shell-prompt-pattern tramp-action-succeed)
(tramp-shell-prompt-pattern
tramp-action-succeed)
(tramp-yesno-prompt-regexp
tramp-action-yesno)
(tramp-yn-prompt-regexp tramp-action-yn)
(tramp-terminal-prompt-regexp
tramp-action-terminal)
(tramp-process-alive-regexp
tramp-action-process-alive)
)
tramp-actions-copy-out-of-band '((tramp-password-prompt-regexp
tramp-action-password)
(tramp-wrong-passwd-regexp
tramp-action-permission-denied)
(tramp-copy-failed-regexp
tramp-action-permission-denied)
(tramp-process-alive-regexp
tramp-action-out-of-band)
)
tramp-auto-save-directory nil
tramp-backup-directory-alist '((".*" . "~/.emacs.d/trampbackups"))
tramp-bug-report-address "address@hidden"
tramp-cache-data '(("#<process *tramp/ssh localhost*>"
("last-cmd-time" (19854 51601 866690)))
)
tramp-cache-data-changed t
tramp-cache-unload-hook '((lambda nil
(remove-hook (quote kill-emacs-hook)
(quote tramp-dump-connection-properties))
)
(lambda nil
(remove-hook (quote before-revert-hook)
(quote tramp-flush-file-function))
(remove-hook (quote eshell-pre-command-hook)
(quote tramp-flush-file-function))
(remove-hook (quote kill-buffer-hook)
(quote tramp-flush-file-function))
)
#[nil "\300\301\302\"\207"
[remove-hook kill-buffer-hook
tramp-delete-temp-file-function]
3]
)
tramp-chunksize nil
tramp-completion-file-name-handler-alist '((file-name-all-completions .
tramp-completion-handle-file-name-all-completions)
(file-name-completion .
tramp-completion-handle-file-name-completion)
)
tramp-completion-file-name-regexp "\\`/[^/]*\\'"
tramp-completion-file-name-regexp-separate "\\`/\\([[][^]]*\\)?\\'"
tramp-completion-file-name-regexp-unified "\\`/[^/]*\\'"
tramp-completion-file-name-regexp-url
"\\`/[^/:]+\\(:\\(/\\(/[^/]*\\)?\\)?\\)?\\'"
tramp-completion-function-alist '(("fcp"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("pscp"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("plink1"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("plink"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ksu"
(tramp-parse-passwd "/etc/passwd"))
("sudo"
(tramp-parse-passwd "/etc/passwd"))
("su"
(tramp-parse-passwd "/etc/passwd"))
("telnet"
(tramp-parse-hosts "/etc/hosts"))
("sshx"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ssh2_old"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ssh1_old"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ssh2"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ssh1"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("ssh"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("rsyncc"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("rsync"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("sftp"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("scpx"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("scpc"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("scp2"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("scp1"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
("scp"
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig "~/.ssh/config"))
)
tramp-completion-function-alist-putty '((tramp-parse-putty
"HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions")
)
tramp-completion-function-alist-rsh '((tramp-parse-rhosts
"/etc/hosts.equiv")
(tramp-parse-rhosts "~/.rhosts"))
tramp-completion-function-alist-ssh '((tramp-parse-rhosts
"/etc/hosts.equiv")
(tramp-parse-rhosts
"/etc/shosts.equiv")
(tramp-parse-shosts
"/etc/ssh_known_hosts")
(tramp-parse-sconfig
"/etc/ssh_config")
(tramp-parse-shostkeys
"/etc/ssh2/hostkeys")
(tramp-parse-sknownhosts
"/etc/ssh2/knownhosts")
(tramp-parse-rhosts "~/.rhosts")
(tramp-parse-rhosts "~/.shosts")
(tramp-parse-shosts
"~/.ssh/known_hosts")
(tramp-parse-sconfig
"~/.ssh/config")
)
tramp-completion-function-alist-su '((tramp-parse-passwd "/etc/passwd"))
tramp-completion-function-alist-telnet '((tramp-parse-hosts "/etc/hosts"))
tramp-completion-mode nil
tramp-completion-reread-directory-timeout 10
tramp-copy-failed-regexp "\\(.+: \\(No such file or directory\\|Permission
denied\\|is a directory\\|not a regular file\\)\\)\\s-*"
tramp-copy-size-limit 10240
tramp-current-host nil
tramp-current-method nil
tramp-current-user nil
tramp-debug-outline-regexp "[0-9]+:[0-9]+:[0-9]+\\.[0-9]+ [a-z0-9-]+
(\\([0-9]+\\)) #"
tramp-default-host "ipwn"
tramp-default-method "scp"
tramp-default-method-alist '((nil "%" "smb")
("\\`\\(127\\.0\\.0\\.1\\|::1\\|ipwn\\|localhost6?\\)\\'" "\\`root\\'" "su")
(nil "\\`\\(anonymous\\|ftp\\)\\'" "ftp")
("\\`ftp\\." nil "ftp"))
tramp-default-password-end-of-line "\n"
tramp-default-proxies-alist '(("^rmg$" "^root$" "/ssh:%h:")
("^192.168.1.3$" "^root$" "/ssh:%h:"))
tramp-default-user nil
tramp-default-user-alist '(("\\`smb\\'" nil nil)
("\\`\\(?:fcp\\|krlogin\\|p\\(?:link1?\\|s\\(?:\\(?:c\\|ft\\)p\\)\\)\\|r\\(?:cp\\|emcp\\|sh\\)\\|telnet\\)\\'"
nil "hyperair")
("\\`\\(?:ksu\\|su\\(?:do\\)?\\)\\'" nil
"root")
("\\`\\(?:socks\\|tunnel\\)\\'" nil "hyperair")
("\\`synce\\'" nil nil))
tramp-devices nil
tramp-domain-regexp "[-a-zA-Z0-9_.]+"
tramp-echo-mark "_echo"
tramp-echo-mark-marker "_echo"
tramp-echo-mark-marker-length 5
tramp-echoed-echo-mark-regexp "_echo\\(\\( \\)?\\)\\{5\\}"
tramp-encoding-command-switch "-c"
tramp-encoding-shell "/bin/sh"
tramp-end-of-output "///80b29cf0b56d1b5837b3e3b7c25e3886#$"
tramp-file-mode-type-map '((0 . "-") (1 . "p") (2 . "c") (3 . "m")
(4 . "d") (5 . "?") (6 . "b") (7 . "?")
(8 . "-") (9 . "n") (10 . "l") (11 . "?")
(12 . "s") (13 . "D") (14 . "w"))
tramp-file-name-regexp "\\`/\\([^[/:]+\\|[^/]+]\\):"
tramp-file-name-regexp-separate "\\`/\\[.*\\]"
tramp-file-name-regexp-unified "\\`/\\([^[/:]+\\|[^/]+]\\):"
tramp-file-name-regexp-url "\\`/[^/:]+://"
tramp-file-name-structure '("^/\\(\\([a-zA-Z_0-9-]+\\):\\)?\\(\\([^:/
]+\\)@\\)?\\(\\([a-zA-Z0-9_.-]+\\|\\[\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+]\\)\\(#[0-9]+\\)?\\)?:\\(.*$\\)"
2 4 5 8)
tramp-foreign-file-name-handler-alist '((tramp-smb-file-name-p .
tramp-smb-file-name-handler)
(tramp-ftp-file-name-p .
tramp-ftp-file-name-handler)
(identity .
tramp-sh-file-name-handler)
)
tramp-ftp-method "ftp"
tramp-gvfs-methods '("dav" "davs" "obex" "synce")
tramp-gw-socks-method "socks"
tramp-gw-tunnel-method "tunnel"
tramp-half-a-year '(241 17024)
tramp-handle-file-local-copy-hook nil
tramp-handle-write-region-hook nil
tramp-host-regexp "[a-zA-Z0-9_.-]+"
tramp-host-with-port-regexp "\\([a-zA-Z0-9_.-]+\\)#\\([0-9]+\\)"
tramp-initial-end-of-output "#$ "
tramp-inline-compress-commands '(("gzip" "gzip -d") ("bzip2" "bzip2 -d")
("compress" "compress -d"))
tramp-inline-compress-start-size 4096
tramp-inodes nil
tramp-ipv6-regexp "\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+"
tramp-local-coding-commands '((b64 base64-encode-region
base64-decode-region)
(uu tramp-uuencode-region
uudecode-decode-region)
(pack
"perl -e 'binmode STDIN; binmode STDOUT; print
pack(q{u*}, join q{}, <>)'" "perl -e 'binmode STDIN; binmode STDOUT; print
unpack(q{u*}, join q{}, <>)'")
)
tramp-local-host-regexp
"\\`\\(127\\.0\\.0\\.1\\|::1\\|ipwn\\|localhost6?\\)\\'"
tramp-localname-regexp ".*$"
tramp-locked nil
tramp-locker nil
tramp-login-prompt-regexp ".*ogin\\( .*\\)?: *"
tramp-message-show-message t
tramp-method-regexp "[a-zA-Z_0-9-]+"
tramp-methods '(("smb")
("fcp" (tramp-login-program "fsh")
(tramp-login-args (("%h") ("-l" "%u") ("sh" "-i")))
(tramp-remote-sh "/bin/sh -i")
(tramp-copy-program "fcp")
(tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t))
("psftp" (tramp-login-program "plink")
(tramp-login-args
(("-l" "%u") ("-P" "%p") ("-ssh") ("%h")))
(tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp")
(tramp-copy-args
(("-P" "%p") ("-sftp") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-password-end-of-line "xy"))
("pscp" (tramp-login-program "plink")
(tramp-login-args
(("-l" "%u") ("-P" "%p") ("-ssh") ("%h")))
(tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp")
(tramp-copy-args
(("-P" "%p") ("-scp") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-password-end-of-line "xy")
(tramp-default-port 22))
("plinkx" (tramp-login-program "plink")
(tramp-login-args
(("-load") ("%h") ("-t")
("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '")
("/bin/sh"))
)
(tramp-remote-sh "/bin/sh"))
("plink1" (tramp-login-program "plink")
(tramp-login-args
(("-l" "%u") ("-P" "%p") ("-1" "-ssh") ("%h")))
(tramp-remote-sh "/bin/sh")
(tramp-password-end-of-line "xy")
(tramp-default-port 22))
("plink" (tramp-login-program "plink")
(tramp-login-args
(("-l" "%u") ("-P" "%p") ("-ssh") ("%h")))
(tramp-remote-sh "/bin/sh")
(tramp-password-end-of-line "xy")
(tramp-default-port 22))
("krlogin" (tramp-login-program "krlogin")
(tramp-login-args (("%h") ("-l" "%u") ("-x")))
(tramp-remote-sh "/bin/sh"))
("ksu" (tramp-login-program "ksu")
(tramp-login-args (("%u") ("-q")))
(tramp-remote-sh "/bin/sh"))
("sudo" (tramp-login-program "sudo")
(tramp-login-args
(("-u" "%u") ("-s") ("-H") ("-p" "Password:")))
(tramp-remote-sh "/bin/sh"))
("su" (tramp-login-program "su")
(tramp-login-args (("-") ("%u")))
(tramp-remote-sh "/bin/sh"))
("telnet" (tramp-login-program "telnet")
(tramp-login-args (("%h") ("%p")))
(tramp-remote-sh "/bin/sh") (tramp-default-port 23))
("sshx" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("-t" "-t")
("%h") ("/bin/sh"))
)
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("ssh2" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-2") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("ssh1" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-1") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("ssh" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("remsh" (tramp-login-program "remsh")
(tramp-login-args (("%h") ("-l" "%u")))
(tramp-remote-sh "/bin/sh"))
("rsh" (tramp-login-program "rsh")
(tramp-login-args (("%h") ("-l" "%u")))
(tramp-remote-sh "/bin/sh"))
("rsyncc" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p")
("-o" "address@hidden:%%p")
("-o" "ControlMaster=yes") ("-e" "none") ("%h"))
)
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "rsync")
(tramp-copy-args (("-t" "%k") ("-r")))
(tramp-copy-env
(("RSYNC_RSH")
("ssh -o address@hidden:%%p -o ControlMaster=auto")
)
)
(tramp-copy-keep-date t) (tramp-copy-keep-tmpfile t)
(tramp-copy-recursive t))
("rsync" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "rsync")
(tramp-copy-args (("-e" "ssh") ("-t" "%k") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-keep-tmpfile t)
(tramp-copy-recursive t))
("sftp" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "sftp"))
("scpx" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("-t" "-t")
("%h") ("/bin/sh"))
)
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "scp")
(tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("scpc" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p")
("-o" "address@hidden:%%p")
("-o" "ControlMaster=yes") ("-e" "none") ("%h"))
)
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "scp")
(tramp-copy-args
(("-P" "%p") ("-p" "%k") ("-q") ("-r")
("-o" "address@hidden:%%p")
("-o" "ControlMaster=auto"))
)
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("scp2" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-2") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "scp")
(tramp-copy-args
(("-2") ("-P" "%p") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("scp1" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-1") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "scp")
(tramp-copy-args
(("-1") ("-P" "%p") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("scp" (tramp-login-program "ssh")
(tramp-login-args
(("-l" "%u") ("-p" "%p") ("-e" "none") ("%h")))
(tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh")
(tramp-copy-program "scp")
(tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t)
(tramp-gw-args
(("-o" "GlobalKnownHostsFile=/dev/null")
("-o" "UserKnownHostsFile=/dev/null")
("-o" "StrictHostKeyChecking=no"))
)
(tramp-default-port 22))
("remcp" (tramp-login-program "remsh")
(tramp-login-args (("%h") ("-l" "%u")))
(tramp-remote-sh "/bin/sh") (tramp-copy-program "rcp")
(tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t))
("rcp" (tramp-login-program "rsh")
(tramp-login-args (("%h") ("-l" "%u")))
(tramp-remote-sh "/bin/sh") (tramp-copy-program "rcp")
(tramp-copy-args (("-p" "%k") ("-r")))
(tramp-copy-keep-date t) (tramp-copy-recursive t))
("ftp"))
tramp-mode t
tramp-operation-not-permitted-regexp "\\(preserving times.*\\|set
mode\\):\\s-*\\(Operation not permitted\\)"
tramp-parse-time-months '(("jan" . 1) ("feb" . 2) ("mar" . 3) ("apr" . 4)
("may" . 5) ("jun" . 6) ("jul" . 7) ("aug" . 8)
("sep" . 9) ("oct" . 10) ("nov" . 11)
("dec" . 12))
;; Variable encoded due to non-printable characters.
tramp-password-prompt-regexp (base64-decode-string
"Xi4qXChbcFBdYXNzd29yZFx8W3BQXWFzc3BocmFzZVwpLio6AD8gKg==")
tramp-perl-decode "%s -e '\n# This script contributed by Juanma Barranquero
<address@hidden>.\n# Copyright (C) 2002-2011 Free Software Foundation,
Inc.\nuse strict;\n\nmy %%trans = do {\n my $i = 0;\n map {($_,
substr(unpack(q(B8), chr $i++), 2, 6))}\n split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/)\n};\n\nmy
%%bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 ..
255;\n\nbinmode(\\*STDOUT);\n\n# We are going to accumulate into $pending to
accept any line length\n# (we do not check they are <= 76 chars as the RFC
says)\nmy $pending = q();\n\nwhile (my $data = <STDIN>) {\n chomp $data;\n\n
# If we find one or two =, we have reached the end and\n # any following
data is to be discarded\n my $finished = $data =~ s/(==?).*/$1/;\n
$pending .= $data;\n\n my $len = length($pending);\n my $chunk =
substr($pending, 0, $len & ~3);\n $pending = substr($pending, $len & ~3 +
1);\n\n # Easy method: translate from chars to (pregenerated) six-bit
packets, join,\n # split in 8-bit chunks and convert back to char.\n
print join q(),\n map $bytes{$_},\n ((join q(), map {$trans{$_} ||
q()} split //, $chunk) =~ /......../g);\n\n last if $finished;\n}'
2>/dev/null"
tramp-perl-decode-with-module "%s -MMIME::Base64 -0777 -ne 'print
decode_base64($_)' 2>/dev/null"
tramp-perl-directory-files-and-attributes "%s -e '\nchdir($ARGV[0]) or
printf(\"\\\"Cannot change to $ARGV[0]: $''!''\\\"\\n\"),
exit();\nopendir(DIR,\".\") or printf(\"\\\"Cannot open directory $ARGV[0]:
$''!''\\\"\\n\"), exit();address@hidden = readdir(DIR);\nclosedir(DIR);\n$n =
scalar(@list);\nprintf(\"(\\n\");\nfor($i = 0; $i < $n; $i++)\n{\n $filename
= $list[$i];\n @stat = lstat($filename);\n if (($stat[2] & 0170000) ==
0120000)\n {\n $type = readlink($filename);\n $type =
\"\\\"$type\\\"\";\n }\n elsif (($stat[2] & 0170000) == 040000)\n {\n
$type = \"t\";\n }\n else\n {\n $type = \"nil\"\n };\n
$uid = ($ARGV[1] eq \"integer\") ? $stat[4] : \"\\\"\" . getpwuid($stat[4])
. \"\\\"\";\n $gid = ($ARGV[1] eq \"integer\") ? $stat[5] : \"\\\"\" .
getgrgid($stat[5]) . \"\\\"\";\n printf(\n \"(\\\"%%s\\\" %%s %%u %%s
%%s (%%u %%u) (%%u %%u) (%%u %%u) %%u.0 %%u t (%%u . %%u) (%%u . %%u))\\n\",\n
$filename,\n $type,\n $stat[3],\n $uid,\n
$gid,\n $stat[8] >> 16 & 0xffff,\n $stat[8] & 0xffff,\n
$stat[9] >> 16 & 0xffff,\n $stat[9] & 0xffff,\n $stat[10] >> 16 &
0xffff,\n $stat[10] & 0xffff,\n $stat[7],\n $stat[2],\n
$stat[1] >> 16 & 0xffff,\n $stat[1] & 0xffff,\n $stat[0] >>
16 & 0xffff,\n $stat[0] & 0xffff);\n}\nprintf(\")\\n\");' \"$1\" \"$2\"
2>/dev/null"
tramp-perl-encode "%s -e '\n# This script contributed by Juanma Barranquero
<address@hidden>.\n# Copyright (C) 2002-2011 Free Software Foundation,
Inc.\nuse strict;\n\nmy %%trans = do {\n my $i = 0;\n map
{(substr(unpack(q(B8), chr $i++), 2, 6), $_)}\n split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/);\n};\n\nbinmode(\\*STDIN);\n\n#
We read in chunks of 54 bytes, to generate output lines\n# of 72 chars (plus
end of line)\n$/ = \\54;\n\nwhile (my $data = <STDIN>) {\n my $pad =
q();\n\n # Only for the last chunk, and only if did not fill the last
three-byte packet\n if (eof) {\n my $mod = length($data) %% 3;\n
$pad = q(=) x (3 - $mod) if $mod;\n }\n\n # Not the fastest method, but
it is simple: unpack to binary string, split\n # by groups of 6 bits and
convert back from binary to byte; then map into\n # the translation table\n
print\n join q(),\n map($trans{$_},\n
(substr(unpack(q(B*), $data) . q(00000), 0, 432) =~ /....../g)),\n
$pad,\n qq(\\n);\n}' 2>/dev/null"
tramp-perl-encode-with-module "%s -MMIME::Base64 -0777 -ne 'print
encode_base64($_)' 2>/dev/null"
tramp-perl-file-attributes "%s -e 'address@hidden = lstat($ARGV[0]);\nif
(address@hidden) {\n print \"nil\\n\";\n exit 0;\n}\nif (($stat[2] &
0170000) == 0120000)\n{\n $type = readlink($ARGV[0]);\n $type =
\"\\\"$type\\\"\";\n}\nelsif (($stat[2] & 0170000) == 040000)\n{\n $type =
\"t\";\n}\nelse\n{\n $type = \"nil\"\n};\n$uid = ($ARGV[1] eq \"integer\") ?
$stat[4] : \"\\\"\" . getpwuid($stat[4]) . \"\\\"\";\n$gid = ($ARGV[1] eq
\"integer\") ? $stat[5] : \"\\\"\" . getgrgid($stat[5]) . \"\\\"\";\nprintf(\n
\"(%%s %%u %%s %%s (%%u %%u) (%%u %%u) (%%u %%u) %%u.0 %%u t (%%u . %%u)
-1)\\n\",\n $type,\n $stat[3],\n $uid,\n $gid,\n $stat[8] >> 16
& 0xffff,\n $stat[8] & 0xffff,\n $stat[9] >> 16 & 0xffff,\n $stat[9] &
0xffff,\n $stat[10] >> 16 & 0xffff,\n $stat[10] & 0xffff,\n
$stat[7],\n $stat[2],\n $stat[1] >> 16 & 0xffff,\n $stat[1] &
0xffff\n);' \"$1\" \"$2\" 2>/dev/null"
tramp-perl-file-name-all-completions "%s -e 'sub case {\n my $str = shift;\n
if ($ARGV[2]) {\n return lc($str);\n }\n else {\n return $str;\n
}\n}\nopendir(d, $ARGV[0]) || die(\"$ARGV[0]: $!\\nfail\\n\");address@hidden =
readdir(d); closedir(d);\nforeach $f (@files) {\n if (case(substr($f, 0,
length($ARGV[1]))) eq case($ARGV[1])) {\n if (-d \"$ARGV[0]/$f\") {\n print
\"$f/\\n\";\n }\n else {\n print \"$f\\n\";\n }\n }\n}\nprint \"ok\\n\"\n'
\"$1\" \"$2\" \"$3\" 2>/dev/null"
tramp-perl-file-truename "%s -e '\nuse File::Spec;\nuse Cwd
\"realpath\";\n\nsub recursive {\n my ($volume, @dirs) = @_;\n my $real =
realpath(File::Spec->catpath(\n $volume,
File::Spec->catdir(@dirs), \"\"));\n if ($real) {\n my ($vol, $dir) =
File::Spec->splitpath($real, 1);\n return ($vol,
File::Spec->splitdir($dir));\n }\n else {\n my $last =
pop(@dirs);\n ($volume, @dirs) = recursive($volume, @dirs);\n
push(@dirs, $last);\n return ($volume, @dirs);\n }\n}\n\n$result =
realpath($ARGV[0]);\nif (!$result) {\n my ($vol, $dir) =
File::Spec->splitpath($ARGV[0], 1);\n ($vol, @dirs) = recursive($vol,
File::Spec->splitdir($dir));\n\n $result = File::Spec->catpath($vol,
File::Spec->catdir(@dirs), \"\");\n}\n\nif ($ARGV[0] =~ /\\/$/) {\n $result
= $result . \"/\";\n}\n\nprint \"\\\"$result\\\"\\n\";\n' \"$1\" 2>/dev/null"
tramp-persistency-file-name "/home/hyperair/.emacs.d/tramp"
tramp-port-regexp "[0-9]+"
tramp-postfix-host-format ":"
tramp-postfix-host-regexp ":"
tramp-postfix-ipv6-format "]"
tramp-postfix-ipv6-regexp "]"
tramp-postfix-method-format ":"
tramp-postfix-method-regexp ":"
tramp-postfix-user-format "@"
tramp-postfix-user-regexp "@"
tramp-prefix-domain-format "%"
tramp-prefix-domain-regexp "%"
tramp-prefix-format "/"
tramp-prefix-ipv6-format "["
tramp-prefix-ipv6-regexp "\\["
tramp-prefix-port-format "#"
tramp-prefix-port-regexp "#"
tramp-prefix-regexp "^/"
tramp-process-alive-regexp ""
tramp-process-connection-type t
tramp-remote-coding-commands '((b64 "base64" "base64 -d -i")
(b64 "base64" "base64 -d")
(b64 "mimencode -b" "mimencode -u -b")
(b64 "mmencode -b" "mmencode -u -b")
(b64 "recode data..base64"
"recode base64..data")
(b64 tramp-perl-encode-with-module
tramp-perl-decode-with-module)
(b64 tramp-perl-encode tramp-perl-decode)
(uu "uuencode xxx"
"uudecode -o /dev/stdout")
(uu "uuencode xxx" "uudecode -o -")
(uu "uuencode xxx" "uudecode -p")
(uu "uuencode xxx" tramp-uudecode)
(pack
"perl -e 'binmode STDIN; binmode STDOUT; print
pack(q{u*}, join q{}, <>)'" "perl -e 'binmode STDIN; binmode STDOUT; print
unpack(q{u*}, join q{}, <>)'")
)
tramp-remote-path '(tramp-default-remote-path "/usr/sbin"
"/usr/local/bin" "/local/bin" "/local/freeware/bin"
"/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin"
"/usr/contrib/bin")
tramp-remote-process-environment '("HISTFILE=$HOME/.tramp_history"
"HISTSIZE=1" "LC_ALL=C" "TERM=dumb"
"EMACS=t"
"INSIDE_EMACS='24.0.50.1,tramp:2.2.1'"
"CDPATH=" "HISTORY=" "MAIL="
"MAILCHECK=" "MAILPATH="
"autocorrect=" "correct=")
tramp-rfn-eshadow-overlay nil
tramp-rfn-eshadow-update-overlay-regexp "[^:/~]*\\(/\\|~\\)"
tramp-root-regexp "\\`/"
tramp-rsh-end-of-line "\n"
tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile"))
tramp-sh-file-name-handler-alist '((load . tramp-handle-load)
(make-symbolic-link .
tramp-sh-handle-make-symbolic-link)
(file-name-as-directory .
tramp-handle-file-name-as-directory)
(file-name-directory .
tramp-handle-file-name-directory)
(file-name-nondirectory .
tramp-handle-file-name-nondirectory)
(file-truename .
tramp-sh-handle-file-truename)
(file-exists-p .
tramp-sh-handle-file-exists-p)
(file-directory-p .
tramp-sh-handle-file-directory-p)
(file-executable-p .
tramp-sh-handle-file-executable-p)
(file-readable-p .
tramp-sh-handle-file-readable-p)
(file-regular-p .
tramp-handle-file-regular-p)
(file-symlink-p .
tramp-handle-file-symlink-p)
(file-writable-p .
tramp-sh-handle-file-writable-p)
(file-ownership-preserved-p .
tramp-sh-handle-file-ownership-preserved-p)
(file-newer-than-file-p .
tramp-sh-handle-file-newer-than-file-p)
(file-attributes .
tramp-sh-handle-file-attributes)
(file-modes . tramp-handle-file-modes)
(directory-files .
tramp-handle-directory-files)
(directory-files-and-attributes .
tramp-sh-handle-directory-files-and-attributes)
(file-name-all-completions .
tramp-sh-handle-file-name-all-completions)
(file-name-completion .
tramp-handle-file-name-completion)
(add-name-to-file .
tramp-sh-handle-add-name-to-file)
(copy-file . tramp-sh-handle-copy-file)
(copy-directory .
tramp-sh-handle-copy-directory)
(rename-file .
tramp-sh-handle-rename-file)
(set-file-modes .
tramp-sh-handle-set-file-modes)
(set-file-times .
tramp-sh-handle-set-file-times)
(make-directory .
tramp-sh-handle-make-directory)
(delete-directory .
tramp-sh-handle-delete-directory)
(delete-file .
tramp-sh-handle-delete-file)
(directory-file-name .
tramp-handle-directory-file-name)
(executable-find .
tramp-sh-handle-executable-find)
(start-file-process .
tramp-sh-handle-start-file-process)
(process-file .
tramp-sh-handle-process-file)
(shell-command .
tramp-sh-handle-shell-command)
(insert-directory .
tramp-sh-handle-insert-directory)
(expand-file-name .
tramp-sh-handle-expand-file-name)
(substitute-in-file-name .
tramp-handle-substitute-in-file-name)
(file-local-copy .
tramp-sh-handle-file-local-copy)
(file-remote-p .
tramp-handle-file-remote-p)
(insert-file-contents .
tramp-handle-insert-file-contents)
(insert-file-contents-literally .
tramp-sh-handle-insert-file-contents-literally)
(write-region .
tramp-sh-handle-write-region)
(find-backup-file-name .
tramp-handle-find-backup-file-name)
(make-auto-save-file-name .
tramp-sh-handle-make-auto-save-file-name)
(unhandled-file-name-directory .
tramp-handle-unhandled-file-name-directory)
(dired-compress-file .
tramp-sh-handle-dired-compress-file)
(dired-recursive-delete-directory .
tramp-sh-handle-dired-recursive-delete-directory)
(dired-uncache .
tramp-handle-dired-uncache)
(set-visited-file-modtime .
tramp-sh-handle-set-visited-file-modtime)
(verify-visited-file-modtime .
tramp-sh-handle-verify-visited-file-modtime)
(file-selinux-context .
tramp-sh-handle-file-selinux-context)
(set-file-selinux-context .
tramp-sh-handle-set-file-selinux-context)
(vc-registered .
tramp-sh-handle-vc-registered)
)
;; Variable encoded due to non-printable characters.
tramp-shell-prompt-pattern (base64-decode-string
"XCg/Ol5cfA1cKVteIyQlPgpdKlsjJCU+XSAqXCgbXFtbMC05O10qW2EtekEtWl0gKlwpKg==")
tramp-smb-method "smb"
tramp-syntax 'ftp
tramp-temp-buffer-file-name nil
tramp-temp-buffer-name " *tramp temp*"
tramp-temp-name-prefix "tramp."
tramp-terminal-prompt-regexp "\\(TERM = (.*)\\|Terminal type\\?
\\[.*\\]\\)\\s-*"
tramp-terminal-type "dumb"
tramp-unload-hook '(#[nil "\300\301\302\"\207"
[unload-feature tramp-cmds force] 3]
#[nil "\300\301\302\"\207"
[unload-feature tramp-sh force] 3]
#[nil "\300\301\302\"\207"
[remove-hook find-file-hooks tramp-set-auto-save] 3]
#[nil "\300\301\302\"\207"
[unload-feature tramp-cache force] 3]
#[nil "\300\301\302\"\207"
[remove-hook auto-save-hook
tramp-set-auto-save-file-modes]
3]
tramp-unload-file-name-handlers
#[nil "\300\301\302\"\207"
[remove-hook rfn-eshadow-update-overlay-hook
tramp-rfn-eshadow-update-overlay]
3]
#[nil "\300\301\302\"\207"
[remove-hook rfn-eshadow-setup-minibuffer-hook
tramp-rfn-eshadow-setup-minibuffer]
3]
#[nil "\300\301\302\"\207"
[unload-feature tramp-compat force] 3]
)
tramp-user-regexp "[^:/ ]+"
tramp-user-with-domain-regexp "\\([^:/ ]+\\)%\\([-a-zA-Z0-9_.]+\\)"
tramp-uudecode "(echo begin 600 /tmp/tramp.$$; tail +2) | uudecode\ncat
/tmp/tramp.$$\nrm -f /tmp/tramp.$$"
tramp-vc-registered-file-names nil
tramp-vc-registered-read-file-names "echo \"(\"\nwhile read file; do\n if
%s \"$file\"; then\n echo \"(\\\"$file\\\" \\\"file-exists-p\\\" t)\"\n
else\n echo \"(\\\"$file\\\" \\\"file-exists-p\\\" nil)\"\n fi\n if %s
\"$file\"; then\n echo \"(\\\"$file\\\" \\\"file-readable-p\\\" t)\"\n
else\n echo \"(\\\"$file\\\" \\\"file-readable-p\\\" nil)\"\n
fi\ndone\necho \")\""
tramp-verbose 3
tramp-version "2.2.1"
tramp-wrong-passwd-regexp "^.*\\(Connection
\\(?:\\(?:clo\\|refu\\)sed\\)\\|Host key verification failed\\.\\|Login
\\(?:[Ii]ncorrect\\)\\|N\\(?:ame or service not known\\|o supported
authentication methods left to try!\\)\\|Permission denied\\|\\(?:Sorry, try
again\\|Timeout, server not responding\\)\\.\\).*\\|^.*\\(Received signal
[0-9]+\\).*"
tramp-yesno-prompt-regexp "\\(Are you sure you want to continue connecting
(yes/no)\\?\\)\\s-*"
tramp-yn-prompt-regexp "\\(\\(?:Store key in cache\\? (y/\\|Update cached
key\\? (y/n, Return cancels connectio\\)n)\\)\\s-*"
)
--
Kind regards,
Loong Jin
load-path shadows:
==================
- tramp (2.2.1); Tramp hangs while trying to connect,
Chow Loong Jin <=