FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    prashant Guest

    Equivalent of CONIO.H in linux

    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.

  2. #2
    raghavendra Guest
    Hi
    I dont think conio.h is available....... is specific to Borland / Inprise ("turbo") compilers.
    Just delete the getch(), clrscr() function if you have in your program and compile
    Last edited by raghavendra; 4th June 2005 at 12:38 PM.

  3. #3
    raghavendra Guest
    You might also be interested in ncurses
    http://www.tldp.org/HOWTO/NCURSES-Pr...ro.html#WHATIS
    That might help

  4. #4
    prashant Guest
    Yes I am very much interested in "curses.h" as i have found soe thing on net regarding it istead of conio but can't exactly relate what is it all about.

  5. #5
    Join Date
    Apr 2005
    Location
    Finland
    Posts
    5,073
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by prashant
    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
    Linux is not Windows. That's the first thing you must learn.
    This means any Windows-specific libraries, APIs and header files just don't exist.

  6. #6
    Daverz Guest
    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

Similar Threads

  1. what is the equivalent to cmd.exe in linux?
    By Obocaman in forum Installation, Upgrades and Live Media
    Replies: 8
    Last Post: 10th August 2019, 02:00 PM
  2. J2EE equivalent in Linux ...
    By thushanthan in forum Programming & Packaging
    Replies: 2
    Last Post: 18th September 2007, 10:18 AM
  3. What's the Linux equivalent of
    By SlowJet in forum Using Fedora
    Replies: 6
    Last Post: 26th January 2007, 06:33 AM
  4. porting conio.h to Linux
    By tashirosgt in forum Programming & Packaging
    Replies: 1
    Last Post: 23rd September 2006, 03:29 PM
  5. Quickbooks equivalent in linux
    By sailu_mvn in forum Using Fedora
    Replies: 3
    Last Post: 28th November 2005, 11:40 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •