tramp-devel
[Top][All Lists]
Advanced

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

GDB over TRAMP: problem with user I/O


From: Vladilen Kozin
Subject: GDB over TRAMP: problem with user I/O
Date: Thu, 7 Dec 2017 20:22:24 +0000

Hi.

Cross-posting from emacs-help, since unfrotunately I haven't received
any pointers. This may not even be a bug but some weird interplay
between TRAMP / GDB / IO buffer or TTY.

Ran into problem with GDB over TRAMP. To me it looks like a bug in TRAMP
but could be that I've missed some settings required for such
setup. Hence posting here instead of bugs for now.

Setup is described in more details below, but in a nutshell:
- target machine with code to debug runs a vanilla Linux,
- Emacs on the host machine starts multi window GDB session over TRAMP,
works fine,
- excep I/O buffer gets intercepted by (probably) remote shell, so user
input can't be passed to the process being debugged (see below).

Source code being debugged
--------------------------
#include <stdio.h>
#include <stdlib.h>

int main()
{
     int num;
     printf ("Enter the number: ");
     scanf ("%d", &num );

     printf("Your number %d\n", num);
     exit(0);
}

Makefile executed on Target
---------------------------
CFLAGS = -std=c99 -pedantic -Wall -O2 -fPIC
DEBUG = -g -std=c99 -pedantic -Wall -O0 -fPIC

debug: fact.c
$(CC) $(DEBUG) $(LDFLAGS) -o $@ $< $(LDLIBS)

clean:
$(RM) -rf *.o *.so fact debug debug.dSYM


Remote debug session started from Host
--------------------------------------
M-x gdb
gdb -i=mi /fact:/vagrant/debug

Relevant GDB windows:

*gud-debug*
-----------
Reading symbols from /vagrant/debug...done.
(gdb) run
Starting program: /vagrant/debug

*input/output of debug*
-----------------------
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
Enter the number: 3
/bin/sh: 22: 3: not found
///fe8a2e50a45c66d598f9ae7a276764a2#$

Notice how the input prompt in IO buffer appears fine and awaits for
user entry, but said entry gets snatched by /bin/sh and wouldn't let me
send it to the process debugged.

Note that running the same debug session locally works out fine, user
input doesn't get stolen.

I managed to reproduce this with absolutely barebones setup.

Emacs Host
----------
GNU Emacs 25.3.1 (x86_64-apple-darwin17.2.0, NS appkit-1561.10
Version 10.13.1 (Build 17B48)) of 2017-11-12

Debug Target
------------
address@hidden:/vagrant$ uname -a
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10
20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

