Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with GNU Emacs shell mode
- X-seq: zsh-users 722
- From: Peter Stephenson <pws@xxxxxx>
- To: "James B. Crigler" <crigler@xxxxxxx>, zsh-users@xxxxxxxxxxxxxxx (Zsh users list)
- Subject: Re: problem with GNU Emacs shell mode
- Date: Thu, 27 Feb 1997 15:58:55 +0100
- In-reply-to: ""James B. Crigler""'s message of "Thu, 27 Feb 1997 09:38:25 MET." <199702271438.JAA05284@xxxxxxxxxxxxxxx>
"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@xxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author