sr_file_menu_c

	choice.i4.v = sr_file_menu_c(top_row.i4.v, left_column.i4.v
				     [,category.i4.v] [,data_source.i4.v]
				     [,default_file.i4.v] [,sda_usage.i1a.r])

	This routine displays a popup menu of save/restore files.  It returns
	the number of the file selected or an ACNET error code.

	top_row		top row of menu (use WMNGR_CENTER for centering
			or WINDOW_xxx_COORD macros in macro for special
			positioning)
	left_column	left column of menu (use WMNGR_CENTER for centering
			or WINDOW_xxx_COORD macros in macro for special
			positioning)
	[category]	type of files to display
			If the data source is SRMNGR_NORMAL, this argument
			determines which supersystem's files to display.
			(SR_GLOBAL -> global supersystem (default),
			 SR_LINAC -> Linac supersystem,
			 SR_BOOSTER -> Booster supersystem,
			 SR_MAININJECTOR -> Main Injector supersystem,
			 SR_EXTERNALBEAMS -> external beams supersystem,
			 SR_TEVATRON -> Tevatron supersystem,
			 SR_MUON -> Muon supersystem,
			 SR_FRIG -> refrigerator supersystem,
			 SR_MISC -> miscellaneous supersystem,
			 SR_ARCHIVE -> archive supersystem,
			 SR_RECYCLER -> Recycler supersystem,
			 SR_SHOTS -> shots supersystem,
			 SR_CIRCULAR -> circular supersystem,
			 SR_MINIBOONE -> MiniBooNE supersystem,
			 SR_NUMI -> NuMI supersystem,
			 SR_PXIE -> PXIE supersystem,
			 SR_NML -> NML supersystem,
			 SR_MTA -> MTA (Muon Test Area) supersystem,
			 SR_SYCONFIG -> Switchyard configuration supersystem,
			 SR_CMTF -> CMTF supersystem,
			 SR_ALL_SYSTEMS -> all supersystems,
			 CLIB_DEFAULT_ARG -> previously selected supersystem)
			If the data source is SRMNGR_SDA_DATA, this argument
			allows choosing between normal and archived files.
			(SR_SDA_NORMAL -> select normal SDA files (default),
			 SR_SDA_FROM_TAPE -> SDA data from archive tapes,
			 SR_SDA_ARCHIVE_BASE + n -> SDA archive directory
						    on disk,
			 CLIB_DEFAULT_ARG -> previously selected directory)
	[data_source]	source of data
			(CLIB_DEFAULT_ARG -> use previously selected source
					     (default),
			 SRMNGR_NORMAL -> normal save/restore files,
			 SRMNGR_SDA_DATA -> SDA data)
	[default_file]	specifying this parameter will cause the file menu
			to be displayed showing this file as selected
			(default is 0)
	[sda_usage]	null terminated SDA usage string (This argument only
			has meaning if the data source is SDA.)
			(default is NULL)

	This function returns status values as follows:

	DIO_BADARG		invalid data source or category
	DIO_MEMFAIL		dynamic memory allocation failure
	CBS_NO_SUCH		no directory entries found
	CBS_WINDOW_TOO_BIG	menu won't fit on screen
	CLIB_NOTCNSINST		not running in a console environment
	SAV_RST_xxx		Save/restore error
	CBS_ABORT		no file was selected
	otherwise		number of file selected

	This function requires the following include files:

	cbslib_h, macro_h, acnet_errors_h

	Related functions:

	sr_newest_file_c, sr_oldest_file_c, sr_maximum_file, sr_file_devices_c,
	sr_set_source_c, sr_category_menu_c, sr_directory_info_c,
	sr_sda_select_directory_c, sr_sda_set_directory_c,
	sr_sda_file_number_c, sr_sda_store_number_c, sr_sda_store_times_c,
	sr_disconnect, sr_sda_cases_present_c, sr_sda_num_subcases_c,
	sr_sda_subcases_present_c, sr_sda_case_times_c, menu_setup_c,
	window_restore_hint_c

	C/C++ usage:

	char	*sda_usage = (char *) NULL;
	int	choice;
	int	top_row = WMNGR_CENTER;
	int	left_column = WMNGR_CENTER;
	int	category = SR_GLOBAL;
	int	data_source = SRMNGR_NORMAL;
	int	default_file = 0;

	choice = sr_file_menu_c(top_row,left_column,category,data_source,
				default_file,sda_usage);