extra console/shell

Vance Shipley <>
Fri Jul 5 23:10:39 CEST 2002


Per,

I use to_erl (on Solaris, Linux & FreeBSD) quite frequently.  The 
advantage of to_erl is that the system doesn't need to be running
distributed.

	-Vance

On Mon, Jul 01, 2002 at 11:58:04AM +0200, Per Hedeland wrote:
> 
> >If my memory serves me right, on Solaris there is a to_erl utility, but I 
> >think it only allows connecting to the active shell, not create a new one.
> 
> Yes, and it's a hack (I wrote the original version:-) that has no real
> business being included with Solaris, I think. I did it for the VxWorks
> port, where it made some sense, since on such systems you typically don't
> have window systems or job control, and frequently only a single serial
> port through which you may need to access both the VxWorks shell and the
> Erlang shell.
> 
> So you give the serial port to the VxWorks shell, and fire up Erlang
> behind a pseudo-tty ('start_erl' did this IIRC) - and then you can run
> to_erl from the VxWorks shell to talk to that pseudo-tty, returning to
> the VxWorks shell when to_erl finishes (on ^D).
> 
> --Per Hedeland
> 



More information about the erlang-questions mailing list