Aucbvax.2738 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Tue Aug 18 08:57:32 1981 lpd lock file >From dsp.dove@MIT-SPEECH@MIT-AI Tue Aug 18 08:52:50 1981 A better way of making a lock file is to have lpd make a dummy with its pid, clear all write bits, and link it as the lockfile. Then arrange for the lpd to ignore some specific signal. To find out if a given lockfile has an associated lpd just read the lockfile, signal that proc with the ignored signal and see if it succeeds. Why couldn't this work for the rand editor? ------- ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.