<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"></div></div><div style="font-size:small" class="gmail_default">To quote Andrew:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail_default" style="font-size:small"><b>... </b></span><b>TEST WITH CAUTION!!!!</b><br><br></blockquote><div><span class="gmail_default" style="font-size:small">So using the original patch of Andras, with the additional code from Andrew</span><span class="gmail_default" style="font-size:small">, + a small "hack", there is a new Autosave Backup function.</span></div><div><span class="gmail_default" style="font-size:small"><b>It would be beneficial if both Andras and Andrew could look at this code again </b>to see if it looks good because this is the first time I have had to make a diff git patch + I added the Preferences feature.<br></span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">Notes:</span></div><div><span class="gmail_default" style="font-size:small">--------<br></span></div><div><span class="gmail_default" style="font-size:small">- default is NO autosave<br></span></div><div><span class="gmail_default" style="font-size:small">- change Settings->Preferences, Appearance Tab, under Dangerous to turn on Autosave Multiple Backups</span></div><div><span class="gmail_default" style="font-size:small">Why? -- because even though Andrew has limited the number of backups to 50, the code to delete more than that ONLY gets run when you startup Cinelerra. So if you start Cinelerra, leave the computer up and going, you could conceivably have millions of backups and fill up the disk and that is never good. So that is why the default is disabled -- of course, there still will be the new users who forget to save and will not know to enable the Autosave feature but they can also do an "rm" and that has no backup.</span></div><div><div><span class="gmail_default" style="font-size:small">- I did test it with Perpetual Backup also and it seemed to work<br></span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><span class="gmail_default" style="font-size:small"></span></div><div><span class="gmail_default" style="font-size:small">Attached is the patch file. To apply, cd to the cinelerra subdirectory (where all the .C and .h code files are) and run from a window:<br></span></div><div><span class="gmail_default" style="font-size:small"> gunzip /{location of the file}/autosave_backups.diff.gz</span><span class="gmail_default" style="font-size:small"></span><br><span class="gmail_default" style="font-size:small"></span><div><span class="gmail_default" style="font-size:small"></span></div></div><div><span class="gmail_default" style="font-size:small"> patch -p1 < /{location of the file}/autosave_backups.diff</span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">And to quote Andrew again:<span class="gmail_default" style="font-size:small"><b> ... </b></span><b>TEST WITH CAUTION!!!!</b><br></span></div><div style="font-size:small" class="gmail_default"> </div><div style="font-size:small" class="gmail_default">Feedback is needed. Thanks, Phyllis<br></div></div></div>