Details Ticket 261


Comment | Reply | Open


Serial Number 261
Subject GRASS_PAGER: todo list
Area wish
Queue grass
Requestors neteler@geog.uni-hannover.de
Owner alange
Status resolved
Last User Contact Tue Nov 13 08:54:27 2001 (7 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Dec 13 23:53:55 2001 (7 yr ago)
Created Fri May 4 18:26:20 2001 (7 yr ago)

Transaction History Ticket 261


Fri, May 4 2001 18:26:20    Request created by mneteler  
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.
Mon, May 7 2001 10:42:09    Mail sent by mneteler  
Glynn fixed:

g.setproj                              
m.proj                                                
r.coin                                           
r.combine                                         
r.report                                           
r.support                                              
r.weight                                          
v.report 
Tue, Nov 13 2001 08:54:27    Taken by alange  
Tue, Nov 13 2001 08:54:27    Mail sent by alange  
I yesterday fixed the rest of the modules. 
If you find other modules where "more" is used, please tell me. 

I checked with find/grep and couldn't find any more modules.

I'll change status to resolved if i get no response in a week.

Andreas
Thu, Dec 13 2001 23:53:44    Comments added by alange  
I got no response, so i close this request now. 
No more hard-coded references IMHO. Please tell me if i am wrong. 

Andreas
Thu, Dec 13 2001 23:53:55    Status changed to resolved by alange  
Comment | Reply | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request