AminetAminet
Search:
84736 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/waitnotify.i386-aros.zip

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Wait for a file or directory modification
Author:Tobias Ferber
Type:util/cli
Version:1.1
Architecture:i386-aros
Distribution:Aminet
Date:2007-11-07
Download:util/cli/waitnotify.i386-aros.zip - View contents
Readme:util/cli/waitnotify.i386-aros.readme
Downloads:476

WaitNotify compiled for AROS (i386) without any modification to the original source. Notification works currently (06/nov/2007) (and WaitNotify can be used) perfectly well with SFS drives, and almost perfectly with Ram Disk (the only problem here is that the file must exist before the call to the StartNotify() function), it should be working with FAT drives too (untested) but it doesn't work with AFS drives.

Thanks to Tobias Ferber for having GPL'ed this useful tool, and
thanks to Robert Norris for all his works on AROS (notification is one thing between others), and of course thanks to the AROS Team!


WaitNotify                                                         WaitNotify

   NAME
        WaitNotify -- Wait for a file or directory modification

   SYNOPSIS
        WaitNotify NAME/A/M,QUIET/S,FMT=FORMAT/K

   FUNCTION
        WaitNotify posts a notification request on the given files
        or directories.  The command will not return until at least
        one of them has been modified.  For files, it will return
        after the file is closed.

        The optional format string will be printed when the file or
        directory changes.  The first "%s" in it will be replaced by
        the name.

   INPUTS
        NAME          - name of the files or directories which you want
                        to observe
        QUIET         - suppresses warnings and error messages (but sets
                        the return value to allow later diagnostis
        FORMAT        - string to print on exit.

   EXAMPLES
        ;Wait for a change in our startup-sequence
        WaitNotify S:Startup-Sequence

        ;Wait for a change in either startup script and report its name
        WaitNotify S:Startup-Sequence S:User-Startup FMT="%s*N"

        ;Show the first file which changes via More
        More `WaitNotify S:Startup-Sequence S:User-Startup FMT=%s`

   BUGS
        Not all filesystems will support file notification. In particular,
        most network filesystems won't support it.


   DISCLAIMER
        This file is part of the WaitNotify distribution.

        WaitNotify is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published
        by the Free Software Foundation; either version 1 of the License,
        or (at your option) any later version.

        WaitNotify is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        See the GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with the program; see the file COPYING.  If not, write to
        the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

   COPYRIGHT
        WaitNotify is Copyright (C)1994 by Tobias Ferber.
        You can reach me via E-mail: ukjg at rz.uni-karlsruhe.de


Uploaded using: archives.aros-exec.org


Contents of util/cli/waitnotify.i386-aros.zip
Archive:  /home/aminet/aminet_root/doc//util/cli/waitnotify.i386-aros.zip
 Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
   12474  Defl:N     4908  61%  12-14-94 18:43  2044dfa7  COPYING
    9064  Defl:N     4308  53%  10-26-07 11:56  7cf98c23  waitnotify
    6360  Defl:N     2341  63%  12-14-94 18:43  0cb0fbcc  waitnotify.c
    2106  Defl:N     1040  51%  12-14-94 18:43  c52b9b4d  WaitNotify.readme
--------          -------  ---                            -------
   30004            12597  58%                            4 files
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>