source: trunk/minix/lib/curses/termmisc.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.2 KB
Line 
1#include <curses.h>
2#include "curspriv.h"
3
4/* Static variables or saving terminal modes */
5
6int fixterm()
7{
8 return(OK);
9} /* fixterm */
10
11int resetterm()
12{
13 return(OK);
14}
15
16int saveoldterm()
17{
18 return(OK);
19} /* saveoldterm */
20
21int saveterm()
22{
23 return(OK);
24} /* saveterm */
25
26int baudrate()
27{
28 return(19200);
29} /* baudrate */
30
31/****************************************************************/
32/* Erasechar(), killchar() returns std MSDOS erase chars. */
33/****************************************************************/
34
35int erasechar()
36{
37 return(_DCCHAR); /* character delete char */
38} /* erasechar */
39
40int 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
50int 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
60int setupterm()
61{
62 return(1);
63} /* setupterm */
Note: See TracBrowser for help on using the repository browser.