Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: Kai.Grossjohann@cs.uni-dortmund.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Cc: mah@everybody.org (Mark A. Hershberger),
        Keith Amidon <camalot@picnicpark.org>,
        "rcp.el mailing list" <emacs-rcp@amaunet.cs.uni-dortmund.de>,
        ntemacs-users@cs.washington.edu, cygwin@cygwin.com
Subject: Re: tramp on NT emacs
References: <87u24cunip.fsf@mah.mcdermott.com>
	<864rvfipjf.fsf@camalot.picnicpark.org>
	<877l0btsli.fsf@mah.mcdermott.com>
	<vaf66fv1orb.fsf@lucy.cs.uni-dortmund.de>
From: mah@everybody.org (Mark A. Hershberger)
X-URL: http://mah.everybody.org/
Date: 23 Apr 2001 14:05:53 -0500
In-Reply-To: <vaf66fv1orb.fsf@lucy.cs.uni-dortmund.de>
Message-ID: <87wv8bsage.fsf@mah.mcdermott.com>
Lines: 42
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.102
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id PAA04649

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

