From e68fbc44aaa6294bab465b4daa48c6b04031cab8 Mon Sep 17 00:00:00 2001
From: Neal Norwitz <nnorwitz@gmail.com>
Date: Sun, 12 Jan 2003 14:56:19 +0000
Subject: SF #665570, curses causes interpreter crash

The interpreter doesn't crash, but it does call exit() in libncurses.
Add a note to this effect.

Will backport
---
 Doc/lib/libcurses.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 40711f3..9c11553 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -266,7 +266,8 @@ to the new definition.
 
 \begin{funcdesc}{initscr}{}
 Initialize the library. Returns a \class{WindowObject} which represents
-the whole screen.
+the whole screen.  \note{If there is an error opening the terminal,
+the underlying curses library may cause the interpreter to exit.}
 \end{funcdesc}
 
 \begin{funcdesc}{isendwin}{}
-- 
cgit v0.12

