🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #788

lightbrite

#788
From: Iain A F Fleming
Date: Wed, 28 Jul 1993 09:15
27 lines
1952 bytes
> I'm using lightbrite 1.1.2, and it appears that it can't handle large
> buffers (the one I'm using is a 30K C source file). Has anyone else
> experienced this, or better yet does anyone know of a fix?

Erik:

lightbrite is working as marca intended: there are two vars,
brite::comment-threshold and brite::touchup-threshold that control the maximum
size of file that lightbrite will try to touch up automatically. These are set
to 100000 and 30000 respectively, normally.

To get a large file commented:  \C-zC (brite::balloon-comment-threshold)
To get a large file touched up: \C-xT (brite::balloon-touchup-threshold)

Or you could just change brite::comment-threshold and brite::touchup-threshold
to larger values. That what I've done (200000 & 750000). But then, I have a
fairly powerful machine, so I can take the performance hit, and I've tuned
some of the regexps to make them run faster (ie they simpler and less general,
but they match my coding style).

Hope this helps.
--
   Iain A F Fleming     Numerical Algorithms Group Ltd Oxford UK OX2 8DR
    iainf@nag.co.uk     tel: +44.865.511245 x255   fax: +44.865.310139
  
            ** Fortran-90: The Future of Fortran Here Today **
    ["No more good must be attempted than the people can bear" -Solon]
Technical Details
Message-ID: <3881.9307280828@nags2.nag.co.uk>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.dfn.de!darwin.sura.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!nag.co.UK!iainf
References: <kgJK8Wi00aw41AsRIB@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,4a3c6d294aa1b380
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-07-28 02:28:53 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.dfn.de!darwin.sura.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!nag.co.UK!iainf
From: iainf@nag.co.UK (Iain A F Fleming)
Newsgroups: gnu.epoch.misc
Subject: lightbrite
Date: 28 Jul 1993 05:15:17 -0400
Organization: GNUs Not Usenet
Lines: 28
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <3881.9307280828@nags2.nag.co.uk>
References: <kgJK8Wi00aw41AsRIB@andrew.cmu.edu>