/[ascend]/trunk/base/dummy/compiler/termsetup.h
ViewVC logotype

Contents of /trunk/base/dummy/compiler/termsetup.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations) (download) (as text)
Sat Sep 3 01:25:36 2005 UTC (19 years ago) by jds
Original Path: trunk/base/generic/compiler/termsetup.h
File MIME type: text/x-chdr
File size: 2483 byte(s)
Minor comment updates, add doc subdir to tclck98 subdir
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 * Note - terminal support is not provide for Windows at this time.
33 * <pre>
34 * When #including termsetup.h, make sure these files are #included first:
35 * #include "utilities/ascConfig.h"
36 * </pre>
37 * @todo Complete documentation of termsetup.h.
38 * @todo Implement termsetup functions for Windows if needed.
39 */
40
41 #ifndef __TERMSETUP_H_SEEN__
42 #define __TERMSETUP_H_SEEN__
43
44 extern int OutputChar(char c); /**< Print c and return it. */
45 extern void DeleteBackOne(void); /**< Print backspace. */
46 extern void ClearScreen(void); /**< Clear the screen. */
47 extern void Bell(void); /**< Print bell. */
48 extern void ClearLine(void); /**< Clear the line. */
49 extern void SetupTermcapStuff(void); /**< Setup terminal characteristics. */
50 extern void InterfaceError(void); /**< Called when an error occurs. */
51 extern void SetupTerminal(void); /**< Setup terminal. */
52 extern void RestoreTerminal(void); /**< Restore terminal settings. */
53 extern void TermSetup_ResetTerminal(void); /**< Reset the terminal. */
54 extern void ReadString(char *str, int *len); /**< Read a string of length len. */
55
56 #endif /* __TERMSETUP_H_SEEN__ */
57

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22