Christian Faulhammer <[EMAIL PROTECTED]> writes: > Hi,
Hi, > A user reported a problem with tramp and su after an upgrade of > Linux-PAM and libpwd in > <URL:http://bugs.gentoo.org/show_bug.cgi?id=197444>. We boiled it down > to a problem with the prompt of su not being in English. The regexp in > tramp-password-prompt-regexp only catches English output, so calling > su with LC_ALL=C works perfectly fine. `tramp-password-prompt-regexp' is a user option intended for customization. Localized prompts could be defined here. However, the appended patch might solve the problem as well. Could you, please, (let) test? > V-Li Best regards, Michael. *** /media/disk/tramp/lisp/tramp.el Mon Oct 29 09:49:18 2007 --- /home/albinus/src/tramp/lisp/tramp.el Tue Oct 30 16:20:04 2007 *************** *** 6066,6071 **** --- 6066,6072 ---- (when (and p (processp p)) (delete-process p)) (setenv "TERM" tramp-terminal-type) + (setenv "LC_ALL" "C") (setenv "PROMPT_COMMAND") (setenv "PS1" "$ ") (let* ((target-alist (tramp-compute-multi-hops vec)) _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
