delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/21:09:20

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
From: "Jonadab the Unsightly One" <jonadab AT bright DOT net>
Organization: There is no organisation.
To: cygwin AT cygwin DOT com
Date: Wed, 18 Jul 2001 21:08:18 -0400
MIME-Version: 1.0
Subject: Re: backslash difference in NTEmacs/CygWin in compile buffer
Reply-to: jonadab AT bright DOT net
Message-ID: <3B55FAC2.20176.CF5E8C@localhost>
In-reply-to: <3B55A06F.5BCD8744@digitalfocus.com>
X-Eric-Conspiracy: My name is not Eric.
X-Platform: Windows '95 OSR2 (heavily adjusted and customised)
X-mailer: Pegasus Mail for Win32 (v3.12)

# In NTEmacs with CygWin bash, if I do M-x compile RET and give a command of
# "echo \x \\x \\\x", I get a result of "x x \x".
# 
# In Emacs on Linux bash, if I do M-x compile RET and give a command of
# "echo \x \\x \\\x", I get a result of "x \x \x", as expcted.
[...] 
# Any ideas where to look?

This *may* have to do with the way NTEmacs invokes whatever
shell you use (using, I _think_, cmdproxy.exe or somesuch),
although the Emacs internals are really beyond me.  But
that is one possible place to look.  Can you reproduce
the behavior with another shell (say, command.com or
cmd.exe) in an Emacs shell buffer?  Or is it bash specific?
(I realise the quoting would have to be different to 
work with another shell, but what I'm getting at here is 
whether Emacs is eating the quoting before it gets to bash 
or whatever.)  

It might also be interesting to test with a non-Cygwin
Windows port of bash, to verify whether that makes any
difference.  I believe there is a DJGPP port of bash
that should be able to run in Windows.  

-- 
Your font seems to be:    proportional     fixed
                                             ^
                                             |

(Fontmeter only accurate for about 90% of fonts.)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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