SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
NAME

pscal

SYNOPSIS

pscal [-hmnRrv] [-d diameter] [-eFf font] [-L language] [month [year]]

DESCRIPTION

`Pscal' is a PostScript program to print calendars.

        The PostScript code is sent to stdout, so either pipe it to
        your printer or redirect it to a file.
OPTIONS

The shell variables BANNER, LFOOT, CFOOT, and RFOOT become a top centered banner, and left, centered, or right justified footers respectively. As in:

BANNER="Schedule 1"; CFOOT=Preliminary; pscal 4 1990

FILES

The file $HOME/.holiday is read and used to print short messages on specified days. The .holiday file should consist of lines of the form

month:day:message string Messages should be 20 characters or less, with no more than 6 messages per day. No spaces should appear from the beginning of a line until after the second colon. Month and day should be numbers in the obvious ranges. 12/89 - The holiday checking has been loosened up in that the following takes place:

  1. The Shell Variable EFILE is used preferentially
  2. Then the file Events in the current directory is used
  3. Finally the $HOME/.holiday file is used. The whole process can be turned off by setting EFILE=/dev/null.
AUTHOR

Patrick Wood Copyright (C) 1987 by Pipeline Associates, Inc. Permission is granted to modify and distribute this free of charge.

BUGS
  • `Pscal' doesn't work for months before 1753. (Weird stuff happened in September, 1752.) It also won't work right as of January 1, 9600. (Bump up the epoch date if you want it to.)
  • A better format for the dates of holidays would be nice.
  • An escape to allow holiday messages to be raw PostScript would also be nice.
  • The holiday messages should be handled more intelligently (i.e., the messages should be clipped to the day).
  • Some of the message translations are incomplete.

SEE ALSO:

pcal


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.