home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!lll-winken!decwrl!deccrl!bloom-beacon!eru.mt.luth.se!lunic!sunic!news.funet.fi!tac.fi!tiok_ks
- From: tiok_ks@tac.fi
- Newsgroups: comp.lang.c
- Subject: Re: Using ANSI.SYS codes from C? (Turbo)
- Message-ID: <1992Aug19.135137.1507@tac.fi>
- Date: 19 Aug 92 10:51:37 GMT
- References: <1992Aug18.013912.12547@cs.umb.edu> <1992Aug18.111356@shovel.Prime.COM>
- Followup-To: comp.lang.c
- Organization: City of Tampere
- Lines: 29
-
- In article <1992Aug18.111356@shovel.Prime.COM>
- tim@shovel.Prime.COM (Tim Cantin) writes:
- > esc[xm set color x where colors are:
- > foreground: background:
- > 30 black 40 black
- > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^___darn, I can't remember them!
- > it's the same as the resistor
- > code table if you know that! :)~
-
- > p.s.
- > If anyone knows those color codes, feel free to post them! *grin*
-
- I don't think it's the same... Resistors have 10 different colours,
- order of which I'm not sure of, but according to the Programmer's PC
- Sourcebook there are only 8 ANSI colours:
-
- text bkgr. colour
- ---- ----- ------
- 30 40 black
- 31 41 red
- 32 42 green
- 33 43 yellow
- 34 44 blue
- 35 45 magenta
- 36 46 cyan
- 37 47 white
-
- --------------------------------
- Kimmo Surakka tiok_ks@tac.fi
-