edit_win does various editing functions on windows.
parm.0 - window list
parm.1 - option (see trim.h for the values and meaning)
parm.2 - amount (1 = page full, 0 = one line)
delete: parm.2 is delete list
insert: parm.2 is -1 or 1 (before,after current)
dup : parm.2 is 0 or 1 (current,new position)