delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/23/15:16:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: Kai DOT Grossjohann AT cs DOT uni-dortmund DOT de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Cc: mah AT everybody DOT org (Mark A. Hershberger),
Keith Amidon <camalot AT picnicpark DOT org>,
"rcp.el mailing list" <emacs-rcp AT amaunet DOT cs DOT uni-dortmund DOT de>,
ntemacs-users AT cs DOT washington DOT edu, cygwin AT cygwin DOT com
Subject: Re: tramp on NT emacs
References: <87u24cunip DOT fsf AT mah DOT mcdermott DOT com>
<864rvfipjf DOT fsf AT camalot DOT picnicpark DOT org>
<877l0btsli DOT fsf AT mah DOT mcdermott DOT com>
<vaf66fv1orb DOT fsf AT lucy DOT cs DOT uni-dortmund DOT de>
From: mah AT everybody DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id PAA04649

Kai DOT Grossjohann AT CS DOT Uni-Dortmund DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019