On Wed, 24 Oct 2012, Joseph Acquisto wrote:

"Kevin A. McGrail" <kmcgr...@pccc.com> 10/24/12 11:55 AM >>>
On 10/24/2012 11:25 AM, Joseph Acquisto wrote:
"Kevin A. McGrail" <kmcgr...@pccc.com> 10/24/12 9:52 AM >>>
On 10/24/2012 6:09 AM, Joseph Acquisto wrote:
OBTW . . .  fixed my starved db  by adding --mbox to the sa-learn command line. 
 It seems happy now.   Funny, for some reason I thought that was default.   
Guess not.
What version of SA are you using?
3.3.2  - I believe, came with opensuse 12.2

joe a.
According to the docs, Detect is the default. Might need a -D to see why
it's not detecting as mbox.

Can you open a bug please?

Regards,
KAM

Will try.

How can I trap/redirect the -D output?  In entirety?  I use putty to access the 
box and cannot sroll back all the way to
the beginning of output.  Perhaps there is a secret to that, as well.

joe a.

On a Unix system you can use the "tee" command to capture standard out to a file as well as see it.

So something like:

  sa-learn --ham -D --mbox /tmp/mailbox 2>&1 | tee /tmp/transcript.txt

will run "sa-learn --ham -D --mbox /tmp/mailbox" , capturing all output
in a file and show it to you too.

Other option is to use the Unix "script" command to capture your
entire session in a file.
ssh to your system, do "script /tmp/transcript.txt"
it will give you a new shell; do your stuff you want to capture
"sa-learn" etc. Then do a ^D to end the script, and look at the /tmp/transcript.txt file.
Just do -not- try to view the /tmp/transcript.txt while your "script"
capture is in progress.



--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to