[GRASS5] [bug #261] (grass) GRASS_PAGER: todo list

this bug's URL: http://intevation.de/rt/webrt?serial_num=261
-------------------------------------------------------------------------

Subject: GRASS_PAGER: todo list

It appears that many files have hardcoded references to "more":

/usr/src/grass/src/general/g.setproj/get_stp.c:170: sprintf(buff, "more %s",
Tmp_file1);
/usr/src/grass/src/general/g.setproj/get_stp.c:282: sprintf(buff, "more %s",
Tmp_file1);
/usr/src/grass/src/libes/gis/get_datum_name.c:55: sprintf(buff,"more
%s",Tmp_file);
/usr/src/grass/src/libes/gis/get_ell_name.c:36: sprintf(buff,"more
%s",Tmp_file);
/usr/src/grass/src/libes/gis/get_projname.c:51: sprintf(buff,"more
%s",Tmp_file);
/usr/src/grass/src/libes/gis/gishelp.c:33: sprintf(buffer, "more %s",
file);
/usr/src/grass/src/libes/gis/list.c:67: more = G_popen
("more","w");
/usr/src/grass/src/libes/gis/TESTS/try13.c:19: more = popen
("more","w");
/usr/src/grass/src/misc/m.proj/get_stp.c:160: sprintf(buff, "more %s",
Tmp_file1);
/usr/src/grass/src/misc/m.proj/get_stp.c:262: sprintf(buff, "more %s",
Tmp_file1);
/usr/src/grass/src/raster/r.coin/cmd/inter.c:70: sprintf(command,"more -d
%s",dumpname);
/usr/src/grass/src/raster/r.combine/cmd/get_cats.c:53: sprintf (command,
"more %s",
tempfile);
/usr/src/grass/src/raster/r.report/inter/run_report.c:84:
build_command(command,full,0,"|","more",nv, as_int, cat_ranges, nsteps, fp);
/usr/src/grass/src/raster/r.support/inter/check_un.c:43: sprintf (command,
"more %s", tempfile);
/usr/src/grass/src/raster/r.weight/inter/list_anal.c:91: sprintf (command,
"%s %s", print?"lpr":"more",tempfile);
/usr/src/grass/src/raster/r.weight/inter/list_cats.c:54: sprintf
(command,"more -d %s",
tempfile);
/usr/src/grass/src.contrib/SCS/vector/v.report/inter/run_report.c:40:
sprintf(name,"more %s",temp_file);

We have to check if to user GRASS_PAGER instead.

-------------------------------------------- Managed by Request Tracker

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Request Tracker wrote:

Subject: GRASS_PAGER: todo list

It appears that many files have hardcoded references to "more":

I've fixed the ones in the individual programs, but not the ones in
libgis. Affected programs are:

g.setproj
m.proj
r.coin
r.combine
r.report
r.support
r.weight
v.report

--
Glynn Clements <glynn.clements@virgin.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'