all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Latin1 language environment breaks Cygwin shell buffer
Date: Sun, 31 Mar 2002 08:08:58 +0200 (IST)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020331075836.14188I-100000@is> (raw)
In-Reply-To: <873cyhsly5.fsf@blarg.net>

[Please keep the mailing list on the CC.]

On 30 Mar 2002, Eric Hanchrow wrote:

> 
>     > (setq shell-file-name		"c:/cygwin/bin/bash")
>     > (setq explicit-shell-file-name	"c:/cygwin/bin/bash")
> 
>     ... Actually, I don't recommend setting these variables at all in
>     Emacs, but instead set up PATH and SHELL variables _outside_ Emacs
>     so that the right shell is found.
> 
> I wanted to do that, since it seems cleaner than setting Emacs
> variables, but the `runemacs' program appears to unconditionally set
> the SHELL variable to cmdproxy.exe.  (And I prefer `runemacs' to plain
> `emacs' since the former doesn't open a console window, which is
> annoying.)

AFAIK, `emacs' does not open a console window for quite some time.  When 
did you last try that, and how did you invoke Emacs when you did?

>     Also, what about your settings of process-coding-system?  What is
>     it in both language environments you used
> 
> Well, I didn't set it explicitly, as you can see, and I don't know how
> to find out what coding system is in effect.  Can you tell me which
> command to type to find out?

I believe the doc string of the `shell' command explains this.

>     does it help to use set-buffer-process-coding-system in the shell
>     buffer so that Emacs decodes Bash output with undecided-dos?
> 
> No, that doesn't help.

Then it's probably not something related to CR characters.

>     You might wish to experiment with mounting your filesystems in binary
>     (instead of text) mode.
> 
> I'm afraid they already are mounted in binary mode.

Then how come `od' shows \r characters in the output of `echo'?  
Something strange is going on here, and you probably need a Cygwin guru 
to help you out.  I suggest to ask on the Cygwin mailing list.

       reply	other threads:[~2002-03-31  6:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <873cyhsly5.fsf@blarg.net>
2002-03-31  6:08 ` Eli Zaretskii [this message]
2002-04-03 17:41   ` Latin1 language environment breaks Cygwin shell buffer Jason Rumney
2002-03-30 16:32 Eric Hanchrow
2002-03-30 18:10 ` Eli Zaretskii
2002-04-05 18:01 ` Harald.Maier.BW
     [not found]   ` <874rip963y.fsf@blarg.net>
2002-04-06 12:25     ` Harald.Maier.BW
2002-04-06 16:35       ` Jason Rumney
2002-04-06 17:27         ` Eli Zaretskii
2002-04-06 17:43           ` Jason Rumney
2002-04-06 18:39             ` Eli Zaretskii
2002-04-06 19:11               ` Jason Rumney
2002-04-06 23:02                 ` Eric Hanchrow
2002-04-06 17:07       ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1020331075836.14188I-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    /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 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.