[comp.unix.questions] Broken curses?

root@mutley.UUCP (System Administrator) (05/10/88)

Alright, back to curses...  I have here a problem with my curse(d)s windows.
In two programs I'm working on curses refuses to scroll.  The bottom line
of the windows will just be written over, and no scrolling occurs.  The 
TERM is vt100.  Scrollok has been set TRUE.  What am I missing?  

Is there a known problem with curses scrolling like this? (I don't remember.)

The curses is 4.3BSD (4.2BSD and Venix/11 2.0 also).  The program itself
is rather simple, so no wierd stuff is going on.  Just initscr, crmode, nonl,
noecho, newwin, waddstr and refresh.  Everything works fine until
the last line is reached in the window.

Help.

-- 
Scott G. Taylor                    PMD Resources, Newbury Park CA (805) 499-0367
snidely!mutley!staylor@wlbr.eaton.com    "They really don't know me here."

		"Sveiki!  Es esmu Latvietis.  Kas jums par vainu?"

daveh@marob.MASA.COM (Dave Hammond) (05/16/88)

In article <203@mutley.UUCP> you write:
>........................................................  The bottom line
>of the windows will just be written over, and no scrolling occurs.  The 
>TERM is vt100.  Scrollok has been set TRUE.

Perhaps the problem is not with Curses at all, but Termcap. You might
want to check IS, LI, AL & DL. IS might contain mode settings prohibitting
scrolling or defining a scrolling-region. LI might be set wrong. Running
Vi on a vt100 using an 'ansi' Termcap (25 lines) produces a continuously
overwritten bottom line w/poor scrolling. AL & DL didn't exist in many
old vt100 Termcaps (of which Venix/11 is one for sure).

>The curses is 4.3BSD (4.2BSD and Venix/11 2.0 also).

I thought we were the only firm in existence still running Venix/11 2.0.
VenturCom doesn't even acknowledge the existence of PDP/11s any more :-)


Dave Hammond
DSI Communications, Inc.
--------------------------------

UUCP:   ...!marob!daveh
VOICE:  (516)872-3535
USMAIL: 333 W. Merrick Rd.
        Valley Stream, NY 11580
--------------------------------