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

util/shell/AFortune.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:AFortune write random sentences in shell
Author: Dino.Papararo at Gmail.Com
Type:util/shell
Version:1.2
Architecture:ppc-amigaos
Distribution:Aminet
Date:2022-01-31
Download:/util/shell/AFortune.lha - View contents
Readme:/util/shell/AFortune.readme
Downloads:1751

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


Contents of util/shell/AFortune.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  938    1850  50.7% -lh6- d340 Jan 30 17:21 AFortune/AFortune.readme
[unknown]                16707   21218  78.7% -lh6- 8071 Jan 30 17:22 AFortune/AFortune.readme.info
[unknown]                38720  117895  32.8% -lh6- 6f24 Jan 16 21:14 AFortune/Fortune
[unknown]                 8383    9954  84.2% -lh6- 01ad Jan 30 17:22 AFortune/Fortune.info
[unknown]                 9538   11420  83.5% -lh6- 867f Jan 30 17:22 AFortune/Fortune_Catalogs.info
[unknown]              1409385 4246934  33.2% -lh6- fca9 Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_DE.txt
[unknown]              3489347 9856533  35.4% -lh6- 5c3d Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_EN.txt
[unknown]               671241 2231327  30.1% -lh6- f1fa Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_ES.txt
[unknown]               704844 2318455  30.4% -lh6- 9918 Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_ES_mix.txt
[unknown]               625375 2031881  30.8% -lh6- 52f2 Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_FR.txt
[unknown]               961466 2891008  33.3% -lh6- c9ed Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_IT.txt
[unknown]              1580477 4497009  35.1% -lh6- d6d2 Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_IT_mix.txt
[unknown]               115422  306010  37.7% -lh6- 49ff Dec 11 21:48 AFortune/Fortune_Catalogs/Fortune_IT_off.txt
[unknown]                  477    1345  35.5% -lh6- 9b84 Dec 18 22:44 AFortune/install.rexx
[unknown]                 3132    5100  61.4% -lh6- 61d5 Jan 30 17:22 AFortune/install.rexx.info
[unknown]                 9575   11420  83.8% -lh6- 0b6c Jan 30 17:22 AFortune/Sources.info
[unknown]                38720  117895  32.8% -lh6- 6f24 Jan 16 21:14 AFortune/Sources/Fortune
[unknown]                 1689    4912  34.4% -lh6- 004f Jan 16 21:08 AFortune/Sources/Fortune.c
[unknown]                 3158    5120  61.7% -lh6- 4011 Jan 16 21:59 AFortune/Sources/Fortune.c.info
[unknown]                  552    1124  49.1% -lh6- be3a Jan 16 21:08 AFortune/Sources/Fortune.cbp
[unknown]                 9341   11175  83.6% -lh6- 42c9 Jan 16 21:59 AFortune/Sources/Fortune.cbp.info
[unknown]                 8381    9954  84.2% -lh6- caea Jan 16 21:59 AFortune/Sources/Fortune.info
[unknown]                36442  112296  32.5% -lh6- 9397 Jan 16 21:14 AFortune/Sources/Fortune.o
[unknown]                 7287    8902  81.9% -lh6- 41c8 Jan 16 21:59 AFortune/Sources/Fortune.o.info
[unknown]                  463    1593  29.1% -lh6- a782 Dec  8 20:57 AFortune/Sources/Makefile
[unknown]                 3165    5120  61.8% -lh6- 4f0a Jan 16 21:59 AFortune/Sources/Makefile.info
[unknown]                 9575   11420  83.8% -lh6- 9053 Jan 30 17:22 AFortune.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        27 files 9763800 28848870  33.8%            Jan 31 03:32
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>