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: Don Libes <libes@nist.gov>
Date: Fri Jul 29 2005 - 23:00:31 CEST

Sektor van Skijlen <ethouris@pl.wp.spamu.lubie.nie.invalid> writes:

> 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.

Probably because it's in the Expect book (page 408) and it's been
there for years and everyone (including me) is just too lazy to wrap
it up into an actual script :-P

Don
Received on Thu Sep 29 14:28:00 2005