changeset 79298:3e6cbd5009b5

*** empty log message ***
author Michael Albinus <michael.albinus@gmx.de>
date Wed, 31 Oct 2007 20:48:52 +0000
parents d03e9eca4102
children 6ba7088444ec
files lisp/ChangeLog lisp/net/tramp.el
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 31 18:45:14 2007 +0000
+++ b/lisp/ChangeLog	Wed Oct 31 20:48:52 2007 +0000
@@ -1,3 +1,9 @@
+2007-10-31  Michael Albinus  <michael.albinus@gmx.de>
+
+	* net/tramp.el (tramp-open-connection-telnet)
+	(tramp-open-connection-rsh, tramp-open-connection-su)
+	(tramp-open-connection-multi): Set $LC_ALL to "C".
+
 2007-10-31  Sven Joachim  <svenjoac@gmx.de>
 
 	* dired-aux.el (dired-copy-file-recursive):
--- a/lisp/net/tramp.el	Wed Oct 31 18:45:14 2007 +0000
+++ b/lisp/net/tramp.el	Wed Oct 31 20:48:52 2007 +0000
@@ -5712,6 +5712,7 @@
 		   (or user (user-login-name)) host method)
     (let ((process-environment (copy-sequence process-environment)))
       (setenv "TERM" tramp-terminal-type)
+      (setenv "LC_ALL" "C")
       (setenv "PROMPT_COMMAND")
       (setenv "PS1" "$ ")
       (let* ((default-directory (tramp-temporary-file-directory))
@@ -5794,6 +5795,7 @@
 	(setq login-args (cons "-p" (cons (match-string 2 host) login-args)))
 	(setq real-host (match-string 1 host)))
       (setenv "TERM" tramp-terminal-type)
+      (setenv "LC_ALL" "C")
       (setenv "PROMPT_COMMAND")
       (setenv "PS1" "$ ")
       (let* ((default-directory (tramp-temporary-file-directory))
@@ -5847,6 +5849,7 @@
 		   (or user "<root>") method)
     (let ((process-environment (copy-sequence process-environment)))
       (setenv "TERM" tramp-terminal-type)
+      (setenv "LC_ALL" "C")
       (setenv "PROMPT_COMMAND")
       (setenv "PS1" "$ ")
       (let* ((default-directory (tramp-temporary-file-directory))
@@ -5913,6 +5916,7 @@
     (tramp-message 7 "Opening `%s' connection..." multi-method)
     (let ((process-environment (copy-sequence process-environment)))
       (setenv "TERM" tramp-terminal-type)
+      (setenv "LC_ALL" "C")
       (setenv "PROMPT_COMMAND")
       (setenv "PS1" "$ ")
       (let* ((default-directory (tramp-temporary-file-directory))