Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!mcdchg!usenet From: usenet@mcdchg.UUCP Newsgroups: comp.unix Subject: Re: curses "untouch"? Message-ID: <2119@mcdchg.UUCP> Date: Wed, 21-Oct-87 18:54:35 EDT Article-I.D.: mcdchg.2119 Posted: Wed Oct 21 18:54:35 1987 Date-Received: Sat, 24-Oct-87 11:10:49 EDT References: <2059@mcdchg.UUCP> Sender: usenet@mcdchg.UUCP Organization: Reed College, Portland OR Lines: 19 Approved: usenet@mcdchg.UUCP [This is the first of three responses to the "untouch" article that I've received. In addition, help arrived from Steve Nuchia and Mike Stump. -mod] (Gawd, I hate curses! I'm working with overlapping windows, and they're a real pain!) Each line in a window has an offset to the first and last characters that are changed called _firstch[y] and _lastch[y]. If you set: window->_firstch[y] = _NOCHANGE the line becomes untouched. There is also an undocumented call touchline(window, y, startx, endx) to touch a portion of a line in a window. Hope I got this right. Good luck -- "You can't argue with a sick mind." Bob Ankeney ...!tektronix!reed!bob