From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bfcffb799ef9216d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-14 13:23:14 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!csus.edu!netcom.com!ecarp From: ecarp@netcom.com (Ed Carp) Subject: Re: curses dumps core on Ultrix 4.2 Message-ID: Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: TIN [version 1.2 PL1] References: Date: Tue, 14 Jun 1994 17:57:23 GMT 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"