Article View: comp.os.os2
Article #227VioWrtTtyAtt() ?
From: Abdenacer Moussaoui
Date: Mon, 27 Nov 1989 20:38
Date: Mon, 27 Nov 1989 20:38
22 lines
1180 bytes
1180 bytes
API does not provide a "sequential" write procedure (ie. write to the
screen from the last cursor position using a specified color). API
VioWrtTTY() comes short of what I want to do so I decided to write the
following macro. However it does not seem to work apparently
VioWrtCharStrAtt() does not seem to move the cursor like VioWrtTTY does.
Am I doing this write? Is there a work around using strictly APIs?
Thank you.
#define VioWrtTtyAtt( \
buf, \
buflen, \
attr, \
handle ) \
{ USHORT usLin, usCol ; \
VioGetCurPos( &usLin, &usCol, 0 ) ; \
VioWrtCharStrAtt( buf, buflen, usLin, usCol, attr, handle ); \
} \
/*_11/22/1989______________________________________________________________*/
BTW. I am not interested in supporting TTY escape sequences
Technical Details
Message-ID:
<10670009@hpmcaa.mcm.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!hplabs!hp-pcd!hpmcaa!nacerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!hplabs!hp-pcd!hpmcaa!nacer From: nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui) Newsgroups: comp.os.os2 Subject: VioWrtTtyAtt() ? Message-ID: <10670009@hpmcaa.mcm.hp.com> Date: 27 Nov 89 20:38:03 GMT Organization: HP McMinville Division Lines: 22