init.el
-------
(require 'gdb-mi)
(require 'tramp)

(setq gdb-many-windows t
      gdb-show-main t)

(setq tramp-default-method "ssh"
      tramp-default-user "vagrant")

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(unless (file-exists-p (concat user-emacs-directory "elpa/archives/melpa"))
  (package-refresh-contents))

(defvar required-packages '(exec-path-from-shell))

(let ((install #'(lambda (package)
                   (unless (package-installed-p package)
                     (package-install package))
                   (require package))))
  (message "Installing required packages %s" required-packages)
  (mapc install required-packages)
  (delete-other-windows))

(exec-path-from-shell-initialize)


Setting tramp-debug-on-error to true, doesn't show anything.


M-x tramp-bug
=============

Emacs  : GNU Emacs 25.3.1 (x86_64-apple-darwin17.2.0, NS appkit-1561.10 Version 10.13.1 (Build 17B48))
 of 2017-11-12
Package: tramp (2.2.13.25.2)

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\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.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-adb-connect-if-not-connected nil
 tramp-adb-method "adb"
 tramp-adb-program "adb"
 tramp-adb-prompt "(decode-coding-string (base64-decode-string \"XlwoPzpbWzpkaWdpdDpdXSp8P1wpP1woPzpbWzphbG51bTpdGztbXSpAW1s6YWxudW06XV0qW14j\nXCRdKlwpP1sjXCRdW1s6c3BhY2U6XV0=\") 'raw-text)"
 tramp-auto-save-directory nil
 tramp-backup-directory-alist nil
 tramp-bluez-discover-devices-timeout 60
 tramp-bug-report-address "address@hidden"
 tramp-cache-data '((["ssh" "vagrant" "fact" nil nil] ("uname" "Linux 3.2.0-23-generic")
    ("locale" "LC_ALL=en_US.utf8") ("test" "test")
    ("remote-path"
     ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin"
      "/usr/local/sbin")
     )
    ("remote-shell" "/bin/sh") ("~" "/home/vagrant")
    ("file-exists" "test -e") ("stat" "\\stat") ("id" "/usr/bin/id")
    ("gid-integer" 1000) ("gid-string" "vagrant") ("perl-file-spec" t)
    ("perl-cwd-realpath" t) ("perl" "\\perl")
    ("ls" "/bin/ls --color=never") ("ls-dired" t) ("readlink" "\\readlink"))
   )
 tramp-chunksize nil
 tramp-color-escape-sequence-regexp "(decode-coding-string (base64-decode-string \"G1tbOzAtOV0rbQ==\") 'raw-text)"
 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-function-alist '(("fcp" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("psftp" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("pscp" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("plink" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("krlogin" (tramp-parse-rhosts "/etc/hosts.equiv"))
  ("ksu" (tramp-parse-passwd "/etc/passwd"))
  ("sudo" (tramp-parse-passwd "/etc/passwd"))
  ("su" (tramp-parse-passwd "/etc/passwd"))
  ("nc" (tramp-parse-hosts "/etc/hosts"))
  ("telnet" (tramp-parse-hosts "/etc/hosts"))
  ("sshx" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("ssh" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("remsh" (tramp-parse-rhosts "/etc/hosts.equiv"))
  ("rsh" (tramp-parse-rhosts "/etc/hosts.equiv"))
  ("rsync" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("scpx" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("scp" (tramp-parse-rhosts "/etc/hosts.equiv")
   (tramp-parse-shosts "~/.ssh/known_hosts")
   (tramp-parse-sconfig "~/.ssh/config"))
  ("remcp" (tramp-parse-rhosts "/etc/hosts.equiv"))
  ("rcp" (tramp-parse-rhosts "/etc/hosts.equiv"))
  ("adb" (tramp-adb-parse-device-names "")))
 tramp-completion-function-alist-putty '((tramp-parse-putty "~/.putty/sessions"))
 tramp-completion-function-alist-rsh '((tramp-parse-rhosts "/etc/hosts.equiv"))
 tramp-completion-function-alist-ssh '((tramp-parse-rhosts "/etc/hosts.equiv")
      (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-connection-min-time-diff 5
 tramp-connection-properties nil
 tramp-connection-timeout 60
 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-on-error nil
 tramp-debug-outline-regexp "[0-9]+:[0-9]+:[0-9]+\\.[0-9]+ [a-z0-9-]+ (\\([0-9]+\\)) #"
 tramp-default-host "VLADILENs-MacBook-Pro.local"
 tramp-default-host-alist '(("adb" nil ""))
 tramp-default-method "ssh"
 tramp-default-method-alist '((nil "%" "smb")
     ("\\`\\(127\\.0\\.0\\.1\\|::1\\|VLADILENs-MacBook-Pro\\.local\\|localhost6?\\)\\'" "\\`root\\'" "su")
     (nil "\\`\\(anonymous\\|ftp\\)\\'" "ftp")
     ("\\`ftp\\." nil "ftp"))
 tramp-default-proxies-alist nil
 tramp-default-user "vagrant"
 tramp-default-user-alist '(("\\`smb\\'" nil nil)
   ("\\`\\(?:fcp\\|krlogin\\|nc\\|r\\(?:cp\\|emcp\\|sh\\)\\|telnet\\)\\'" nil "russki")
   ("\\`\\(?:ksu\\|su\\(?:do\\)?\\)\\'" nil "root")
   ("\\`\\(?:socks\\|tunnel\\)\\'" nil "russki")
   ("\\`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-encoding-command-interactive "-i"
 tramp-encoding-command-switch "-c"
 tramp-encoding-shell "/bin/sh"
 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-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-smb-file-name-p .
 tramp-smb-file-name-handler)
(tramp-gvfs-file-name-p .
 tramp-gvfs-file-name-handler)
(tramp-ftp-file-name-p .
 tramp-ftp-file-name-handler)
(tramp-adb-file-name-p .
 tramp-adb-file-name-handler)
(identity . tramp-sh-file-name-handler))
 tramp-ftp-method "ftp"
 tramp-gvfs-methods '("afp" "dav" "davs" "obex" "sftp" "synce")
 tramp-gvfs-zeroconf-domain "local"
 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-histfile-override "~/.tramp_history"
 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-start-size 4096
 tramp-inodes 0
 tramp-ipv6-regexp "\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+"
 tramp-local-end-of-line "\n"
 tramp-local-host-regexp "\\`\\(127\\.0\\.0\\.1\\|::1\\|VLADILENs-MacBook-Pro\\.local\\|localhost6?\\)\\'"
 tramp-localname-regexp ".*$"
 tramp-locked nil
 tramp-locker nil
 tramp-login-prompt-regexp ".*\\(user\\|login\\)\\( .*\\)?: *"
 tramp-message-show-message t
 tramp-method-regexp "[a-zA-Z_0-9-]+"
 tramp-methods '(("smb" (tramp-remote-shell "") (tramp-tmpdir "/C$/Temp"))
("fcp" (tramp-login-program "fsh")
 (tramp-login-args (("%h") ("-l" "%u") ("sh" "-i")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (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") ("-t") ("%h") ("\"")
   ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
  )
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (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") ("-t") ("%h") ("\"")
   ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
  )
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (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-login ("-l"))
 (tramp-remote-shell-args ("-c")))
("plink" (tramp-login-program "plink")
 (tramp-login-args
  (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
   ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
  )
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (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-login ("-l"))
 (tramp-remote-shell-args ("-c")))
("ksu" (tramp-login-program "ksu") (tramp-login-args (("%u") ("-q")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (tramp-remote-shell-args ("-c")) (tramp-connection-timeout 10))
("sudo" (tramp-login-program "sudo")
 (tramp-login-args
  (("-u" "%u") ("-s") ("-H")
   ("-p" "P\"\"a\"\"s\"\"s\"\"w\"\"o\"\"r\"\"d\"\":"))
  )
 (tramp-login-env (("SHELL") ("/bin/sh"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
 (tramp-connection-timeout 10))
("su" (tramp-login-program "su") (tramp-login-args (("-") ("%u")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (tramp-remote-shell-args ("-c")) (tramp-connection-timeout 10))
("nc" (tramp-login-program "telnet")
 (tramp-login-args (("%h") ("%p") ("2>/dev/null")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (tramp-remote-shell-args ("-c")) (tramp-copy-program "nc")
 (tramp-copy-args (("-w" "1") ("-v") ("%h") ("%r")))
 (tramp-remote-copy-program "nc")
 (tramp-remote-copy-args (("-l") ("-p" "%r") ("2>/dev/null")))
 (tramp-default-port 23))
("telnet" (tramp-login-program "telnet")
 (tramp-login-args (("%h") ("%p") ("2>/dev/null")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (tramp-remote-shell-args ("-c")) (tramp-default-port 23))
("sshx" (tramp-login-program "ssh")
 (tramp-login-args
  (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h")
   ("/bin/sh"))
  )
 (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (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") ("%c") ("-e" "none") ("%h")))
 (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (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-login ("-l")) (tramp-remote-shell-args ("-c")))
("rsh" (tramp-login-program "rsh") (tramp-login-args (("%h") ("-l" "%u")))
 (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
 (tramp-remote-shell-args ("-c")))
("rsync" (tramp-login-program "ssh")
 (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("%h")))
 (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
 (tramp-copy-program "rsync") (tramp-copy-args (("-t" "%k") ("-r")))
 (tramp-copy-env (("RSYNC_RSH") ("ssh" "%c"))) (tramp-copy-keep-date t)
 (tramp-copy-keep-tmpfile t) (tramp-copy-recursive t))
("scpx" (tramp-login-program "ssh")
 (tramp-login-args
  (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h")
   ("/bin/sh"))
  )
 (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
 (tramp-copy-program "scp")
 (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c")))
 (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") ("%c") ("-e" "none") ("%h")))
 (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
 (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
 (tramp-copy-program "scp")
 (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c")))
 (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-login ("-l")) (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-login ("-l"))
 (tramp-remote-shell-args ("-c")) (tramp-copy-program "rcp")
 (tramp-copy-args (("-p" "%k") ("-r"))) (tramp-copy-keep-date t)
 (tramp-copy-recursive t))
("synce") ("sftp") ("obex") ("davs") ("dav") ("afp") ("ftp")
("adb" (tramp-tmpdir "/data/local/tmp") (tramp-default-port 5555)))
 tramp-mode t
 tramp-obsolete-methods '("ssh1" "ssh2" "scp1" "scp2" "scpc" "rsyncc" "plink1")
 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))
 tramp-password-prompt-regexp "(decode-coding-string (base64-decode-string \"Xi4qXChcKD86YWRnYW5nc2tvZGVcfGNvbnRyYXNlXCg/OlwoPzpueVx8w7FcKWFcKVx8Z2VzbG9c\nfGhcKD86XCg/OmFzxYJcfGVzbFwpb1wpXHxpcGhhc2l3ZWRpXHxqZWxzesOzXHxsXCg/Om96aW5r\nYVx8w7ZzZW5vcmRcKVx8bVwoPzpvdCBkZSBwYXNzZVx84bqtdCBraOG6qXVcKVx8cGFcKD86cm9s\nYVx8c1woPzphaGl0emFcfHNcKD86IHBocmFzZVx8Y29kZVx8b3JkXHxwaHJhc2VcfHdvcltkdF1c\nKVx8dm9ydG9cKVwpXHxzXCg/OmFsYXNhbmFcfGVuaGFcfGxhcHRhxb5vZGlzXClcfHdhY2h0d29v\ncmRcfNC70L7Qt9C40L3QutCwXHzQv9Cw0YDQvtC70YxcfNeh16HXnteUXHzZg9mE2YXYqSDYp9mE\n2LPYsVx84KSX4KWB4KSq4KWN4KSk4KS24KSs4KWN4KSmXHzgpLbgpKzgpY3gpKbgpJXgpYLgpJ9c\nfOCml+CngeCmquCnjeCmpOCmtuCmrOCnjeCmplx84Kaq4Ka+4Ka44KaT4Kef4Ka+4Kaw4KeN4Kah\nXHzgqKrgqL7gqLjgqLXgqLDgqKFcfOCqquCqvuCquOCqteCqsOCrjeCqoVx84Kyq4K2N4Kyw4Kys\n4K2H4Ky2IOCsuOCsmeCtjeCsleCth+CspFx84K6V4K6f4K614K+B4K6a4K+N4K6a4K+K4K6y4K+N\nXHzgsLjgsILgsJXgsYfgsKTgsKrgsKbgsK7gsYFcfOCyl+CzgeCyquCzjeCypOCyquCyplx84LSF\n4LSf4LSv4LS+4LSz4LS14LS+4LSV4LWN4LSV4LWNXHzgtrvgt4Tgt4Pgt4rgtrTgtq/gtrpcfOGe\nluGetuGegOGfkuGemeGen+GemOGfkuGehOGetuGej+Gfi1x844OR44K544Ov44O844OJXHzlr4Zb\n56CB56K8XVx87JWU7Zi4XClcKS4qOgA/ICo=\") 'raw-text)"
 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-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 '("TMOUT=0" "LC_CTYPE=''" "TERM=dumb"
   "INSIDE_EMACS='25.3.1,tramp:2.2.13.25.2'" "CDPATH="
   "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat"
   "autocorrect=" "correct=")
 tramp-restricted-shell-hosts-alist nil
 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-shell-prompt-pattern "(decode-coding-string (base64-decode-string \"XCg/Ol5cfA1cKVteXSMkJT4KXSojP1tdIyQlPl0gKlwoG1xbWzAtOTtdKlthLXpBLVpdICpcKSo=\") 'raw-text)"
 tramp-smb-acl-program "smbcacls"
 tramp-smb-conf "/dev/null"
 tramp-smb-method "smb"
 tramp-smb-program "smbclient"
 tramp-smb-winexe-program "winexe"
 tramp-smb-winexe-shell-command "powershell.exe"
 tramp-smb-winexe-shell-command-switch "-file -"
 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"
      [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\"\210\300\303\302\"\207"
      [unload-feature tramp-loaddefs force tramp-compat] 3]
    #[nil "\300\301\302\"\207" [unload-feature trampver force] 3])
 tramp-use-ssh-controlmaster-options t
 tramp-user-regexp "[^/|: ]+"
 tramp-user-with-domain-regexp "\\([^/|: ]+\\)%\\([-a-zA-Z0-9_.]+\\)"
 tramp-verbose 3
 tramp-version "2.2.13.25.2"
 tramp-warned-obsolete-methods nil
 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-*"
 )

local variables:
================
load-path shadows:
==================


--
Best regards
Vlad Kozin

reply via email to

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