From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17828 invoked from network); 4 May 2009 15:58:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, FB_WORD1_END_DOLLAR,URIBL_SBL autolearn=no version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 May 2009 15:58:54 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 25083 invoked from network); 4 May 2009 15:58:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 May 2009 15:58:48 -0000 Received: (qmail 25593 invoked by alias); 4 May 2009 15:58:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26923 Received: (qmail 25559 invoked from network); 4 May 2009 15:58:39 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 May 2009 15:58:39 -0000 Received: from mail-ew0-f162.google.com (mail-ew0-f162.google.com [209.85.219.162]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5E79382D4B6B for ; Mon, 4 May 2009 17:57:01 +0200 (CEST) Received: by ewy6 with SMTP id 6so3602491ewy.45 for ; Mon, 04 May 2009 08:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LyDU+ApLN7JHeahoWhx/Vwa6ZVthDK9/Z+Dxc44gSwg=; b=DlADWlSCveIHFUFPS0EldQVzMk0UT1LR2swXO2xdgD/HfVvT0iJ9IYMEVeqvS2DDuV A4ODwPx6G2KU6zqr2Ec/eH22OCwPM77YSgEiiuDlFm36wH79e2rK8Aa8pWHFH0w3DHZo DpizXUs/PiOi5QAMFHtRKi8XMD2l6wZK57xFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gS1o0WvhLtioLiIgY7xkrpdABfB65XLTXWuhi8Nm65dlNY4khgzfgt2EC2gY3VKmqC 4epDApeH8tlMgdzZDjKyS6wMGiRJQ7WezvutLev4Q/8bAcxk0Gh4ODPL4t4iWJtmcbCl gz2FDlhTPLfR4V1MaN9284K0Dubqlce6QwK8E= MIME-Version: 1.0 Received: by 10.216.26.201 with SMTP id c51mr1703070wea.228.1241452705104; Mon, 04 May 2009 08:58:25 -0700 (PDT) In-Reply-To: <200905010918.n419IS87031648@news01.csr.com> References: <200904301354.n3UDsoNM021549@news01.csr.com> <200905010918.n419IS87031648@news01.csr.com> From: =?ISO-8859-1?Q?Murilo_Opsfelder_Ara=FAjo?= Date: Mon, 4 May 2009 12:58:10 -0300 Message-ID: Subject: Re: zsh seg fault when TERM = linux To: Peter Stephenson Cc: zsh-workers@sunsite.dk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV 0.92.1/9325/Mon May 4 14:17:20 2009 on bifrost X-Virus-Status: Clean On Fri, May 1, 2009 at 6:18 AM, Peter Stephenson wrote: > =3D?ISO-8859-1?Q?Murilo_Opsfelder_Ara=3DFAjo?=3D wrote: >> How can I see in zsh of server side if TGETENT_ACCEPTS_NULL is set? > > This would only be in the directory where zsh was originally compiled, > if you don't have that you can't tell. On the server, I unpacked the zsh 4.3.9 and applied all FreeBSD patches made by ports. After that I greped for TGETENT_ACCPETS_NULL. See: server$ cd /usr/ports/shells/zsh server$ make patch server$ cd work/zsh-4.3.9 server$ grep -r 'TGETENT_ACCEPTS_NULL' ./ ./config.h.in:#undef TGETENT_ACCEPTS_NULL ./Src/init.c:#ifndef TGETENT_ACCEPTS_NULL ./Src/init.c:#ifdef TGETENT_ACCEPTS_NULL ./configure.ac:AH_TEMPLATE([TGETENT_ACCEPTS_NULL], ./configure.ac: AC_DEFINE(TGETENT_ACCEPTS_NULL) ./configure:#define TGETENT_ACCEPTS_NULL 1 I think these are the options zsh was installed on server. If you need the options zsh port was compiled, it will take me more time. I have no root acces on the server. >> On the server side (where zsh crashes) there is no command 'infocmp'. >> The server is running FreeBSD. > > So this appears to be something to do with the response of FreeBSD to > being given a TERM setting of "linux"; can you reproduce this by setting > TERM to linux locally on the server? I set TERM to 'linux' on the server before calling 'zsh'. All seems ok. May be a problem with ssh connection. If you need more, please, let me know. Thanks. --=20 Murilo Opsfelder Araujo mopsfelder@gmail.com {murilo,panda}@bsd.com.br BSD will never die. "Tempo dif=EDcil esse em que estamos, em que =E9 mais f=E1cil quebrar um =E1tomo do que um preconceito." - Albert Einstein