/**-- terminal driver fo djgpp Copyright (C) Tektronix, Inc. 1998 - 2001. All rights reserved. @see GNU LGPL @author Tektronix CTE @(#) %derived_by: guidod % @version %version: 5.5 % (%date_modified: Mon Mar 12 10:32:53 2001 %) @description Terminal driver for DOS and OS/2 with DJGPP, there is almost nothing to do. */ /* Adapted from term-emx.c by Antonio Costa (acc@asterix.inescn.pt) Works in 25 and 50 lines text modes (at least). @{ */ #if defined(__version_control__) && defined(__GNUC__)static char* id __attribute__((unused)) = "@(#) $Id: %full_filespec: term-dj.c~5.5:csrc:bln_12xx!5 % $" #endif #define _P4_SOURCE 1 #include <pfe/incl-sub.h> #include <pfe/term-sub.h> #include <pc.h> #include <ctype.h>;
static int c_interrupt_key (char ch)
|
static void c_interactive_terminal (void)
|
static void c_system_terminal (void)
|
static void c_query_winsize (void)
|
static int c_prepare_terminal (void)
|
static void c_cleanup_terminal (void)
|
static int c_keypressed (void)
|
static int newgetkey (void)
|
static void c_putc (char c)
|
static void c_puts (const char *s)
|
static void c_putc (char c)
|
static void c_puts (const char *s)
|
static void c_gotoxy (int x, int y)
|
static void c_wherexy (int *x, int *y)
|
static void _addxy (int x, int y)
|
static void _clrscr (void)
|
static void _home (void)
|
static void _clreol (void)
|
static void _clrdown (void)
|
static int c_tput (int attr)
|
p4_term_struct p4_term_ios =
|
/* |