[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: external methods not working on cygwin emacs
From: |
Michael Albinus |
Subject: |
Re: external methods not working on cygwin emacs |
Date: |
Wed, 07 Jun 2006 18:20:14 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux) |
"James Yoo" <address@hidden> writes:
> Michael,
Hi James,
> It is strange, tramp dies saying that a sed command returned error.
> executing that same command via M-x shell works fine... other wise
> this version of tramp works with out-of-band methods when connecting
> to a linux box from cygwin.
I'm still not understanding what happens. Must be, as you said,
being related to the sed version on your remote Solaris machine.
Just a wild guess: Try the following patch (on top of recent tramp.el
from CVS):
*** /tmp/tramp.el.~1~ Wed Jun 7 18:11:06 2006
--- /tmp/tramp.el Wed Jun 7 18:11:06 2006
***************
*** 5178,5184 ****
"^FreeBSD"
(with-connection-property vec "uname"
(tramp-send-command-and-read
! vec "(uname -sr) 2>/dev/null | sed -e s/^/\\\"/ -e s/\\$/\\\"/")))
500 0))))
;; Set remote PATH variable.
(tramp-set-remote-path vec)
--- 5178,5184 ----
"^FreeBSD"
(with-connection-property vec "uname"
(tramp-send-command-and-read
! vec "(uname -sr) 2>/dev/null | sed -e 's/^/\\\"/' -e
's/\\$/\\\"/'")))
500 0))))
;; Set remote PATH variable.
(tramp-set-remote-path vec)
Best regards, Michael.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: external methods not working on cygwin emacs,
Michael Albinus <=