multiuser report browser patch

Vance Shipley <>
Sat Apr 10 00:20:52 CEST 2004


I've just posted a patch to the SASL report browser on the
 mailing list.

I've been trying to use remote shells of late as I needed
to support multi-user access for operations.  Previously
I've used to_erl to attach to running embedded systems.
With this method you are attaching to the stdin/stdout of
the Unix process running the emulator.  The output from
SASL shows up here.  The trouble is that you can't share
it.

So now we have users running their own nodes and using the
Job Control Mode (JCL) of the shell to start remote shells
on the target node.  This works relatively well however we
do run into trouble with some output going to the main IO
stream.  For example using the report browser.

On the client screen we see:

	Eshell V5.3.1  (abort with ^G)
	()1> 
	User switch command
	 --> r 
	 --> c
	Restricted Eshell V5.3.1  (abort with ^G)
	()1> rb:start([{max, 5}]).
	{ok,<3938.31940.1>}
	()4> rb:list().
	ok


The progress message and the report shows up under to_erl:

	rb: reading report... done.
	  No                Type   Process       Date     Time
	  ==                ====   =======       ====     ====
	   5        error_report  <0.84.0> 2004-04-07 17:53:22
	   4        error_report  <0.84.0> 2004-04-07 17:53:23
	   3        error_report  <0.84.0> 2004-04-07 17:53:37
	   2        error_report  <0.84.0> 2004-04-07 17:53:38
	   1        error_report  <0.84.0> 2004-04-07 17:53:40

With the patch it will keep track of where a request came
from and send the progress messages and reports there.

Does anyone use rb?

	-Vance



More information about the erlang-questions mailing list