version 1.6, 2001/01/29 01:58:08 |
version 1.7, 2001/05/23 22:20:35 |
|
|
MGWIN *wheadp = (MGWIN *)NULL; /* MGWIN listhead */ |
MGWIN *wheadp = (MGWIN *)NULL; /* MGWIN listhead */ |
char pat[NPAT]; /* pattern */ |
char pat[NPAT]; /* pattern */ |
|
|
static VOID edinit __P((VOID)); |
static void edinit __P((void)); |
|
|
int |
int |
main(argc, argv) |
main(argc, argv) |
|
|
#ifndef NO_STARTUP |
#ifndef NO_STARTUP |
/* user startup file */ |
/* user startup file */ |
if ((cp = startupfile((char *)NULL)) != NULL) |
if ((cp = startupfile((char *)NULL)) != NULL) |
(VOID)load(cp); |
(void)load(cp); |
#endif /* !NO_STARTUP */ |
#endif /* !NO_STARTUP */ |
while (--argc > 0) { |
while (--argc > 0) { |
cp = adjustname(*++argv); |
cp = adjustname(*++argv); |
curbp = findbuffer(cp); |
curbp = findbuffer(cp); |
(VOID)showbuffer(curbp, curwp, 0); |
(void)showbuffer(curbp, curwp, 0); |
(VOID)readin(cp); |
(void)readin(cp); |
} |
} |
|
|
/* fake last flags */ |
/* fake last flags */ |
|
|
/* |
/* |
* Initialize default buffer and window. |
* Initialize default buffer and window. |
*/ |
*/ |
static VOID |
static void |
edinit() |
edinit() |
{ |
{ |
BUFFER *bp; |
BUFFER *bp; |