static char sccsid
[] = "@(#)cmd7.c 3.3 %G%";
* Copyright (c) 1983 Regents of the University of California,
* All rights reserved. Redistribution permitted subject to
* the terms of the Berkeley Software License Agreement.
wwputs("New window size (lower right corner): ", cmdwin
);
col
= MIN(w
->ww_w
.r
, wwncol
) - 1;
row
= MIN(w
->ww_w
.b
, wwnrow
) - 1;
wwadd(boxwin
, framewin
->ww_back
);
wwbox(boxwin
, w
->ww_w
.t
- 1, w
->ww_w
.l
- 1,
row
- w
->ww_w
.t
+ 3, col
- w
->ww_w
.l
+ 3);
switch (getpos(&row
, &col
, w
->ww_w
.t
, w
->ww_w
.l
,
wwnrow
- 1, wwncol
- 1)) {
sizewin(w
, row
- w
->ww_w
.t
+ 1, col
- w
->ww_w
.l
+ 1);