Quote:
|
Originally Posted by prashant
Hi ppl !!
I am wondering that whatever programs i am makin in linux including "conio.h" in my program are giving the errors that conio.h does not exists so i could not fi gure out whats wrong with the file when it works in the windows platform eaasily without any problems 
Whats wrong with the file in Linux platform. Does some one has anyidea of whats going wrong with it and what can be the possible solution of the problem. Thanx in advance.
|
The old DOS conio assumed a single user sitting in front of the console. Unix was a multi-user, networked OS from the beginning, so that wouldn't work, a more general (and thus harder to configure) terminal handling API is needed called termios.
I think the book
Linux Application Development does a really good job at covering this:
http://www.danlj.org/mkj/lad/contents.html
They cover basic TTY handling and the S-Lang screen handling library, which is an alternative to ncurses. At an even higher level, there's the newt library.
Another thing to check out is the dialog utility
man dialog