put cursor on found text in less or vi?

Karl Auer kauer at biplane.com.au
Wed Sep 25 15:13:50 UTC 2024


On Wed, 2024-09-25 at 09:19 -0400, Little Girl wrote:
> I'm not sure how it would do with the length of lines you described,
> but my weapon of choice is Geany and I absolutely adore it.

After that testimonial, how could I not check it out? :-)

I first tried a 2.5GB text file containing around a quarter-million
lines of widely varying lengths, some around three-quarters of a
million characters long.

Geany was unable to load the entire file, reporting "Error reading from
file: Bad address".

It WAS able to load a 1.5GB file with about 140,000 lines, and after a
slight hesitancy when first loaded, moving about in the file vertically
was very comfortable. Moving horizontally in the long lines was
noticeably worse, but not unusably slow.

I searched for info on Geany's limits and couldn't find any. I found a
fair few discussions that seemed to indicate it has no built-in limits,
so not sure why it wouldn't load the larger file.

It does look very nice. Thanks for the pointer!

Regards, K.

PS: I don't hold it against an editor that it can't handle a big file
or very long lines. Most editors are designed to edit configuration
files, source code and suchlike, maybe a bit of JSON or XML. They excel
in features, not in raw capacity. Geany dealt with its limitation
sanely, unlike VSCode which just crashed.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au, he/him)
http://www.biplane.com.au/kauer





More information about the ubuntu-users mailing list