From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs Subject: [Eric Hanchrow ] Re: Latin1 language environment breaks Cygwin shell buffer Date: 31 Mar 2002 00:04:48 -0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87u1qxqi1r.fsf@blarg.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1017561980 11417 127.0.0.1 (31 Mar 2002 08:06:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2002 08:06:20 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16raM0-0002y2-00 for ; Sun, 31 Mar 2002 10:06:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16raLw-0007X1-00; Sun, 31 Mar 2002 03:06:16 -0500 Original-Received: from lists.blarg.net ([206.124.128.17]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16raKZ-0007Mr-00 for ; Sun, 31 Mar 2002 03:04:51 -0500 Original-Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 9586EBCD3 for ; Sun, 31 Mar 2002 00:04:49 -0800 (PST) Original-Received: from offby1 (offby1.atm01.sea.blarg.net [206.124.138.125]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id AAA15533 for ; Sun, 31 Mar 2002 00:04:48 -0800 Original-Received: from offby1 by offby1 with local (Exim 3.35 #1 (Debian)) id 16raKW-0007lr-00 for ; Sun, 31 Mar 2002 00:04:48 -0800 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 86 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:322 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:322 --=-=-= I'm forwarding this because I forgot to keep the mailing list on the Cc: line as Eli requested --=-=-= Content-Type: message/rfc822 Content-Disposition: inline X-From-Line: nobody Sun Mar 31 00:02:12 2002 To: Eli Zaretskii Subject: Re: Latin1 language environment breaks Cygwin shell buffer References: From: Eric Hanchrow Date: 31 Mar 2002 00:02:11 -0800 In-Reply-To: Message-ID: <87y9g9qi64.fsf@blarg.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Lines: 74 Xref: offby1 sent:10415 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Eli" == Eli Zaretskii writes: Eli> AFAIK, `emacs' does not open a console window for quite some Eli> time. You're right. Old habits die hard. But: `emacs' itself also sets those variables. >> Also, what about your settings of process-coding-system? What >> is it in both language environments you used default-process-coding-system's value is (iso-latin-1-dos . iso-latin-1-dos) and process-coding-system-alist's value is nil Eli> Then it's probably not something related to CR characters ... Eli> how come `od' shows \r characters in the output of `echo'? I'm 99% sure it is indeed related to CR characters; I think `od' shows \r in the output of `echo' because they were passed as *input* to `echo'. Here's another experiment I did that will convince you (at least, it convinced me): I typed ls RET , three keystrokes, into the buffer, and saw (as I described before) : command not found ... precisely what I see if, on a GNU/Linux system (also Emacs 21.2, bash 2.05a.0, same .emacs.el file) I type ls C-q C-v C-q C-m (control-V is the shell's "quote-the-next-character" character) So Bash on Win32 is behaving precisely as Bash on GNU/Linux behaves, if I quote the carriage-return. Similarly, if I type ls SPC RET to Win32 Emacs, I see : No such file or directory ... precisely what I see on GNU/Linux when I type ls SPC C-q C-v C-q C-m In other words, `ls' is getting a single argument, of a single character, namely carriage-return. Why Bash isn't treating it as whitespace is a mystery. Eli> Something strange is going on here, and you probably need a Eli> Cygwin guru to help you out. I suggest to ask on the Cygwin Eli> mailing list. That makes sense. --=-=-= -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 --=-=-=--