TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JERRY COFFIN
from: CAMERON CLARK
date: 1997-05-07 22:27:00
subject: Re: Rating of C++

JC> Yes and no.  The UNIX curses library has been ported to DOS, at least in
JC> part, so with the right library handy you can use them portably.  In
JC> fact, quite a few functions Borland includes in conio.h are quite
JC> similar to curses function.  e.g. both include clrscr() and gotoxy().
JC> However, I don't think the two are similar enough to allow code to be
JC> ported without a fair amount of work.
JC>     Later,
JC>     Jerry.
    I tried writing my own conio.h on a UNIX system (solaris?) and a
    few of the macros like addstr() where not available in the curses.h
    on this rag/tag system.
    I might have to just dig up some vt100 codes to move cursor and
    change attributes - I hate the curses.h library and often find
    myself having to hangup because keyboard input has been taken    
    control of an not released by my program.
    The only things I need to change are gotoxy(), cputs, and some   
    kind of mimic for textcolor textbackgroung for hilights, oh yeah
    and the biggy getch() - I need just a key at a time and function
    keys to return a null first and then a key code.
    I have a bit of work to do inorder to port my 2200+ lines of code
    to UNIX. Any ideas about a fake conio.h libray would be helpful.
    **%CpC%**
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.