* This variable should contain a usage string for any extra
* command-line options available through this terminal
* interface.
*/
const char *scr_usage = "[-C] [-D] [-L list font name] [-F text font name] [-S font point size]";
/*
* Variable: scr_long_usage
*
* Description:
* This variable should contain a more verbose usage string
* detailing the command-line options available through this
* terminal interface, one option per line.
*/
const char *scr_long_usage = "\t-C\topen custom screen\n\t-D\tflush-fill text lines\n\t-L name\tset name of list font\n\t-F name\tset name of text font\n\t-S #\tset font point size\n";
/*
* Variable: scr_opt_list
*
* Description:
* This variable should contain a getopt(3)-style option list for
* any command-line options available through this terminal
* interface.
*/
const char *scr_opt_list = "CDF:L:S:";
/*
* Function: scr_cmdarg()
*
* Arguments:
* argc number of original arguments
* argvp pointer to array of strings containing args
*
* Returns:
* Number of new arguments.
*
* Description:
* This function is called before any command line parsing is
* done. Any terminal interface-specific arguments should be
* pulled out of the argv list and any extra arguments obtained
* from resource files or wherever should be added. Note that
* (*argvp)[0] must be the command name and (*argvp)[argc] must