Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Lines: 26 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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