Hints for using curses (was Re: curses - problem... NO)

Dave Hammond daveh at marob.masa.com
Wed Dec 13 14:57:59 AEST 1989


In article <532 at mwtech.UUCP> martin at 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 at marob.masa.com
uunet!masa.com!marob!daveh



More information about the Comp.unix.wizards mailing list