zsh-workers
 help / color / mirror / code / Atom feed
From: "Murilo Opsfelder Araújo" <mopsfelder@gmail.com>
To: Peter Stephenson <pws@csr.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: zsh seg fault when TERM = linux
Date: Mon, 4 May 2009 12:58:10 -0300	[thread overview]
Message-ID: <e17dc37a0905040858t4886eb8bu53a297dc90f3eafe@mail.gmail.com> (raw)
In-Reply-To: <200905010918.n419IS87031648@news01.csr.com>

On Fri, May 1, 2009 at 6:18 AM, Peter Stephenson <pws@csr.com> wrote:
> =?ISO-8859-1?Q?Murilo_Opsfelder_Ara=FAjo?= 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.

-- 
Murilo Opsfelder Araujo
mopsfelder@gmail.com
{murilo,panda}@bsd.com.br
BSD will never die.
"Tempo difícil esse em que estamos, em que é mais fácil quebrar um
átomo do que um preconceito." - Albert Einstein


  reply	other threads:[~2009-05-04 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30 12:35 Murilo Opsfelder Araújo
2009-04-30 13:54 ` Peter Stephenson
2009-04-30 21:22   ` Murilo Opsfelder Araújo
2009-05-01  9:18     ` Peter Stephenson
2009-05-04 15:58       ` Murilo Opsfelder Araújo [this message]
2009-05-05 15:36         ` Peter Stephenson
2009-05-05 15:40         ` Clint Adams
2009-05-05 15:48           ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e17dc37a0905040858t4886eb8bu53a297dc90f3eafe@mail.gmail.com \
    --to=mopsfelder@gmail.com \
    --cc=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).