alias markread { var %i = 1 while ($window(*,%i).wid) { window -g0 @ $+ $v1 inc %i } } alias f2 scon -a markread