static char sccsid
[] = "@(#)cmd5.c 3.14 %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 position: ", cmdwin
);
wwadd(boxwin
, framewin
->ww_back
);
wwbox(boxwin
, row
- 1, col
- 1, w
->ww_w
.nr
+ 2, w
->ww_w
.nc
+ 2);
getminmax(row
, w
->ww_w
.nr
, 1, wwnrow
,
&currow
, &minrow
, &maxrow
);
getminmax(col
, w
->ww_w
.nc
, 0, wwncol
,
&curcol
, &mincol
, &maxcol
);
wwsetcursor(currow
, curcol
);
switch (getpos(&row
, &col
, minrow
, mincol
, maxrow
, maxcol
)) {
struct ww
*back
= w
->ww_back
;
* Weird stufff, don't ask.
getminmax(x
, n
, a
, b
, curx
, minx
, maxx
)