Rev | Line | |
---|
[9] | 1 | #include <curses.h>
|
---|
| 2 | #include "curspriv.h"
|
---|
| 3 |
|
---|
| 4 | /* Static variables or saving terminal modes */
|
---|
| 5 |
|
---|
| 6 | int fixterm()
|
---|
| 7 | {
|
---|
| 8 | return(OK);
|
---|
| 9 | } /* fixterm */
|
---|
| 10 |
|
---|
| 11 | int resetterm()
|
---|
| 12 | {
|
---|
| 13 | return(OK);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | int saveoldterm()
|
---|
| 17 | {
|
---|
| 18 | return(OK);
|
---|
| 19 | } /* saveoldterm */
|
---|
| 20 |
|
---|
| 21 | int saveterm()
|
---|
| 22 | {
|
---|
| 23 | return(OK);
|
---|
| 24 | } /* saveterm */
|
---|
| 25 |
|
---|
| 26 | int baudrate()
|
---|
| 27 | {
|
---|
| 28 | return(19200);
|
---|
| 29 | } /* baudrate */
|
---|
| 30 |
|
---|
| 31 | /****************************************************************/
|
---|
| 32 | /* Erasechar(), killchar() returns std MSDOS erase chars. */
|
---|
| 33 | /****************************************************************/
|
---|
| 34 |
|
---|
| 35 | int erasechar()
|
---|
| 36 | {
|
---|
| 37 | return(_DCCHAR); /* character delete char */
|
---|
| 38 | } /* erasechar */
|
---|
| 39 |
|
---|
| 40 | int killchar()
|
---|
| 41 | {
|
---|
| 42 | return(_DLCHAR); /* line delete char */
|
---|
| 43 | } /* killchar */
|
---|
| 44 |
|
---|
| 45 | /****************************************************************/
|
---|
| 46 | /* Savetty() and resetty() saves and restores the terminal I/O */
|
---|
| 47 | /* Settings. */
|
---|
| 48 | /****************************************************************/
|
---|
| 49 |
|
---|
| 50 | int savetty()
|
---|
| 51 | {
|
---|
| 52 | return(OK);
|
---|
| 53 | } /* savetty */
|
---|
| 54 |
|
---|
| 55 | /****************************************************************/
|
---|
| 56 | /* Setupterm() sets up the terminal. On a PC, it is always suc- */
|
---|
| 57 | /* Cessful, and returns 1. */
|
---|
| 58 | /****************************************************************/
|
---|
| 59 |
|
---|
| 60 | int setupterm()
|
---|
| 61 | {
|
---|
| 62 | return(1);
|
---|
| 63 | } /* setupterm */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.