27 |
* COPYING. |
* 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__ |
#ifndef __TERMSETUP_H_SEEN__ |
42 |
#define __TERMSETUP_H_SEEN__ |
#define __TERMSETUP_H_SEEN__ |
43 |
|
|
44 |
extern int OutputChar(); |
extern int OutputChar(char c); /**< Print c and return it. */ |
45 |
extern void DeleteBackOne(); |
extern void DeleteBackOne(void); /**< Print backspace. */ |
46 |
extern void ClearScreen(); |
extern void ClearScreen(void); /**< Clear the screen. */ |
47 |
extern void Bell(); |
extern void Bell(void); /**< Print bell. */ |
48 |
extern void ClearLine(); |
extern void ClearLine(void); /**< Clear the line. */ |
49 |
extern void SetupTermcapStuff(); |
extern void SetupTermcapStuff(void); /**< Setup terminal characteristics. */ |
50 |
extern void InterfaceError(); |
extern void InterfaceError(void); /**< Called when an error occurs. */ |
51 |
extern void SetupTerminal(); |
extern void SetupTerminal(void); /**< Setup terminal. */ |
52 |
extern void RestoreTerminal(); |
extern void RestoreTerminal(void); /**< Restore terminal settings. */ |
53 |
extern void TermSetup_ResetTerminal(); |
extern void TermSetup_ResetTerminal(void); /**< Reset the terminal. */ |
54 |
extern void ReadString(); |
extern void ReadString(char *str, int *len); /**< Read a string of length len. */ |
55 |
|
|
56 |
#endif /* __TERMSETUP_H_SEEN__ */ |
#endif /* __TERMSETUP_H_SEEN__ */ |
57 |
|
|