|
Line 0
Link Here
|
|
|
1 |
--- lisp/net/tramp-sh.el.orig 2019-07-25 19:41:28 UTC |
| 2 |
+++ lisp/net/tramp-sh.el |
| 3 |
@@ -4059,6 +4059,7 @@ process to set up. VEC specifies the connection." |
| 4 |
|
| 5 |
;; Disable echo expansion. |
| 6 |
(tramp-message vec 5 "Setting up remote shell environment") |
| 7 |
+ (tramp-send-command vec "set +o vi +o emacs" t) |
| 8 |
(tramp-send-command |
| 9 |
vec "stty -inlcr -onlcr -echo kill '^U' erase '^H'" t) |
| 10 |
;; Check whether the echo has really been disabled. Some |
| 11 |
@@ -4127,8 +4128,6 @@ process to set up. VEC specifies the connection." |
| 12 |
(set-process-coding-system proc cs-decode cs-encode) |
| 13 |
(tramp-message |
| 14 |
vec 5 "Setting coding system to `%s' and `%s'" cs-decode cs-encode))) |
| 15 |
- |
| 16 |
- (tramp-send-command vec "set +o vi +o emacs" t) |
| 17 |
|
| 18 |
;; Check whether the remote host suffers from buggy |
| 19 |
;; `send-process-string'. This is known for FreeBSD (see comment |