From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9a2a420ec841e44c X-Google-Attributes: gidfee84,public From: jhitchcock@my-deja.com Subject: libcurses and patches for 4.0 Date: 1999/07/15 Message-ID: <7ml487$lbg$1@nnrp1.deja.com>#1/1 X-Deja-AN: 501376862 References: <37614C91.3FBFAB0A@zk3.dec.com> <87hfocxypx.fsf@romulus.bland.fido.de> <7k37t4$bq@web.nmti.com> <87vhcb42lh.fsf@romulus.bland.fido.de> <37789EF3.D7A52B7@iisc.com> <87673onc42.fsf@romulus.bland.fido.de> X-Http-Proxy: 1.1 x22.deja.com:80 (Squid/1.1.22) for client 195.153.143.110 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Thu Jul 15 16:52:06 1999 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) There are a lot of patches to libcurses available for 4.0, but it seems that the libraries are in general incompatible with one another. We have a program that was built on 4.0D (without any patches) and it runs OK on that system. When run on a patched 4.0D it fails with "error -1 bad termcap". When run on 4.0E it core dumps. Can anyone suggest how we can get a library on patched 4.0D, 4.0E, 4.0F, ... systems which is compatible with the original 4.0D library. Or does anyone know which is the "correct" library to link with to enable use on future systems. The program is linked using the default shared library (-lcurses) and it uses tgetent(), tgetflag(), tgetnum() and tgetstr () to get capabilities: am bs hs mi ms pt xs sg ug li co ws ae al as bc bt cd ce cl cm cs dc dl dm do ed ei fs ho ic im le ll nd se sf so sr te ti ts uc ue up us vb ke ks ve vi bt kd kh kl kr ku CC k[0-9] K[0-9] l[0-9] L[0-9] (I know these functions are marked "TO BE WITHDRAWN" in the Single UNIX Specification, but they are there, and they work on almost all Unixes.) The patches I know of are: Digital UNIX 4.0D patches 374.00 374.03 408.02 Digital UNIX 4.0E patches 31.00 123.00 277.00 278.00 Tru64 UNIX 4.0F patches 46.00 69.00 Thanks, Jon Hitchcock Uniplex Ltd, 126 Hempstead Road, Kings Langley, Herts, WD4 8AL, U.K. E-mail Jon.Hitchcock@uniplex.co.uk, Tel +44 (0) 1923 299718, Fax +44 (0) 1923 299700 Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.