1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
</PRE>
<H2>NAME</H2><PRE>
<B>insch</B>, <B>winsch</B>, <B>mvinsch</B>, <B>mvwinsch</B> - insert a character
before cursor in a <B>curses</B> window
</PRE>
<H2>SYNOPSIS</H2><PRE>
<B>#include</B> <B><curses.h></B>
<B>int</B> <B>insch(chtype</B> <B>ch);</B>
<B>int</B> <B>winsch(WINDOW</B> <B>*win,</B> <B>chtype</B> <B>ch);</B>
<B>int</B> <B>mvinsch(int</B> <B>y,</B> <B>int</B> <B>x,</B> <B>chtype</B> <B>ch);</B>
<B>int</B> <B>mvwinsch(WINDOW</B> <B>*win,</B> <B>int</B> <B>y,</B> <B>int</B> <B>x,</B> <B>chtype</B> <B>ch);</B>
</PRE>
<H2>DESCRIPTION</H2><PRE>
These routines, insert the character <I>ch</I> 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.
</PRE>
<H2>RETURN VALUE</H2><PRE>
All routines that return an integer return <B>ERR</B> upon fail-
ure and OK (SVr4 specifies only "an integer value other
than <B>ERR</B>") upon successful completion, unless otherwise
noted in the preceding routine descriptions.
</PRE>
<H2>NOTES</H2><PRE>
These routines do not necessarily imply use of a hardware
insert character feature.
Note that <B>insch</B>, <B>mvinsch</B>, and <B>mvwinsch</B> may be macros.
</PRE>
<H2>PORTABILITY</H2><PRE>
These functions are described in the XSI Curses standard,
Issue 4.
</PRE>
<H2>SEE ALSO</H2><PRE>
<B><A HREF="ncurses.3x.html">curses(3x)</A></B>.
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
|