This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tramp on NT emacs


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro▀johann) writes:

> Oh, no!  What can we do?  I'm pretty sure I stopped using 2>/dev/null
> at some point, and for a reason.

Since I just want to try to get tramp working on NT emacs with
stock cygwin utils, I made the following two changes in my
tramp.el:

--- tramp/lisp/tramp.el	Wed Mar 28 15:44:30 2001
+++ .elisp/tramp.el	Mon Apr 23 13:43:52 2001
@@ -2802,7 +2802,7 @@
       (setq result
             (tramp-send-command-and-check
              multi-method method user host
-             (format "%s -lnd / >/dev/null 2>&1"
+             (format "%s -lnd / >/dev/null "
                      cmd)))
       (tramp-message 7 "Testing remote command `%s' for -n...%s"
                    cmd
@@ -3729,7 +3729,7 @@
 a subshell, ie surrounded by parentheses."
   (tramp-send-command multi-method method user host
                       (concat (if subshell "( " "")
-                              command
+                              command " 2> /dev/null"
                               (if command " ; " "")
                               "echo tramp_exit_status $?"
                               (if subshell " )" "")))


This, allowed me to get as far as a dir listing (but, strangely,
only if I did `(setq tramp-debug-buffer t)' after the first
complaint about not seeing an exit status).

Back to square one?

Mark.

-- 
		      ommnes exeunt in mysterium
		     All Things Lead into Mystery

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]