![]() |
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"
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)'*') |
Functions | |
static void | cob_speaker_beep (void) |
void | cob_exit_screen (void) |
void | cob_field_display (cob_field *f, cob_field *line, cob_field *column, cob_field *fgc, cob_field *bgc, cob_field *fscroll, const int attr) |
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, const int attr) |
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_screen_line_col (cob_field *f, const int l_or_c) |
void | cob_screen_set_mode (const cob_u32_t smode) |
int | cob_sys_clear_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, runtime_env *runtimeptr) |
Variables | |
static cob_global * | cobglobptr |
static cob_u32_t | cob_legacy |
static char * | cob_legacy_env |
#define COB_CH_AS ((const chtype)'*') |
#define COB_CH_SP ((const chtype)' ') |
#define COB_INP_FLD_MAX 512U |
#define COB_INP_SIZE (COB_INP_FLD_MAX * sizeof(struct cob_inp_struct)) |
#define COB_LIB_EXPIMP |
void cob_accept_escape_key | ( | cob_field * | f | ) |
References COB_ACCEPT_STATUS, and cob_set_int().
void cob_exit_screen | ( | void | ) |
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, | ||
const int | attr | ||
) |
void cob_field_display | ( | cob_field * | f, |
cob_field * | line, | ||
cob_field * | column, | ||
cob_field * | fgc, | ||
cob_field * | bgc, | ||
cob_field * | fscroll, | ||
const int | attr | ||
) |
void cob_init_screenio | ( | cob_global * | lptr, |
runtime_env * | runtimeptr | ||
) |
References cob_check_env_true(), cob_legacy, runtime_env::cob_legacy, cob_legacy_env, runtime_env::cob_legacy_env, cob_save_env_value(), and NULL.
Referenced by cob_init().
void cob_screen_accept | ( | cob_screen * | s, |
cob_field * | line, | ||
cob_field * | column, | ||
cob_field * | ftimeout | ||
) |
References COB_UNUSED.
void cob_screen_display | ( | cob_screen * | s, |
cob_field * | line, | ||
cob_field * | column | ||
) |
References COB_UNUSED.
void cob_screen_line_col | ( | cob_field * | f, |
const int | l_or_c | ||
) |
References cob_set_int().
void cob_screen_set_mode | ( | const cob_u32_t | smode | ) |
|
static |
Referenced by cob_sys_sound_bell().
int cob_sys_get_csr_pos | ( | unsigned char * | fld | ) |
References COB_CHK_PARMS.
int cob_sys_get_scr_size | ( | unsigned char * | line, |
unsigned char * | col | ||
) |
References COB_CHK_PARMS, COLS, and LINES.
int cob_sys_sound_bell | ( | void | ) |
References COB_BEEP_VALUE, __cob_global::cob_screen_initialized, and cob_speaker_beep().
|
static |
Referenced by cob_init_screenio().
|
static |
Referenced by cob_init_screenio().
|
static |