🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8139

Microemacs 3.10 beta - #1

#8139
From: William E. Davidsen Jr
Date: Fri, 16 Dec 1988 18:37
49 lines
2373 bytes
I have been testing the 3.10 beta version of MicroEMACS, and, since my
mail seems broken to the author, I am posting some problems I have had,
with suggested fixes. Some machine between us seems to be dropping my
mail into a black hole.

Hopefully these will be useful to fellow beta testers until the
"official" version comes out. This posting details a fix for the only
action I would call a major problem.

                             SAFESAVE logic

v3.10 has "safe save" logic, which can present four major problems when
used. The "safesave" writes a copy of the original file to the disk,
deletes the original, and renames the copy. These are:

Data loss:
  In DOS or UNIX if making two copies of a file runs you out of disk (or
quota) the changes will be lost.

Overwriting Read-Only files:
  In DOS or UNIX the original file is not checked to see if it is
read-only. The copy is written and it replaces the original, without
checking the original file status.

Loss of permissions:
  In DOS or UNIX the file created by safe save will have owner r/w,
world read permissions. This allows other programs to trash the file,
since it's not r/o. In UNIX it also causes SCCS to fail if the file was
r/o, and may leave a system file, such as L.sys, readable.

Loss of ownership:
  In UNIX the last person to edit a file becomes the owner, and his/her
group the group owner. This can result in locking people out of files
and backups failing.

Comment:
  If the variable "ssave" in defs.h is initialized FALSE, the user will
get the same default behavior as all previous version of MicroEMACS.

Note:
  This is not in any way a bug, just a configuration issue which will
seriously bite you if you are unaware of it. "SAFESAVE" is useful if you
are using a floppy system with unreliable disks, to reduce the chance of
data loss.

-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID: <12811@steinmetz.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!steinmetz!davidsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.emacs
Subject: Microemacs 3.10 beta - #1
Keywords: memacs, beta
Message-ID: <12811@steinmetz.ge.com>
Date: 16 Dec 88 18:37:29 GMT
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: GE Corp. R & D, Schenectady,NY
Lines: 49