From: Michael Albinus Date: Fri, 17 Sep 2021 05:29:01 +0000 (+0200) Subject: Fix annoyance in tramp-smb.el X-Git-Tag: emacs-28.0.90~913 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a462ccd5364fef1d9b439dad81908a09be5eb1ba;p=emacs.git Fix annoyance in tramp-smb.el * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Add "TERM=dumb". --- diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index fa5bce74bb1..5c2d7d008a8 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el @@ -2049,7 +2049,10 @@ If ARGUMENT is non-nil, use it as argument for (let* ((coding-system-for-read nil) (process-connection-type tramp-process-connection-type) (p (let ((default-directory - (tramp-compat-temporary-file-directory))) + (tramp-compat-temporary-file-directory)) + (process-environment + (cons (concat "TERM=" tramp-terminal-type) + process-environment))) (apply #'start-process (tramp-get-connection-name vec) (tramp-get-connection-buffer vec)