Xref: utzoo unix-pc.general:906 comp.sys.att:3601 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!gatech!udel!rochester!cornell!uw-beaver!uw-june!kid From: kid@june.cs.washington.edu (Bob Mitchell) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: shlib and curses on unix pc Keywords: unixpc shlib tam curses Message-ID: <5178@june.cs.washington.edu> Date: 25 Jun 88 17:01:47 GMT References: <559@rphroy.UUCP> <201@elgar.UUCP> Reply-To: kid@uw-june.UUCP (Bob Mitchell) Followup-To: unix-pc.general Organization: U of Washington, Computer Science, Seattle Lines: 16 Actually, you can use the shared library with curses. But first you have to create a new ifile by editting the tam functions out of /lib/shlibc.ifile. This will give you access to only the termlib and c library parts of shlib. You can then link using: ld *.o /lib/crt0s.o -lcurses shcterm.ifile where shcterm.ifile is the name of the new ifile. Linking will give warnings about redefining PC, UP, BC, and ospeed - but this is fine, as long as the program does not use non-zero initializers for them. Bob Mitchell uucp: ...!uw-beaver!uw-june!kid arpanet: kid@cs.washington.edu