| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | screen color in OS/2 |
A creature called David Etheredge screamed at All: DE> I am writing a program designed for the OS/2 full screen DE> mode and need to use different colored characters on the DE> screen. In dos,there are textcolor() and textbackground() DE> procedures prototyped in conio.h. These are missing in OS/2 DE> C-set. Ah, wrong right there. Those procedures are 'borland-isms'. They are borland-specific. DE> I know that in many cases, I can use ANSI escape DE> sequences yo acomplish this. Is this always acceptable in DE> OS/2? Does OS/2 accept ANSI escape sequences by default or DE> do I need to check to see if an ANSI driver is loaded? Is DE> there another alternative? Can I use the BIOS video calls to DE> set color? What about direct screen writes, from what I DE> understand, OS/2 does not like that at all. What I do is just use ansi sequences. Yes, OS/2 by default supports them, and no you don't need to check if the driver is loaded. ANd why do direct writes, when using DosWrite() or VioWrtTTY() will do just fine, and just as well? .\\ike Stella --- ShadowMail/2 1.00* Origin: Shadowland/2 - 203.456.1103 (V34) & 203.456.4244 (V32) (1:327/138) SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 327/138 469 451 324/288 3615/50 396/1 270/101 105/103 42 712/515 @PATH: 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.