RW> Was it you who mentioned something about the color
RW> attribute of an int being one of the bits? If I intake
RW> from another computer through my serial port, and want to
RW> send a colored word how would I go about doing that?
Now you are getting into the realm of terminal emulation.
There are many schemes for reproducing color and cursor
control on a remote terminal: vt100, vt101, vt102, ANSI.
You need to encode the color and cursor changes into your
text as escape sequences, and then have the remote terminal
interpret those command sequences and perform the proper
color and cursor changes. There is a good deal of material
in SNIPPETS concerning ANSI emulation. Another option is to
send two characters for each video display character, but
this is twice the necessary data, usually, and an ANSI
terminal emulation will usually be more economical.
If the ANSI.SYS, or equivalent, is present on the remote
system, then the text received may simply be printed to
stdout, and the installed ISR will handle the emulation.
> ] I'm not materialistic. I'm just Object Oriented.............
---
---------------
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)
|