Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 12 Dec 2018, 10:45
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
A good Text Editor for Large Text Files
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Fri 28 Sep 2018, 23:22    Post subject:  A good Text Editor for Large Text Files  

A need a text editor that works from a random access file on disk rather than ram. The reason being is that the file is large and large text files seam to crash geany.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Fri 28 Sep 2018, 23:29    Post subject:  

The following thread from stack overflow suggets:
https://askubuntu.com/questions/28847/text-editor-to-edit-large-4-3-gb-plain-text-file
joe, glogg, lfhex, Hed and 010 Editor, kinesics, bless, wxhexeditor, nedit and NetBeans. I don't think that all of these of for linux. I'm going to start from the beginning of the list.

Let me know if anyone recommends any of these. Smile

For fatdog64 on gsplat wxhexeditor is available, so I'll try that one first.
Back to top
View user's profile Send private message 
phat7

Joined: 05 Jun 2015
Posts: 118

PostPosted: Fri 28 Sep 2018, 23:41    Post subject: Re: A good Text Editor for Large Text Files  

What's a "random access file on disk"? How large is large?
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Sat 29 Sep 2018, 00:02    Post subject: Re: A good Text Editor for Large Text Files  

phat7 wrote:
What's a "random access file on disk"? How large is large?


Currently it is only 808M but it could be bigger. It depends on how fine I tune the logging and what the logging interval is. Also how much memory I have depends on what I'm running.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Sat 29 Sep 2018, 02:08    Post subject:  

So wxhexeditor seems to work but it is hard to read because it is a hex editor. Glogg is much better for my purposes. The slackbuild compiled with out issue on fatdog64 and is working. I might try compiling a few of the others then offering them for download.

I also was able to comple the slackbuild for nedit on fatdog64, it doesn't seem to render that well for me and it doesn't handle large files as well as glogg.
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 858

PostPosted: Sat 29 Sep 2018, 06:44    Post subject:  

To be clear, do you want to EDIT extremely large files, or VIEW them?
Back to top
View user's profile Send private message 
Colonel Panic


Joined: 16 Sep 2006
Posts: 2042

PostPosted: Sat 29 Sep 2018, 08:12    Post subject:  

Have you tried vi or one of its derivatives? I was able to edit a 6 MB text file in GVim without any problems.
_________________
Acer Aspire M1610 (Core 2 Duo, 2.3 GHz), 3 GB of RAM, 320 GB hard drive running Sparky 4.7 (32-bit), Emmabuntus 3.1.02, AntiX 17.2 (32-bit), Slint 14.2.1.1, LXLE 14.04.5, Pardus 17.4, CrunchBang++ and Mint Debian 3.

Last edited by Colonel Panic on Sun 30 Sep 2018, 05:29; edited 1 time in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13156
Location: Gatineau (Qc), Canada

PostPosted: Sat 29 Sep 2018, 11:30    Post subject:  

jafadmin wrote:
To be clear, do you want to EDIT extremely large files, or VIEW them?

Excellent question, jafadmin.

@s243a:
If only viewing, the tail utility has the < -f > setting, which "prints data as
the file grows". There is also good old less, which can read files of infinite
length and has a feature similar to tail.

About editing that 808 Mb file, you know about the split utility, yes? If you
find no editor to edit this extra big file, make a copy of it and split it in
smaller sections your editor can load.

Also, from my experience, I can tell you that the bigger the file, the slower
it is to move through it -- in any editor. So splitting is a good idea.

About text editors --

Here's a relatively new text editor worth trying, IMO: cudatext
(I have put geany on the shelf and now use cudatext instead.)

It doesn't mention about editing huge files, but it has:
Quote:
Binary/Hex viewer for files of unlimited size.

From your list, "joe" (acronym for "Joe's Own Editor") is for linux.
https://joe-editor.sourceforge.io
I have proposed a pet archive of its 4.1 version on this forum:
http://murga-linux.com/puppy/viewtopic.php?p=891122&sort=lastpost&search_id=756913201#891122

If that doesn't work on your Pup, please don't say it doesn't work? Tell me
the version of your Pup and I'll compile a joe editor just for you and your
Pup.

Joe is as versatile as geany, and it's been around for over 20 years (IIRC).
The only reason IMO that the joe editor is not getting more exposure is
that it is a CLI app -- and people are snobs! Twisted Evil

Also the less reader can easily be interfaced with some text editors by
typing v in less. If you need this feature, I already have available a wrapper
that interfaces less with joe (or Geany, or TEA, but NOT leafpad); just ask.
(Or search this bazaar of a forum a bit: it's already here somewhere!)

IHTH

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Sat 29 Sep 2018, 12:43    Post subject:  

musher0 wrote:
jafadmin wrote:
To be clear, do you want to EDIT extremely large files, or VIEW them?

Excellent question, jafadmin.

@s243a:
If only viewing, the tail utility has the < -f > setting, which "prints data as
the file grows". There is also good old less, which can read files of infinite
length and has a feature similar to tail.

About editing that 808 Mb file, you know about the split utility, yes? If you
find no editor to edit this extra big file, make a copy of it and split it in
smaller sections your editor can load.

Also, from my experience, I can tell you that the bigger the file, the slower
it is to move through it -- in any editor. So splitting is a good idea.

About text editors --

Here's a relatively new text editor worth trying, IMO: cudatext
(I have put geany on the shelf and now use cudatext instead.)

It doesn't mention about editing huge files, but it has:
Quote:
Binary/Hex viewer for files of unlimited size.

From your list, "joe" (acronym for "Joe's Own Editor") is for linux.
https://joe-editor.sourceforge.io
I have proposed a pet archive of its 4.1 version on this forum:
http://murga-linux.com/puppy/viewtopic.php?p=891122&sort=lastpost&search_id=756913201#891122

If that doesn't work on your Pup, please don't say it doesn't work? Tell me
the version of your Pup and I'll compile a joe editor just for you and your
Pup.

Joe is as versatile as geany, and it's been around for over 20 years (IIRC).
The only reason IMO that the joe editor is not getting more exposure is
that it is a CLI app -- and people are snobs! Twisted Evil

Also the less reader can easily be interfaced with some text editors by
typing v in less. If you need this feature, I already have available a wrapper
that interfaces less with joe (or Geany, or TEA, but NOT leafpad); just ask.
(Or search this bazaar of a forum a bit: it's already here somewhere!)

IHTH


I'll give both joe and vi a try. Smile Glogg works for this purpose and I created a fatdog64 package for it (using the slackbuild) (see post)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13156
Location: Gatineau (Qc), Canada

PostPosted: Sat 29 Sep 2018, 13:42    Post subject:  

Yes, but those are 64-bit apps. Sad

About Glogg:
The Glogg welcome page says it is a combination of grep and less. (Hint, hint.)
Plus Glogg is a Qt app. Wow, the overhead... Sad

Just my 2 ¢.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Sat 29 Sep 2018, 13:57    Post subject:  

musher0 wrote:
Yes, but those are 64-bit apps. Sad

About Glogg:
The Glogg welcome page says it is a combination of grep and less. (Hint, hint.)
Plus Glogg is a Qt app. Wow, the overhead... Sad

Just my 2 ¢.


Bless is worse for overhead because it depends on mono!

QT doesn't concern me because I install it on every puppy.

Thanks for the hints though Smile Maybe we could make a gtkdialog version of glogg or maybe a geany plugin that does the same thing Smile
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 313
Location: indonesia

PostPosted: Sat 29 Sep 2018, 14:05    Post subject:  

Cudatext is like sublimetext, isn't it?
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13156
Location: Gatineau (Qc), Canada

PostPosted: Sat 29 Sep 2018, 18:23    Post subject:  

recobayu wrote:
Cudatext is like sublimetext, isn't it?
Nope.
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1306

PostPosted: Sat 29 Sep 2018, 18:40    Post subject:  

I added a compiled version of bless for download on the fatdog64 contribute thead:
http://murga-linux.com/puppy/viewtopic.php?p=1006083#1006083

As noted bless renders better than wxhexeditor but is likely heavier weight since it relies on mono. That said I recommend bless much more than wxhexeditor as a hex editor but it isn't as good as glogg if one just wants to view a large text file.
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1118

PostPosted: Sun 30 Sep 2018, 02:28    Post subject:  

I would suggest vim (not vi, which is a link to busybox on most systems). Fatdog64 devx includes vim.
As a viewer: vim -R file (read-only)
As a binary editor: vim -b file
As a stream editor: cat file | vim -
vim (without complicated plugins) is very fast, works in terminal, and has a separate GTK version (gvim, in the Fatdog64 contrib repo).

_________________
Fatdog64-800|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0832s ][ Queries: 11 (0.0194s) ][ GZIP on ]