You can check out <a href="Menu driven using Ksh"><b>this</b></a> thread for more information on menus... Also, check out the <a href="Advance Search"><b>search</b></a> funtion for more examples. I searched for "menu case" to get the above example.
Keep in mind that since the output of the `ps -e` command is usually longer than one screen, you might want to pipe it through `more` or `less` for the user, if you use those options.
ps -e | more
See the manual page for `ps` (man ps) for more information on formatting.
BTW, hope this isn't a h:pmework question... those are frowned upon.