🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #202

Re: relation between allowed AVIO sizes and attribute sizes

#202
From: Stephen M. Lacy
Date: Sun, 02 Aug 1992 09:55
34 lines
2497 bytes
Excerpts from netnews.comp.os.os2.programmer: 31-Jul-92 relation between
allowed AV.. Kenneth Porter@well.sf.c (1033)

> I want to create an AVIO presentation space with a *lot* of lines of
> scrollback.  The documentation specifies that the total AVIO buffer must
> fit in 64k.  This led me to believe that by specifying only one
> attribute byte for each character cell, I could have 32k cells.  As
> illustrated in the following code, this appears not to be the case.  I
> can only get 16k cells, which suggests that VioCreatePS uses the same
> limits as when creating a 3-byte attribute space.


I am thinking of doing the same thing, and because of the limitation in
the size of the AVIO buffer, my solution was to make the AVIO buffer the
same size as the window, add a scrollbar of my own on the right, have
the program display only the lines that would fall within the window. 
This would leave you with almost unlimited scrollback space, and
shouldn't be a hell of a lot slower than what you describe.  Granted,
I've never coded anything using AVIO before, but I'm about to code this
stuff up.  (about == within next couple of months) (no, it won't take me
that long to do, but being a student in CS, it's hard to get time to
program MY stuff, when I'm also programming THEIR stuff) 

Using this technique, it should be possible to make something like an
editor that would use AVIO for the speed in output, and would be able to
handle files of any size.  My goal is to use the Enhanced Editor for as
little time as possible, because IMHO is sucks the big one.  So, what's
my solution? (since I have no space to fit the monstrosity of emacs)
Write my own editor with the electric-c functions of emacs.  Yes, it'll
be available sometime.  

Steve

"Emma, please stop chewing on my purple love seat."
Technical Details
Message-ID: <YeT26h_00Vp8E_=1Al@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sl31+
References: <Bs9r3w.MIK@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sl31+
From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
Newsgroups: comp.os.os2.programmer
Subject: Re: relation between allowed AVIO sizes and attribute sizes
Message-ID: <YeT26h_00Vp8E_=1Al@andrew.cmu.edu>
Date: 2 Aug 92 09:55:57 GMT
References: <Bs9r3w.MIK@well.sf.ca.us>
Distribution: comp
Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 34
In-Reply-To: <Bs9r3w.MIK@well.sf.ca.us>