Article View: comp.sources.d
Article #661Stevie
From: Mark Webb
Date: Mon, 26 Mar 1990 20:38
Date: Mon, 26 Mar 1990 20:38
21 lines
1111 bytes
1111 bytes
In the MSDOS version of Stevie setting the option ``backup'' (``bk'') exerts odd behaviour. If you already have a .BAK file, Stevie will not overwrite it when you finish your edit. This means once a .BAK file has been created it will be left around and _never_ get overwritten (unless you ``set nobk'' when it will be deleted). To get Stevie to always keep a backup of your last edit session add the following line to FILEIO.C : 248 : unlink(backup); /* delete old .BAK file */ rename(fname, backup); The comments in the code suggest that this was what was intended. This is a truely wonderful program for all ``vi'' freaks. -Mark Webb mwebb@maths.tcd.ie
Technical Details
Message-ID:
<1990Mar26.203853.29738@maths.tcd.ie>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!maths.tcd.ie!mwebbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!maths.tcd.ie!mwebb From: mwebb@maths.tcd.ie (Mark Webb) Newsgroups: comp.sources.d Subject: Stevie Keywords: MSDOS, backup Message-ID: <1990Mar26.203853.29738@maths.tcd.ie> Date: 26 Mar 90 20:38:53 GMT Sender: mwebb@maths.tcd.ie (Mark Webb) Organization: Dept. of Maths, Trinity College, Dublin, Ireland. Lines: 21