]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/html/curs_getstr.3x.html
ncurses 5.0
[ncurses.git] / Ada95 / html / curs_getstr.3x.html
diff --git a/Ada95/html/curs_getstr.3x.html b/Ada95/html/curs_getstr.3x.html
deleted file mode 100644 (file)
index 9d14eb7..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<HTML>
-<BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
-<PRE>
-       <STRONG>getstr</STRONG>,  <STRONG>wgetstr</STRONG>,  <STRONG>mvgetstr</STRONG>,  <STRONG>mvwgetstr</STRONG>, <STRONG>wgetnstr</STRONG> - accept
-       character strings from <STRONG>curses</STRONG> terminal keyboard
-
-
-</PRE>
-<H2>SYNOPSIS</H2><PRE>
-       <STRONG>#include</STRONG> <STRONG>&lt;curses.h&gt;</STRONG>
-
-       <STRONG>int</STRONG> <STRONG>getstr(char</STRONG> <STRONG>*str);</STRONG>
-       <STRONG>int</STRONG> <STRONG>getnstr(char</STRONG> <STRONG>*str,</STRONG> <STRONG>int</STRONG> <STRONG>n);</STRONG>
-       <STRONG>int</STRONG> <STRONG>wgetstr(WINDOW</STRONG> <STRONG>*win,</STRONG> <STRONG>char</STRONG> <STRONG>*str);</STRONG>
-       <STRONG>int</STRONG> <STRONG>mvgetstr(int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x,</STRONG> <STRONG>char</STRONG> <STRONG>*str);</STRONG>
-       <STRONG>int</STRONG> <STRONG>mvwgetstr(WINDOW</STRONG> <STRONG>*win,</STRONG> <STRONG>int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x,</STRONG> <STRONG>char</STRONG> <STRONG>*str);</STRONG>
-       <STRONG>int</STRONG> <STRONG>mvgetnstr(int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x,</STRONG> <STRONG>char</STRONG> <STRONG>*str,</STRONG> <STRONG>int</STRONG> <STRONG>n);</STRONG>
-       <STRONG>int</STRONG> <STRONG>mvwgetnstr(WINDOW</STRONG> <STRONG>*,</STRONG> <STRONG>int</STRONG> <STRONG>y,</STRONG> <STRONG>int</STRONG> <STRONG>x,</STRONG> <STRONG>char</STRONG> <STRONG>*str,</STRONG> <STRONG>int</STRONG> <STRONG>n);</STRONG>
-       <STRONG>int</STRONG> <STRONG>wgetnstr(WINDOW</STRONG> <STRONG>*win,</STRONG> <STRONG>char</STRONG> <STRONG>*str,</STRONG> <STRONG>int</STRONG> <STRONG>n);</STRONG>
-
-
-</PRE>
-<H2>DESCRIPTION</H2><PRE>
-       The function <STRONG>getstr</STRONG> is equivalent to a series of calls  to
-       <STRONG>getch</STRONG>, until a newline or carriage return is received (the
-       terminating character is  not  included  in  the  returned
-       string).   The  resulting  value  is  placed  in  the area
-       pointed to by the character pointer <EM>str</EM>.
-
-       <STRONG>wgetnstr</STRONG> reads at most <EM>n</EM>  characters,  thus  preventing  a
-       possible  overflow  of  the  input buffer.  Any attempt to
-       enter more characters (other than the terminating  newline
-       or  carriage  return)  causes  a beep.  Function keys also
-       cause a beep and are ignored.  The <STRONG>getnstr</STRONG> function  reads
-       from the <EM>stdscr</EM> default window.
-
-       The  user's erase and kill characters are interpreted.  If
-       keypad  mode  is  on  for   the   window,   <STRONG>KEY_LEFT</STRONG>   and
-       <STRONG>KEY_BACKSPACE</STRONG> are both considered equivalent to the user's
-       kill character.
-
-       Characters input are echoed only if <STRONG>echo</STRONG> is currently  on.
-       In  that case, backspace is echoed as deletion of the pre-
-       vious character (typically a left motion).
-
-
-</PRE>
-<H2>RETURN VALUE</H2><PRE>
-       All routines return the integer <STRONG>ERR</STRONG> upon failure and an <STRONG>OK</STRONG>
-       (SVr4  specifies  only  "an integer value other than <STRONG>ERR</STRONG>")
-       upon successful completion.
-
-
-</PRE>
-<H2>NOTES</H2><PRE>
-       Note that <STRONG>getstr</STRONG>, <STRONG>mvgetstr</STRONG>, and <STRONG>mvwgetstr</STRONG> may be macros.
-
-
-</PRE>
-<H2>PORTABILITY</H2><PRE>
-       These functions are described in the XSI Curses  standard,
-       Issue  4.   They  read  single-byte  characters only.  The
-       standard specifies that they return <STRONG>ERR</STRONG>  on  failure,  but
-       the  single  error  condition  <STRONG>EOVERFLOW</STRONG>  associated  with
-       extended-level conformance is not yet  returned  (the  XSI
-
-       SVr3 and early SVr4 curses implementations did not  reject
-       function keys; the SVr4.0 documentation claimed that "spe-
-       cial keys" (such as function  keys,  "home"  key,  "clear"
-       key,  <EM>etc</EM>.)  are  interpreted" without giving details.  It
-       lied.  In fact, the  `character'  value  appended  to  the
-       string  by  those  implementations was predictable but not
-       useful (being, in fact, the low-order eight  bits  of  the
-       key's KEY_ value).
-
-       The functions <STRONG>getnstr</STRONG>, <STRONG>mvgetnstr</STRONG>, and <STRONG>mvwgetnstr</STRONG> were pre-
-       sent but not documented in SVr4.
-
-
-</PRE>
-<H2>SEE ALSO</H2><PRE>
-       <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>, <STRONG><A HREF="curs_getch.3x.html">curs_getch(3X)</A></STRONG>.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</PRE>
-</BODY>
-</HTML>