/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $TRMDEF ***/ #ifndef __TRMDEF_LOADED #define __TRMDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* Define symbols for the item list QIO format */ /* */ /* Item list type codes */ #define TRM$_MODIFIERS 0 #define TRM$_EDITMODE 1 #define TRM$_TIMEOUT 2 #define TRM$_TERM 3 #define TRM$_PROMPT 4 #define TRM$_INISTRNG 5 #define TRM$_PICSTRNG 6 #define TRM$_FILLCHR 7 #define TRM$_INIOFFSET 8 #define TRM$_ALTECHSTR 9 #define TRM$_ESCTRMOVR 10 #define TRM$_LASTITM 11 /* must remain the last item */ #define TRM$_RESERVE12 12 #define TRM$_RESERVE13 13 #define TRM$_RESERVE14 14 #define TRM$_RESERVE15 15 #define TRM$_RESERVE16 16 #define TRM$_RESERVE17 17 #define TRM$_RESERVE18 18 #define TRM$_RESERVE19 19 #define TRM$_RESERVE20 20 #define TRM$_RESERVE21 21 #define TRM$_RESERVE22 22 #define TRM$_RESERVE23 23 #define TRM$_RESERVE24 24 #define TRM$_RESERVE25 25 #define TRM$_RESERVE26 26 #define TRM$_RESERVE27 27 #define TRM$_RESERVE28 28 #define TRM$_RESERVE29 29 #define TRM$_RESERVE30 30 #define TRM$_RECLINE 31 /* Reserved for exclusive use by */ /* Japanese input method; this code MUST */ /* remain in the invalid item code range */ /* */ /* Editmode type codes */ /* */ #define TRM$K_EM_DEFAULT 0 #define TRM$K_EM_RDVERIFY 1 #define TRM$M_TM_NOECHO 0x40 #define TRM$M_TM_TIMED 0x80 #define TRM$M_TM_CVTLOW 0x100 #define TRM$M_TM_NOFILTR 0x200 #define TRM$M_TM_DSABLMBX 0x400 #define TRM$M_TM_PURGE 0x800 #define TRM$M_TM_TRMNOECHO 0x1000 #define TRM$M_TM_REFRESH 0x2000 #define TRM$M_TM_ESCAPE 0x4000 #define TRM$M_TM_NOEDIT 0x8000 #define TRM$M_TM_NORECALL 0x10000 #define TRM$M_TM_R_JUST 0x20000 #define TRM$M_TM_AUTO_TAB 0x40000 #define TRM$M_TM_ARROWS 0x80000 #define TRM$M_TM_TERM_ARROW 0x100000 #define TRM$M_TM_TERM_DEL 0x200000 #define TRM$M_TM_TOGGLE 0x400000 #define TRM$M_TM_OTHERWAY 0x800000 #define TRM$M_TM_NOCLEAR 0x1000000 #define TRM$M_CV_UPPER 0x1 #define TRM$M_CV_LOWER 0x2 #define TRM$M_CV_NUMERIC 0x4 #define TRM$M_CV_NUMPUNC 0x8 #define TRM$M_CV_PRINTABLE 0x10 #define TRM$M_CV_ANY 0x20 #define TRM$M_ST_FIELD_FULL 0x1 #define TRM$M_ST_OTHERWAY 0x2 #ifdef __NEW_STARLET typedef union _trmdef { __struct { unsigned trmdef$$_fill_1 : 6; /*FUNCTION CODE */ unsigned trm$v_tm_noecho : 1; /*NOECHO */ unsigned trm$v_tm_timed : 1; /*TIMED */ unsigned trm$v_tm_cvtlow : 1; /*CONVERT LOWER CASE */ unsigned trm$v_tm_nofiltr : 1; /*NO FILTER */ unsigned trm$v_tm_dsablmbx : 1; /*DISABLE MAILBOX */ unsigned trm$v_tm_purge : 1; /*PURGE TYPEAHEAD */ unsigned trm$v_tm_trmnoecho : 1; /*TERMINATORS ARE NOT ECHOED */ unsigned trm$v_tm_refresh : 1; /*Control-R interrupted read n */ unsigned trm$v_tm_escape : 1; /*TERMINATE READ ON ESCAPE SEQUENCE */ unsigned trm$v_tm_noedit : 1; /*DISABLE ADVANCED EDITING */ unsigned trm$v_tm_norecall : 1; /*Disable the recall feature of advanced editing */ unsigned trm$v_tm_r_just : 1; /*Right justification */ unsigned trm$v_tm_auto_tab : 1; /*Auto tab field */ unsigned trm$v_tm_arrows : 1; /* enable left & right arrow keys */ unsigned trm$v_tm_term_arrow : 1; /* pass arrows as terminator */ unsigned trm$v_tm_term_del : 1; /* pass as terminator */ unsigned trm$v_tm_toggle : 1; /* allow insert/overstrike toggle */ unsigned trm$v_tm_otherway : 1; /* overstrike R-justify or insert L-justify */ unsigned trm$v_tm_noclear : 1; /* don't replace fill with clear after first non-fill */ unsigned trm$v_fill_40_ : 7; } trm$r_trmdef_bits0; __struct { /* picture string mask */ unsigned trm$v_cv_upper : 1; /* upper case */ unsigned trm$v_cv_lower : 1; /* lower case */ unsigned trm$v_cv_numeric : 1; /* numeric (0-9) */ unsigned trm$v_cv_numpunc : 1; /* numeric punctuation (+ - .) */ unsigned trm$v_cv_printable : 1; /* printable character */ unsigned trm$v_cv_any : 1; /* any character */ unsigned trm$v_fill_41_ : 2; } trm$r_trmdef_bits1; __struct { unsigned trm$v_st_field_full : 1; /* field full condition IOSB+7 contains index to cursor */ unsigned trm$v_st_otherway : 1; /* left-justify insert OR right-justify overstrike */ unsigned trm$v_fill_42_ : 6; } trm$r_trmdef_bits2; } TRMDEF; #if !defined(__VAXC) #define trm$v_tm_noecho trm$r_trmdef_bits0.trm$v_tm_noecho #define trm$v_tm_timed trm$r_trmdef_bits0.trm$v_tm_timed #define trm$v_tm_cvtlow trm$r_trmdef_bits0.trm$v_tm_cvtlow #define trm$v_tm_nofiltr trm$r_trmdef_bits0.trm$v_tm_nofiltr #define trm$v_tm_dsablmbx trm$r_trmdef_bits0.trm$v_tm_dsablmbx #define trm$v_tm_purge trm$r_trmdef_bits0.trm$v_tm_purge #define trm$v_tm_trmnoecho trm$r_trmdef_bits0.trm$v_tm_trmnoecho #define trm$v_tm_refresh trm$r_trmdef_bits0.trm$v_tm_refresh #define trm$v_tm_escape trm$r_trmdef_bits0.trm$v_tm_escape #define trm$v_tm_noedit trm$r_trmdef_bits0.trm$v_tm_noedit #define trm$v_tm_norecall trm$r_trmdef_bits0.trm$v_tm_norecall #define trm$v_tm_r_just trm$r_trmdef_bits0.trm$v_tm_r_just #define trm$v_tm_auto_tab trm$r_trmdef_bits0.trm$v_tm_auto_tab #define trm$v_tm_arrows trm$r_trmdef_bits0.trm$v_tm_arrows #define trm$v_tm_term_arrow trm$r_trmdef_bits0.trm$v_tm_term_arrow #define trm$v_tm_term_del trm$r_trmdef_bits0.trm$v_tm_term_del #define trm$v_tm_toggle trm$r_trmdef_bits0.trm$v_tm_toggle #define trm$v_tm_otherway trm$r_trmdef_bits0.trm$v_tm_otherway #define trm$v_tm_noclear trm$r_trmdef_bits0.trm$v_tm_noclear #define trm$v_cv_upper trm$r_trmdef_bits1.trm$v_cv_upper #define trm$v_cv_lower trm$r_trmdef_bits1.trm$v_cv_lower #define trm$v_cv_numeric trm$r_trmdef_bits1.trm$v_cv_numeric #define trm$v_cv_numpunc trm$r_trmdef_bits1.trm$v_cv_numpunc #define trm$v_cv_printable trm$r_trmdef_bits1.trm$v_cv_printable #define trm$v_cv_any trm$r_trmdef_bits1.trm$v_cv_any #define trm$v_st_field_full trm$r_trmdef_bits2.trm$v_st_field_full #define trm$v_st_otherway trm$r_trmdef_bits2.trm$v_st_otherway #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union trmdef { __struct { unsigned trmdef$$_fill_1 : 6; /*FUNCTION CODE */ unsigned trm$v_tm_noecho : 1; /*NOECHO */ unsigned trm$v_tm_timed : 1; /*TIMED */ unsigned trm$v_tm_cvtlow : 1; /*CONVERT LOWER CASE */ unsigned trm$v_tm_nofiltr : 1; /*NO FILTER */ unsigned trm$v_tm_dsablmbx : 1; /*DISABLE MAILBOX */ unsigned trm$v_tm_purge : 1; /*PURGE TYPEAHEAD */ unsigned trm$v_tm_trmnoecho : 1; /*TERMINATORS ARE NOT ECHOED */ unsigned trm$v_tm_refresh : 1; /*Control-R interrupted read n */ unsigned trm$v_tm_escape : 1; /*TERMINATE READ ON ESCAPE SEQUENCE */ unsigned trm$v_tm_noedit : 1; /*DISABLE ADVANCED EDITING */ unsigned trm$v_tm_norecall : 1; /*Disable the recall feature of advanced editing */ unsigned trm$v_tm_r_just : 1; /*Right justification */ unsigned trm$v_tm_auto_tab : 1; /*Auto tab field */ unsigned trm$v_tm_arrows : 1; /* enable left & right arrow keys */ unsigned trm$v_tm_term_arrow : 1; /* pass arrows as terminator */ unsigned trm$v_tm_term_del : 1; /* pass as terminator */ unsigned trm$v_tm_toggle : 1; /* allow insert/overstrike toggle */ unsigned trm$v_tm_otherway : 1; /* overstrike R-justify or insert L-justify */ unsigned trm$v_tm_noclear : 1; /* don't replace fill with clear after first non-fill */ unsigned trm$v_fill_40_ : 7; } trm$r_trmdef_bits0; __struct { /* picture string mask */ unsigned trm$v_cv_upper : 1; /* upper case */ unsigned trm$v_cv_lower : 1; /* lower case */ unsigned trm$v_cv_numeric : 1; /* numeric (0-9) */ unsigned trm$v_cv_numpunc : 1; /* numeric punctuation (+ - .) */ unsigned trm$v_cv_printable : 1; /* printable character */ unsigned trm$v_cv_any : 1; /* any character */ unsigned trm$v_fill_41_ : 2; } trm$r_trmdef_bits1; __struct { unsigned trm$v_st_field_full : 1; /* field full condition IOSB+7 contains index to cursor */ unsigned trm$v_st_otherway : 1; /* left-justify insert OR right-justify overstrike */ unsigned trm$v_fill_42_ : 6; } trm$r_trmdef_bits2; } ; #if !defined(__VAXC) #define trm$v_tm_noecho trm$r_trmdef_bits0.trm$v_tm_noecho #define trm$v_tm_timed trm$r_trmdef_bits0.trm$v_tm_timed #define trm$v_tm_cvtlow trm$r_trmdef_bits0.trm$v_tm_cvtlow #define trm$v_tm_nofiltr trm$r_trmdef_bits0.trm$v_tm_nofiltr #define trm$v_tm_dsablmbx trm$r_trmdef_bits0.trm$v_tm_dsablmbx #define trm$v_tm_purge trm$r_trmdef_bits0.trm$v_tm_purge #define trm$v_tm_trmnoecho trm$r_trmdef_bits0.trm$v_tm_trmnoecho #define trm$v_tm_refresh trm$r_trmdef_bits0.trm$v_tm_refresh #define trm$v_tm_escape trm$r_trmdef_bits0.trm$v_tm_escape #define trm$v_tm_noedit trm$r_trmdef_bits0.trm$v_tm_noedit #define trm$v_tm_norecall trm$r_trmdef_bits0.trm$v_tm_norecall #define trm$v_tm_r_just trm$r_trmdef_bits0.trm$v_tm_r_just #define trm$v_tm_auto_tab trm$r_trmdef_bits0.trm$v_tm_auto_tab #define trm$v_tm_arrows trm$r_trmdef_bits0.trm$v_tm_arrows #define trm$v_tm_term_arrow trm$r_trmdef_bits0.trm$v_tm_term_arrow #define trm$v_tm_term_del trm$r_trmdef_bits0.trm$v_tm_term_del #define trm$v_tm_toggle trm$r_trmdef_bits0.trm$v_tm_toggle #define trm$v_tm_otherway trm$r_trmdef_bits0.trm$v_tm_otherway #define trm$v_tm_noclear trm$r_trmdef_bits0.trm$v_tm_noclear #define trm$v_cv_upper trm$r_trmdef_bits1.trm$v_cv_upper #define trm$v_cv_lower trm$r_trmdef_bits1.trm$v_cv_lower #define trm$v_cv_numeric trm$r_trmdef_bits1.trm$v_cv_numeric #define trm$v_cv_numpunc trm$r_trmdef_bits1.trm$v_cv_numpunc #define trm$v_cv_printable trm$r_trmdef_bits1.trm$v_cv_printable #define trm$v_cv_any trm$r_trmdef_bits1.trm$v_cv_any #define trm$v_st_field_full trm$r_trmdef_bits2.trm$v_st_field_full #define trm$v_st_otherway trm$r_trmdef_bits2.trm$v_st_otherway #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __TRMDEF_LOADED */