Freedom allows you to format the data in the file selector window in almost any way you want. Additionally, different format strings can be specified for normal 8.3 filesystems, filesystems with long filenames, and CPX display. It simply consists of a sequence of characters, where '%' (percent) has a special meaning. It's easiest to understand with an example:

Let's say you want the files to be formatted in a line as follows:

:
EVEREST  PRG  154.510  29.10.94  09:41
EVEREST  INF      840  09.01.95  11:36
:

So first the name, then the extension, then the size (with max. 9 digits), then the date, and finally the time without seconds. The format string for this could look like this:

%-F %-E%9P %2D.%2M.%2Y %T%h:%m

The positions where a '%' appears tell Freedom to insert a specific attribute (name, size, hour, minute, etc.) of the currently formatted file at exactly that position. Which attribute that is, Freedom determines from the characters following the '%' symbol. The available options are:

F      Filename up to the last period (without extension)
E      Filename from the last period (the extension)
N      Full filename (unformatted)
D      Day (1..31)
M      Month (1..12)
Y      Year (without century, 00..99)
h      Hours
m      Minutes
s      Seconds
S      Size (in bytes) of the file ("1345678"), nothing for directories
P      'Dotted' size of the file ("1.345.678"), nothing for directories
K      Size (in bytes) of the file ("1345678"), '' for directories
T      The clock symbol if the file is from today, otherwise nothing
A[xx]  Attribute bit of the file, default characters: [-a]
W[xx]  Write-protected status of a file, default characters: [-r]
H[xx]  Hidden bit of the file, default characters: [-h]
Z[xx]  System bit of the file, default characters: [-s]
X      Type name
a      Any ASCII character (e.g. %13a for CR or %10a for LF)
%      The percent sign

Tabulators (as pseudo-attributes):

L  left-aligned tabulator (character-wise)
C  centered tabulator (character-wise)
R  right-aligned tabulator (character-wise)
l  left-aligned tabulator (pixel-wise)
c  centered tabulator (pixel-wise)
r  right-aligned tabulator (pixel-wise)

(List is open for extension suggestions)

Each attribute is formatted by Freedom2 to a default width. If you want the attribute wider or narrower, you can enter the desired width as a value between the '%' and the attribute letter. Freedom formats attributes that are narrower than the specified width as right-aligned. If you want an attribute to be left-aligned instead, place a '-' (minus) directly after the '%' symbol of the attribute (see also the following examples).

On a filesystem with long filenames, splitting a filename into prefix and extension is not as useful anymore. Here, a format string like this might be more appropriate:

%-20N%9P %2D.%2M.%2Y

which produces the following output:

:
EVEREST.PRG           154.510 29.10.94
EVEREST.INF               840 09.01.95
:

which allows more space for longer filenames.

E.1 Proportional Fonts

Using a proportional font in Freedom only makes sense in conjunction with Freedom's tabulators (%L,%C,%R,%l,%c,%r). Specifically for the tabulators, Freedom keeps track of a horizontal "cursor" while parsing the format string. A tabulator in a format string does the following: The tabulator cursor is moved to the right by the width of the tabulator attribute, and then the text and other "normal" attributes after this tabulator are formatted around this cursor position according to the alignment of this tabulator. %l or %L create left-aligned output to the right of the cursor position, %c and %C create centered output with the cursor position in the middle, and finally %r or %R create right-aligned output to the left of the cursor. A tabulator formats all attributes that come after it, until the next tabulator or until the end of the format string, as one string. The offset value of each subsequent tabulator is added to the current tabulator cursor position, so the value is always relative to the previous tabulator. Negative tabulators are allowed and text may also be output multiple times on top of each other, the output is then transparent. If no tabulator is active, all attributes have (as before) a default width, up to which spaces are inserted to the left or right of the attribute. This is not sensible with proportional fonts, which is why with an active tabulator, the attributes are all output without spaces by default (the formatting should be handled by the tabulator). Therefore, the very first "attribute" in a format string for proportional fonts should be a tabulator. An (ugly) example:

%12R%N%6C%P%6L%2D.%2M.%2Y %T%h:%m

the segment "%N" of the format string is right-aligned to 12 character widths. The cursor then stands 12 character widths from the left margin. Now comes a center tabulator, which first moves the cursor another 4 characters to the right, to then output the segment "%P" centered around this cursor. Finally comes a left-aligned tabulator, which moves the cursor by 6 character widths, to then output the rest of the format string ("%2D.%2M.%2Y %T%h:%m") to the right of it.