Xref: utzoo comp.sys.ibm.pc:11603 comp.sys.tandy:592 Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!srs!dan From: dan@srs.UUCP (Dan Kegel) Newsgroups: comp.sys.ibm.pc,comp.sys.tandy Subject: Re: Video Attributes Message-ID: <597@srs.UUCP> Date: 10 Feb 88 14:10:19 GMT References: <518@auvax.UUCP> <1920@optilink.UUCP> Reply-To: dan@rem.UUCP (Dan Kegel) Distribution: na Organization: S.R.Systems Lines: 15 Clayton Cramer writes: >> How do you change the video attributes on an IBM PC. I would like to >> bold,reverse,underline strings on the screen... > Use ANSI.SYS, but note that using the ANSI driver is very slow -- > adequate for very simple programs, but not for a commercial product. True enough, but there are public domain replacements for the ANSI driver that are very fast, and quite adequate for commercial products. The two I know about are NANSI.SYS (my favorite :-) and the recently posted QWIKANSI.SYS. If your application sets RAW mode on the console fd (this is done with the IOCTL system call) and uses NANSI, plain old puts and printf statements run ten times faster than before. -- Dan Kegel srs!dan@cs.rochester.edu dan%srs.uucp@cs.rochester.edu rochester!srs!dan