Neophyte curses questions

Eric M. Boehm emb978 at leah.Albany.Edu
Mon Nov 13 03:43:17 AEST 1989


I need to use curses for a software engineering class project. In
implementing my windows (in c++ -- using cfront 1.2 with SunOS 4.2 Release
3.5), I want to scroll the text. However, the only function I find is
scroll() which scrolls the window up 1 line. How do I scroll the window
down 1 line?

One thought I had was to have a small window (perhaps 10 lines) on
perhaps 30 or 40 lines of text. By moving the cursor position, will I
get the effect of scrolling multiple lines in either direction? 

Please respond via e-mail. Thanks in advance for your help.


-- 
Eric M. Boehm
EMB978 at leah.Albany.EDU
EMB978 at ALBNYVMS.BITNET



More information about the Comp.lang.c mailing list