unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
Subject: [Eric Hanchrow <offby1@blarg.net>] Re: Latin1 language environment breaks Cygwin shell buffer
Date: 31 Mar 2002 00:04:48 -0800	[thread overview]
Message-ID: <87u1qxqi1r.fsf@blarg.net> (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

             reply	other threads:[~2002-03-31  8:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-31  8:04 Eric Hanchrow [this message]
2002-03-31 11:59 ` [Eric Hanchrow <offby1@blarg.net>] Re: Latin1 language environment breaks Cygwin shell buffer Eli Zaretskii
2002-03-31 16:17   ` Eric Hanchrow
2002-03-31 19:27     ` Eli Zaretskii
2002-03-31 20:16       ` Eric Hanchrow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u1qxqi1r.fsf@blarg.net \
    --to=offby1@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).