version 1.9, 2000/03/13 23:53:41 |
version 1.10, 2000/03/26 16:45:04 |
|
|
#include <term_entry.h> |
#include <term_entry.h> |
#include <dump_entry.h> |
#include <dump_entry.h> |
|
|
MODULE_ID("$From: infocmp.c,v 1.52 2000/03/12 02:34:09 tom Exp $") |
MODULE_ID("$From: infocmp.c,v 1.54 2000/03/19 02:56:14 tom Exp $") |
|
|
#define L_CURL "{" |
#define L_CURL "{" |
#define R_CURL "}" |
#define R_CURL "}" |
|
|
|
|
static bool limited = TRUE; /* "-r" option is not set */ |
static bool limited = TRUE; /* "-r" option is not set */ |
static bool quiet = FALSE; |
static bool quiet = FALSE; |
static char *bool_sep = ":"; |
static const char *bool_sep = ":"; |
static char *s_absent = "NULL"; |
static const char *s_absent = "NULL"; |
static char *s_cancel = "NULL"; |
static const char *s_cancel = "NULL"; |
static const char *tversion; /* terminfo version selected */ |
static const char *tversion; /* terminfo version selected */ |
static int itrace; /* trace flag for debugging */ |
static int itrace; /* trace flag for debugging */ |
static int mwidth = 60; |
static int mwidth = 60; |
|
|
} |
} |
} |
} |
|
|
static char * |
static const char * |
dump_boolean(int val) |
dump_boolean(int val) |
/* display the value of a boolean capability */ |
/* display the value of a boolean capability */ |
{ |
{ |
|
|
," -R subset (see manpage)" |
," -R subset (see manpage)" |
," -T eliminate size limits (test)" |
," -T eliminate size limits (test)" |
," -V print version" |
," -V print version" |
|
#if NCURSES_XNAMES |
|
," -a with -F, list commented-out caps" |
|
#endif |
," -c list common capabilities" |
," -c list common capabilities" |
," -d list different capabilities" |
," -d list different capabilities" |
," -e format output for C initializer" |
," -e format output for C initializer" |
|
|
/* where is the terminfo database location going to default to? */ |
/* where is the terminfo database location going to default to? */ |
restdir = firstdir = 0; |
restdir = firstdir = 0; |
|
|
while ((c = getopt(argc, argv, "deEcCfFGgIinlLpqrR:s:uv:Vw:A:B:1T")) != EOF) |
while ((c = getopt(argc, argv, "adeEcCfFGgIinlLpqrR:s:uv:Vw:A:B:1T")) != EOF) |
switch (c) { |
switch (c) { |
|
#if NCURSES_XNAMES |
|
case 'a': |
|
_nc_disable_period = TRUE; |
|
use_extended_names(TRUE); |
|
break; |
|
#endif |
case 'd': |
case 'd': |
compare = C_DIFFERENCE; |
compare = C_DIFFERENCE; |
break; |
break; |