[H-GEN] Windows Compiler

Anthony Towns aj at azure.humbug.org.au
Thu Aug 3 02:45:22 EDT 2000


On Thu, Aug 03, 2000 at 03:28:57PM +1000, Martin Pool wrote:
> On Wed, Aug 02, 2000 at 04:53:51PM +1000, Frank Brand wrote:
>> Another little problem (especially for non gui programmes) the DOS version of
>> C uses an include file that is very useful conio.h but (unless things have
>> changed lately) there is no simple and fully functional equivalent of this in
>> Unix/Linux so be careful if you want to move source code from DOS to
>> *nix.
> There is a compatibility layer using curses around somewhere, iirc.

There is. I've got a copy in /usr/local from ages ago, but I don't think I
have any source anywhere.

From the header file:

/***************************************************************************/
/** File: conio.h     Date: 03/09/1997       Version: 1.02                **/
/** --------------------------------------------------------------------- **/
/** CONIO.H an implementation of the conio.h for Linux based on ncurses.  **/
/** This is copyright (c) 1996,97 by Fractor / Mental EXPlosion.          **/
/** If you want to copy it you must do this following the terms of the    **/
/** GNU Library Public License                                            **/
/** Please read the file "README" before using this library.              **/
/** --------------------------------------------------------------------- **/
/** To use this thing you must have got the curses library.               **/
/** This thing was tested on Linux Kernel 2.0.29, GCC 2.7.2 and           **/
/** ncurses 1.9.9e which is (c) 1992-1995 by Zeyd M. Ben-Halim and Eric S.**/
/** Raymond.                                                              **/
/** Please also read the copyright notices for ncurses before using this !**/
/***************************************************************************/   

Not sure if that's any help. I don't thing I have the README file anywhere
either. There doesn't seem to be a .deb, either.

Cheers,
aj

-- 
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

  ``We reject: kings, presidents, and voting.
                 We believe in: rough consensus and working code.''
                                      -- Dave Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 350 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20000803/03127b73/attachment.sig>


More information about the General mailing list