Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rutgers!ukma!rex!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!daemon From: lin@cs.wmich.edu (Lite Lin) Newsgroups: comp.unix.questions Subject: Trouble with curses/scrolling: poor visual effect Message-ID: <2671@pacific.mps.ohio-state.edu> Date: 21 Feb 91 03:03:58 GMT Sender: daemon@pacific.mps.ohio-state.edu Lines: 15 Hello, I have a question regarding the use of the curses library. I am working on a semester project, part of it requires a curses based, vi style viewer. When the cursor moves beyond the top/bottom of the screen, I use repeated calls to addstr() to update the whole screen, that causes quite visible and annoying glitches on the screen. I am not using scroll() because that allows me to scroll up the screen but not the other way. When vi does scrolling, the visual effect is so much better, but I do not have access to the source code of vi, and I do not even know whether vi is based on curses or termcap. I would be grateful if someone would kindly tell me what the problem is and/or suggest a solution. Thank you, Lite