/**-- terminal i/o, system independent parts Copyright (C) Tektronix, Inc. 1998 - 2001. All rights reserved. @see GNU LGPL @author Tektronix CTE @(#) %derived_by: guidod % @version %version: bln_mpt1!1.15 % (%date_modified: Tue Oct 02 22:02:14 2001 %) */ /* @description functions to talk to the terminal driver of forth. Depending on the active terminal driver, not all of these words are fully functional. @{ */ #if defined(__version_control__) && defined(__GNUC__)static char* id __attribute__((unused)) = "@(#) $Id: %full_filespec: term-sub.c~bln_mpt1!1.15:csrc:bln_12xx!1 % $" #endif #define _P4_SOURCE 1 #include <pfe/incl-ext.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <pfe/def-xtra.h> #include <pfe/term-sub.h> #include <pfe/_missing.h> #ifdef _K12_SOURCE #include <pfe/term-k12.h> #endif #ifndef isascii #define isascii(X) ((unsigned char) (X) < 0x80) #endif #if !defined PFE_CHARSET_IBMPC && !defined PFE_CHARSET_ISO # if PFE_PATH_STYLE & 16 # define PFE_CHARSET_IBMPC 1 # else # define PFE_CHARSET_ISO 1 # endif #endif;
/* |
/**
|
/**
|
/**
|
static int get_remap_key (p4char *replace[])
|
int p4_getekey (void)
|
int p4_getwskey (void)
|
int p4_ekeypressed (void)
|
int p4_isprint (int c)
|
void /*
|
int p4_change_case (int ch)
|
/* |
/* |
void p4_interactive_terminal ()
|
void p4_system_terminal ()
|
void p4_query_winsize ()
|
int p4_tty_interrupt_key (char ch)
|
int p4_keypressed ()
|
int p4_getkey ()
|
void p4_putc_noflush (char c)
|
void p4_putc (char c)
|
void p4_puts (const char* s)
|
void p4_put_flush ()
|
void p4_gotoxy(int x, int y)
|
void p4_wherexy(int* x, int* y)
|
void p4_goleft (void)
|
void p4_goright (void)
|
void p4_goup (void)
|
void p4_godown (void)
|
void p4_dot_home (void)
|
void p4_dot_clrscr (void)
|
void p4_dot_clreol (void)
|
void p4_dot_clrdown (void)
|
void p4_dot_bell (void)
|
void p4_dot_normal (void)
|
void p4_dot_standout_on (void)
|
void p4_dot_standout_off (void)
|
void p4_dot_bright (void)
|
void p4_dot_reverse (void)
|
void p4_dot_blinking (void)
|
void p4_dot_underline_on (void)
|
void p4_dot_underline_off (void)
|
/*
|
void p4_cleanup_terminal (void)
|
/* |