It is currently Thu, 20 Jan 2022 04:38:15 GMT



 
Author Message
 strange xterm & zsh behaviour
I've noticed that zsh in xterm behaves very strange when I'm in OpenWindows
or failsafe session. Control keys and arrow keys don't work any
more. The shell just echos ^[[A (for example) instead of scrolling
through the history list. Ctrl-C is being echoed as ^C and the shell
doesn't prompt in a new line. With zsh in dtterm everything works fine.

With ksh in xterm and "set -o emacs" ^P, ^N and ^C work as expected.
tcsh and bash in xterm also work as expected.
stty -a gives the same result for both dtterm and xterm.
I think the same thing happens with zsh in rxvt and some other terminal
emulators, but I can't check that right now.

Hardware: Ultra 1 console & Sun's X terminals.
OS: Solaris 2.6 & 7.

I suppose this is a bug in zsh. Does somebody know how to correct it?

--
 .-.   .-.    Life is a {*filter*}ly transmitted disease.
(_  \ /  _)
     |        d...@srce.hr
     |        d...@fly.cc.fer.hr



 Sun, 15 Jul 2001 03:00:00 GMT   
 strange xterm & zsh behaviour

not strange - zsh is looking at the terminal's description, which is written
to assume that the terminal is put into cursor application mode (a longstanding
convention for compatibility across different types of terminals).  But that
doesn't apply to the way zsh is using it.

not exactly - it's a nonportable assumption in zsh (and similar shells) which
isn't backed up by a fallback table of control sequences.

--
Thomas E.{*filter*}ey
dic...@clark.net
http://www.**-**.com/



 Tue, 17 Jul 2001 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. Xterm strange behaviour in Solaris 10 01/06

2. Strange behaviour of xterm in Solaris 7

3. Strange behaviour in Xterm on Xterminal

4. xdm: strange xterm-behaviour

5. zsh: problem starting zsh xterm after upgrading glibc

6. Solaris 2.4 x86 PPP: slow & strange behaviour

7. Zsh behaviour with history-incremental-search-backward

8. zsh 2.3.1 core dump under xterm

9. ZSH and AIX 4.1.4 under XTERM

10. Problems with zsh 2.5.0 and xterm


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software