Re: Expect and log_user
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Expect and log_user

From: Sektor van Skijlen <ethouris@pl.wp.spamu.lubie.nie.invalid>
Date: Fri Jul 29 2005 - 16:20:18 CEST

Dnia 28 Jul 2005 16:20:55 -0400, Don Libes skrobie:
> Yes, log_user was only intended as a crude type of mechanism. If you
> want finer control, take charge of all output yourself. The book
> shows an example - by tracing expect_out(spawn_id), it writes the
> output of each spawned proc to a different file. You can easily adapt
> that idea to what you're interested in.

Don, please...

Could you show somewhere on the net an example that shows spawning two
separate processes and log the session with each of them into its separate
file?

About three times did I ask about it here and no procedure for that succeeded.

-- 
//  _    ___         Michal "Sektor" Malecki <sektor(whirl)kis.p.lodz.pl>
\\ L_ |/ `|  /^\ ,()                         <ethourhs(O)wp.pl>
// \_ |\  \/ \_/ /\ C++ bez cholesterolu: http://www.intercon.pl/~sektor/cbx
"Java does not have pointers!"
Received on Thu Sep 29 14:27:56 2005