all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Eric Hanchrow <offby1@blarg.net>] Re: Latin1 language environment breaks Cygwin shell buffer
@ 2002-03-31  8:04 Eric Hanchrow
  2002-03-31 11:59 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Hanchrow @ 2002-03-31  8:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

I'm forwarding this because I forgot to keep the mailing list on the
Cc: line as Eli requested


[-- Attachment #2: Type: message/rfc822, Size: 2356 bytes --]

From: Eric Hanchrow <offby1@blarg.net>
To: Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: Latin1 language environment breaks Cygwin shell buffer
Date: 31 Mar 2002 00:02:11 -0800
Message-ID: <87y9g9qi64.fsf@blarg.net>

>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> 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.
 

[-- Attachment #3: Type: text/plain, Size: 74 bytes --]



-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-31 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-31  8:04 [Eric Hanchrow <offby1@blarg.net>] Re: Latin1 language environment breaks Cygwin shell buffer Eric Hanchrow
2002-03-31 11:59 ` Eli Zaretskii
2002-03-31 16:17   ` Eric Hanchrow
2002-03-31 19:27     ` Eli Zaretskii
2002-03-31 20:16       ` Eric Hanchrow

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.