mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Improve Tramp's make-process handling for Solaris
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Disable buffering also for remote Solaris hosts. Reported by Stacey Marshall <stacey.marshall@gmail.com>.
This commit is contained in:
parent
a7dffc2ea3
commit
1a2c29b531
1 changed files with 6 additions and 1 deletions
|
@ -3115,7 +3115,9 @@ will be used."
|
||||||
(let ((pid (tramp-send-command-and-read v "echo $$")))
|
(let ((pid (tramp-send-command-and-read v "echo $$")))
|
||||||
(setq p (tramp-get-connection-process v))
|
(setq p (tramp-get-connection-process v))
|
||||||
(process-put p 'remote-pid pid))
|
(process-put p 'remote-pid pid))
|
||||||
(when (memq connection-type '(nil pipe))
|
(when
|
||||||
|
(or (memq connection-type '(nil pipe))
|
||||||
|
(tramp-check-remote-uname v tramp-sunos-unames))
|
||||||
;; Disable carriage return to newline
|
;; Disable carriage return to newline
|
||||||
;; translation. This does not work on
|
;; translation. This does not work on
|
||||||
;; macOS, see Bug#50748.
|
;; macOS, see Bug#50748.
|
||||||
|
@ -3131,6 +3133,9 @@ will be used."
|
||||||
;; should set a timeout
|
;; should set a timeout
|
||||||
;; instead. See `tramp-pipe-stty-settings'.
|
;; instead. See `tramp-pipe-stty-settings'.
|
||||||
;; (Bug#62093)
|
;; (Bug#62093)
|
||||||
|
;; On Solaris, the maximum line length
|
||||||
|
;; depends also on MAX_CANON (256). So we
|
||||||
|
;; disable buffering as well.
|
||||||
;; FIXME: Shall we rather use "stty raw"?
|
;; FIXME: Shall we rather use "stty raw"?
|
||||||
(tramp-send-command
|
(tramp-send-command
|
||||||
v (format
|
v (format
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue