Why don't you just use EMACS? It provides history and editing capabilities for a shell in a buffer. Thomas. PS: I have been using EMACS for a while, but I'm back to ed now...