RE:redirection of output

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Fri Sep 17 1999 - 15:11:27 MEST


Hello,

Unfortunately, there is no common way of guaranteeing redirection command.
On some platforms, it works and others not.

On Linux, you can redirect compiled output by using inline
redirection command.

   root[]  compiledfunc();  > outfile 

I guess most of the Unix platform work with this scheme.
On Windows, this may not work. It looks like this depends on 
shared-lib architecture. Some platforms have different I/O 
pointers for each shared-lib.

However,  following does not work for all platforms.
Cint only redirects interpreted output for '.> file' command.

   root[] .> outfile
   root[] compiledfunc();
   root[] .>

If I redirect all outputs, root[] prompt is also affected which
is not nice.

Thank you
Masaharu Goto

>
>Hallo,
>
>using '.> [file]' I can redirect the output of a root session
>in a file. When writing and compiling my own functions, how
>the output must be handled to use this feature?
>
>Best regards,
>Volker
>
>-- 
>Volker Hejny                    Tel: 02461/616853                      ** 
>Institut f. Kernphysik          Fax: 02461/613930                     **
>---------------------------------------------------------------- **  ** ---  
>Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET