Article View: fa.editor-p
Article #151interlocking
From: ucbvaxC70editor-people
Date: Mon, 15 Mar 1982 15:44
Date: Mon, 15 Mar 1982 15:44
21 lines
1467 bytes
1467 bytes
>From ADMIN.MRC@SU-SCORE Mon Mar 15 15:30:17 1982
RMS's point is valid, but I considered that to be a user interface
issue rather than a technical issue. A well-designed technical
implementation would not preclude such an interface. In fact, this is
why I prefer DEC's ENQ/DEQ style locking rather than any filesystem
locking; since ENQ/DEQ returns "have the lock" or "don't have the lock"
rather than blocking or otherwise interfering with any filesystem I/O
operations. In other words, the interlocking is voluntary, and is
respected voluntarily.
The important thing is that a well-designed editor should be
careful not to allow its user to lose if possible. One of the nastiest
problems in EMACS is its ability to write a text file that does not end
with a CR/LF combination. A sizable number of programs simply cannot
handle an end of file other than at a newline, yet there is nothing
whatsoever in EMACS' display that indicates this is happening; the
display is identical to a file that is terminated in that way. Many
editors work around the problem by forbidding files that aren't line-
structured. I don't necessarily feel this is right, but EMACS (as
an example; TECO, TV,... lose the same way) should/could do better.
-------
Technical Details
Message-ID:
<anews.Aucb.698>Path:
arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!C70:editor-peopleShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!C70:editor-people From: ucbvax!C70:editor-people Newsgroups: fa.editor-p Subject: interlocking Date: Mon, 15 Mar 1982 15:44:38 +0000 Message-ID: <anews.Aucb.698>