🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #462

curses "untouch"?

#462
From: Dale Gass
Date: Tue, 13 Oct 1987 23:55
18 lines
1297 bytes
Could anyone tell the easiest way (or any way) to 'untouch' a window
in curses?

The problem is thus: I want to scroll a portion of my screen, and curses
does this very slowly be rewriting the whole portion.  I want to do a
hardware scroll by sending the proper code directly to my terminal, doing
a scroll(win), and then having curses be happy with the way things are
and do nothing on the next wrefresh(win).  However, since curses thinks
the whole window has to be refreshed due to the scroll(), it rewrites...

Is there any way to tell curses not to bother rewriting; things are just
fine on the screen?


Also, what are the flags ENDLINE,FULLWIN,SCROLLWIN,FLUSH,FULLLINE,IDLINE,
NOCHANGE, leave, clear, ch_off for?

-dalegass@dalcsug.uucp
Technical Details
Message-ID: <2059@mcdchg.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!hplabs!gatech!mcdchg!usenet

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!hplabs!gatech!mcdchg!usenet
From: dalegass@dalcsug.UUCP (Dale Gass)
Newsgroups: comp.unix
Subject: curses "untouch"?
Message-ID: <2059@mcdchg.UUCP>
Date: Tue, 13-Oct-87 19:55:43 EDT
Article-I.D.: mcdchg.2059
Posted: Tue Oct 13 19:55:43 1987
Date-Received: Thu, 15-Oct-87 20:47:51 EDT
Sender: usenet@mcdchg.UUCP
Organization: Dalhousie University, Halifax, N.S., Canada
Lines: 18
Approved: usenet@mcdchg.UUCP