From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1223 invoked by alias); 27 Dec 2011 20:39:48 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30068 Received: (qmail 29452 invoked from network); 27 Dec 2011 20:39:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf.messagingengine.com designates 66.111.4.26 as permitted sender) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:message-id:from:to:subject:in-reply-to:references :mime-version:content-type; s=mesmtp; bh=FN5HyueXqwCNT3fO1CEGxTz XTwI=; b=obQiGuOJEy2ZsWlzKdy7IRy38l0U1KLo8pUzJMRlJsxNlToWjUY0dwD vlbox+ozqBHZmS5yCYIuYLyFcSj5H/5RPHHhRR9tTo4DM5xV1Kkzhc6XcwLOBOIz QrA1BDFByIq856TwUggVZ0M3a5eNPCd6lq6ogYnGq5tC1VAUfgsk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:message-id:from:to:subject :in-reply-to:references:mime-version:content-type; s=smtpout; bh=FN5HyueXqwCNT3fO1CEGxTzXTwI=; b=hs9uOvicVoXXKHgZyvq4/fY0JAEE +D5W3RZHj86b8J2NolwY+ohYioFA43XF/eyEXaIiVD0483wBmyaMyIUoTADTn/sd +Y6R3Idzp22NOwcSuC9R/Saiapis3acwn6Ln/EUIkmcAJP69GHN9qIzAVauX5JC/ GQvx9ule7afhM+U= X-Sasl-enc: pvcQI2M8iH89CU7fsh2pFUp18veQ6QGPzzDdC4sB/Jmr 1325018377 Date: Tue, 27 Dec 2011 21:38:58 +0100 Message-ID: <877h1hn40t.wl%hskuhra@fastmail.fm> From: "Herbert J. Skuhra" To: zsh-workers@zsh.org Subject: Re: zsh-4.3.1[45] problem on FreeBSD In-Reply-To: <111226183140.ZM23495@torch.brasslantern.com> References: <1324929718.26691.140661016136941@webmail.messagingengine.com> <111226183140.ZM23495@torch.brasslantern.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.0.92 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII On Mon, 26 Dec 2011 18:31:40 -0800 Bart Schaefer 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