Subj : Custom Scrollabe Text File Viewer
To   : Digital Man
From : Codefenix
Date : Wed Nov 06 2024 09:38 am

 Re: Custom Scrollabe Text File Viewer
 By: Digital Man to Codefenix on Tue Nov 05 2024 04:16 pm

DM> I agree: large files can be problematic. Modern log files can be gigabytes
DM> in size these days (!). You could maybe have some file size threshold
DM> beyond which you just punt and use printfile() or have your script load
DM> the file into memory in chunks (how printfile() works by default).

That's interesting. Like just use the frame object as a kind of viewport for the lines I want to display, and use the up/down/etc to control which range of lines come into view. Seems very doable. Thanks for the thought.

Gigabyte log files... (shivers)...

|15 � � � codefenix � � � ConstructiveChaos BBS � � � � �
|08 � � � (https/telnet/ssh)://conchaos.synchro.net � � �
|07

...When I die, I'm leaving my body to science fiction.
---
� Synchronet � -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-