static char *sccsid
= "@(#)startup.c 3.5 83/08/26";
if ((home
= getenv("HOME")) == 0)
(void) sprintf(buf
, "%s/.windowrc", home
);
* The default is two windows of equal sizes.
register r
= wwnrow
/ 2 - 1;
if ((w
= openwin(-1, 1, 0, r
, wwncol
, nbufline
)) == 0)
if (openwin(-1, r
+ 2, 0, wwnrow
- r
- 2, wwncol
, nbufline
) == 0)
(void) wwprintf(w
, "Escape character is %s.\r\n", unctrl(escapec
));
(void) wwputs("\nCan't open default windows. ", cmdwin
);