You can use jeasyform to develope terminal user interface easy,it's based on charva,provided textfield,passwordfield,button,box,menu,and so on. It run on linux,aix,hp-unix and others. You can description interface by xml,and just develop some event,then it will be well done. Enjoy it.