🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Erik Warren Selberg Tue, 27 Jul 1993 17:13
lightbrite
#925
Author: Erik Warren Selberg
Date: Tue, 27 Jul 1993 17:13
10 lines
1075 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?

Thanks,
Erik

work: (412) 268-7866 (CMU-SUMO)             _____            __   ___ 
play: (412) 268-5534 (CMU-5-KEG)           /__    /   /  /  /_/  /__
else: (412) 683-0741                      /      /_  /__/  /    ___/ @cmu.edu
lightbrite
#788
Author: 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]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads