Hi, Long time Emacs user, just starting with tramp.
I have the latest NTEmacs (emacs-version 24.2.50.1) and the latest tramp (2.2.7 pre although I have also tried 2.2.6) and now have the system working with cygwin. I am having trouble with file completion however. Firstly, C-x C-f / and then putting anything in and pressing <tab> gives [No Match]. Whether the "anything" is just one letter or a fully qualified name. The following both give (the machine & account are reachable via ssh without passwords) [No match]: C-x C-f /s<tab> C-x C-f /sshx:[email protected]:/home<tab> The return value is immediate and no debug is put in any debug buffer with tramp-verbose set to 10. If I press <enter> after the fully qualified name, tramp connects vis ssh and I get a dired buffer with the contents of the directory, so: C-x C-f /sshx:[email protected]:~/<enter> gives me the users home directory and C-x C-f /sshx:[email protected]:/home<enter> gives me the contents of /home Once I have connected via sshx, I can browse the filesystem with <tab> without having to press <enter> so I can manipulate the filename appropriately so both: C-x C-f /sshx:[email protected]:/home<tab> and C-x C-f /sshx:[email protected]:/<tab> will list the directories once connected. If I delete back past the last colon, <tab> no longer works so: C-x C-f /sshx:[email protected]:<tab> will list / on xbmc.home whilst C-x C-f /sshx:[email protected]<tab> gives [No match]. I have also tried Cygwin emacs which behaves slightly better in that when you press <tab> after you have put in the first / of the filesystem (i.e. you type C-x C-f /sshx:[email protected]:/<tab>) it will connect (so I don't have to type <enter> to make it connect) but other than that, it behaves identically by refusing to expand anything before the fully qualified colon. xemacs from cygwin is so old (2010) that it won't compile the latest releases of tramp so I gave up on that. Neither xemacs or Cygwin emacs give the integration with Windows that NTEmacs does, so I would like to get this sorted at source. In searching, I found a thread on the archives (http://lists.gnu.org/archive/html/tramp-devel/2008-02/msg00019.html) which had similar problems back in 2008 with xemacs which looked to be the way a Windows system mangles / to drives, but the code there is way old compared to the one I am using. I know that Windows isn't the ideal platform for shells and uniformity, but any ideas on how to get this working properly - the tramp-bug report is below? Thanks Andy ------ Emacs : GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601) of 2012-08-24 on YAMALOK Package: tramp (2.2.6) 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 nil file-name-handler-alist '(("\\(?:\\.dz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'" . jka-compr-handler) ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler) ("\\`/[^/]\\{2,\\}\\'" . tramp-completion-file-name-handler) ("\\`/\\([^[/|:]\\{2,\\}\\|[^/|]\\{2,\\}]\\):" . tramp-file-name-handler) ("^/cygdrive/[A-Za-z]/" . cygwin-mount-map-drive-hook-function) ("^//[A-Za-z]/" . cygwin-mount-map-drive-hook-function) ("^/[^:@]*$\\|^/|/[^/:]+\\(\\'\\|/\\)" . cygwin-mount-name-hook-function) ("\\`/:" . 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 "~/.autosave" tramp-backup-directory-alist nil tramp-bug-report-address "[email protected]" tramp-cache-data '((["sshx" "xbmc" "pain.home" nil nil] ("uname" "Linux 3.2.0-32-generic") ("test" "test") ("remote-path" ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin")) ("remote-shell" "/bin/sh") ("busybox" nil) ("file-exists" "test -e") ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl") ("readlink" "\\readlink") ("stat" "\\stat") ("ls" "/bin/ls --color=never") ("id" "/usr/bin/id") ("gid-string" "xbmc") ("gid-integer" 1000) ("uid-integer" 1000) ("~" "/home/xbmc")) (["sshx" nil "pn" nil nil] ("uname" "Linux 3.2.0-32-generic") ("test" "test") ("remote-path" ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin")) ("remote-shell" "/bin/sh") ("busybox" nil) ("file-exists" "test -e") ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl") ("readlink" "\\readlink") ("stat" "\\stat") ("ls" "/bin/ls --color=never") ("id" "/usr/bin/id") ("gid-string" "xbmc") ("gid-integer" 1000) ("~" "/home/xbmc")) ) tramp-chunksize nil ;; Variable encoded due to non-printable characters. tramp-color-escape-sequence-regexp (base64-decode-string "G1tbOzAtOV0rbQ==") 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 "\\`/[^/]\\{2,\\}\\'" tramp-completion-file-name-regexp-separate "\\`/\\([[][^]]*\\)?\\'" tramp-completion-file-name-regexp-unified "\\`/[^/]\\{2,\\}\\'" tramp-completion-file-name-regexp-url "\\`/[^/:]+\\(:\\(/\\(/[^/]*\\)?\\)?\\)?\\'" tramp-completion-function-alist '(("fcp" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("pscp" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("plink1" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("plink" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("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-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("ssh2_old" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("ssh1_old" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("ssh2" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("ssh1" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("ssh" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("rsyncc" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("rsync" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("sftp" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("scpx" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("scpc" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("scp2" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("scp1" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts")) ("scp" (tramp-parse-sconfig "/etc/ssh_config") (tramp-parse-shosts "~/.ssh/known_hosts"))) 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-shosts "~/.ssh/known_hosts")) 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-connection nil 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 "BUSTER" tramp-default-method "sshx" tramp-default-method-alist '((nil "%" "smb") ("\\`\\(127\\.0\\.0\\.1\\|::1\\|BUSTER\\|localhost6?\\)\\'" "\\`root\\'" "su") (nil "\\`\\(anonymous\\|ftp\\)\\'" "ftp") ("\\`ftp\\." nil "ftp")) tramp-default-proxies-alist nil tramp-default-user nil tramp-default-user-alist '(("\\`smb\\'" nil nil) ("\\`\\(?:fcp\\|krlogin\\|r\\(?:cp\\|emcp\\|sh\\)\\|telnet\\)\\'" nil "Andy") ("\\`\\(?:ksu\\|su\\(?:do\\)?\\)\\'" nil "root") ("\\`\\(?:socks\\|tunnel\\)\\'" nil "Andy") ("\\`synce\\'" nil nil)) tramp-devices 0 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-efs-method "ftp" tramp-encoding-command-interactive "-i" tramp-encoding-command-switch "-c" tramp-encoding-shell "sh" tramp-end-of-output "///48b48b877529a72e5f6f5fe27d0a0fcc#$" 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 "\\`/\\([^[/|:]\\{2,\\}\\|[^/|]\\{2,\\}]\\):" tramp-file-name-regexp-separate "\\`/\\[.*\\]" tramp-file-name-regexp-unified "\\`/\\([^[/|:]\\{2,\\}\\|[^/|]\\{2,\\}]\\):" 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]+\\)?\\)?|\\)+\\)?\\(?:\\([a-zA-Z_0-9-]+\\):\\)?\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.-]+\\|\\[\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+]\\)\\(?:#[0-9]+\\)?\\)?:\\(.*$\\)" 5 6 7 8 1) tramp-foreign-file-name-handler-alist '((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") ("xz" "xz -d") ("compress" "compress -d")) tramp-inline-compress-start-size 4096 tramp-inodes 0 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{}, <>)'") ) ;; Variable encoded due to non-printable characters. tramp-local-end-of-line (base64-decode-string "DQo=") tramp-local-host-regexp "\\`\\(127\\.0\\.0\\.1\\|::1\\|BUSTER\\|localhost6?\\)\\'" tramp-localname-regexp ".*$" tramp-locked nil tramp-locker nil tramp-login-prompt-regexp ".*ogin\\( .*\\)?: *" tramp-message-show-message t tramp-message-show-progress-reporter-message t tramp-method-regexp "[a-zA-Z_0-9-]+" tramp-methods '(("fcp" (tramp-login-program "fsh") (tramp-login-args (("%h") ("-l" "%u") ("sh" "-i"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-i") ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "pscp") (tramp-copy-args (("-l" "%u") ("-P" "%p") ("-sftp") ("-p" "%k") ("-q") ("-r"))) (tramp-copy-keep-date t) (tramp-copy-recursive t)) ("pscp" (tramp-login-program "plink") (tramp-login-args (("-l" "%u") ("-P" "%p") ("-ssh") ("%h"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "pscp") (tramp-copy-args (("-l" "%u") ("-P" "%p") ("-scp") ("-p" "%k") ("-q") ("-r"))) (tramp-copy-keep-date t) (tramp-copy-recursive t) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("plink1" (tramp-login-program "plink") (tramp-login-args (("-l" "%u") ("-P" "%p") ("-1" "-ssh") ("%h"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-default-port 22)) ("plink" (tramp-login-program "plink") (tramp-login-args (("-l" "%u") ("-P" "%p") ("-ssh") ("%h"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-default-port 22)) ("krlogin" (tramp-login-program "krlogin") (tramp-login-args (("%h") ("-l" "%u") ("-x"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("ksu" (tramp-login-program "ksu") (tramp-login-args (("%u") ("-q"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("sudo" (tramp-login-program "sudo") (tramp-login-args (("-u" "%u") ("-s") ("-H") ("-p" "Password:"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("su" (tramp-login-program "su") (tramp-login-args (("-") ("%u"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("telnet" (tramp-login-program "telnet") (tramp-login-args (("%h") ("%p"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("rsh" (tramp-login-program "rsh") (tramp-login-args (("%h") ("-l" "%u"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))) ("rsyncc" (tramp-login-program "ssh") (tramp-login-args (("-l" "%u") ("-p" "%p") ("-o" "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=yes") ("-e" "none") ("%h"))) (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "rsync") (tramp-copy-args (("-t" "%k") ("-r"))) (tramp-copy-env (("RSYNC_RSH") ("ssh -o ControlPath=%t.%%r@%%h:%%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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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" "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=yes") ("-e" "none") ("%h"))) (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (tramp-copy-program "scp") (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("-o" "ControlPath=%t.%%r@%%h:%%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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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-shell "/bin/sh") (tramp-remote-shell-args ("-c")) (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 <[email protected]>.\n# Copyright (C) 2002-2012 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();\n@list = 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 <[email protected]>.\n# Copyright (C) 2002-2012 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 '\n@stat = lstat($ARGV[0]);\nif (!@stat) {\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\");\n@files = 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-port-regexp "[0-9]+" tramp-postfix-hop-format "|" tramp-postfix-hop-regexp "|" 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" "test -c /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-file-name-spec-regexp "\\(?:\\([a-zA-Z_0-9-]+\\):\\)?\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.-]+\\|\\[\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+]\\)\\(?:#[0-9]+\\)?\\)?" tramp-remote-path '(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin") tramp-remote-process-environment '("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C" "TERM=dumb" "EMACS=t" "INSIDE_EMACS='24.2.50.1,tramp:2.2.6'" "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=\"\"" "autocorrect=" "correct=") tramp-restricted-shell-hosts-alist '("\\`BUSTER\\'") tramp-rfn-eshadow-overlay nil tramp-rfn-eshadow-update-overlay-regexp "[^:/~]*\\(/\\|~\\)" tramp-rsh-end-of-line "\n" tramp-save-ad-hoc-proxies nil 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-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/Ol5cfA1cKVteXSMkJT4KXSojP1tdIyQlPl0gKlwoG1xbWzAtOTtdKlthLXpBLVpdICpcKSo=") 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-cache force] 3] #[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" [remove-hook auto-save-hook tramp-set-auto-save-file-modes] 3] #[nil "\300\301\302\"\207" [remove-hook kill-buffer-hook tramp-delete-temp-file-function] 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.6" 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-*" ) load-path shadows: ================== ~/.xemacs/site-lisp/trampver hides c:/Program Files/emacs/current/lisp/net/trampver ~/.xemacs/site-lisp/tramp hides c:/Program Files/emacs/current/lisp/net/tramp ~/.xemacs/site-lisp/tramp-uu hides c:/Program Files/emacs/current/lisp/net/tramp-uu ~/.xemacs/site-lisp/tramp-smb hides c:/Program Files/emacs/current/lisp/net/tramp-smb ~/.xemacs/site-lisp/tramp-sh hides c:/Program Files/emacs/current/lisp/net/tramp-sh ~/.xemacs/site-lisp/tramp-loaddefs hides c:/Program Files/emacs/current/lisp/net/tramp-loaddefs ~/.xemacs/site-lisp/tramp-gw hides c:/Program Files/emacs/current/lisp/net/tramp-gw ~/.xemacs/site-lisp/tramp-ftp hides c:/Program Files/emacs/current/lisp/net/tramp-ftp ~/.xemacs/site-lisp/tramp-compat hides c:/Program Files/emacs/current/lisp/net/tramp-compat ~/.xemacs/site-lisp/tramp-cmds hides c:/Program Files/emacs/current/lisp/net/tramp-cmds ~/.xemacs/site-lisp/tramp-cache hides c:/Program Files/emacs/current/lisp/net/tramp-cache _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
