From: Andrew Haylett (GEC-Marconi Research Centre) <ajh@gec-mrc.co.uk> Subject: Re: A bug with curses Date: Fri, 1 May 1992 07:55:40 GMT
I wrote:
| ...When, say, in the top left-hand cell
| of the spreadsheet, the `down' cursor key is pressed, the highlighted block
| jumps over to the left-hand edge of the screen, obliterating the cell number,
| rather than moving vertically downwards, and stays on that edge...
pmacdona pointed out my error; I was using an old version of
/usr/include/curses.h, not the one that was shipped with gcc2.1. The only
difference between the two is that the new one has _tty.c_oflag &= ~ONLCR in
the nonl() macro, and the opposite in nl(). This solved my problem, and may
help other folk.