Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Running 5.0.2 in an emacs buffer
- X-seq: zsh-workers 31677
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Running 5.0.2 in an emacs buffer
- Date: Wed, 28 Aug 2013 09:36:55 -0700
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I guess this is actually an old bug, but I've never run zsh inside emacs
with zsh debugging compiled in.
Src/utils.c:1590: BUG: Impossible TIOCGWINSZ rows
Src/utils.c:1614: BUG: Impossible TIOCGWINSZ cols
This happens periodically, which means zsh is for some reason getting
WINCH signals. Which is useless, because ...
Turns out that however it is emacs manages its pty, ioctl(TIOCGWINSZ)
returns 0 lines and columns. Zsh therefore defaults them to 24 and 80
unless they've been asserted as something else in the termcap/terminfo.
I'm not sure what the right thing to do would be, or if there are any
emacs experts left on this list to suggest something.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author