zsh-workers
 help / color / mirror / code / Atom feed
From: koen van hoof <koen.van_hoof@alcatel.be>
To: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
Cc: Zsh hackers list <zsh-workers@sunsite.auc.dk>
Subject: Re: Some general problems with exporting cariables (Was: TERMCAP  problem. )
Date: Thu, 18 Jan 2001 13:34:21 +0100	[thread overview]
Message-ID: <3A66E2CC.4D890D59@alcatel.be> (raw)
In-Reply-To: <001201c080b5$2be27070$21c9ca95@mow.siemens.ru>

[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]

Andrej Borsenkow wrote:

>
> Koen, could you test if it helps? It appears to work here, but so did
> unmodified Zsh as well. I appreciate, if anybody could review memory
> allocation usage here - I still do not grok completely Zsh memory usage.
>
> The patch is against current CVS.
>
> -andrej
>
>   --------------------------------------------------------------------------------
>                        Name: zsh.replenv.diff
>    zsh.replenv.diff    Type: unspecified type (application/octet-stream)
>                    Encoding: quoted-printable

I made a new executable from the current CVS, and even without the patch it did not
crash anymore.
For some reason, it how uses '-lcurses' instead of '-ltermcap'.

I did some tests with the debugger.
The crash happened because getenv("TERM") returned 0 during the call to tgetent from
the termcap library.
Whithout the patch, getenv("TERM") still returns 0, but now tgetent from libcursus.a
is used.
With the patch, getenv("TERM") returns "dumb" before tgetent is called, so I guess it
will also be fine for tgetent from the termcap library

Andrey,
thank you very much for your time and effort.

--
==========================================================
Koen Van Hoof    koen.van_hoof@alcatel.be   32 3 451 60 31
==========================================================



[-- Attachment #2: Card for koen van hoof --]
[-- Type: text/x-vcard, Size: 156 bytes --]

begin:vcard 
n:Van Hoof;Koen
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:koen.van_hoof@alcatel.be
x-mozilla-cpt:;0
fn:Koen Van Hoof
end:vcard

  reply	other threads:[~2001-01-18 12:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15 10:14 TERMCAP problem koen van hoof
2001-01-15 15:46 ` Dan Nelson
2001-01-15 17:23   ` Bart Schaefer
2001-01-16  8:30     ` koen van hoof
2001-01-16  8:52       ` Andrej Borsenkow
2001-01-16 10:42         ` koen van hoof
2001-01-16 10:54           ` Peter Stephenson
2001-01-16 11:19             ` Andrej Borsenkow
2001-01-16 11:56               ` koen van hoof
2001-01-16 12:11                 ` Andrej Borsenkow
2001-01-16 16:27                   ` koen van hoof
2001-01-16 17:05                     ` Peter Stephenson
2001-01-17  7:46                       ` koen van hoof
2001-01-17  7:53                       ` Andrej Borsenkow
2001-01-17 18:41                         ` Some general problems with exporting cariables (Was: TERMCAP problem. ) Andrej Borsenkow
2001-01-18 12:34                           ` koen van hoof [this message]
2001-01-18 13:16                             ` Andrej Borsenkow
2001-01-18 15:54                               ` koen van hoof
2001-01-19 15:05                                 ` Andrej Borsenkow

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=3A66E2CC.4D890D59@alcatel.be \
    --to=koen.van_hoof@alcatel.be \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.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).