Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!ccnysci!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.wizards Subject: Re: Hints for using curses (was Re: curses - problem... NO) Message-ID: <2585C8C9.3578@marob.masa.com> Date: 13 Dec 89 03:57:59 GMT Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC, New York City Lines: 25 In article <532@mwtech.UUCP> martin@mwtech.UUCP (Martin Weitzel) writes: >2) Video Attributes: > - blinking > - underlining > - reverse video > - half intensity Don't depend on anything except reverse video ("standout") if you expect to port to most Termcap-based curses implentations (the majority of the BSD-derived world). Only Terminfo-based curses supports the additional attributes. >3) Key codes: > Newer versions of curses support "keypad()" Like video attributes, don't depend on most Termcap-based curses implementations to provide a keypad() function. Actually, I find this a bit curious since the Termcap database has always contained key pad and function key capabilities. -- Dave Hammond daveh@marob.masa.com uunet!masa.com!marob!daveh