status.i4.v = window_construct(top_row.i4.r, left_column.i4.r,
				       height.i4.r, width.i4.r,
				       no_write.i4.r, border_color.i4.r,
				       title_color.i4.r, title.i1a.r,
				       window_id.i2.r [,clip_it.i4.r]
				       [,scroll_it.i4.r] [,move_it.i4.r]

	status.i4.v = window_construct_c(top_row.i4.v, left_column.i4.v,
					 height.i4.v, width.i4.v,
					 no_write.i4.v, border_color.i4.v,
					 title_color.i4.v, title.i1a.r,
					 window_id.i2.r [,clip_it.i4.v]
					 [,scroll_it.i4.v] [,move_it.i4.v]

	This function creates a window on the main console TV.  It may
	only be called by primary applications.  The window may be deleted
	and any occluded text restored by use of the window_delete_c
	function.  Overlapping windows are automatically managed by the
	"window_" routines as long as they are used for all static I/O
	operations.  This includes automatic text clipping, moving and
	resizing windows, restacking windows, etc.  This routine differs
	from window_create_c in that it will reposition a window that
	would otherwise be partially off the screen so that it will be
	be entirely on the screen.  It will also center the window on
	the screen if the value of WMNGR_CENTER is used for the upper
	left hand coordinates.  If the value of "restore_mode" is
	specified as WMNGR_RESTORE_BKGND, the window should be considered
	to be a popup window which is in front of all other windows.
	Creation of a window of this type will inhibit moving, resizing,
	and popping to the top of other windows on the screen for the
	duration of the window's existence.  (Note: This is the preferred
	routine for creating TV windows.)

	top_row		top row of window (full screen coordinates)
			(use WMNGR_CENTER for centering or WINDOW_xxx_COORD
			 macros in macro for special positioning)
	left_column	left column of window (full screen coordinates)
			(use WMNGR_CENTER for centering or WINDOW_xxx_COORD
			 macros in macro for special positioning)
	height		height of the window including the borders and scrollbars
			if any
	width		width of the window including the borders and scrollbars
			if any
			(If a value of WMNGR_FIT_TITLE is passed for this
			 argument, the window's width will be set so that
			 the entire title string is visible.)
	no_write	initialize window display flag
			(WMNGR_DRAW_IT -> window area will be blanked out and
					  a border (if requested) will be drawn,
			 WMNGR_NO_DRAW -> no drawing will be done to the
					  window area)
	border_color	window border color (constants are in 'cnsparam')
	title_color	color in which title text will be displayed
			(constants are in 'cnsparam')
	title		a null-terminated text string (ie. a quoted literal)
			to be written to the top line of the window. It may
			be no longer than the width of the window minus
			four characters.  (Note: A null pointer may be passed
			if no title is desired.)
	window_id	returned window ID which is used in subsequent calls
			to "window_" routines to reference this window
	[clip_it]	window clipping flag
			(WMNGR_CLIP_IT -> prevent reading and writing on
					  scroll bars and window borders,
			 WMNGR_NO_CLIP -> allow reading and writing on scroll
					  bars and window borders)
			(default is WMNGR_CLIP_IT)
	[scroll_it]	scroll bar parameter
			(WMNGR_NO_SCROLL -> no scroll bar (default),
			 WMNGR_SCROLL_IT -> make a vertical scroll bar region
					    on the right side of the window,
			 WMNGR_SCROLL_DISABLED -> make a vertical scroll bar,
						  but don't display slider,
			 WMNGR_HORZ_SCROLL_IT -> make a horizontal scroll
						 bar on the bottom of
						 the window)
			(Note: The values WMNGR_SCROLL_IT or
			 WMNGR_SCROLL_DISABLED can be logically "OR"ed together
			 with WMNGR_HORZ_SCROLL_IT to create a window with both
			 a vertical and a horizontal scroll bar.)
			(Note: If a value of WMNGR_SCROLL_DISABLED is passed,
			 the scroll slider can be enabled by a call to
	[move_it]	optional argument to enable user-controlled
			window moving and resizing when used in conjunction
			with window_intype
			(WMNGR_NO_MOVE -> moving and resizing disabled,
			 WMNGR_MOVE_IT -> moving enabled,
			 WMNGR_RESIZE_IT -> resizing enabled,
			 WMNGR_MOVE_AND_RESIZE -> moving and resizing enabled)
			(default is WMNGR_NO_MOVE)
	[restore_mode]	optional argument which allows the programmer to
			choose the screen restore mode upon window deletion
			(WMNGR_REPAINT -> repaint underlying windows (default),
			 WMNGR_RESTORE_BACKGROUND -> repaint obscured text)
	[border_style]	(WMNGR_BORDER_NONE -> no border,
			 WMNGR_BORDER_THIN -> thin lined border (default),
			 WMNGR_BORDER_THICK -> thick lined border)

	This function returns ACNET status values as follows:

	OK			success
	CBS_MEMFAIL		dynamic memory allocation failure
	CBS_INVARG		window coordinate values are out of order
	CBS_INVSIZ		window is too small for the features requested
	CBS_WINDOW_OFF_SCRN	window extends off of the visible screen
	CBS_WINDOW_TOO_BIG	window won't fit on screen

	This function requires the following include files:

	cnsparam_h, cbslib_h, macro_h, acnet_errors_h

	Related functions:

	window_create(_c), window_delete(_c), window_enable_scroll_slider_c,
	window_tvm(_c), window_tvmx(_c), window_write_string_c,
	window_enable_scroll_io(_c), window_enable_scroll_status_c, shftwn,
	calc_window_c, center_window_c, intro_tv_windows

	C/C++ usage:

	static const char	title[] = "Title";
	short	window_id;
	int	status;
	int	top_row = WMNGR_CENTER;
	int	left_column = WMNGR_CENTER;
	// If scrollbar(s) were requested one must also add
	// WMNGR_SCROLLBAR_WIDTH to height and/or width.
	int	height = 3 + 2 * WMNGR_BORDER_WIDTH;
	int	width = 20 + 2 * WMNGR_BORDER_WIDTH;
	int	no_write = WMNGR_DRAW_IT;
	int	border_color = BLUE;
	int	title_color = YELLOW;
	int	clip_it = WMNGR_CLIP_IT;
	int	scroll_it = WMNGR_NO_SCROLL;
	int	move_it = WMNGR_MOVE_IT;
	int	restore_mode = WMNGR_REPAINT;
	int	border_style = WMNGR_BORDER_THIN;

	status = window_construct_c(top_row,left_column,height,width,