PRESENT
if (PRESENT(p) && !PRESENT(q)) \
if (PRESENT(q) && !PRESENT(p)) \
if (PRESENT(p) && !PRESENT(q)) \
&& PRESENT(enter_alt_charset_mode)
&& PRESENT(exit_alt_charset_mode))
if (!PRESENT(exit_attribute_mode)) {
(PRESENT(set_attributes)
|| PRESENT(enter_standout_mode)
|| PRESENT(enter_underline_mode)
|| PRESENT(enter_blink_mode)
|| PRESENT(enter_bold_mode)
|| PRESENT(enter_dim_mode)
|| PRESENT(enter_secure_mode)
|| PRESENT(enter_protected_mode)
|| PRESENT(enter_reverse_mode)))
if (foundim && WANTED(key_ic) && PRESENT(key_sic)) {
if (PRESENT(acs_ulcorner) ||
PRESENT(acs_llcorner) ||
PRESENT(acs_urcorner) ||
PRESENT(acs_lrcorner) ||
PRESENT(acs_ltee) ||
PRESENT(acs_rtee) ||
PRESENT(acs_btee) ||
PRESENT(acs_ttee) ||
PRESENT(acs_hline) ||
PRESENT(acs_vline) ||
PRESENT(acs_plus)) {
&& PRESENT(enter_alt_charset_mode)
&& PRESENT(exit_alt_charset_mode)) {
if (PRESENT(box_chars_1)) {
if (WANTED(init_3string) && PRESENT(termcap_init2))
if (WANTED(reset_2string) && PRESENT(termcap_reset))
else if (PRESENT(backspace_if_not_bs))
if (PRESENT(linefeed_if_not_lf))
if (PRESENT(linefeed_if_not_lf))
} else if (PRESENT(carriage_return) && PRESENT(scroll_forward)) {
} else if (PRESENT(carriage_return) && PRESENT(cursor_down)) {
if (PRESENT(tab) && _nc_capcmp(tab, C_HT))
if (PRESENT(other_non_function_keys)) {
if (PRESENT(src)) {
if (PRESENT(src)) {
if (PRESENT(attr)) {
if (PRESENT(exit_attribute_mode)
&& PRESENT(set_attributes)) {
if (PRESENT(exit_alt_charset_mode)) {
if (PRESENT(value))
if (PRESENT(insert_character) || PRESENT(parm_ich)) {
if (PRESENT(exit_attribute_mode)) {
#define EXPECTED(name) if (!PRESENT(name)) _nc_warning("expected " #name)
#define UNEXPECTED(name) if (PRESENT(name)) _nc_warning("unexpected " #name ", for %s", why)
if (PRESENT(column_address))
if (PRESENT(cursor_address))
if (PRESENT(cursor_home))
if (PRESENT(cursor_mem_address))
if (PRESENT(cursor_to_ll))
if (PRESENT(row_address))
if (PRESENT(cursor_down))
if (PRESENT(cursor_up))
if (PRESENT(cursor_left))
if (PRESENT(cursor_right))
if (PRESENT(parm_down_cursor)) {
if (PRESENT(parm_up_cursor)) {
if (PRESENT(parm_left_cursor)) {
if (PRESENT(parm_right_cursor)) {
if (PRESENT(cursor_down)) {
if (PRESENT(cursor_up)) {
if (PRESENT(cursor_left)) {
if (PRESENT(cursor_right)) {
if (PRESENT(cursor_down) && strcmp(cursor_down, "\n"))
if (PRESENT(cursor_left) && strcmp(cursor_left, "\b"))
if (PRESENT(cursor_up) && strlen(cursor_up) > 1)
if (PRESENT(cursor_right) && strlen(cursor_right) > 1)
if (PRESENT(cap)) {
} else if (PRESENT(cap)) {
if (PRESENT(longname)) _nc_warning(#shortname " is not supported")
if (!PRESENT(user8)) {
if (!PRESENT(user6)) {
if (PRESENT(cursor_visible) && PRESENT(cursor_normal)
if (PRESENT(set_attributes)) {
if (PRESENT(exit_attribute_mode)) {
} else if (PRESENT(exit_attribute_mode) &&
if (PRESENT(exit_attribute_mode)) {
} else if (PRESENT(enter_am_mode) && PRESENT(exit_am_mode)) {
} else if ((PRESENT(enter_insert_mode) && PRESENT(exit_insert_mode))
|| PRESENT(insert_character) || PRESENT(parm_ich)) {
if ((PRESENT(enter_insert_mode) || PRESENT(exit_insert_mode))
&& PRESENT(insert_character)) {
{ "PRESENT", PRESENT },
%token OPTIONAL ORGANIZATION Opaque PLUSINFINITY PRESENT PRIVATE