Mt Xia: Technical Consulting Group
Business Continuity / Disaster Recovery / High Availability Data Center Automation / Audit Response / Audit Compliance
See visualSelect menu system for a full implementation of "getch" capturing function keys, arrow keys, and other cursor movement keys.
function getch { IFS='' read -r -- TMP_GETCH STATUS="${?}" # ${CMD_ECHO} "${TMP_GETCH}" eval \${CMD_ECHO} ${OPT_ECHO} \"\${TMP_GETCH}\" return ${STATUS} }