GnuCOBOL
2.0
A free COBOL compiler
|
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "libcob.h"
#include "coblocal.h"
Go to the source code of this file.
Data Structures | |
struct | cob_inp_struct |
Macros | |
#define | COB_LIB_EXPIMP |
#define | COB_INP_FLD_MAX 512U |
#define | COB_INP_SIZE (COB_INP_FLD_MAX * sizeof(struct cob_inp_struct)) |
#define | COB_CH_UL ((const chtype)'_') |
#define | COB_CH_SP ((const chtype)' ') |
#define | COB_CH_AS ((const chtype)'*') |
#define | UPDATE_CLAUSE_FUNC(clause_name_upper, clause_name_lower) |
Enumerations | |
enum | screen_statement { ACCEPT_STATEMENT, DISPLAY_STATEMENT } |
Functions | |
static void | cob_speaker_beep (void) |
static void | cob_beep (void) |
static void | cob_convert_key (int *keyp, const cob_u32_t field_accept) |
static void | get_line_column (cob_field *fline, cob_field *fcol, int *line, int *col) |
static void | raise_ec_on_invalid_line_or_col (const int line, const int column) |
static void | cob_move_cursor (const int line, const int column) |
static void | cob_move_to_beg_of_last_line (void) |
static void | cob_screen_attr (cob_field *fgc, cob_field *bgc, const int attr, const enum screen_statement stmt) |
static void | cob_screen_init (void) |
static void | cob_check_pos_status (const int fret) |
static void | raise_ec_on_truncation (const int item_size) |
static void | cob_addnstr (const char *data, const int size) |
static void | cob_addch (const chtype c) |
static void | cob_addch_no_trunc_check (const chtype c) |
static void | cob_addnch (const int n, const chtype c) |
static int | is_first_screen_item (cob_screen *s) |
static cob_screen * | get_last_child (cob_screen *const s) |
static cob_screen * | get_prev_screen_item (cob_screen *const s) |
static void | update_line (cob_screen *s, int *const count, int *const found_clause) |
static void | update_column (cob_screen *s, int *const count, int *const found_clause) |
static size_t | get_size (cob_screen *s) |
static void | get_screen_item_line_and_col (cob_screen *s, int *const line, int *const col) |
static void | cob_screen_puts (cob_screen *s, cob_field *f, const cob_u32_t is_input, const enum screen_statement stmt) |
static COB_INLINE COB_A_INLINE int | cob_field_is_numeric_or_numeric_edited (cob_field *field) |
static int | field_is_empty (cob_screen *s) |
static int | field_is_zero (cob_screen *s) |
static int | pic_has_zero_suppression (const char *pic) |
static int | get_num_int_digits_for_no_zero_sup (const char *pic) |
static int | field_is_zero_or_no_zero_suppression (cob_screen *s) |
static int | field_is_full (cob_screen *s) |
static int | satisfied_full_clause (cob_screen *s) |
static int | satisfied_required_clause (cob_screen *s) |
static int | valid_field_data (cob_field *field) |
static void | refresh_field (cob_screen *s) |
static void | format_field (cob_screen *s) |
static int | finalize_field_input (cob_screen *s) |
static int | finalize_all_fields (struct cob_inp_struct *sptr, const size_t total_idx) |
static void | cob_screen_get_all (const int initial_curs, const int gettimeout) |
static int | compare_yx (const void *m1, const void *m2) |
static void | cob_screen_moveyx (cob_screen *s) |
static size_t | cob_prep_input (cob_screen *s) |
static void | cob_screen_iterate (cob_screen *s) |
static COB_INLINE COB_A_INLINE void | set_default_line_column (const int is_screen, int *sline, int *scolumn) |
static void | pos_to_line_column (cob_field *pos, int *line, int *column) |
static void | extract_line_and_col_vals (const int is_screen, cob_field *line, cob_field *column, int *sline, int *scolumn) |
static COB_INLINE COB_A_INLINE void | init_cob_screen_if_needed (void) |
static void | screen_display (cob_screen *s, const int line, const int column) |
static void | screen_accept (cob_screen *s, const int line, const int column, cob_field *ftimeout) |
static void | field_display (cob_field *f, const int line, const int column, cob_field *fgc, cob_field *bgc, cob_field *fscroll, cob_field *size_is, const int fattr) |
static void | field_accept (cob_field *f, const int sline, const int scolumn, cob_field *fgc, cob_field *bgc, cob_field *fscroll, cob_field *ftimeout, cob_field *prompt, cob_field *size_is, const int fattr) |
void | cob_screen_display (cob_screen *s, cob_field *line, cob_field *column) |
void | cob_screen_accept (cob_screen *s, cob_field *line, cob_field *column, cob_field *ftimeout) |
void | cob_field_display (cob_field *f, cob_field *line, cob_field *column, cob_field *fgc, cob_field *bgc, cob_field *fscroll, cob_field *size_is, const int fattr) |
void | cob_field_accept (cob_field *f, cob_field *line, cob_field *column, cob_field *fgc, cob_field *bgc, cob_field *fscroll, cob_field *ftimeout, cob_field *prompt, cob_field *size_is, const int fattr) |
void | cob_screen_line_col (cob_field *f, const int l_or_c) |
int | cob_sys_clear_screen (void) |
void | cob_screen_set_mode (const cob_u32_t smode) |
void | cob_exit_screen (void) |
int | cob_sys_sound_bell (void) |
void | cob_accept_escape_key (cob_field *f) |
int | cob_sys_get_csr_pos (unsigned char *fld) |
int | cob_sys_get_scr_size (unsigned char *line, unsigned char *col) |
void | cob_init_screenio (cob_global *lptr, cob_settings *sptr) |
Variables | |
static cob_global * | cobglobptr |
static cob_settings * | cobsetptr |
static const cob_field_attr | const_alpha_attr |
static struct cob_inp_struct * | cob_base_inp |
static size_t | totl_index |
static size_t | cob_has_color |
static int | global_return |
static int | cob_current_y |
static int | cob_current_x |
static short | fore_color |
static short | back_color |
static int | origin_y |
static int | origin_x |
#define COB_CH_AS ((const chtype)'*') |
Definition at line 88 of file screenio.c.
Referenced by cob_screen_get_all(), cob_screen_puts(), and field_accept().
#define COB_CH_SP ((const chtype)' ') |
Definition at line 87 of file screenio.c.
Referenced by cob_screen_get_all(), field_accept(), and field_display().
Definition at line 86 of file screenio.c.
Referenced by cob_screen_get_all(), cob_screen_puts(), and field_accept().
#define COB_INP_FLD_MAX 512U |
Definition at line 82 of file screenio.c.
Referenced by cob_prep_input().
#define COB_INP_SIZE (COB_INP_FLD_MAX * sizeof(struct cob_inp_struct)) |
Definition at line 84 of file screenio.c.
Referenced by screen_accept().
#define COB_LIB_EXPIMP |
Definition at line 65 of file screenio.c.
#define UPDATE_CLAUSE_FUNC | ( | clause_name_upper, | |
clause_name_lower | |||
) |
Definition at line 717 of file screenio.c.
enum screen_statement |
Enumerator | |
---|---|
ACCEPT_STATEMENT | |
DISPLAY_STATEMENT |
Definition at line 339 of file screenio.c.
void cob_accept_escape_key | ( | cob_field * | f | ) |
Definition at line 2524 of file screenio.c.
References COB_ACCEPT_STATUS, and cob_set_int().
|
static |
Definition at line 649 of file screenio.c.
References raise_ec_on_truncation().
Referenced by cob_screen_get_all(), and field_accept().
|
static |
Definition at line 657 of file screenio.c.
Referenced by cob_addnch(), cob_screen_puts(), and field_accept().
|
static |
Definition at line 663 of file screenio.c.
References cob_addch_no_trunc_check(), and raise_ec_on_truncation().
Referenced by field_accept(), and field_display().
|
static |
Definition at line 642 of file screenio.c.
References raise_ec_on_truncation().
Referenced by cob_screen_puts().
|
static |
Definition at line 128 of file screenio.c.
References COB_BEEP_VALUE, and cob_speaker_beep().
Referenced by cob_screen_attr(), cob_screen_get_all(), cob_sys_sound_bell(), and field_accept().
|
static |
Definition at line 578 of file screenio.c.
References COB_ACCEPT_STATUS, COB_EC_IMP_ACCEPT, COB_FIELD_IS_NUMERIC, COB_FIELD_TYPE, COB_MODULE_PTR, cob_set_exception(), cob_set_int(), COB_TYPE_NUMERIC_DISPLAY, cob_field::data, and cob_field::size.
Referenced by field_accept(), and screen_accept().
|
static |
Definition at line 146 of file screenio.c.
References COB_EXTENDED_STATUS, and COB_USE_ESC.
Referenced by cob_screen_get_all(), and field_accept().
void cob_exit_screen | ( | void | ) |
Definition at line 2401 of file screenio.c.
References COB_ACCEPT_STATUS, cob_free(), cob_move_to_beg_of_last_line(), __cob_global::cob_screen_initialized, and NULL.
Referenced by cob_runtime_error(), and cob_terminate_routines().
void cob_field_accept | ( | cob_field * | f, |
cob_field * | line, | ||
cob_field * | column, | ||
cob_field * | fgc, | ||
cob_field * | bgc, | ||
cob_field * | fscroll, | ||
cob_field * | ftimeout, | ||
cob_field * | prompt, | ||
cob_field * | size_is, | ||
const int | fattr | ||
) |
Definition at line 2353 of file screenio.c.
References extract_line_and_col_vals(), and field_accept().
Referenced by cob_accept(), and GCic_().
void cob_field_display | ( | cob_field * | f, |
cob_field * | line, | ||
cob_field * | column, | ||
cob_field * | fgc, | ||
cob_field * | bgc, | ||
cob_field * | fscroll, | ||
cob_field * | size_is, | ||
const int | fattr | ||
) |
Definition at line 2341 of file screenio.c.
References extract_line_and_col_vals(), and field_display().
Referenced by cob_display().
|
static |
Definition at line 847 of file screenio.c.
References COB_FIELD_IS_NUMERIC, COB_FIELD_TYPE, and COB_TYPE_NUMERIC_EDITED.
Referenced by cob_screen_get_all(), field_accept(), finalize_field_input(), and satisfied_required_clause().
void cob_init_screenio | ( | cob_global * | lptr, |
cob_settings * | sptr | ||
) |
Definition at line 2567 of file screenio.c.
Referenced by cob_init().
|
static |
Definition at line 317 of file screenio.c.
References raise_ec_on_invalid_line_or_col().
Referenced by cob_screen_attr(), cob_screen_get_all(), cob_screen_moveyx(), cob_screen_puts(), field_accept(), field_display(), refresh_field(), screen_accept(), and screen_display().
|
static |
Definition at line 327 of file screenio.c.
References COB_UNUSED.
Referenced by cob_exit_screen().
|
static |
Definition at line 1442 of file screenio.c.
References ACCEPT_STATEMENT, __cob_screen::attr, __cob_screen::backg, __cob_screen::child, cob_current_x, cob_current_y, COB_INP_FLD_MAX, __cob_settings::cob_legacy, cob_screen_attr(), COB_SCREEN_INPUT, cob_screen_moveyx(), cob_screen_puts(), COB_SCREEN_TYPE_ATTRIBUTE, COB_SCREEN_TYPE_FIELD, COB_SCREEN_TYPE_GROUP, COB_SCREEN_TYPE_VALUE, __cob_screen::field, __cob_screen::foreg, __cob_screen::next, __cob_screen::occurs, cob_inp_struct::scr, cob_inp_struct::this_x, cob_inp_struct::this_y, totl_index, __cob_screen::type, and __cob_screen::value.
Referenced by screen_accept().
void cob_screen_accept | ( | cob_screen * | s, |
cob_field * | line, | ||
cob_field * | column, | ||
cob_field * | ftimeout | ||
) |
Definition at line 2330 of file screenio.c.
References extract_line_and_col_vals(), and screen_accept().
Referenced by GCic_().
|
static |
Definition at line 345 of file screenio.c.
References back_color, cob_beep(), cob_get_int(), cob_has_color, cob_move_cursor(), COB_SCREEN_BELL, COB_SCREEN_BLACK, COB_SCREEN_BLANK_LINE, COB_SCREEN_BLANK_SCREEN, COB_SCREEN_BLINK, COB_SCREEN_BLUE, COB_SCREEN_CYAN, COB_SCREEN_ERASE_EOL, COB_SCREEN_ERASE_EOS, COB_SCREEN_GREEN, COB_SCREEN_HIGHLIGHT, COB_SCREEN_LOWLIGHT, COB_SCREEN_MAGENTA, COB_SCREEN_RED, COB_SCREEN_REVERSE, COB_SCREEN_UNDERLINE, COB_SCREEN_WHITE, COB_SCREEN_YELLOW, DISPLAY_STATEMENT, fore_color, line, and NULL.
Referenced by cob_prep_input(), cob_screen_get_all(), cob_screen_iterate(), cob_screen_puts(), field_accept(), and field_display().
void cob_screen_display | ( | cob_screen * | s, |
cob_field * | line, | ||
cob_field * | column | ||
) |
Definition at line 2321 of file screenio.c.
References extract_line_and_col_vals(), and screen_display().
Referenced by GCic_().
|
static |
Definition at line 1085 of file screenio.c.
References ACCEPT_STATEMENT, __cob_screen::attr, __cob_screen::backg, cob_addch(), cob_base_inp, cob_beep(), COB_CH_AS, COB_CH_SP, COB_CH_UL, cob_convert_key(), cob_field_is_numeric_or_numeric_edited(), cob_move_cursor(), cob_screen_attr(), COB_SCREEN_AUTO, COB_SCREEN_LOWER, COB_SCREEN_NO_ECHO, COB_SCREEN_SECURE, COB_SCREEN_UPPER, cob_field::data, cob_inp_struct::down_index, __cob_screen::field, finalize_all_fields(), finalize_field_input(), __cob_screen::foreg, global_return, __cob_screen::prompt, cob_inp_struct::scr, cob_field::size, cob_inp_struct::this_x, cob_inp_struct::this_y, totl_index, and cob_inp_struct::up_index.
Referenced by screen_accept().
|
static |
Definition at line 490 of file screenio.c.
References _, back_color, cob_current_x, cob_current_y, cob_has_color, __cob_global::cob_locale, __cob_global::cob_locale_ctype, __cob_global::cob_locale_orig, COB_MAX_X_COORD, COB_MAX_Y_COORD, cob_runtime_error(), __cob_global::cob_screen_initialized, cob_stop_run(), fore_color, global_return, NULL, and totl_index.
Referenced by cob_sys_sound_bell(), and init_cob_screen_if_needed().
|
static |
Definition at line 1490 of file screenio.c.
References __cob_screen::attr, __cob_screen::backg, __cob_screen::child, cob_screen_attr(), cob_screen_moveyx(), cob_screen_puts(), COB_SCREEN_TYPE_ATTRIBUTE, COB_SCREEN_TYPE_FIELD, COB_SCREEN_TYPE_GROUP, COB_SCREEN_TYPE_VALUE, DISPLAY_STATEMENT, __cob_screen::field, __cob_screen::foreg, __cob_screen::next, __cob_screen::occurs, __cob_screen::type, and __cob_screen::value.
Referenced by screen_display().
void cob_screen_line_col | ( | cob_field * | f, |
const int | l_or_c | ||
) |
Definition at line 2366 of file screenio.c.
References cob_set_int(), COLS, init_cob_screen_if_needed(), and LINES.
|
static |
Definition at line 1391 of file screenio.c.
References __cob_screen::attr, cob_current_x, cob_current_y, cob_get_int(), cob_move_cursor(), COB_SCREEN_COLUMN_MINUS, COB_SCREEN_COLUMN_PLUS, COB_SCREEN_LINE_MINUS, COB_SCREEN_LINE_PLUS, __cob_screen::column, line, __cob_screen::line, origin_x, and origin_y.
Referenced by cob_prep_input(), and cob_screen_iterate().
|
static |
Definition at line 800 of file screenio.c.
References __cob_screen::attr, __cob_screen::backg, cob_addch_no_trunc_check(), cob_addnstr(), COB_CH_AS, COB_CH_UL, cob_current_x, cob_current_y, cob_move_cursor(), cob_screen_attr(), COB_SCREEN_INPUT, COB_SCREEN_SECURE, cob_field::data, __cob_screen::foreg, get_screen_item_line_and_col(), line, __cob_screen::prompt, raise_ec_on_truncation(), and cob_field::size.
Referenced by cob_prep_input(), cob_screen_iterate(), and refresh_field().
void cob_screen_set_mode | ( | const cob_u32_t | smode | ) |
Definition at line 2388 of file screenio.c.
Referenced by cob_sys_system().
|
static |
Definition at line 115 of file screenio.c.
Referenced by cob_beep(), and cob_sys_sound_bell().
int cob_sys_clear_screen | ( | void | ) |
Definition at line 2377 of file screenio.c.
References cob_current_x, cob_current_y, and init_cob_screen_if_needed().
Referenced by GCic_().
int cob_sys_get_csr_pos | ( | unsigned char * | fld | ) |
int cob_sys_get_scr_size | ( | unsigned char * | line, |
unsigned char * | col | ||
) |
Definition at line 2552 of file screenio.c.
References COB_CHK_PARMS, COLS, and LINES.
int cob_sys_sound_bell | ( | void | ) |
Definition at line 2506 of file screenio.c.
References cob_beep(), COB_BEEP_VALUE, cob_screen_init(), __cob_global::cob_screen_initialized, and cob_speaker_beep().
|
static |
Definition at line 1368 of file screenio.c.
References cob_inp_struct::this_x, and cob_inp_struct::this_y.
Referenced by screen_accept().
|
static |
Definition at line 1564 of file screenio.c.
References get_line_column(), NULL, pos_to_line_column(), and set_default_line_column().
Referenced by cob_field_accept(), cob_field_display(), cob_screen_accept(), and cob_screen_display().
|
static |
Definition at line 1769 of file screenio.c.
References ACCEPT_STATEMENT, cob_field::attr, cob_addch(), cob_addch_no_trunc_check(), cob_addnch(), cob_beep(), COB_CH_AS, COB_CH_SP, COB_CH_UL, cob_check_pos_status(), cob_convert_key(), __cob_global::cob_exception_code, COB_FIELD_IS_NUMERIC, cob_field_is_numeric_or_numeric_edited(), cob_get_int(), __cob_settings::cob_insert_mode, COB_MEDIUM_MAX, cob_move(), cob_move_cursor(), cob_screen_attr(), COB_SCREEN_AUTO, COB_SCREEN_LOWER, COB_SCREEN_NO_ECHO, COB_SCREEN_PROMPT, COB_SCREEN_SCROLL_DOWN, COB_SCREEN_SECURE, COB_SCREEN_UPDATE, COB_SCREEN_UPPER, cob_set_int(), COB_TERM_BUFF, COB_TIMEOUT_SCALE, const_alpha_attr, cob_field::data, init_cob_screen_if_needed(), NULL, origin_x, origin_y, raise_ec_on_truncation(), cob_field::size, and unlikely.
Referenced by cob_field_accept().
|
static |
Definition at line 1700 of file screenio.c.
References cob_field::attr, cob_addnch(), COB_CH_SP, cob_fatal_error(), COB_FERROR_CODEGEN, cob_get_int(), cob_move_cursor(), cob_screen_attr(), COB_SCREEN_EMULATE_NL, COB_SCREEN_NO_DISP, COB_SCREEN_SCROLL_DOWN, COB_TYPE_ALPHANUMERIC_ALL, cob_field::data, DISPLAY_STATEMENT, init_cob_screen_if_needed(), line, LINES, origin_x, origin_y, cob_field::size, cob_field_attr::type, and unlikely.
Referenced by cob_field_display().
|
static |
Definition at line 854 of file screenio.c.
References cob_field::data, __cob_screen::field, and cob_field::size.
Referenced by satisfied_full_clause(), and satisfied_required_clause().
|
static |
Definition at line 962 of file screenio.c.
References cob_field::data, __cob_screen::field, and cob_field::size.
Referenced by satisfied_full_clause().
|
static |
Definition at line 870 of file screenio.c.
References COB_MODULE_PTR, cob_field::data, __cob_screen::field, and cob_field::size.
Referenced by field_is_zero_or_no_zero_suppression(), satisfied_full_clause(), and satisfied_required_clause().
|
static |
Definition at line 928 of file screenio.c.
References COB_FIELD_DATA, COB_FIELD_PIC, COB_FIELD_SIZE, __cob_screen::field, field_is_zero(), get_num_int_digits_for_no_zero_sup(), and pic_has_zero_suppression().
Referenced by satisfied_full_clause().
|
static |
Definition at line 1071 of file screenio.c.
References finalize_field_input(), and cob_inp_struct::scr.
Referenced by cob_screen_get_all().
|
static |
Definition at line 1053 of file screenio.c.
References cob_field_is_numeric_or_numeric_edited(), __cob_screen::field, format_field(), satisfied_full_clause(), satisfied_required_clause(), and valid_field_data().
Referenced by cob_screen_get_all(), and finalize_all_fields().
|
static |
Definition at line 1025 of file screenio.c.
References cob_field::attr, COB_FIELD_INIT, COB_FIELD_IS_NUMERIC, cob_free(), cob_intr_numval(), cob_intr_numval_c(), cob_malloc(), cob_move(), COB_TYPE_NUMERIC_EDITED, cob_field::data, __cob_screen::field, NULL, refresh_field(), cob_field::size, and cob_field_attr::type.
Referenced by cob_intr_formatted_time(), and finalize_field_input().
|
static |
Definition at line 687 of file screenio.c.
References __cob_screen::child, and __cob_screen::next.
Referenced by get_prev_screen_item().
Definition at line 273 of file screenio.c.
References cob_get_int(), and NULL.
Referenced by extract_line_and_col_vals().
|
static |
Definition at line 906 of file screenio.c.
References COB_MODULE_PTR.
Referenced by field_is_zero_or_no_zero_suppression().
|
static |
Definition at line 701 of file screenio.c.
References __cob_screen::child, get_last_child(), NULL, __cob_screen::parent, and __cob_screen::prev.
Referenced by get_screen_item_line_and_col().
|
static |
Definition at line 748 of file screenio.c.
References __cob_screen::child, __cob_screen::column, get_prev_screen_item(), get_size(), is_first_screen_item(), __cob_screen::line, origin_x, origin_y, update_column(), and update_line().
Referenced by cob_screen_puts().
|
static |
Definition at line 738 of file screenio.c.
References __cob_screen::field, cob_field::size, and __cob_screen::value.
Referenced by get_screen_item_line_and_col().
|
static |
Definition at line 1583 of file screenio.c.
References cob_screen_init(), and __cob_global::cob_screen_initialized.
Referenced by cob_screen_line_col(), cob_sys_clear_screen(), field_accept(), field_display(), screen_accept(), and screen_display().
|
static |
Definition at line 674 of file screenio.c.
References __cob_screen::parent, and __cob_screen::prev.
Referenced by get_screen_item_line_and_col().
|
static |
Definition at line 888 of file screenio.c.
Referenced by field_is_zero_or_no_zero_suppression().
|
static |
Definition at line 1540 of file screenio.c.
References cob_get_int(), and cob_field::size.
Referenced by extract_line_and_col_vals().
|
static |
Definition at line 302 of file screenio.c.
References COB_EC_SCREEN_LINE_NUMBER, COB_EC_SCREEN_STARTING_COLUMN, and cob_set_exception().
Referenced by cob_move_cursor().
|
static |
Definition at line 623 of file screenio.c.
References COB_EC_SCREEN_ITEM_TRUNCATED, cob_set_exception(), and COB_UNUSED.
Referenced by cob_addch(), cob_addnch(), cob_addnstr(), cob_screen_puts(), and field_accept().
|
static |
Definition at line 1014 of file screenio.c.
References ACCEPT_STATEMENT, __cob_settings::cob_legacy, cob_move_cursor(), cob_screen_puts(), and __cob_screen::field.
Referenced by format_field().
|
static |
Definition at line 972 of file screenio.c.
References __cob_screen::attr, COB_FIELD_IS_NUMERIC, COB_FIELD_TYPE, COB_SCREEN_FULL, COB_TYPE_NUMERIC_EDITED, __cob_screen::field, field_is_empty(), field_is_full(), field_is_zero(), and field_is_zero_or_no_zero_suppression().
Referenced by finalize_field_input().
|
static |
Definition at line 988 of file screenio.c.
References __cob_screen::attr, cob_field_is_numeric_or_numeric_edited(), COB_SCREEN_REQUIRED, __cob_screen::field, field_is_empty(), and field_is_zero().
Referenced by finalize_field_input().
|
static |
Definition at line 1604 of file screenio.c.
References __cob_screen::attr, cob_base_inp, cob_check_pos_status(), cob_current_x, cob_current_y, __cob_global::cob_exception_code, cob_get_int(), COB_INP_SIZE, cob_malloc(), cob_move_cursor(), cob_prep_input(), cob_screen_get_all(), COB_SCREEN_INITIAL, COB_TIMEOUT_SCALE, compare_yx(), cob_inp_struct::down_index, global_return, init_cob_screen_if_needed(), line, origin_x, origin_y, cob_inp_struct::scr, cob_inp_struct::this_y, totl_index, and cob_inp_struct::up_index.
Referenced by cob_screen_accept().
|
static |
Definition at line 1591 of file screenio.c.
References cob_move_cursor(), cob_screen_iterate(), init_cob_screen_if_needed(), line, origin_x, and origin_y.
Referenced by cob_screen_display(), and yyparse().
|
static |
Definition at line 1523 of file screenio.c.
Referenced by extract_line_and_col_vals().
|
static |
Definition at line 733 of file screenio.c.
Referenced by get_screen_item_line_and_col().
|
static |
Definition at line 732 of file screenio.c.
Referenced by get_screen_item_line_and_col().
|
static |
Definition at line 1002 of file screenio.c.
References cob_field::attr, cob_check_numval(), COB_FIELD_IS_NUMERIC, COB_TYPE_NUMERIC_EDITED, NULL, and cob_field_attr::type.
Referenced by finalize_field_input().
|
static |
Definition at line 107 of file screenio.c.
Referenced by cob_screen_attr(), and cob_screen_init().
|
static |
Definition at line 100 of file screenio.c.
Referenced by cob_screen_get_all(), and screen_accept().
|
static |
Definition at line 105 of file screenio.c.
Referenced by cob_prep_input(), cob_screen_init(), cob_screen_moveyx(), cob_screen_puts(), cob_sys_clear_screen(), and screen_accept().
|
static |
Definition at line 104 of file screenio.c.
Referenced by cob_prep_input(), cob_screen_init(), cob_screen_moveyx(), cob_screen_puts(), cob_sys_clear_screen(), and screen_accept().
|
static |
Definition at line 102 of file screenio.c.
Referenced by cob_screen_attr(), and cob_screen_init().
|
static |
Definition at line 92 of file screenio.c.
|
static |
Definition at line 93 of file screenio.c.
|
static |
Definition at line 98 of file screenio.c.
Referenced by field_accept().
|
static |
Definition at line 106 of file screenio.c.
Referenced by cob_screen_attr(), and cob_screen_init().
|
static |
Definition at line 103 of file screenio.c.
Referenced by cob_screen_get_all(), cob_screen_init(), and screen_accept().
|
static |
Definition at line 109 of file screenio.c.
Referenced by cob_screen_moveyx(), field_accept(), field_display(), get_screen_item_line_and_col(), screen_accept(), and screen_display().
|
static |
Definition at line 108 of file screenio.c.
Referenced by cob_screen_moveyx(), field_accept(), field_display(), get_screen_item_line_and_col(), screen_accept(), and screen_display().
|
static |
Definition at line 101 of file screenio.c.
Referenced by cob_prep_input(), cob_screen_get_all(), cob_screen_init(), and screen_accept().