X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_initscr.3x;h=9733458017af721e61a9cea01269e63ab0cd3b63;hp=d9685328dab600c5fe78563978e9a257abefb7c8;hb=ba78eb501a2ed01647123dbe7279ca0f38782e04;hpb=71c0306f0824ef2b10c4c5813fb003db48f3012e diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x index d9685328..97334580 100644 --- a/man/curs_initscr.3x +++ b/man/curs_initscr.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2005,2010 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2010,2012 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_initscr.3x,v 1.15 2010/07/31 16:11:27 tom Exp $ +.\" $Id: curs_initscr.3x,v 1.18 2013/07/13 22:45:52 tom Exp $ .TH curs_initscr 3X "" .na .hy 0 @@ -121,12 +121,19 @@ Old versions of curses, e.g., BSD 4.4, may have returned a null pointer from \fBinitscr\fR when an error is detected, rather than exiting. It is safe but redundant to check the return value of \fBinitscr\fR in XSI Curses. +.PP +If the TERM variable is missing or empty, \fBinitscr\fP uses the +value ``unknown'', +which normally corresponds to a terminal entry with the \fIgeneric\fP +(\fIgn\fP) capability. +Generic entries are detected by \fBsetupterm\fP(3X) and cannot be +used for full-screen operation. +Other implementations may handle a missing/empty TERM variable differently. .SH SEE ALSO -\fBcurses\fR(3X), \fBcurs_kernel\fR(3X), \fBcurs_refresh\fR(3X), -\fBcurs_slk\fR(3X), \fBcurs_util\fR(3X) -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: +\fBcurses\fR(3X), +\fBcurs_kernel\fR(3X), +\fBcurs_refresh\fR(3X), +\fBcurs_slk\fR(3X), +\fBcurs_terminfo\fR(3X), +\fBcurs_util\fR(3X), +\fBcurs_variables\fR(3X).