From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3166 invoked by alias); 11 Jun 2004 14:43:17 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3156 invoked from network); 11 Jun 2004 14:43:15 -0000 Received: from unknown (HELO smtp-relay-8.adobe.com) (192.150.22.8) by sourceware.org with SMTP; 11 Jun 2004 14:43:15 -0000 Received: from inner-relay-1.corp.adobe.com (inner-relay-1 [153.32.1.51]) by smtp-relay-8.adobe.com (8.12.10/8.12.10) with ESMTP id i5BEgf6P007258; Fri, 11 Jun 2004 07:42:46 -0700 (PDT) Received: from iplan-mn (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-1.corp.adobe.com (8.12.9/8.12.9) with ESMTP id i5BEge3k010646; Fri, 11 Jun 2004 07:42:40 -0700 (PDT) Received: from mn-eljayet.adobe.com ([130.248.178.67]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HZ500KTZFJ21Y@iplan-mn.corp.adobe.com>; Fri, 11 Jun 2004 09:42:40 -0500 (CDT) Date: Fri, 11 Jun 2004 14:43:00 -0000 From: Eljay Love-Jensen Subject: Re: Need advice on converting programs from Borland C compiler In-reply-to: <40C9BF40.3010704@comcast.net> X-Sender: eljay@iplan-mn.corp.adobe.com To: "David J. Stelte" , gcc-help@gcc.gnu.org Message-id: <6.1.1.1.0.20040611093856.021e0bb8@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <40C9BF40.3010704@comcast.net> X-SW-Source: 2004-06/txt/msg00113.txt.bz2 Hi Dave, What you want is the library called "ncurses". There are analogous functions between ncurses and Borland's console interface library. But they are not identical in use and initialization. You might be able to make your own shim layer (functions called "cprintf" and "gotoxy" and such) which map to ncurses functions. If I remember correctly, ncurses either includes or has available a C++ wrapper to facilitate using ncurses. You may want to refactor your code to use the C++ wrappers. See: http://www.gnu.org/software/ncurses/ncurses.html Good luck, --Eljay