From: Ethan M. <merritt@u.washington.edu> - 2009-10-26 18:54:02
|
On Monday 26 October 2009 07:15:24 Petr Mikulik wrote: > > > > Every message that is generated by > > > > fprintf(stderr,ERROR_NOTICE(foo)) > > > > should be changed to use int_warn() instead. > > > > > > Good idea. These ERROR_NOTICEs are actually warnings only, not errors. I've > > > tried to patch this replacement in color.c and graphics.c, it works fine. > > > > I am inclined to agree that warning "this terminal does not support..." > > is not very useful. Maybe we should jusr remove these altogether. I have removed them, and changed the remaining ERROR_NOTICE instances to call int_warn() instead. I did the same for the small number of warnings sent directly to stderr by term.c and axis.c. I leave it to you if you want to experiment with making int_warn() output condition on if (interactive) or some other controlling flag. -- Ethan A Merritt |