Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where's conio.h??

0 views
Skip to first unread message

C A Stones

unread,
Nov 29, 1998, 3:00:00 AM11/29/98
to
Hello there!

I'm using RedHat linux 5.1 as a sort of hobby. I'm a newbie, although I
am now able to mess around better and better over the last five months..

Im an IT student, and sice a few months I'm programming in C/C++. I like
to do that under linux, but in some cases I encounter a problem:

At school we're using Borland C++ (MS-DOS based). In some cases I need
to add the header-file conio.h (with functions as clrscr() etc) for
console-manipulation.
Unfortunately, I am unable to find this headerfile in linux.

My question:
Where can I find this library (or what is it's name), or
is it possible to use Borland's header-file? If so, is there anything
special I should do first?

Thank you in advance

C Stones


Johannes Hampel

unread,
Nov 29, 1998, 3:00:00 AM11/29/98
to
C A Stones wrote:
>
> Hello there!
>
[...]

> At school we're using Borland C++ (MS-DOS based). In some cases I need
> to add the header-file conio.h (with functions as clrscr() etc) for
> console-manipulation.
> Unfortunately, I am unable to find this headerfile in linux.

There is no conio in linux. You could use the ncurses library which
should
be a part of your linux distribution.

[...]


cu,
--
-----------------------------
Johannes Hampel
eMail: joha...@gmx.net
-----------------------------

Bartosz Klimek

unread,
Nov 30, 1998, 3:00:00 AM11/30/98
to
Johannes Hampel wrote:
>
> [...]
> > At school we're using Borland C++ (MS-DOS based). In some cases I need
> > to add the header-file conio.h (with functions as clrscr() etc) for
> > console-manipulation.
> > Unfortunately, I am unable to find this headerfile in linux.
>
> There is no conio in linux. You could use the ncurses library which
> should
> be a part of your linux distribution.
> [...]

I once saw a library for linux that emulated conio. I didn't use it so I
don't know how good it is. Anyway it isn't standard.

Best regards,

Bartosz Klimek
mailto:bar...@student.uci.agh.edu.pl

DominiX

unread,
Dec 4, 1998, 3:00:00 AM12/4/98
to
...

Mike Machado

unread,
Dec 13, 1998, 3:00:00 AM12/13/98
to
C A Stones wrote:

> Hello there!
>


> I'm using RedHat linux 5.1 as a sort of hobby. I'm a newbie, although I
> am now able to mess around better and better over the last five months..
>
> Im an IT student, and sice a few months I'm programming in C/C++. I like
> to do that under linux, but in some cases I encounter a problem:
>

> At school we're using Borland C++ (MS-DOS based). In some cases I need
> to add the header-file conio.h (with functions as clrscr() etc) for
> console-manipulation.
> Unfortunately, I am unable to find this headerfile in linux.
>

> My question:
> Where can I find this library (or what is it's name), or
> is it possible to use Borland's header-file? If so, is there anything
> special I should do first?
>
> Thank you in advance
>
> C Stones

I have seen the linux conio when I asked the exact same question.
I had nothing but problems with it though so be warned.
The clrscr() seemed to do some really weird things like totally reverse the
colors in my terminals.

If you want to try it here is a link:

http://sunsite.doc.ic.ac.uk/packages/Linux/tsx-11-mirror/sources/libs/linux-conio-1.02.tar.gz

Mike Machado
mi...@innercite.com
InnerCite
Network Specialist


0 new messages