Xref: utzoo comp.unix.questions:4940 comp.unix.wizards:5953 Path: utzoo!mnetor!uunet!husc6!hao!ames!rutgers!cbmvax!vu-vlsi!dsinc!syd From: syd@dsinc.UUCP (Syd Weinstein) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: unify vs curses vs terminfo Message-ID: <293@dsinc.UUCP> Date: 4 Jan 88 16:42:40 GMT References: <228@wpg.UUCP> Reply-To: syd@dsinc.UUCP (Syd Weinstein) Distribution: na Organization: Datacomp Systems, Inc., Huntingdon Valley, PA 19006 Lines: 29 Keywords: unify, curses, terminfo, termcap, conflicts Summary: Unify Has Name Conflicts With Curses In article <228@wpg.UUCP> russ@wpg.UUCP (Russell Lawrence) writes: >I have been working on a screen handling package/application generator >for use with the unify database manager and have run into a major snag. > >The unify functions for handling terminal io are based on terminfo/termcap >routines and are incompatible with curses. At first, I figured that wouldn't >be a problem since I was planning on re-writing all the screen handling stuff >anyway. However, I quickly discovered that some unify routines that appear to >be unrelated to screen management are also dependent in some byzantine >fashion on termcap/terminfo --- causing my own well-tested, curses-based >windows to royally screw-up. > Unify in their infinite wisdom :-) has used some names for routines that curses also uses. For several clients we developed a curses library that is compatible with Unify. We can sell you that if you wish. Using this library we have developed many applications using curses instead of the unify routines. We have had no problem at all using curses this way and have run into no conflicts so far. Of course it does not allow mixing the unify i/o and curses i/o. You still must use one or the other. BTW, unify uses their own TERMCAP/UNICAP file, and curses uses terminfo, so it gets even wierder if you try to mix them. Somewhere along the line, Unify said they would change their names to no longer conflict, but to my knowledge they have not done so as of yet. ===================================================================== Sydney S. Weinstein, CDP, CCP Datacomp Systems, Inc. Voice: (215) 947-9900 {allegra,bellcore,bpa,vu-vlsi}!dsinc!syd FAX: (215) 938-0235