Excerpts from David T. Lewis's message of 2015-01-26 13:58:16 +0100:
due to compute power constraints, i am running "pharo" as my only application via xinit, having to constantly switch between "pharo" and console (for mutt) is becoming painful. :) another approach to that problem (which i am interested in) is to have a terminal within pharo. Are you aware of CommandShell (http://wiki.squeak.org/squeak/1914)? Look for ConfigurationOfCommandShell.
well, PipeableOSProcess is part of the CommandShell package, so i have seen it and speculated that there was more to it, but i could not really see what else that was. thank you for pointing me to documentation. this will help for some of my commandline work. it won't help to run mutt, sup (the mail client i use) or tmux though. for those a full terminal emulator is needed.
FYI, Ian Piumarta implemented telnet with full terminal (VT102) emulation. It uses a pty interface and thus supports mutt and text editors directly in the image. http://squeakvm.org/unix/goodies.html#html/goodies.m4.2.0 It works very well and does exactly what you want, but it was written more than 10 years ago and I cannot say what would be required to make it work on Pharo. Dave