system@asuvax.UUCP (Marc Lesure) (11/21/85)
WMS 1.7c NEWSLETTER #4, 11/20/85 [net.unix] This is a supplemental newsletter for users of the ASU Window Management System. Minor Updates follow: ======= File: release/makefile ======= Change the line: v = 1.7c # version ======= to: v = 1.7d # version ======= File: release/source/msh/msh.c ======= In procedure slave_driver(), change the seven lines: /* find next slave */ while (((1 << slave[slave_index = ((++slave_index) % MAXSLAVES)].pty.f) & pre_s_mask) == 0) ; if ((sp = &slave[slave_index])->pid == NIL) { /* due to do_DS */ pre_s_mask = 0; return; } ======= to: /* find next slave */ #define nexti (slave_index = ((++slave_index) % MAXSLAVES)) #define nextb ((sp = &slave[nexti])->pid != NIL ? sp->pty.f : 0) while ((1 << nextb & pre_s_mask) == 0) ; #undef nexti #undef nextb ======= File: release/source/wty/wty.c: ======= In procedure s_CD(), change the statement part to: tput(CE,1); r = owindow->row0; c = owindow->col0; if (r < owindow->row0max) { tput(NL,1); tput(CR,1); for (i = r + 1; i < owindow->row0max; i++) { tput(CE,1); tput(NL,1); } tput(CE,1); } cmove(r,c); ======= In procedure s_CL(), change the statement part to: cmove(0,0); for (i = 0; i <= owindow->row0max; i++) { tput(CE,1); tput(NL,1); } cmove(0,0); ======= End of Updates. Summary: - Change version. - Fix slight bug in slave_driver(). - Make screen erasures quite a bit faster. George Nelan UUCP: Engineering Research Center (ERC 207) ...{ucbvax,ihnp4}!arizona!asuvax!nelan Arizona State University ...ihnp4!noao!terak!asuvax!nelan Tempe, Arizona, USA, 85287 CSNET: (602)-965-2791 nelan@asu