Changeset 2945 in Sophya for trunk/SophyaPI/ProgPI
- Timestamp:
- Apr 26, 2006, 5:53:18 PM (19 years ago)
- Location:
- trunk/SophyaPI/ProgPI
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/ProgPI/Makefile
r2834 r2945 7 7 clean: 8 8 rm -f $(PROGS) 9 rm -f $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP) sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o9 rm -f $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP)piacmdrdr.o $(SOPHYAOBJP)sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o 10 10 11 11 spiapp: $(SOPHYAEXEP)spiapp 12 12 echo $@ " done" 13 $(SOPHYAEXEP)spiapp: $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP) sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o14 $(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP) sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o $(SOPHYAALLSLBLIST)13 $(SOPHYAEXEP)spiapp: $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP)piacmdrdr.o $(SOPHYAOBJP)sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o 14 $(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)piapp.o $(SOPHYAOBJP)piacmdrdr.o $(SOPHYAOBJP)sopiamodule.o $(SOPHYAOBJP)fitsbtadapter.o $(SOPHYAOBJP)w2ps.o $(SOPHYAOBJP)skymapmodule.o $(SOPHYAALLSLBLIST) 15 15 16 16 $(SOPHYAOBJP)fitsbtadapter.o: fitsbtadapter.cc \ … … 65 65 $(SOPHYAINCP)ndatablock.h \ 66 66 $(SOPHYAINCP)utilarr.h \ 67 $(SOPHYAINCP)tmatrix_tsnl.h \ 68 $(SOPHYAINCP)tvector_tsnl.h \ 67 69 $(SOPHYAINCP)generaldata.h \ 68 70 $(SOPHYAINCP)poly.h \ … … 112 114 $(SOPHYAINCP)fbtntintf.h \ 113 115 $(SOPHYAINCP)FitsIO/fitsio.h \ 114 $(SOPHYAINCP)FitsIO/longnam.h 116 $(SOPHYAINCP)FitsIO/longnam.h \ 117 $(SOPHYAINCP)fitsmanager.h \ 118 $(SOPHYAINCP)fitsinoutfile.h \ 119 $(SOPHYAINCP)fitshandler.h \ 120 $(SOPHYAINCP)fiosinit.h \ 121 $(SOPHYAINCP)sophyainit.h 115 122 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ fitsbtadapter.cc 123 124 $(SOPHYAOBJP)piacmdrdr.o: piacmdrdr.cc \ 125 $(SOPHYAINCP)sopnamsp.h piacmdrdr.h \ 126 $(SOPHYAINCP)machdefs.h \ 127 $(SOPHYAINCP)zthread.h \ 128 $(SOPHYAINCP)pexceptions.h \ 129 $(SOPHYAINCP)pistdimgapp.h \ 130 $(SOPHYAINCP)pisysdep.h \ 131 $(SOPHYAINCP)piapplx.h \ 132 $(SOPHYAINCP)piapplgen.h \ 133 $(SOPHYAINCP)pimsghandler.h \ 134 $(SOPHYAINCP)picontainerx.h \ 135 $(SOPHYAINCP)picontainergen.h \ 136 $(SOPHYAINCP)piwdgx.h \ 137 $(SOPHYAINCP)piwdggen.h \ 138 $(SOPHYAINCP)picolist.h \ 139 $(SOPHYAINCP)pimenubarx.h \ 140 $(SOPHYAINCP)pimenubargen.h \ 141 $(SOPHYAINCP)pimenux.h \ 142 $(SOPHYAINCP)pimenugen.h \ 143 $(SOPHYAINCP)picons.h \ 144 $(SOPHYAINCP)pistdwdgx.h \ 145 $(SOPHYAINCP)pistdwdggen.h \ 146 $(SOPHYAINCP)pibwdgx.h \ 147 $(SOPHYAINCP)pibwdggen.h \ 148 $(SOPHYAINCP)picmap.h \ 149 $(SOPHYAINCP)picmapx.h \ 150 $(SOPHYAINCP)picmapgen.h \ 151 $(SOPHYAINCP)pigraphx.h \ 152 $(SOPHYAINCP)pigraphgen.h \ 153 $(SOPHYAINCP)pifontx.h \ 154 $(SOPHYAINCP)pifontgen.h \ 155 $(SOPHYAINCP)pigrcoord.h \ 156 $(SOPHYAINCP)pilineatt.h \ 157 $(SOPHYAINCP)pigraphuc.h \ 158 $(SOPHYAINCP)pievthandler.h \ 159 $(SOPHYAINCP)psfile.h \ 160 $(SOPHYAINCP)pigraphps.h \ 161 $(SOPHYAINCP)piwindowx.h \ 162 $(SOPHYAINCP)piwindowgen.h \ 163 $(SOPHYAINCP)pioptmenux.h \ 164 $(SOPHYAINCP)pioptmenugen.h \ 165 $(SOPHYAINCP)pifilechox.h \ 166 $(SOPHYAINCP)pifilechogen.h \ 167 $(SOPHYAINCP)piperiodx.h \ 168 $(SOPHYAINCP)periodic.h \ 169 $(SOPHYAINCP)piimage.h \ 170 $(SOPHYAINCP)parradapter.h \ 171 $(SOPHYAINCP)lut.h \ 172 $(SOPHYAINCP)pieldrw.h \ 173 $(SOPHYAINCP)pidrawer.h \ 174 $(SOPHYAINCP)pigratt.h \ 175 $(SOPHYAINCP)piaxes.h \ 176 $(SOPHYAINCP)pipixmapx.h \ 177 $(SOPHYAINCP)pipixmapgen.h \ 178 $(SOPHYAINCP)picmapview.h \ 179 $(SOPHYAINCP)pi3dwdg.h \ 180 $(SOPHYAINCP)pi3ddrw.h \ 181 $(SOPHYAINCP)pigraph3d.h \ 182 $(SOPHYAINCP)nobjmgr.h \ 183 $(SOPHYAINCP)anydataobj.h \ 184 $(SOPHYAINCP)ppersist.h \ 185 $(SOPHYAINCP)gnumd5.h \ 186 $(SOPHYAINCP)ppfbinstream.h \ 187 $(SOPHYAINCP)rawstream.h \ 188 $(SOPHYAINCP)ppfnametag.h \ 189 $(SOPHYAINCP)dvlist.h \ 190 $(SOPHYAINCP)objfio.h \ 191 $(SOPHYAINCP)mutyv.h \ 192 $(SOPHYAINCP)timestamp.h \ 193 $(SOPHYAINCP)dlftypes.h \ 194 $(SOPHYAINCP)piacmd.h \ 195 $(SOPHYAINCP)commander.h \ 196 $(SOPHYAINCP)pdlmgr.h \ 197 $(SOPHYAINCP)ctimer.h \ 198 $(SOPHYAINCP)pisiadw.h \ 199 $(SOPHYAINCP)pilistx.h \ 200 $(SOPHYAINCP)pilistgen.h \ 201 $(SOPHYAINCP)pistzwin.h \ 202 $(SOPHYAINCP)pitherm.h \ 203 $(SOPHYAINCP)resusage.h 204 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piacmdrdr.cc 116 205 117 206 $(SOPHYAOBJP)piapp.o: piapp.cc $(SOPHYAINCP)sopnamsp.h \ … … 193 282 $(SOPHYAINCP)pistzwin.h \ 194 283 $(SOPHYAINCP)pitherm.h \ 195 $(SOPHYAINCP)resusage.h \284 $(SOPHYAINCP)resusage.h piacmdrdr.h \ 196 285 $(SOPHYAINCP)piversion.h \ 197 286 $(SOPHYAINCP)piaversion.h \ … … 295 384 $(SOPHYAINCP)ndatablock.h \ 296 385 $(SOPHYAINCP)utilarr.h \ 386 $(SOPHYAINCP)tmatrix_tsnl.h \ 387 $(SOPHYAINCP)tvector_tsnl.h \ 297 388 $(SOPHYAINCP)generaldata.h \ 298 389 $(SOPHYAINCP)poly.h \ … … 413 504 $(SOPHYAINCP)ndatablock.h \ 414 505 $(SOPHYAINCP)utilarr.h \ 506 $(SOPHYAINCP)tmatrix_tsnl.h \ 507 $(SOPHYAINCP)tvector_tsnl.h \ 415 508 $(SOPHYAINCP)pitvmaad.h \ 416 509 $(SOPHYAINCP)fftpserver.h \ -
trunk/SophyaPI/ProgPI/piapp.cc
r2810 r2945 7 7 #include "pistdimgapp.h" 8 8 #include "piacmd.h" 9 #include "piacmdrdr.h" 9 10 #include "piversion.h" 10 11 #include "piaversion.h" … … 48 49 \verbatim 49 50 csh> spiapp -h 50 SophyaInitiator::SophyaInitiator() BaseTools Init 51 PIOPersist::Initialize() Starting Sophya Persistence management service 52 SOPHYA Version 1.9 Revision 0 (V_Mai2005) -- Jun 9 2005 22:01:01 53 gcc 3.3-fast 20030304 (Apple Computer, Inc. build 1614) 51 PIOPersist::Initialize() Starting Sophya Persistence management service 52 SOPHYA Version 2.0 Revision 0 (V_Mai2006) -- Apr 26 2006 17:17:22 cxx 54 53 55 54 piapp: Interactive data analysis and visualisation program 56 55 Usage: piapp [-nored] [-nosig] [-nosigfpe] [-nosigsegv] [-hidezswin] 57 [- tmpdir TmpDirectory] [-help2tex] [-exec file [args]]58 -nored : NoRedirect StdOut/StdErr56 [-small] [-tmpdir TmpDirectory] [-help2tex] [-exec file [args]] 57 -nored : Don't redirect stdout/stderr to piapp console 59 58 -nosig : Don't catch SigFPE, SigSEGV 60 59 -nosigfpe -nosigsegv: Don t catch SigFPE / SigSEGV 60 -small : Create small size main piapp window 61 61 -hidezswin : Hide Zoom/Stat/ColMap window 62 62 -tmpdir TmpDirectory: defines TMDIR for temporary files 63 63 -help2tex: Create a LaTeX help file (piahelp.tex) 64 64 -exec file [args] : Execute command file 65 65 66 66 \endverbatim 67 67 … … 77 77 cout << "\n piapp: Interactive data analysis and visualisation program \n" 78 78 << " Usage: piapp [-nored] [-nosig] [-nosigfpe] [-nosigsegv] [-hidezswin] \n" 79 << " [- tmpdir TmpDirectory] [-help2tex] [-exec file [args]] \n"80 << " -nored : NoRedirect StdOut/StdErr\n"79 << " [-small] [-tmpdir TmpDirectory] [-help2tex] [-exec file [args]] \n" 80 << " -nored : Don't redirect stdout/stderr to piapp console\n" 81 81 << " -nosig : Don't catch SigFPE, SigSEGV \n" 82 82 << " -nosigfpe -nosigsegv: Don t catch SigFPE / SigSEGV \n" 83 << " -small : Create small size main piapp window \n" 83 84 << " -hidezswin : Hide Zoom/Stat/ColMap window \n" 84 85 << " -tmpdir TmpDirectory: defines TMDIR for temporary files \n" … … 95 96 { 96 97 int ofa; 97 bool fgfpe, fgsegv, fgred, fghidezsw, fgexec ;98 bool fgfpe, fgsegv, fgred, fghidezsw, fgexec, fgsmall; 98 99 99 100 SkyTInitiator skyinit; … … 109 110 fgexec = false; 110 111 bool fgtmp = false; 112 fgsmall = false; 111 113 string tmpdir; 112 114 string exfc; … … 119 121 else if (strcmp(arg[ka],"-nosigfpe") == 0) fgfpe=false; 120 122 else if (strcmp(arg[ka],"-nosigsegv") == 0) fgsegv=false; 123 else if (strcmp(arg[ka],"-small") == 0) fgsmall=true; 121 124 else if (strcmp(arg[ka],"-hidezswin") == 0) fghidezsw=true; 122 125 else if (strcmp(arg[ka],"-help2tex") == 0) { fgtexh=true; fgred=false; } … … 176 179 // cout << " DBG-TMPDIR= " << getenv("TMPDIR") << endl; 177 180 178 PIStdImgApp * app = new PIStdImgApp( narg, arg);181 PIStdImgApp * app = new PIStdImgApp(fgsmall, narg, arg); 179 182 // cout << " DBG-2 " << app->ObjMgr()->GetTmpDir() << endl; 180 183 cout << " NamedObjMgr::SetTmpDir()+XNTuple::SetSwapPath() " << tmpdir << endl; … … 213 216 exit(0); 214 217 } 218 219 // Creation du lecteur de commande sur terminal (avec GNU readline) 220 PIACmdReader cmdrdr(app); 221 cmdrdr.start(); 215 222 216 223 int rc = 0; … … 277 284 278 285 app->RedirectStdOutErr(false); 286 cmdrdr.cancel(); 287 279 288 // On de-charge le module sopiamodule et fitsbtadapter 280 289 sopiamodule_end(); -
trunk/SophyaPI/ProgPI/programs
r2743 r2945 1 spiapp piapp.o sopiamodule.o fitsbtadapter.o w2ps.o skymapmodule.o1 spiapp piapp.o piacmdrdr.o sopiamodule.o fitsbtadapter.o w2ps.o skymapmodule.o
Note:
See TracChangeset
for help on using the changeset viewer.