1 |
/* |
2 |
* Interface Implementation - terminal setup |
3 |
* by Tom Epperly |
4 |
* Created: 1/17/90 |
5 |
* Version: $Revision: 1.4 $ |
6 |
* Version control file: $RCSfile: termsetup.h,v $ |
7 |
* Date last modified: $Date: 1997/07/18 12:35:29 $ |
8 |
* Last modified by: $Author: mthomas $ |
9 |
* |
10 |
* This file is part of the Ascend Language Interpreter. |
11 |
* |
12 |
* Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly |
13 |
* |
14 |
* The Ascend Language Interpreter is free software; you can redistribute |
15 |
* it and/or modify it under the terms of the GNU General Public License as |
16 |
* published by the Free Software Foundation; either version 2 of the |
17 |
* License, or (at your option) any later version. |
18 |
* |
19 |
* The Ascend Language Interpreter is distributed in hope that it will be |
20 |
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
22 |
* General Public License for more details. |
23 |
* |
24 |
* You should have received a copy of the GNU General Public License |
25 |
* along with the program; if not, write to the Free Software Foundation, |
26 |
* Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named |
27 |
* COPYING. |
28 |
*/ |
29 |
|
30 |
/** @file |
31 |
* Interface Implementation - terminal setup. |
32 |
* <pre> |
33 |
* When #including termsetup.h, make sure these files are #included first: |
34 |
* #include "utilities/ascConfig.h" |
35 |
* </pre> |
36 |
* @todo Complete documentation of termsetup.h. |
37 |
*/ |
38 |
|
39 |
#ifndef __TERMSETUP_H_SEEN__ |
40 |
#define __TERMSETUP_H_SEEN__ |
41 |
|
42 |
extern int OutputChar(char c); /**< Print c and return it. */ |
43 |
extern void DeleteBackOne(void); /**< Print backspace. */ |
44 |
extern void ClearScreen(void); /**< Clear the screen. */ |
45 |
extern void Bell(void); /**< Print bell. */ |
46 |
extern void ClearLine(void); /**< Clear the line. */ |
47 |
extern void SetupTermcapStuff(void); /**< Setup terminal characteristics. */ |
48 |
extern void InterfaceError(void); /**< Called when an error occurs. */ |
49 |
extern void SetupTerminal(void); /**< Setup terminal. */ |
50 |
extern void RestoreTerminal(void); /**< Restore terminal settings. */ |
51 |
extern void TermSetup_ResetTerminal(void); /**< Reset the terminal. */ |
52 |
extern void ReadString(char *str, int *len); /**< Read a string of length len. */ |
53 |
|
54 |
#endif /* __TERMSETUP_H_SEEN__ */ |
55 |
|