BAW> And +10000...000 if you can make it properly record multi-line BAW> input. I take it there's an implicit smiley in there somewhere. All I do is expose the read_history and write_history in the GNU history library. The rest is up to readline & Python. Skip