Short:        Minimalist dual-pane file manager
Author:       El Guiguito
Uploader:     guillaume guittenit free fr
Type:         util/dir
Version:      1.2
Architecture: m68k-amigaos

LittleFile 1.2
==============

LittleFile was born from its author's desire to create a
minimalist file manager for the Amiga, combining essential
file management commands with modern features.

In the author's view, most file managers offer too many
features and have overly cluttered interfaces. Even when
configured for minimalist use, they often remain slow and
overloaded.

LittleFile takes a different approach: a clean, responsive
interface with the essential tools for everyday use, without
unnecessary complexity.

Written in GFA Basic 3.5, it provides a simple and intuitive
interface using native Intuition and GadTools components,
while preserving the authentic Workbench look and feel.

Features
--------

- Two independent file panels
- Resizable window and real-time scrolling
- Accelerated mouse wheel scrolling (three entries per step)
- Adaptive list spacing for larger Workbench fonts
- Automatic window position and size saving in the icon
- Up to 1000 entries per panel
- Fast alphabetical directory sorting using ShellSort
- Multiple file selection
- Copy, Copy As, Move and Delete
- Recursive directory operations
- File replacement confirmation and Replace All for directories
- Cancel stops the entire copy or move queue
- Rename and edit HSPARWED protection bits
- Create directories
- Open files with an external viewer or editor
- LhA archive creation
- LhA, LZX, ZIP and ADF extraction
- File version and directory size information
- Select files modified today
- Display volumes and assigns
- Display free disk space at volume roots
- Display available CHIP and FAST memory in the title bar
- File dates, protection bits and comments in the status bar
- Progress indicators for file operations
- Configurable ToolTypes
- Synchronise panel locations with the central arrow
- Symbolic link support with underlined names
- PUBLIC Workbench screen or CUSTOM private screen (8 colours by default)
- CUSTOM colour depth selectable from 4 to 256 colours
- Separate default colour settings for PUBLIC and CUSTOM
- Automatic palette restoration after closing a MultiView window
- Keyboard confirmation and cancellation in key dialogs
- Complete AmigaGuide documentation

What's new?
-----------

Version 1.2 (updated 22 November 2026)
- Add a Preferences window, accessible through the P button
  at the bottom right of the main window.
- Choose PUBLIC (Workbench) or CUSTOM (private) screen.
- Default to CUSTOM with 8 colours, even without ToolTypes.
- Choose 4, 8, 16, 32, 64, 128 or 256 colours in CUSTOM.
  The Colors gadget appears only in CUSTOM mode.
- Configure separate colours for the two screen modes.
  Reset colors restores the defaults of the selected mode.
- Switching between PUBLIC and CUSTOM resets the eight colour
  settings to the defaults of the newly selected mode.
- Fix saving the CUSTOM screen selection with Save & Restart.
- Save preferences in the Workbench icon ToolTypes using
  Save & Restart; saved values override built-in defaults.
- Restore the CUSTOM palette when a MultiView window closes
  after viewing an image on the LittleFile screen.
- Use a one-pixel white outline instead of bold text to
  identify default confirmation buttons in key dialogs.
- Improve scrolling and selection handling while retaining
  smooth WAITOF-based dragging.
- Speed up directory sorting with ShellSort (approximately four
  times faster).

Version 1.1 (18 November 2026)
- Synchronise the opposite panel with the central arrow.
- Abort Copy, Copy As and Delete with Escape or right-click.
- Support symbolic links in navigation and file operations.
- Add PUBLIC and CUSTOM screen modes.
- Inherit the Workbench palette and allow RGB overrides.
- Display an Entries counter during copying and deletion.
- Clear the source selection after Copy and Copy As.
- Return confirms Replace, Replace All and Delete; Escape
  cancels these dialogs.
- Two-stage Return confirmation in Operate.
- Confirmation button labels originally used bold text;
  version 1.2 replaces this with a white outline.
- Accelerate mouse wheel scrolling to three entries per step
  with compatible drivers such as Cocolino. Scrollbar dragging
  remains unchanged.

Version 1.0
- Initial version: dual-pane file management, recursive
  operations, archive tools, Today selection, file details,
  progress indicators and configurable startup settings.

Requirements
------------

