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

util/cli/NVTools.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Shell access to \'nonvolatile.library\'
Author: slbrbbbh at sp.zrz.TU-Berlin.de
Uploader:Stefan Le Breton (slbrbbbh sp zrz TU-Berlin de)
Type:util/cli
Version:1.0
Architecture:m68k-amigaos
Date:1995-10-05
Requires:OS 2.0+ nonvolatile.library (OS 3.1)
Distribution:free
Download:util/cli/NVTools.lha - View contents
Readme:util/cli/NVTools.readme
Downloads:985

--8<--

    NVUtils
    ¯¯¯¯¯¯¯
    nonvolatile.library is not limited to installed NVRAM as most people might think.
    It searches a file prefs/env-archive/sys/nv_location on every disk, if found
    the contents is interpreted as a path to a directory, where the nonvolatile
    data is saved.

    All data that is stored with application and an individual name for it.
    Names are limited to legal filenames.
    E.g. your application is 'MegaBonzo' and you store an item with the name 'cancel'
    the actual data is 'true'. The library is not limited to ascii data, but
    binary is not possible with shell access.
    As there is the possibility that read/write errors occures, requesters might
    pop up, this can be disabled with the KILLREQUESTER option.

    NVUtils provides access to every function of the library.
______________________________________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    SetNV <appname> <itemname> [KILLREQUESTER] <data>
      Saves data.

    GetNV <appname> <itemname> [KILLREQUESTER]
      Prints associated data.

    UnsetNV <appname> <itemname> [KILLREQUESTER]
      Removes data.
      If there was no such data, the returncode is set to 5 (WARN).

    ListNV <appname> [KILLREQUESTER]
      Lists stored items for <appname>.
      Delete protected items are marked with '*'.

    ProtectNV <appname> <itemname> [KILLREQUESTER] <prot>
      (Un)Protects data from deletion.
      <prot> is +d for protection, -d for no protection.
______________________________________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
The programs need V37 (2.0).
I don't know if the library requires V40 (OS 3.1), but if the library works
with OS 2.0 #?NV will too.

Oberonsource is provided.

Yes, I know the binaries are quite large, but I just wanted to show what's possible...

-->8--


Contents of util/cli/NVTools.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1696    2424  70.0% -lh5- e9e0 Sep 30  1995 GetNV
[generic]                 1732    2484  69.7% -lh5- f861 Sep 30  1995 ListNV
[generic]                 1754    2536  69.2% -lh5- 968a Sep 30  1995 ProtectNV
[generic]                 2053    3004  68.3% -lh5- aaad Sep 30  1995 SetNV
[generic]                 1669    2384  70.0% -lh5- d8f8 Sep 30  1995 UnsetNV
[generic]                 1031    2392  43.1% -lh5- 44e2 Oct  2  1995 NVTools.readme
[generic]                  512     935  54.8% -lh5- e48d Sep 30  1995 GetNV.mod
[generic]                  611    1158  52.8% -lh5- 119e Sep 30  1995 ListNV.mod
[generic]                  549    1124  48.8% -lh5- 6e76 Sep 30  1995 ProtectNV.mod
[generic]                  771    1619  47.6% -lh5- 2f91 Sep 30  1995 SetNV.mod
[generic]                  478     851  56.2% -lh5- fd3a Sep 30  1995 UnsetNV.mod
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        11 files   12856   20911  61.5%            Oct  5  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>