Subject: TERMCAP and LINES problem
To: None <tech-userlevel@netbsd.org>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-userlevel
Date: 09/15/2000 22:49:21
Hi,

I'm trying to port rogomatic to some current OS, and after fixing some
incredible sloppynesses that used to work 15 years ago on 4.1BSD/VAX, am
at the point where rogomatic acutally starts up, starts the "player" process
and starts the "rogue" process.

Rogue does (in init.c):

        initscr();
        if ((LINES < DROWS) || (COLS < DCOLS)) {
                clean_up("must be played on 24 x 80 screen");

(a debug printf showed me LINES and COLS beign equal to 0)

although 

rogue: TERM=rterm, TERMCAP=rg|rterm:am:bs:ce=^[^S:cl=^L:cm=^[a%+ %+ :co#80:li#24:so=^[D:se=^[d:pt:ta=^I:up=^[;:db:xn:, ROGUEOPTS=name=Rog-O-Matic XIV for is,fruit=apricot,terse,noflush,noask,jump,step,nopassgo,inven=slow,seefloor

(another debug printf).

Any idea what might be totally wrong?

Regards,
	-is