diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2020-10-31 11:29:06 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-10-31 11:29:06 +0100 |
commit | dc16c70bada4c8520b8363d3df154dd6dd389ef9 (patch) | |
tree | 7f1a671096569a7e5ca3d16b6c6f15faf77e7bf8 | |
parent | 96ec0340716292f577f6dcaa0f8102f1a04e1d5e (diff) | |
download | emacs-dc16c70bada4c8520b8363d3df154dd6dd389ef9.tar.gz |
Check also for "DragonFly" remote systems in Tramp
* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Check also for "DragonFly".
-rw-r--r-- | lisp/net/tramp-sh.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index e65d376effc..f1b45ee851e 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -480,7 +480,7 @@ The string is used in `tramp-methods'.") ;; HP-UX: /usr/bin:/usr/ccs/bin:/opt/ansic/bin:/opt/langtools/bin:/opt/fortran/bin ;; Solaris: /usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin ;; GNU/Linux (Debian, Suse, RHEL): /bin:/usr/bin -;; FreeBSD: /usr/bin:/bin:/usr/sbin:/sbin: - beware trailing ":"! +;; FreeBSD, DragonFly: /usr/bin:/bin:/usr/sbin:/sbin: - beware trailing ":"! ;; Darwin: /usr/bin:/bin:/usr/sbin:/sbin ;; IRIX64: /usr/bin ;; QNAP QTS: --- @@ -4388,7 +4388,7 @@ process to set up. VEC specifies the connection." (t (tramp-message vec 5 "Checking remote host type for `send-process-string' bug") - (if (string-match-p "^FreeBSD" uname) 500 0)))) + (if (string-match-p "FreeBSD\\|DragonFly" uname) 500 0)))) ;; Set remote PATH variable. (tramp-set-remote-path vec) @@ -4415,7 +4415,7 @@ process to set up. VEC specifies the connection." (tramp-send-command vec "set +H" t)) ;; Disable tab expansion. - (if (string-match-p "BSD\\|Darwin" uname) + (if (string-match-p "BSD\\|DragonFly\\|Darwin" uname) (tramp-send-command vec "stty tabs" t) (tramp-send-command vec "stty tab0" t)) |