I want to write an interactive program like 'less' command for Linux. Reason I can't use less in my setup because you can execute shell commands within less prompt '!cmd' which can be a major security risk for any production box.
My preferred language is C, however, if anyone can suggest any other similar program that will be great too, owing to the time I have in my hand.
I know one option will be to browse through the less source code, but it looks like that is not very straight forward either in short time.