Curses and Grass

Richard E Nairn ren at spans.gscc.nrcan.gc.ca
Wed Apr 22 12:43:44 EDT 1998


Just tested out the patch, and it works great, solved the problem.  I
will forward the patch to Markus, to incorporate it in... It shouldn't
break anything... :-)



> 
> --1791007195-269167349-893247433=:778
> Content-Type: TEXT/plain; CHARSET=US-ASCII
> 
> 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
> ------------------------------------------------------------------------------
> 
> --1791007195-269167349-893247433=:778
> Content-Type: TEXT/plain; CHARSET=US-ASCII
> Content-Description: gets.diff
> 
> *** 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;
> 
> --1791007195-269167349-893247433=:778--
> 


-- 
Richard Nairn
Geological Survey of Canada
** Email ren at spans.gscc.nrcan.gc.ca   **
**	 nairnr at cadvision.com         **



More information about the grass-user mailing list