static char *sccsid
= "@(#)startup.c 3.2 83/08/17";
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, r
, wwncol
, 1, 0)) == 0)
if (openwin(-1, wwnrow
- r
- 2, wwncol
, r
+ 2, 0) == 0)
wwprintf(w
, "Escape character is %s.\r\n", unctrl(escapec
));
(void) wwputs("Can't open default windows. ", cmdwin
);