1----------------- 2KNOWN BUGS IN ZSH 3----------------- 4 5On some terminals, display of lines with exactly 80 characters is 6problematic. zsh assumes that the terminal does not print an extra 7newline in this case, but some terminals (e.g. aixterm) do. 8------------------------------------------------------------------------ 9When interrupting code like the following with ^C: 10 while true; do 11 sh -c '...' 12 done 13if the `sh' is executing, zsh does not know that the sh received a ^C and 14continues with the next iteration. This happens for any program which 15handles the interrupt, then exits after tidying up; it does not happen for 16zsh, which exits directly from the signal handler. The workaround is to 17use ^Z which forks the shell and makes the loop a separate job, then kill 18the suspended loop. 19------------------------------------------------------------------------ 20If you suspend "man", zle seems to get into cooked mode. It works ok 21for plain "less". 22It is not specific neither to man nor to zsh. 23E.g. call the following program foo: 24#include <sys/wait.h> 25#include <unistd.h> 26 27int main(int argc, char *argv[]) 28{ 29 int status; 30 31 if (!fork()) /* child */ 32 execvp(argv[1], argv + 1); 33 else /* parent */ 34 wait(&status); 35} 36Then if you suspend 37% foo less something 38from zsh/bash, zle/readline gets into cooked mode. 39------------------------------------------------------------------------ 40The pattern %?* matches names beginning with %? instead of names with at 41least two characters beginning with %. This is a hack to allow %?foo job 42substitution without quoting. This behaviour is incompatible with sh 43and ksh and may be removed in the future. A good fix would be to keep 44such patterns unchanged if they do not match regardless of the state of 45the nonomatch and nullglob options. 46------------------------------------------------------------------------ 47It is currently impossible to time builtins. 48------------------------------------------------------------------------ 49