<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stop Opening Huge Files in Screen Editors]]></title><description><![CDATA[<p dir="auto">I came across this post:</p>
<p dir="auto"><a href="https://phanpy.social/#/hachyderm.io/s/115891592999188880" rel="nofollow ugc">https://phanpy.social/#/hachyderm.io/s/115891592999188880</a></p>
<p dir="auto">It describes a very common situation: large SQL dumps, vim becoming<br />
unusable, and ed(1) suddenly making sense again.</p>
<p dir="auto">This is not accidental.</p>
<p dir="auto">Screen editors are designed for interactive, cursor-based editing.<br />
When files reach hundreds of megabytes or gigabytes, those assumptions break down.<br />
Startup cost, redraw, navigation, and internal structures become the real bottleneck.</p>
<p dir="auto">At that point, using tools like grep, sed, awk, or ed is not a<br />
workaround — it is the correct approach.</p>
<p dir="auto">Key idea:</p>
<pre><code>Large files do not require faster editors;
they require different tools.
</code></pre>
<p dir="auto">Full note:<br />
<a href="https://codeberg.org/r1w1s1/code-notes/raw/branch/main/notes/Stop_Opening_Huge_Files_in_Screen_Editors.txt" rel="nofollow ugc">https://codeberg.org/r1w1s1/code-notes/raw/branch/main/notes/Stop_Opening_Huge_Files_in_Screen_Editors.txt</a></p>
]]></description><link>https://billboard.bsd.cafe/topic/61/stop-opening-huge-files-in-screen-editors</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 04:13:38 GMT</lastBuildDate><atom:link href="https://billboard.bsd.cafe/topic/61.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Apr 2026 02:54:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stop Opening Huge Files in Screen Editors on Wed, 15 Apr 2026 11:14:49 GMT]]></title><description><![CDATA[<p dir="auto">As another data point in comparing how different editors work, here's an <a href="http://jhallenworld.com/editorperformance.html" rel="nofollow ugc">old one by the author of the very undervalued <code>joe</code> editor</a>.</p>
<p dir="auto">In general, there's nothing <em>preventing</em> screen editors from working properly and fast here, it's just not something they optimized for. If they did it at all, internal editor data structures tend to be quite simple these days, as virtual memory works for most cases. People had to get a lot more tricky on smaller devices (or they gave up early, cf. Windows Notepad).</p>
<p dir="auto">Heretically, I'd also like to say that a lot of files that aren't binary <em>and</em> huge, <em>different tools</em> often wouldn't point at e.g. sed, as you're running into the old "Now they have two problems." issue then.</p>
]]></description><link>https://billboard.bsd.cafe/post/248</link><guid isPermaLink="true">https://billboard.bsd.cafe/post/248</guid><dc:creator><![CDATA[mhd]]></dc:creator><pubDate>Wed, 15 Apr 2026 11:14:49 GMT</pubDate></item><item><title><![CDATA[Reply to Stop Opening Huge Files in Screen Editors on Tue, 07 Apr 2026 09:34:43 GMT]]></title><description><![CDATA[<p dir="auto">Maybe not so useful for many, but some screen editors are not good at handling looooong single line, even if the whole bunch of file size is small.</p>
<p dir="auto">An example of this situation would be copy (from terminal emulator) and paste to editor window the output from poudriere to see specific ports are included in skipped (or succeeded) ones on building a large number of ports. Built, ignored, failed, skipped ports has single output line respectively.</p>
<p dir="auto">In this specific cases, editors/leafpad (and IIRC, editors/pluma, too) locks up on horizontal scrolling (in case turned over at right end of window, vertical, too) or searching. devel/geany works fine.<br />
Just examples I've tried before.</p>
]]></description><link>https://billboard.bsd.cafe/post/182</link><guid isPermaLink="true">https://billboard.bsd.cafe/post/182</guid><dc:creator><![CDATA[TomAoki]]></dc:creator><pubDate>Tue, 07 Apr 2026 09:34:43 GMT</pubDate></item><item><title><![CDATA[Reply to Stop Opening Huge Files in Screen Editors on Tue, 07 Apr 2026 04:17:20 GMT]]></title><description><![CDATA[<p dir="auto">Great reminder. I used <code>vim</code> to dig through a massive SQL dump during a CTF and although I performed well it wasn't without some headache.</p>
]]></description><link>https://billboard.bsd.cafe/post/180</link><guid isPermaLink="true">https://billboard.bsd.cafe/post/180</guid><dc:creator><![CDATA[naltun]]></dc:creator><pubDate>Tue, 07 Apr 2026 04:17:20 GMT</pubDate></item></channel></rss>