If your system supports multiple consoles or multiple serial ports, you can run the shell on on each console and serial port.
To run the shell on every console and serial port on you systems:
[+script] .script = { # start any other drivers you need here devc-con -e -n4 & reopen /dev/con1 [+session] esh & reopen /dev/con2 [+session] esh & ...
To run other programs on different consoles, you can use the same method you use to start the shell on multiple consoles. For instance, to start multiple serial ports:
The [+session] attribute makes the program the session leader (as per POSIX); not all programs require this attribute.
You perform a reopen on any device as many times as you want. You would do this, for example, to start a program on /dev/con1, then start the shell on /dev/con2, and then start another program on /dev/con1 again. For example:
[+script] .script = { ... reopen /dev/con1 prog1 & reopen /dev/con2 [+session] esh & reopen /dev/con1 prog2 & ...