AmigaOS 3.0 or later.
A Workbench screen with a minimum resolution of 640 x 256
pixels is required.
External archive utilities are required for archive operations.
An external editor and viewer are required for Edit and MultiView.

Developed on a real Amiga 1200.

Installation
------------

Extract the archive to any directory and double-click the
LittleFile icon. See LittleFile.guide for detailed instructions.

Configuration
-------------

The following ToolTypes can be set in the Workbench icon:

LEFT=Work:
RIGHT=RAM:
EDITOR=C:ED
MULTIVIEW=SYS:Utilities/Multiview
WINDOW=20,30,640,256
LITTLEFILESCREEN=CUSTOM
CUSTOMSCREENCOLORS=8
CUSTOMCOLOR0=160,160,160
CUSTOMCOLOR1=0,0,0
CUSTOMCOLOR2=255,255,255
CUSTOMCOLOR3=50,90,180
CUSTOMCOLOR4=160,160,160
CUSTOMCOLOR5=180,180,180
CUSTOMCOLOR6=50,90,180
CUSTOMCOLOR7=255,170,150
PUBLICPEN5=0

These are example ToolTypes; you do not need to enter them
to obtain the built-in defaults.

LEFT and RIGHT specify the startup directories. If missing,
empty or invalid, the corresponding panel displays volumes
and assigns. Without an icon, both panels start in this mode.
C:ED is the default editor when EDITOR is missing or empty.
The default viewer is SYS:Utilities/Multiview.

WINDOW stores left, top, width and height in pixels. It is
updated automatically when you click Save & Restart in Preferences. 
A writable icon is required to save the window geometry.
Without an icon, the program runs without saving it.
WINDOW stores left,top,width,height in pixels.

The default screen is CUSTOM, with 8 colours (3 bitplanes),
even if the icon has no ToolTypes. LITTLEFILESCREEN=PUBLIC
uses the Workbench public screen. CUSTOMSCREENCOLORS accepts
4, 8, 16, 32, 64, 128 or 256.

In CUSTOM mode, CUSTOMCOLOR0 through CUSTOMCOLOR7 define
the following eight interface colours, as RGB triplets
(red,green,blue; each component 0 to 255):

  0  List bg        160,160,160
  1  Files          0,0,0
  2  Assigns        255,255,255
  3  Dirs / Select  50,90,180
  4  Status bg      160,160,160
  5  Window bg      180,180,180
  6  Progress bar   50,90,180
  7  Active path    255,170,150

In PUBLIC mode, PUBLICPEN0 through PUBLICPEN7 select pen
indices on the Workbench screen, not RGB values. The built-in
default pen indices are:

  0  List bg        0
  1  Files          1
  2  Assigns        2
  3  Dirs / Select  3
  4  Status bg      0
  5  Window bg      0
  6  Progress bar   3
  7  Active path    7

Preferences lets you edit these settings. The Reset colors
button restores the built-in defaults for the selected
screen mode. Switching from PUBLIC to CUSTOM or vice versa
also resets the eight colour settings to the defaults of the
newly selected mode. CUSTOM defaults to 8 colours when
switching modes. Save & Restart writes settings to the icon
and restarts LittleFile. Saved ToolTypes take precedence over
the built-in defaults at startup.

When MultiView displays an image on LittleFile's CUSTOM
screen, it may temporarily alter the screen palette.
LittleFile monitors the additional window and restores its
configured palette after that window closes. This is based
on window monitoring, not on identifying a particular
MultiView process; other windows on the same screen may
affect detection.

For more details, consult LittleFile.guide.

Limitations
-----------

Each panel is limited to 1000 entries, even with the faster
ShellSort algorithm. Some operations have
path length and recursion depth limits. Cancelling a copy or
move does not undo items already processed. Always keep backups
of important files and check operation results. Symbolic link
support depends on the filesystem; hard links are not
specifically supported.

License
-------

LittleFile is freeware.

You may use and distribute this software free of charge,
provided that the original archive remains unmodified.

Commercial distribution is not permitted without the
author's permission.

The software is provided "as is", without warranty of
any kind. Use it at your own risk.

All rights reserved.

Credits
-------

Developed by El Guiguito.

Made for the Amiga community.

Enjoy!
