#define MORE 0 #define PAGE 1 #define DONE 2 /* 0, 037574, 077776, 017234, 000200, 000500, 003060, 004010, 016030, 037074, 077576, 077576, 077576, 077576, 037074, 016030*/ struct Cursor cherries = { 0, 0, 0xff, 0xff, 0xc0, 0x83, 0x80, 0x01, 0xe1, 0x63, 0xff, 0x7f, 0xfe, 0xbf, 0xf9, 0xcf, 0xf7, 0xf7, 0xe3, 0xe7, 0xc1, 0xc3, 0x80, 0x81, 0x80, 0x81, 0x80, 0x81, 0x80, 0x81, 0xc1, 0xc3, 0xe3, 0xe7, 0x0, 0x0, 0x3f, 0x7c, 0x7f, 0xfe, 0x1e, 0x9c, 0x0, 0x80, 0x01, 0x40, 0x06, 0x30, 0x08, 0x08, 0x1c, 0x18, 0x3e, 0x3c, 0x7f, 0x7e, 0x7f, 0x7e, 0x7f, 0x7e, 0x7f, 0x7e, 0x3e, 0x3c, 0x1c, 0x18 }; Cursor the_end = { 0, 0, 0xff, 0xff, 0x05, 0xa1, 0xdd, 0xaf, 0xdd, 0xaf, /*clr*/ 0xdc, 0x23, 0xdd, 0xaf, 0xdd, 0xaf, 0xdd, 0xaf, 0xff, 0xff, 0x0b, 0xa1, 0x7b, 0xae, 0x79, 0xae, 0x19, 0xae, 0x7a, 0xae, 0x7b, 0x2e, 0x0b, 0xa1, 0x0, 0x0, 0xFA, 0x5E, 0x22, 0x50, 0x22, 0x50, /*set*/ 0x23, 0xDC, 0x22, 0x50, 0x22, 0x50, 0x22, 0x5E, 0x0, 0x0, 0xF4, 0x5E, 0x84, 0x51 ,0x86, 0x51, 0xE6, 0x51, 0x85, 0x51, 0x84, 0xD1, 0xF4, 0x5E }; Cursor bye = { 0, 0, 0x7f, 0x00, 0xf7, 0x00, 0xf7, 0x00, 0xf7, 0x00, /*clr*/ 0x77, 0xb3, 0x1b, 0xae, 0x6b, 0xae, 0x75, 0x5e, 0x75, 0x20, 0x75, 0x5f, 0x7e, 0xde, 0x8e, 0xe1, 0xfe, 0xff, 0xfd, 0xff, 0xfd, 0xff, 0xfb, 0xff, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, /*set*/ 0x88, 0x4C, 0xE4, 0x51, 0x94, 0x51, 0x8A, 0xA1, 0x8A, 0xDF, 0x8A, 0xA0, 0x81, 0x21, 0x71, 0x1E, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, 0x00 }; Cursor cup1 = { 0, 0, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xdf, 0xf8, 0x3f, /*clr*/ 0xf7, 0xff, 0xf8, 0x1f, 0xe0, 0x03, 0xef, 0xfd, 0xef, 0xe5, 0xef, 0xe5, 0xef, 0xfd, 0xef, 0xc3, 0xe7, 0xef, 0xf0, 0x1f, 0xff, 0xff, 0xc0, 0x03, 0x00, 0x00, 0x01, 0xC0, 0x00, 0x20, 0x07, 0xC0, /*set*/ 0x08, 0x00, 0x07, 0xE0, 0x1F, 0xFC, 0x10, 0x02, 0x10, 0x1A, 0x10, 0x1A, 0x10, 0x02, 0x10, 0x3C, 0x18, 0x10, 0x0F, 0xE0, 0x00, 0x00, 0x3F, 0xFC }; Cursor deadmouse = { 0, 0, 0xff, 0xff, 0xfe, 0xeb, 0x5d, 0xf7, 0xbe, 0xff, /*clr*/ 0xff, 0xff, 0xff, 0xf7, 0xff, 0xfb, 0xff, 0x7d, 0xfb, 0xbe, 0x00, 0x1e, 0xa0, 0x0e, 0xc0, 0x01, 0xe8, 0x0f, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x01, 0x14, 0xa2, 0x08, 0x41, 0x00, /*set*/ 0x00, 0x00, 0x00, 0x08, 0x00, 0x04, 0x00, 0x82, 0x04, 0x41, 0xff, 0xe1, 0x5f, 0xf1, 0x3f, 0xfe, 0x17, 0xf0, 0x03, 0xe0, 0x00, 0x00, 0x00, 0x00 }; #define button2() mouse.buttons&02 #define button1() mouse.buttons&01 #define button3() mouse.buttons&04 #define button123() mouse.buttons&07 char cursor = '\01'; char *menut[] = {"exit psi?", 0}; Menu menu = {menut}; char *menu3t[] = { 0, "page", "done", 0}; Menu menu3 = {menu3t}; char *more = "more"; char *pmore = "(more)"; char *npage = "(page)"; char *ppage = "page"; int enumber(char); int ckmouse(int); int getpageno(void);