| Re .0
>
> Is there an (easy) way to redirect the output of cma_printf to a file
> rather than a terminal? (e.g. by a logical, or some other means) ?
>
Philippe,
Could you precise a bit your environment : VMS/ULTRIX/both, home made
AM/FM/PM or standard MCC ones, etc...
Have you an answer for this problem using standard printf : suppose you
do not use MCC, how would you redirect all printf output ?
Regards.
Pierre.
|
| Pierre,
> Could you precise a bit your environment : VMS/ULTRIX/both, home made
> AM/FM/PM or standard MCC ones, etc...
Environment: Ultrix, home-made AM
> Have you an answer for this problem using standard printf : suppose you
> do not use MCC, how would you redirect all printf output ?
I'm not an U*ix expert, but I believe you can redirect the standard
output (stdout ?)
The problem is that the development team has to provide a trace on file
to pass "quality" related tests, which is why they need this
redirection.
Regards,
Philippe.
|
|
Philippe,
The simplest way to do it is to redirect the output of your AM by
starting it manually and redirct the output to a file :
just type on the Ultrix prompt 'mcc_mymm_am X [Y/N] > filename'
The number X can be determined by doing 'ps aux' on a system already
running the mcc_mymm_am. Do not forget to kill any existing mcc_mymm_am
process before starting it manually (but I suppose you know this already).
for example :
mcc_domain_fm 2 Y > domain_output.lis
This will redirect all your output to the file 'filename'.
You may have a few problem with output buffering, but I can tell you more
on this if you *really* have the problem.
I do not know any simpler solution.
Hope this helps.
Regards.
Pierre.
|