LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Someone made a booboo - Call for help

[ILUG] Someone made a booboo - Call for help

David Golden david.golden at unison.ie
Fri Jan 2 18:02:08 GMT 2004


On Fri 02 Jan 2004 16:54, Richard Eibrand wrote:

> > [DG, talking rubbish as it turns out:]
> > If nedit had a sh**fit it  might well be because the incrementally
> > updated backup that it keeps in ~name.c++ suddenly stopped corresponding
> > to name.c++ while it was running - e.g. if he ran the g++ command line in
> > another window.
> [RE]
> I think it might have been something along those lines alright. Although,
>  from his description, it was all within the same command prompt window...
>

Well, I just realised what I said was utter rubbish in its exact form:

partly because it doesn't actually make sense in nedit's case: nedit *always* 
has a complete in-memory copy of the file - unlike some other editors that 
arose in more resource-constrained times, nedit is "brute force": apparently 
it doesn't do the block-paging edit-in-place trick or use a custom swap on 
huge files, it always slurps the whole file in and then works on another 
in-memory copy of that in-memory data. Thus nedit relies wholly on the OS 
virtual memory subsystem to not suck, a good assumption now, probably a bad 
assumption in the days when emacs and vi arose. [1]

and partly because (for up to date NEdit (5.4) anyway) nedit (a) gracefully 
notices when a file it is editing is changed external to it (tested) and (b) 
overwrites the incremental backup file if it is externally corrupted 
(tested).


[1]http://www.nedit.org/faq/sect_bugs.shtml#N1236



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell