|
|
1.1 ! root 1: /*************************************************************************** ! 2: * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE * ! 3: * is provided to you without charge, and with no warranty. You may give * ! 4: * away copies of JOVE, including sources, provided that this notice is * ! 5: * included in all the files. * ! 6: ***************************************************************************/ ! 7: ! 8: #define DIRTY ((daddr) 01) /* needs update for some reason */ ! 9: #define MODELINE 02 /* this is a modeline */ ! 10: #define L_MOD 04 /* line has been modified internally */ ! 11: ! 12: #define makedirty(line) { (line)->l_dline |= DIRTY; } ! 13: #define isdirty(line) ((line)->l_dline & DIRTY) ! 14: ! 15: struct scrimage { ! 16: int s_offset, /* offset to start printing at */ ! 17: s_flags, /* various flags */ ! 18: s_id, /* which buffer line */ ! 19: s_vln; /* Visible Line Number */ ! 20: Line *s_lp; /* so we can turn off red bit */ ! 21: Window *s_window; /* window that contains this line */ ! 22: }; ! 23: ! 24: extern struct scrimage ! 25: *DesiredScreen, /* what we want */ ! 26: *PhysScreen; /* what we got */ ! 27: ! 28: extern int ! 29: UpdModLine, /* whether we want to update the mode line */ ! 30: UpdMesg; /* update the message line */ ! 31: ! 32: extern int ! 33: chkmail proto((int force)), ! 34: calc_pos proto((char *lp,int c_char)), ! 35: find_pos proto((struct line *line,int c_char)); ! 36: ! 37: extern void ! 38: disp_opt_init proto((void)), ! 39: ChkWindows proto((struct line *line1,struct line *line2)), ! 40: DrawMesg proto((int abortable)), ! 41: TOstart proto((char *name,int auto_newline)), ! 42: TOstop proto((void)), ! 43: Typeout proto((char *, ...)), ! 44: rbell proto((void)), ! 45: redisplay proto((void)); ! 46: ! 47: extern int ! 48: DisabledRedisplay; ! 49: ! 50: #ifdef ID_CHAR ! 51: extern int ! 52: IN_INSmode, ! 53: DClen, ! 54: MDClen, ! 55: IClen, ! 56: MIClen, ! 57: IMlen, ! 58: CElen; ! 59: ! 60: extern void ! 61: INSmode proto((int)); ! 62: #endif /* ID_CHAR */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.