Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bria!mike From: mike@bria.UUCP (mike.stefanik) Newsgroups: comp.unix.sysv386 Subject: Re: Cursor keys, curses, and SCO-Unix Message-ID: <288@bria.UUCP> Date: 15 Jun 91 21:33:03 GMT References: <7867@spdcc.SPDCC.COM> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 18 In an article, rbraun@spdcc.COM (Rich Braun) writes: >Is there any magic to writing portable, lowest-common-denominator curses >code? Should I scrap the keyboard input code and write my own escape- >sequence parser, which would be less work than writing a whole display >output driver? Use only the original curses functions, which lacked the attrxxx functions and only supported the _STANDOUT attribute. Since color has not been introduced to all implementations of curses, avoid it. If you don't like the termcap definition, copy it, modify it, and use the TERMCAP variable to point to it. Not useful for snazzy looking screens, but then again, you did ask for portable lowest-common-denominator curses code, did you not? -- Mike Stefanik, MGI Inc., Los Angeles -- Opinions stated are never realistic! "To sin by silence when they should protest makes cowards out of men." -Lincoln