From: Steve Chapel Newsgroups: comp.os.msdos.djgpp Subject: Re: ANSI Date: Sat, 24 Oct 1998 00:39:51 -0700 Organization: Utilicom, Inc. Lines: 58 Message-ID: <36318447.65AB4A91@utilicom.com> References: <3630DE97 DOT A07249D4 AT geocities DOT com> <3630E3FE DOT 60E0E71C AT utilicom DOT com> <36311295 DOT CB4DFB8F AT montana DOT com> NNTP-Posting-Host: steve.utilicom.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------55904E48E4EFF3F1F54CEC3F" X-Trace: sienna.impulse.net 909214793 18818 207.33.43.138 (24 Oct 1998 07:39:53 GMT) X-Complaints-To: abuse AT impulse DOT net NNTP-Posting-Date: 24 Oct 1998 07:39:53 GMT X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------55904E48E4EFF3F1F54CEC3F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit bowman wrote: > > Steve Chapel wrote: > > > > Ryan Guy wrote: > > > > > > What parameter must I pass to GCC in order to get it to compile ANSI > > > functions and escape sequences? Anyone know....I would be very greatful > > > > gcc should compile any C89 program correctly. > > I think Ryan Guy is asking about ANSI.sys related screen manipulation? A > little more info would help. Oh! I thought he was talking about "ANSI C" (as in the C89 standard) vs. "K&R C" (as in Kernighan and Ritchie). ANSI C introduced a new syntax for declaring arguments to functions. By escape sequences, I thought he might have meant trigraphs! (With C9X around the corner, even the term ANSI C is becoming ambiguous.) Using the ANSI.SYS driver simply interprets characters in a different way than normal. No compiler support is needed. I've even used ANSI.SYS commands to put the time & date at the corner of the screen by incorporating them into the DOS prompt. Just output the right characters and ANSI.SYS will interpret 'em! :-) --------------55904E48E4EFF3F1F54CEC3F Content-Type: text/x-vcard; charset=us-ascii; name="schapel.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Steve Chapel Content-Disposition: attachment; filename="schapel.vcf" begin:vcard n:Chapel;Steve tel;fax:(805) 964-5706 tel;work:(805) 964-5848 x227 x-mozilla-html:TRUE url:http://www.utilicom.com/ org:Utilicom, Inc. Spread Spectrum Communications adr:;;323 Love Place;Santa Barbara;CA;93117-3289;USA version:2.1 email;internet:schapel AT utilicom DOT com title:Software Engineer fn:Steve Chapel end:vcard --------------55904E48E4EFF3F1F54CEC3F--