Curses and Grass

Marco Valagussa marco at duffy.crcc.it
Wed Apr 22 08:17:07 EDT 1998


On 17 Apr, Richard E Nairn wrote:
> I notice that when I compile the source code that curses doesn't seem
> to be working right.  I think that I have the same version that you
> do.  When I try and create a new area, it just blanks the screen
> without showing the question...
> 
> Have you run into this problem? I have both curses and ncurses
> installed.. I don't know if it using the wrong lib? 
> 
> -- 
> Richard Nairn
> Geological Survey of Canada
> ** Email ren at spans.gscc.nrcan.gc.ca   **
> **	 nairnr at cadvision.com         **

I have had the same problem with ncurses (4.2) an I did the following patch.

Tell me if it is ok for you.
ciao - marco

-- 
------------------------------------------------------------------------------
Valagussa Marco      CRCC s.r.l, via Passerini 2,       20052 Monza (MI) ITALY
                     Tel. +39.39.387998                 FAX  +39.39.382115
                     e-mail: marco at crcc.it
------------------------------------------------------------------------------
-------------- next part --------------
*** gets.c.Orig	Tue Jul  1 01:59:07 1997
--- gets.c	Wed Apr  1 18:32:35 1998
***************
*** 38,39 ****
--- 38,40 ----
  
+ 	if ( isatty(1) ) (void)fflush(stdout);
  	ctrlz = 0;


More information about the grass-user mailing list