AFortune for AmigaOS4
Fortune is a simple program to write a random sentence in the shell.
It's a well know old Unix program.
Fortune for AmigaOS4 is just a little program that opens a specified catalog
file and write a random quote in the CLI. Sources are included and are adapted
to use AmigaOS4 API calls.
By adding it in your S:Shell-Startup you will have a new quote for each CLI
opening.
Installation :
Double-click on Install.rexx to copy Fortune in Sys:utilities/Fortune and the
Fortune_Catalogs drawer in S:
Catalogs :
Included Catalogs are standard Fortune catalogs where each quote is separated
by a "%"
By default, english Fortune_EN.txt
Fortune_IT.txt or Fortune_DE or Fortune_ED or Fortune_FR can be selected editing
the shell-startup
For some languages you can choose also Offence catalogs or Mixed catalogs
Usage :
"Fortune FILENAME/A"
By default, Fortune will open the S:Fortune catalogs/Fortune_EN.txt
Specify a FileName to open another Fortune catalog, for example, to open italian
catalog, issue: "Fortune S:Fortune_Catalogs/Fortune_IT.txt"
Add this command to your S:Shell-startup to have Fortune started for each CLI
opening.
14/11/10 ver 1.0 :
Initial release Guillaume 'zzd10h' Boesel
18/12/21 ver 1.1 :
Sightly improved version by Dino 'Fl@sh' Papararo & Benedetto 'VagaPPC' Lorello
16/01/22 ver 1.2 :
now Fortune is much faster after first launch a ".count" file is created to
speedup startup.
every time you refresh or change database catalog you have to erase the
associated ".count" file and let program make a new one
|