From: ecarp@netcom.com (Ed Carp)
Subject: Re: curses dumps core on Ultrix 4.2
Date: Tue, 14 Jun 1994 17:57:23 GMT [thread overview]
Message-ID: <ecarpCrEF7n.5EL@netcom.com> (raw)
In-Reply-To: ecarpCr71t5.L4s@netcom.com
Well, for those of you who've seen the same thing, here's the workaround
that I came up with. Not pretty, but it's better than dumping core:
int ret;
setupterm(0, 1, &ret);
if(ret != 1)
{
printf("Your terminal type '%s' is not in the terminfo database!\n",
getenv("TERM"));
exit(1);
}
--
Ed Carp, N7EKG/VE3 Ed.Carp@linux.org, ecarp@netcom.com
Finger ecarp@netcom.com for PGP 2.5 public key an88744@anon.penet.fi
If you want magic, let go of your armor. Magic is so much stronger than
steel! -- Richard Bach, "The Bridge Across Forever"
prev parent reply other threads:[~1994-06-14 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-10 18:24 curses dumps core on Ultrix 4.2 Ed Carp
1994-06-14 17:57 ` Ed Carp [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox