Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!morganucodon.cis.ohio-state.edu!jgreely From: jgreely@morganucodon.cis.ohio-state.edu (J Greely) Newsgroups: comp.windows.x Subject: Re: tvtwm patchlevel 2 available Message-ID: Date: 6 Sep 90 02:15:00 GMT References: <1990Sep5.135443.25171@Solbourne.COM> Sender: news@tut.cis.ohio-state.edu Reply-To: J Greely Organization: Ohio State University Computer and Information Science Lines: 26 In-reply-to: toml@ninja.Solbourne.COM's message of 5 Sep 90 13:54:43 GMT In article <1990Sep5.135443.25171@Solbourne.COM> toml@ninja.Solbourne.COM (Tom LaStrange) writes: > 11. New command called f.scroll "position". Fun new feature. My first thought was binding 'f.scroll "-0-0"' to the "End" key on my sun. Unfortunately, it didn't work. Fortunately, the fix is trivial: *** vdt.c.old Wed Sep 5 21:35:10 1990 --- vdt.c Wed Sep 5 22:09:46 1990 *************** *** 767,772 **** --- 767,776 ---- } x = abs(x) * Scr->MyDisplayWidth; y = abs(y) * Scr->MyDisplayHeight; + if (status & XNegative) + x = Scr->vdtWidth - Scr->MyDisplayWidth - x; + if (status & YNegative) + y = Scr->vdtHeight - Scr->MyDisplayHeight - y; break; case F_SCROLLHOME: x = 0; -- J Greely (jgreely@cis.ohio-state.edu; osu-cis!jgreely)