🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #235

Re: VioWrtTtyAtt() ?

#235
From: Robert Stevahn
Date: Tue, 28 Nov 1989 18:29
15 lines
810 bytes
I haven't tried this, but how about something like:

#define VioWrtTTYAtt (
	buf,
	len,
	attr,
	handle)
    {USHORT usLin, usCol;
     VioGetCurPos (&usLin, &usCol, 0);
     VioWrtTTY (buf, len, handle);
     VioWrtNAttr (&attr, len, usLin, usCol, handle);
    }

In other words, remember the current position, use the TTY call which updates
the cursor, and then write out the attributes. Hope it works...
Technical Details
Message-ID: <15320001@hpdml93.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!motcsd!hpda!hpcuhb!hp-ses!hpdml93!rstevahn
References: <10670009@hpmcaa.mcm.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!motcsd!hpda!hpcuhb!hp-ses!hpdml93!rstevahn
From: rstevahn@hpdml93.HP.COM (Robert Stevahn)
Newsgroups: comp.os.os2
Subject: Re: VioWrtTtyAtt() ?
Message-ID: <15320001@hpdml93.HP.COM>
Date: 28 Nov 89 18:29:11 GMT
References: <10670009@hpmcaa.mcm.hp.com>
Organization: Hewlett Packard - Boise, ID
Lines: 15