H64678 s 00070/00000/00000 d D 1.1 02/05/02 15:35:04 root 2 1 cC cF1 cK32976 cO-rw-rw-r-- e s 00000/00000/00000 d D 1.0 02/05/02 15:35:04 root 1 0 c BitKeeper file /Mastodon/Core/Build/ncurses/Ada95/html/curs_insch.3x.html cBor@egypt.pell.portland.or.us|ChangeSet|20020502223039|07086|e73225ae258b78f8 cHegypt.pell.portland.or.us cK20296 cPAda95/html/curs_insch.3x.html cR4e6ad053c235d522 cV4 cX0x821 cZ-07:00 e u U f e 0 f x 0x821 t T I 2
insch, winsch, mvinsch, mvwinsch - insert a character before cursor in a curses window
#include <curses.h> int insch(chtype ch); int winsch(WINDOW *win, chtype ch); int mvinsch(int y, int x, chtype ch); int mvwinsch(WINDOW *win, int y, int x, chtype ch);
These routines, insert the character ch before the charac- ter under the cursor. All characters to the right of the cursor are moved one space to the right, with the possi- bility of the rightmost character on the line being lost. The insertion operation does not change the cursor posi- tion.
All routines that return an integer return ERR upon fail- ure and OK (SVr4 specifies only "an integer value other than ERR") upon successful completion, unless otherwise noted in the preceding routine descriptions.
These routines do not necessarily imply use of a hardware insert character feature. Note that insch, mvinsch, and mvwinsch may be macros.
These functions are described in the XSI Curses standard, Issue 4.
curses(3X).E 2 I 1 E 1