Paul, Not exactly the response you were probably looking for, but have you thought about whiptail, or using libnewt? It might save you a bit of coding. Regards, Leigh.