old-fashioned 'shl' like program by A. Ito
commands:
c creates new shell C-z suspends shell p lists all shell 0,1,... choose shell q quit