Quantcast
Viewing all articles
Browse latest Browse all 4710

Raspberry Pi OS • mousepad for editing extreme files

Most times I use vi editor (since 1990).
On 64bit Raspberry PiOS I use mousepad in addition, on Ubuntu gedit.

For creating files on gist.github.com I need to get them into clipboard. The file I just worked with did only work with mousepad(!), very slowly, but worked. Neither gedit on Ubuntu was able to process, nor vi with

Code:

:set clipboard+=unnamedplus
to copy to clipboard worked. Nor "xclip" command I installed for that purpose.

So what is "extreme" about the file from this gist?
https://gist.github.com/Hermann-SW/1aa0 ... ebc7f3eb2c

While it has only 8 lines

Code:

pi@raspberrypi5:~ $ cut -b-60  M_52.is.x^2_plus_3_times_y^2.gp p=2^136279841-1;##x=4624919986798384683510429678492757870361922596523736044043##y=-471803447302992039086168784360506296339127284694422433463##p==x^2+3*y^2##pi@raspberrypi5:~ $ 
it has size of 40MB. That is because two lines have more than 20 million characters!
Those lines assign big numbers to variables:

Code:

pi@raspberrypi5:~ $ head -3 M_52.is.x^2_plus_3_times_y^2.gp | tail -1 | wc      1       1 20512164pi@raspberrypi5:~ $ 

So I am really happy to have mousepad, which I used before and was the only tool working today.

Statistics: Posted by HermannSW — Fri Nov 15, 2024 11:59 pm — Replies 2 — Views 86



Viewing all articles
Browse latest Browse all 4710

Trending Articles