Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!umd5!uvaarpa!virginia!kesmai!dca From: dca@kesmai.COM (David C. Albrecht) Newsgroups: comp.sys.att Subject: Re: shlib and curses on unix pc Keywords: unixpc shlib tam curses Message-ID: <176@kesmai.COM> Date: 29 Jun 88 00:00:07 GMT References: <559@rphroy.UUCP> <201@elgar.UUCP> Organization: Kesmai Corporation, Charlottesville, VA Lines: 25 In article <201@elgar.UUCP>, ford@elgar.UUCP (Mike "Ford" Ditto) writes: > > If you want the shared library, use Tam. If you have a curses > program, and it uses curses functions that are not also in Tam, don't > use the shared library. > > options: -ltam -ltermlib -lc. The same rules apply to shlib as apply > to normal libraries: You can link in any combination of libraries as > long as they do not have global symbols with names that conflict with > other. Curses and Tam can not be linked into the same program because > they have functions with identical names that do different things. > Well, using the shared library should reduce the size of your executable even if you don't substitute TAM functions for curses functions. I would think you should be able to make a local copy of the shlib.ifile with your executable and edit out any entries in the file that collide with curses symbols. Then you wouldn't have to give up the size savings for non-curses routines. Anybody know how to force a physical scroll with curses? I have wm half-way working and it really burns me that no matter what I do the stupid curses won't use the hardware scroll even for full-size screens. Really slows it down. David Albrecht