tart-custom(5)

tart-custom5

Template format for linuxtart

Overview

LinuxTaRT can use a user defined template file to generate the signature. The name and location of this file can be specified in ~/.tartrc, but defaults to the following location:

~/.tart-custom

Parameters

LinuxTaRT recognizes the following directives in the template and replaces them with the corresponding values:

%c1 - CustomText1 from .tartrc
%c2 - CustomText2 from .tartrc
%tg - tagline

Randomly selected from the tagline database.

%hr - horizontal line
%dt - todays date

In the format: Monday, February 25, 2002

%12 - current hour

12-hour format

%24 - current hour

24-hour format

%mn - current minutes
%ap - AM / PM
%ut - system uptime

For RiscOS or systems with the sysinfo function.

%ib - time in ibeats
%vi - LinuxTaRT version string
%% - the percent symbol (%)

Any other characters in the template are copied to the signature as is.

Examples

The following template:

LinuxTaRT - The Automatic Random Tagline
%hr
/dev/random says:
%tg

http://mycompany.com
%hr

Generates the following signature:

LinuxTaRT - The Automatic Random Tagline
-------------------------------------------------------
/dev/random says:
Best way to dispose of the Borg: Give them Windows 3.1.

http://mycompany.com
-------------------------------------------------------

Files

~/.custom

Releases

9 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From tart 3.10-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.