[Nottingham] newbie Hi!

Duncan John Fyfe djf at star.le.ac.uk
Sun Jan 8 20:58:47 GMT 2006

On Sun, 2006-01-08 at 12:41 +0000, Graeme Fowler wrote:

> ...large web or mail log files... opened in vi(m)... thrash swap like no
> tomorrow, and then to compound the problem (bear in mind that Andy and I
> have seen this in the same place!) people *insist* on finishing off with
> ":wq".
> Thus potentially trashing anything appended to the file in the time it's
> been open for reading - even if the application is clever enough to say
> "file changed while editing! do you want to write to disk?"... people
> will inevitably say "yes" on odd occasions.

You should try gedit for fun like this.  A colleague opened a file in a second gedit tab,  
looked around, closed the tab.  All well and good except when he actually wanted to 
edit the file he found his mods kept vanishing.  A bit of digging and much cursing traced it to gedit.
It had kept a copy of the file in a buffer from earlier in the day and with autosave 
enbaled was re-writing the file from this old buffer every 10 minutes.

Have fun,

More information about the Nottingham mailing list