Is there a simple way I can re-create the output KSH gives in "command recall"
mode, ESC and then pressing the "=" key? Example:
$ ^[=
(where ^[ is the escape key)
outputs;
1) test0
2) test1
3) test2
4) test3
5) test4
6) test5
The files test[0-5] are the files in the current directory.
I would like to be able to use that format for a shell driven menu system I'm
developing for some users.
-Steve
--
_ ___ __ |""""| __ ___ ___ _______________________________ ___ ___ ___ _
_|___|-oOo-+----+-oOo-|___|__\ _______________________________ /__|___|___|_