delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/22/21:23:36

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: cygwin AT sourceware DOT cygnus DOT com
Subject: Setting CYGWIN=nobinmode fixes some things, breaks others
From: dkarr AT tcsi DOT com (David M. Karr)
Date: 22 Jan 2001 17:51:02 -0800
Message-ID: <uy8zo3yr21.fsf@tcsi.com>
Lines: 26
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6
MIME-Version: 1.0

I've got Cygwin configured with Unix text mode.  I'm using non-cygwin
NTEmacs and NT ClearCase.  I've got most things working reasonably
well.

However, I noticed that when I filter a region in Emacs with
"shell-command-on-region", to, say, "sort", the resulting output has
^Ms on each line.

I thought I'd solved this by setting the envvar "CYGWIN" to
"nobinmode".  This fixed this problem, however, it then caused other
even worse behavior.  I have some Perl code that communicates through
pipes to a "cleartool" process.  With this change, I find that reads
on output for simple cleartool commands block forever.  I don't know
why this is happening.  The only way to fix this is to go back to no
CYGWIN setting.

Is this simply another result of the fact that NTEmacs isn't built
with Cygwin?  I would guess that NTEmacs doesn't build out of the box
with Cygwin.  Is it really the case that going to Cygwin-built XEmacs
will fix these problems and not load me up with other unexpected
problems?

-- 
===================================================================
David M. Karr     ; w:(425)487-8312     ; TCSI & Best Consulting
dkarr AT tcsi DOT com    ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
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