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

Re: zsh, ctrl-something, and recent kernels




----- Original Message ----- From: "Nathan Grennan" <zsh-users@xxxxxxxxxxxxx>
To: <zsh-users@xxxxxxxxxx>
Sent: Sunday, February 05, 2006 12:39 PM
Subject: Re: zsh, ctrl-something, and recent kernels


n=0 ;until [ $n -gt 15 ] ;do trap "echo $n" $n ;((n++)) ;done
Then press ctrl-c a few times.
On a properly working terminal you should see "2" every time you press "break" ie ctrl-c in your case. If you stop getting new 2's, or start getting something else, then the os or possibly the server communication daemon is broken.

In zsh the ctrl-c to print a 2 works until I run a command like ls. Then it stops printing 2s until I repeat the n=0... again. With bash it works even after running ls.

Now that is interesting ...

Brian K. White  --  brian@xxxxxxxxx  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



Messages sorted by: Reverse Date, Date, Thread, Author