Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: problem with GNU Emacs shell mode



"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