From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Jerry Jackson <jrj@chsft.com>, zsh-users@math.gatech.edu
Subject: Re: problem with GNU Emacs shell mode
Date: Wed, 26 Feb 1997 17:22:26 -0800 [thread overview]
Message-ID: <970226172226.ZM17479@candle.brasslantern.com> (raw)
In-Reply-To: Jerry Jackson <jrj@chsft.com> "problem with GNU Emacs shell mode" (Feb 26, 2:00pm)
On Feb 26, 2:00pm, Jerry Jackson wrote:
> Subject: problem with GNU Emacs shell mode
>
> I've been using zsh for a long time but when GNU Emacs changed
> comint mode around version 19.2x - 19.3x I started getting a lot
> of spurious ^M's in my buffer. I couldn't figure out how to fix
> it and I reverted to Emacs version 19.21 for years.
Ouch! Why didn't you ask sooner?
> Has anyone figured out how to fix this problem?
Emacs 19.29 or thereabouts stopped using a terminal type of "emacs"
in shell buffers, and instead sets it to "dumb". Zsh only kicks in
its special I'm-inside-emacs initialization when the terminal type
is "emacs".
Placing a
(setenv "TERM" "emacs")
in your ~/.emacs file seems to fix this. If that confuses other programs
that are run from within emacs, you can instead use
(setenv "ESHELL" "~/bin/eshell")
and then put "TERM=emacs exec zsh" in the file ~/bin/eshell.
next prev parent reply other threads:[~1997-02-27 6:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-26 21:00 Jerry Jackson
1997-02-27 1:22 ` Bart Schaefer [this message]
1997-02-27 14:38 ` James B. Crigler
1997-02-27 14:58 ` Peter Stephenson
1997-02-27 15:18 ` James B. Crigler
1997-02-27 17:43 ` Bart Schaefer
1997-02-27 19:15 ` James B. Crigler
1997-02-27 20:48 ` Bart Schaefer
1997-02-27 14:37 Alain Caron
1997-02-27 17:35 ` Bart Schaefer
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=970226172226.ZM17479@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=jrj@chsft.com \
--cc=schaefer@nbn.com \
--cc=zsh-users@math.gatech.edu \
/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.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).