Path: utzoo!utgpu!attcan!uunet!mcvax!ukc!etive!hwcs!pjbk
From: pjbk@cs.hw.ac.uk (Peter King)
Newsgroups: comp.sources.d
Subject: Re: problems with SC, the spreadsheet calculator
Keywords: screen updating problems
Message-ID: <1936@brahma.cs.hw.ac.uk>
Date: 8 Aug 88 09:07:06 GMT
References: <776@wheaton.UUCP>
Reply-To: pjbk@cs.hw.ac.uk (Peter King)
Organization: Computer Science, Heriot-Watt U., Scotland
Lines: 31

In article <776@wheaton.UUCP> coulter@wheaton.UUCP (Scott D. Coulter ) writes:
>I'm trying to use the SC unix spreadsheet program which appeared on the 
>net a while back (I have version 5.1).  It seems to be working fine, except
>for the screen updating.  When it first draws the screen, it puts the column 
>numbers which are supposed to be down the left-hand side in a stair-step
>progression out into the middle of the screen.  Then any time you move the
>cursor, there is garbage left behind, and it doesn't always move straight
>across or down the screen (it sometimes follows the stair-step pattern).
...
>  By the way, we're running 4.2BSD.  I shall
>...
>Scott D. Coulter                    CPO 462, Wheaton College
>Academic Computing Dept.	    Wheaton, IL   60187
>ihnp4!wheaton!coulter               

This is a well known problem with the 4.2BSD curses library (or so I
believe, perhaps wizards can confirm).
Some versions of it have nl() and nonl() wrongly defined so that nl()
does what nonl() should do ... etc.

Of course system admisistrators are reluctant to correct the bug,
because so many working programs then fail at the next compilation.

I changed all the nl() and nonl() to each other.  Maybe the sc author
would like to have the option in the #define section, or the Makefile.

-- 
Peter King, Computer Science Department	JANET:	pjbk@uk.ac.hw.cs
  Heriot-Watt University		ARPA:	pjbk@cs.hw.ac.uk
  79 Grassmarket, Edinburgh EH1 2HJ	or	pjbk%cs.hw.ac.uk@ucl-cs
Phone: (+44) 31 225 6465 Ext. 555	UUCP:	..!ukc!cs.hw.ac.uk!pjbk