1 /*
2  *	Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
3  *
4  * Redistribution and use in source forms, with and without modification,
5  * are permitted provided that this entire comment appears intact.
6  *
7  * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
8  */
9 
10 #ifndef	_SCREEN_H_
11 #define	_SCREEN_H_
12 
13 #define DEFAULT_COLUMNS		80      /* mandatory */
14 #define DEFAULT_LINES		24
15 #define	MINPAGESIZE		20
16 
17 #ifndef	ACS_HLINE
18 #define	ACS_HLINE	'-'
19 #endif
20 
21 int screen_open(int resize);
22 void screen_close(void);
23 void screen_status(const char *fmt, ...);
24 void screen_update(void);
25 void screen_clear(void);
26 void screen_dock_cursor(int y, int x);
27 
28 extern int use_colors;
29 extern int prompt_mode;
30 extern double line_factor;
31 
32 #endif	/* !_SCREEN_H_ */
33