Tired of the TCL / Expect combination?
Ruby with RExpect is a the most powerful tool for test and device automation and scripting.
It has been used heavily, but is currently getting prettied up for public consumption. You can watch the progress on the RExpect Project page.
See Documentation for more info.