In reply to Vinayak Risbud's flatulent wordings,
> Hi friends
>> Can you tell me what is the evivalent function for _kbhit()
> in Linux.
It's a bad idea to use a kbhit of any sort in unix. kbhit implies you're
using a loop to check for key strokes, which consumes a lot of CPU time.
>> Can I club both printf and printw(curses function) in single program?
>> please do reply if you know something about this
>> Thanks in advance
I often curse at problems *wa wa wa* Anyway, bad idea to mix printf with
curses, curses for one thing maintains an internal counter of which row and
column output is to be sent to, when you use printf, you print and update the
screen without updating the pointers, also anything you printf won't be saved
in curses' screen so if you do a screen refresh all your printfs will be gone
but your printws will still be there
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!