home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <dos.h>
- #include <time.h>
- #include <conio.h>
- #include <ctype.h>
- #include <malloc.h>
- #include <memory.h>
- #include <errno.h>
- #include <process.h>
- #include <string.h>
- #include <graph.h>
- #include <signal.h>
- #include<io.h>
- #include<share.h>
- #include<fcntl.h>
- #include<sys\types.h>
- #include<sys\stat.h>
- #include<sys\locking.h>
-
- #include "iibclib.ext"
-
- #define ON 1
- #define OFF 0
- #define BKSPACE '\b'
- #define BLANK ' '
- #define ZERO '0'
- #define DECIMAL '.'
- #define BELL 0x07
-
- #define F1 59
- #define F2 60
- #define F3 61
- #define F10 68
-
- #define TAB '\t'
- #define SHIFT_TAB 15
- #define HOME 71
- #define UP_ARROW 72
- #define PAGE_UP 73
- #define LEFT_ARROW 75
- #define RIGHT_ARROW 77
- #define END 79
- #define DOWN_ARROW 80
- #define PAGE_DOWN 81
- #define INS_KEY 82
- #define DEL_KEY 83
-
- #define C_LEFT 115
- #define C_RIGHT 116
- #define C_END 117
- #define C_HOME 119
-
- #define BELL 0x07
-
- #define NEW 1
- #define OLD 0
-
- #define YES 1
- #define NO 0
-
- #define UP 6
- #define DOWN 7
-
- struct video_info {
- long bkgrd[10];
- int frgrd[10];
- char plant[61];
- } ;
-
- struct video_info env;
-
- struct menu_line { char line[79]; } ;
- struct long_file_line { char line[257]; };
- struct file_line { char line[40]; } ;
-
- time_t t_one,t_two;
- char time_buffer[9];
-
- char d_buff[9];
- char date_string[13];
- char key_field[61];
- char mid_field[61];
- char top_field[61];
- char bot_field[61];
-
- long li,lj;
-
- int loop1,loop2;