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

Re: zsh-4.3.1[45] problem on FreeBSD



On Mon, 26 Dec 2011 18:31:40 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> On Dec 26,  9:01pm, Herbert J. Skuhra wrote:
> }
> } after upgrading zsh from version 4.3.12 to 4.3.14 (and later 4.3.15) I
> } have a strange problem on FreeBSD 9.0-PRELEASE (i386).
> } 
> } When I launch xterm/sakura/urxvt instead of the shell prompt I only see
> } the cursor.
> 
> Hrm.  This must have something to do with TIOCGWINSZ not being defined
> on that platform and something causing re-entry into adjustwinsize(),
> but I don't have a FreeBSD system to test on and I can't tell whether
> it's a recursive call or simply that we've created an infinite series
> of SIGWINCH somehow.

% ./configure
[...]
checking for conflicts in sys/time.h and sys/select.h... no
checking TIOCGWINSZ in termios.h... yes
checking for streams headers including struct winsize... no
checking for printf in -lc... yes
[...]
 
> Staring at the code in adjustwinsize() makes me suspect the SIGWINCH,
> as improbable as that seems.
> 
> Can you reproduce this with "zsh -f"?

Yes.
  
> If not, what are the values of your PS1 and RPS1 parameters?

(PS1 is %m%# and RPS1 is unset)

Thanks.

-- 
Herbert



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