


curs_insstr(3X)                                   curs_insstr(3X)


NNAAMMEE
       ccuurrss__iinnssttrr:  iinnssssttrr, iinnssnnssttrr, wwiinnssssttrr, wwiinnssnnssttrr, mmvviinnssssttrr,
       mmvviinnssnnssttrr, mmvvwwiinnssssttrr, mmvvwwiinnssnnssttrr -  insert  string  before
       cursor in a ccuurrsseess window

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 iinnssssttrr((cchhaarr **ccoonnsstt ssttrr));;
       iinntt iinnssnnssttrr((cchhaarr **ccoonnsstt ssttrr,, iinntt nn));;
       iinntt wwiinnssssttrr((WWIINNDDOOWW **wwiinn,, cchhaarr **ccoonnsstt ssttrr));;
       iinntt wwiinnssnnssttrr((WWIINNDDOOWW **wwiinn,, cchhaarr **ccoonnsstt ssttrr,, iinntt nn));;
       iinntt mmvviinnssssttrr((iinntt yy,, iinntt xx,, cchhaarr **ccoonnsstt ssttrr));;
       iinntt mmvviinnssnnssttrr((iinntt yy,, iinntt xx,, cchhaarr **ccoonnsstt ssttrr,, iinntt nn));;
       iinntt mmvvwwiinnssssttrr((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx,, cchhaarr **ccoonnsstt ssttrr));;
       iinntt mmvvwwiinnssnnssttrr((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx,, cchhaarr **ccoonnsstt ssttrr,,
       iinntt nn));;

DDEESSCCRRIIPPTTIIOONN
       These  routines insert a character string (as many charac-
       ters as will fit on the line) before the  character  under
       the cursor.  All characters to the right of the cursor are
       shifted right, with the possibility of the rightmost char-
       acters  on  the line being lost.  The cursor position does
       not change (after moving to _y, _x, if specified). The  four
       routines with _n as the last argument insert a leading sub-
       string of at most _n characters.  If _n<=0, then the  entire
       string is inserted.

       If  a  character in _s_t_r is a tab, newline, carriage return
       or backspace, the cursor is moved appropriately within the
       window.   A  newline  also  does a ccllrrttooeeooll before moving.
       Tabs are considered to be at every eighth  column.   If  a
       character in _s_t_r is another control character, it is drawn
       in the ^^_X notation.  Calling wwiinncchh after adding a  control
       character (and moving to it, if necessary) does not return
       the control character, but instead returns a character  in
       the the ^-representation of the control character.

RREETTUURRNN VVAALLUUEE
       All  routines that return an integer return EERRRR upon fail-
       ure and OK (SVr4 specifies only "an  integer  value  other
       than  EERRRR")  upon  successful completion, unless otherwise
       noted in the preceding routine descriptions.

NNOOTTEESS
       Note that all but wwiinnssnnssttrr may be macros.

PPOORRTTAABBIILLIITTYY
       These functions are described in the XSI Curses  standard,
       Issue  4,  which  adds  const qualifiers to the arguments.
       The XSI Curses error  conditions  EEIILLSSEEQQ  and  EEIILLOOVVEERRFFLLOOWW
       associated  with  extended-level  conformance  are not yet
       detected (this implementation does not  yet  support  XPG4
       multibyte characters).



                                                                1





curs_insstr(3X)                                   curs_insstr(3X)


SSEEEE AALLSSOO
       ccuurrsseess(3X), ccuurrss__cclleeaarr(3X), ccuurrss__iinncchh(3X).























































                                                                2


