aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/tramp-sh.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index ebf646f26ff..6cd29c1ca6c 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -4288,6 +4288,10 @@ process to set up. VEC specifies the connection."
4288 (tramp-get-connection-property vec "uname" "")) 4288 (tramp-get-connection-property vec "uname" ""))
4289 (tramp-send-command vec "stty -oxtabs" t)) 4289 (tramp-send-command vec "stty -oxtabs" t))
4290 4290
4291 ;; Set utf8 encoding. Needed for Mac OS X, for example. This is
4292 ;; non-POSIX, so we must expect errors on some systems.
4293 (tramp-send-command vec "stty iutf8 2>/dev/null" t)
4294
4291 ;; Set `remote-tty' process property. 4295 ;; Set `remote-tty' process property.
4292 (let ((tty (tramp-send-command-and-read vec "echo \\\"`tty`\\\"" 'noerror))) 4296 (let ((tty (tramp-send-command-and-read vec "echo \\\"`tty`\\\"" 'noerror)))
4293 (unless (zerop (length tty)) 4297 (unless (zerop (length tty))