zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: "James B. Crigler" <crigler@seo.com>,
	zsh-users@math.gatech.edu (Zsh users list)
Subject: Re: problem with GNU Emacs shell mode
Date: Thu, 27 Feb 1997 15:58:55 +0100	[thread overview]
Message-ID: <199702271458.PAA21787@sgi.ifh.de> (raw)
In-Reply-To: ""James B. Crigler""'s message of "Thu, 27 Feb 1997 09:38:25 MET." <199702271438.JAA05284@catbert.seo.com>

"James B. Crigler" wrote:
> 
> Neither of these works for me.  I start a shell and get ^M's and "echo
> $TERM" still returns "dumb".  Next idea?

Assuming you're never going to be doing command line editing with zsh
in a terminal that's `dumb', you can put

[[ $TERM = dumb ]] && unsetopt zle

in your .zshrc.  This certainly works for me.

(If you *did* need to do edit in a dumb terminal, probably the right thing
to do would be to find out what the terminal actually is anyway.)

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.


  reply	other threads:[~1997-02-27 15:10 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
1997-02-27 14:38   ` James B. Crigler
1997-02-27 14:58     ` Peter Stephenson [this message]
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=199702271458.PAA21787@sgi.ifh.de \
    --to=pws@ifh.de \
    --cc=crigler@seo.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).