"Trent W. Buck" <[EMAIL PROTECTED]> writes:
> Recently, /sudo::/ stopped working on my home Debian Sid (unstable)
> workstation, even with -Q. My home network uses NIS and a
> root-squashed NFS /home. At work, also using NIS and root-squashed
> NFS /home, I cannot reproduce this problem on Debian Lenny (testing).
> At both sites, ~twb/.bashrc is not readable by root.
Could you, please, check whether the appended patch works? It is towards
the Tramp CVS (branch-2-0-stable), therefore line numbers might differ.
Best regards, Michael.
*** /home/albinus/src/tramp-stable/lisp/tramp.el.~2.359.2.116.~ 2007-10-31 21:36:49.000000000 +0100
--- /home/albinus/src/tramp-stable/lisp/tramp.el 2007-12-23 20:43:19.000000000 +0100
***************
*** 6256,6264 ****
;; the last time we sent a command, to avoid tramp-send-command to send
;; "echo are you awake".
(setq tramp-last-cmd-time (current-time))
(tramp-send-command
multi-method method user host
! (format "PROMPT_COMMAND=''; PS1='%s%s%s'; PS2=''; PS3=''"
tramp-rsh-end-of-line
tramp-end-of-output
tramp-rsh-end-of-line))
--- 6256,6273 ----
;; the last time we sent a command, to avoid tramp-send-command to send
;; "echo are you awake".
(setq tramp-last-cmd-time (current-time))
+ (tramp-send-command-internal multi-method method user host
+ "PROMPT_COMMAND=''")
+ (erase-buffer)
+ (tramp-send-command-internal multi-method method user host
+ "PS2=''")
+ (erase-buffer)
+ (tramp-send-command-internal multi-method method user host
+ "PS3=''")
+ (erase-buffer)
(tramp-send-command
multi-method method user host
! (format "PS1='%s%s%s'"
tramp-rsh-end-of-line
tramp-end-of-output
tramp-rsh-end-of-line))
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel