One of my users have lately started using linux and KDE, the change
from Windows going is relatively smoothly. She has one problem though.
As part of her work she is doing a lot of search/replace in large ansi
text files (50 - 100 mbytes) which makes KDE-Kate crash.
Personally I would use sed for this kind of work, but I think this is a
bit harsh on a Windows newbee, who have never seen a command line.
Can anybody recommend a simple text editor capable of editing files in
this size, with a Windows/KDE like gui. (This basically rules out Emacs
and vi)
I’ve opened 100 MB files in gedit (part of Gnome) before. I use JEdit a
lot, though you’d probably need to tune it to have more heap than
default for files of those sizes. Personally I don’t think somebody
modifying pure text files int his size can stay away from the command
line forever… ‘vim’ isn’t that hard to learn and with a little
practice will make all of this trivial. She’ll be so lost at how she
ever maneuvered around those huge files before with the page-up/down
buttons and mouse that she’ll probably never go back. Just a thought
though…
Good luck.
ram88 wrote:
> What’s about writing a simple script for replacing and searching strings
> in text files? This would be definitively the fastest & easiest way.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
buckesfeld;1924552 Wrote:
> kwrite?
I’ll second that if it’s simple text, if it’s something with a lot of
syntax highlighted things kwrite might not be the best idea.
I had some problems displaying a big php array (first few hundred
fibonacci numbers) in it, slowed the entire system to a crawl.
Worst case… you could always try to run whatever she used before under
windows on wine.
–
“-So you’re saying a naked maid ceases to be a maid?
I believe she probably once had the rest of the outfit…-” - Artefact
My first thought was: kwrite is basically what is below kate anyway, so
how should that help. But on second thought buckesfeld might be right.
She wrote “i was working with a series of files of 54 mb.” - Using
kwrite she can only open one file pr. instance which seem to give no
problem with a 54 mb. filesize.
> text files (50 - 100 mbytes) which makes KDE-Kate crash.
Do you get a error popup?
Does it crash during opening? Or predictably when she does a
particular operation?
Start it from a command line session, leave that terminal open and
if/when it crashes see if it writes to the terminal and gives any clues.
How much memory does she have? Have you run memtest (there are many
instances of memory hardware working ok in Win but not in
Linux–which is MUCH less forgiving for marginal hardware).
> Have you yet tried using YaST to reinstall Kate?
That will only reinstall the binary kate in /usr/bin or /opt/kde3/bin and
the menu items linked to that binary.
The configuration files for kate will remain in ~/.kde/share/config or
~/.kde4/share/config so afterwards kate will behave exactly as it did
before, no change.
Somtheing got screwed up?
Change or replace the configuration files.
Reinstalling is the windows way.
On 2009-01-09, sl0tt <sl0tt@no-mx.forums.opensuse.org> wrote:
> One of my users have lately started using linux and KDE, the change
> from Windows going is relatively smoothly. She has one problem though.
> As part of her work she is doing a lot of search/replace in large ansi
> text files (50 - 100 mbytes) which makes KDE-Kate crash.
>
> Personally I would use sed for this kind of work, but I think this is a
> bit harsh on a Windows newbee, who have never seen a command line.
>
> Can anybody recommend a simple text editor capable of editing files in
> this size, with a Windows/KDE like gui. (This basically rules out Emacs
> and vi)
I frequently use Kwrite or Kate to read-search-edit 300MB+ files, at the
office. Never had a problem with it, and they actually load very fast.
Done that under SUSE 10.0, 10.3 and 11.0, with no difference. All KDE 3.x,
of course. Maybe she’s running 4.x ?