


curs_termattrs(3X)                             curs_termattrs(3X)


NNAAMMEE
       ccuurrss__tteerrmmaattttrrss:   bbaauuddrraattee,   eerraasseecchhaarr,  hhaass__iicc,  hhaass__iill,
       kkiillllcchhaarr, lloonnggnnaammee, tteerrmmaattttrrss, tteerrmmnnaammee - ccuurrsseess  environ-
       ment query routines

SSYYNNOOPPSSIISS
       ##iinncclluuddee <<ccuurrsseess..hh>>

       iinntt bbaauuddrraattee((vvooiidd));;
       cchhaarr eerraasseecchhaarr((vvooiidd));;
       iinntt hhaass__iicc((vvooiidd));;
       iinntt hhaass__iill((vvooiidd));;
       cchhaarr kkiillllcchhaarr((vvooiidd));;
       cchhaarr **lloonnggnnaammee((vvooiidd));;
       aattttrr__tt tteerrmmaattttrrss((vvooiidd));;
       cchhaarr **tteerrmmnnaammee((vvooiidd));;

DDEESSCCRRIIPPTTIIOONN
       The  bbaauuddrraattee routine returns the output speed of the ter-
       minal.  The number returned is in  bits  per  second,  for
       example 99660000, and is an integer.

       The  eerraasseecchhaarr  routine  returns  the user's current erase
       character.

       The hhaass__iicc routine is true if the terminal has insert- and
       delete- character capabilities.

       The hhaass__iill routine is true if the terminal has insert- and
       delete-line  capabilities,  or  can  simulate  them  using
       scrolling  regions.  This might be used to determine if it
       would be appropriate to turn on physical  scrolling  using
       ssccrroollllookk.

       The  kkiillllcchhaarr routine returns the user's current line kill
       character.

       The lloonnggnnaammee routine returns a pointer to  a  static  area
       containing  a verbose description of the current terminal.
       The maximum length of a verbose description is 128 charac-
       ters.   It  is  defined  only after the call to iinniittssccrr or
       nneewwtteerrmm.  The area is overwritten by each call to  nneewwtteerrmm
       and  is  not  restored by sseett__tteerrmm, so the value should be
       saved between calls to nneewwtteerrmm if lloonnggnnaammee is going to  be
       used with multiple terminals.

       If a given terminal doesn't support a video attribute that
       an application program is trying to use, ccuurrsseess  may  sub-
       stitute a different video attribute for it.  The tteerrmmaattttrrss
       function returns a logical OORR of all video attributes sup-
       ported by the terminal.  This information is useful when a
       ccuurrsseess program needs complete control over the  appearance
       of the screen.




                                                                1





curs_termattrs(3X)                             curs_termattrs(3X)


       The  tteerrmmnnaammee routine returns the value of the environmen-
       tal variable TTEERRMM (truncated to 14 characters).

RREETTUURRNN VVAALLUUEE
       lloonnggnnaammee and tteerrmmnnaammee return NNUULLLL on error.

       Routines that return an integer return  EERRRR  upon  failure
       and  OOKK  (SVr4 only specifies "an integer value other than
       EERRRR") upon successful completion.

NNOOTTEESS
       Note that tteerrmmaattttrrss may be a macro.

PPOORRTTAABBIILLIITTYY
       The XSI Curses standard, Issue  4  describes  these  func-
       tions.  It changes the return type of tteerrmmaattttrrss to the new
       type aattttrr__tt.

SSEEEE AALLSSOO
       ccuurrsseess(3X), ccuurrss__iinniittssccrr(3X), ccuurrss__oouuttooppttss(3X)





































                                                                2


