so that Session can be used with other terminal implmenetations, allow TERM to be given from outside
renamed
Proces.getOutputStream() can be buffered
added one more convenience method