- update to 4.3.4 from Pierre-Emmanuel Andre (includes man page missing

from dist)
- re-work port to remove MULTI_PACKAGES (no need for zftp to be treated
  any differently than other shared-only modules)
- kill a dead MASTER_SITES

help and ok naddy@
This commit is contained in:
okan 2007-12-04 19:26:56 +00:00
parent f93bda89fc
commit 18627eea64
11 changed files with 984 additions and 78 deletions

View File

@ -1,12 +1,9 @@
# $OpenBSD: Makefile,v 1.42 2007/09/15 21:17:25 merdely Exp $
# $OpenBSD: Makefile,v 1.43 2007/12/04 19:26:56 okan Exp $
COMMENT-main= Z shell, Bourne shell-compatible
COMMENT-zftp= Z shell embedded ftp client
COMMENT= Z shell, Bourne shell-compatible
VERSION= 4.2.6
VERSION= 4.3.4
DISTNAME= zsh-${VERSION}
PKGNAME-main= ${DISTNAME}p2
PKGNAME-zftp= zsh-zftp-${VERSION}
CATEGORIES= shells
MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
${HOMEPAGE}pub/ \
@ -14,8 +11,7 @@ MASTER_SITES= ftp://ftp.zsh.org/zsh/ \
ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
http://www.math.technion.ac.il/pub/zsh/ \
ftp://ftp.demon.nl/pub/mirrors/zsh/ \
ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/ \
http://zsh.open-mirror.com/
ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/
HOMEPAGE= http://www.zsh.org/
@ -31,12 +27,8 @@ AUTOCONF_VERSION=2.59
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED:S/shared/dynamic/} \
--enable-zsh-mem --enable-zsh-secure-free \
--enable-maildir-support --with-tcsetpgrp
# we only enable zftp if shared libraries are available
MULTI_PACKAGES= -main ${NO_SHARED_LIBS:S/Yes//:S/No/-zftp/}
RUN_DEPENDS-zftp= ::shells/zsh
--enable-maildir-support --with-tcsetpgrp \
--enable-multibyte
SUBST_VARS= VERSION
@ -44,8 +36,14 @@ SUBST_VARS= VERSION
PORTHOME= ${WRKDIR}
REGRESS_FLAGS= INSTALL_PROGRAM="install -c -s -m 555" \
INSTALL_DATA="install -c -m 444" \
INSTALL_DATA="install -c -m 444" \
INSTALL="install -c" \
TMPPREFIX=${WRKBUILD}/tmp
pre-configure:
@cp ${FILESDIR}/zshcalsys.1 ${WRKSRC}/Doc
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/${VERSION}/scripts/
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (zsh-4.2.6.tar.gz) = JG2m3h6dXFq0szqfPKZBaQ==
RMD160 (zsh-4.2.6.tar.gz) = J8FqgOy2Hw6fhDgBIgLOBqOt/A8=
SHA1 (zsh-4.2.6.tar.gz) = OHhDH7X/FyrsAjetYQWu9xCz0tU=
SHA256 (zsh-4.2.6.tar.gz) = RBVI7SW584lIAyVEkPHDfknzLnI5KY4xnz125ox/NDg=
SIZE (zsh-4.2.6.tar.gz) = 2645681
MD5 (zsh-4.3.4.tar.gz) = rMT8hdGNf5FLtnBXdcRb8g==
RMD160 (zsh-4.3.4.tar.gz) = E63eQdn0G5Wuu5jqTQbTcEUXZY0=
SHA1 (zsh-4.3.4.tar.gz) = mzFuu1+NPqYaaQlz/MovfcSEWGM=
SHA256 (zsh-4.3.4.tar.gz) = PxH2rWXspd+2fguQAxoGUYA7ssdPEFlFenIDUhKD1Ok=
SIZE (zsh-4.3.4.tar.gz) = 3023668

View File

@ -0,0 +1,783 @@
.TH "ZSHCALSYS" "1" "April 19, 2006" "zsh 4\&.3\&.4"
.SH "NAME"
zshcalsys \- zsh calendar system
.\" Yodl file: Zsh/calsys.yo
.SH "DESCRIPTION"
.PP
The shell is supplied with a series of functions to replace and enhance the
traditional Unix \fBcalendar\fP programme, which warns the user of imminent
or future events, details of which are stored in a text file (typically
\fBcalendar\fP in the user\&'s home directory)\&. The version provided here
includes a mechanism for alerting the user when an event is due\&.
.PP
In addition a function \fBage\fP is provided that can be used in a glob
qualifier; it allows files to be selected based on their modification
times\&.
.PP
The format of the \fBcalendar\fP file and the dates used there in and in
the \fBage\fP function are described first, then the functions that can
be called to examine and modify the \fBcalendar\fP file\&.
.PP
The functions here depend on the availability of the \fBzsh/datetime\fP
module which is usually installed with the shell\&. The library function
\fBstrptime()\fP must be available; it is present on most recent
operating systems\&.
.PP
.PP
.SH "FILE AND DATE FORMATS"
.PP
.SS "Calendar File Format"
.PP
The calendar file is by default \fB~/calendar\fP\&. This can be configured
by the \fBcalendar\-file\fP style, see
the section STYLES below\&. The basic format consists
of a series of separate lines, with no indentation, each including
a date and time specification followed by a description of the event\&.
.PP
Various enhancements to this format are supported, based on the syntax
of Emacs calendar mode\&. An indented line indicates a continuation line
that continues the description of the event from the preceeding line
(note the date may not be continued in this way)\&. An initial ampersand
(\fB&\fP) is ignored for compatibility\&.
.PP
The Emacs extension that a date with no description may refer to a number
of succeeding events at different times is not supported\&.
.PP
Unless the \fBdone\-file\fP style has been altered, any events which
have been processed are appended to the file with the same name as the
calendar file with the suffix \fB\&.done\fP, hence \fB~/calendar\&.done\fP by
default\&.
.PP
An example is shown below\&.
.PP
.SS "Date Format"
.PP
The format of the date and time is designed to allow flexibility without
admitting ambiguity\&. (The words `date\&' and `time' are both used in the
documentation below; except where specifically noted this implies a string
that may include both a date and a time specification\&.) Note that there is
no localization support; month and day names must be in English and
separator characters are fixed\&. Matching is case insensitive, and only the
first three letters of the names are significant, although as a special
case a form beginning "month" does not match "Monday"\&. Furthermore, time
zones are not handled; all times are assumed to be local\&.
.PP
It is recommended that, rather than exploring the intricacies of the
system, users find a date format that is natural to them and stick to it\&.
This will avoid unexpected effects\&. Various key facts should be noted\&.
.PP
.PD 0
.TP
.PD
\(bu
In particular, note the confusion between
\fImonth\fP\fB/\fP\fIday\fP\fB/\fP\fIyear\fP and
\fIday\fP\fB/\fP\fImonth\fP\fB/\fP\fIyear\fP when the month is numeric; these
formats should be avoided if at all possible\&. Many alternatives are
available\&.
.TP
\(bu
The year must be given in full to avoid confusion, and only years
from 1900 to 2099 inclusive are matched\&.
.PP
The following give some obvious examples; users finding here
a format they like and not subject to vagaries of style may skip
the full description\&. As dates and times are matched separately
(even though the time may be embedded in the date), any date format
may be mixed with any format for the time of day provide the
separators are clear (whitespace, colons, commas)\&.
.PP
.RS
.nf
\fB2007/04/03 13:13
2007/04/03:13:13
2007/04/03 1:13 pm
3rd April 2007, 13:13
April 3rd 2007 1:13 p\&.m\&.
Apr 3, 2007 13:13
Tue Apr 03 13:13:00 2007
13:13 2007/apr/3\fP
.fi
.RE
.PP
More detailed rules follow\&.
.PP
Times are parsed and extracted before dates\&. They must use colons
to separate hours and minutes, though a dot is allowed before seconds
if they are present\&. This limits time formats to the following:
.PP
.PD 0
.TP
.PD
\(bu
\fIHH\fP\fB:\fP\fIMM\fP[\fB:\fP\fISS\fP[\fB\&.\fP\fIFFFFF\fP]] [\fBam\fP|\fBpm\fP|\fBa\&.m\&.\fP|\fBp\&.m\&.\fP]
.TP
\(bu
\fIHH\fP\fB:\fP\fIMM\fP\fB\&.\fP\fISS\fP[\fB\&.\fP\fIFFFFF\fP] [\fBam\fP|\fBpm\fP|\fBa\&.m\&.\fP|\fBp\&.m\&.\fP]
.PP
Here, square brackets indicate optional elements, possibly with
alternatives\&. Fractions of a second are recognised but ignored\&. For
absolute times (the normal format require by the \fBcalendar\fP file and the
\fBage\fP function) a date is mandatory but a time of day is not; the time
returned is at the start of the date\&. One variation is allowed: if
\fBa\&.m\&.\fP or \fBp\&.m\&.\fP or one of their variants is present, an hour without a
minute is allowed, e\&.g\&. \fB3 p\&.m\&.\fP\&.
.PP
Time zones are not handled, though if one is matched following a time
specification it will be removed to allow a surrounding date to be
parsed\&. This only happens if the format of the timezone is not too
unusual\&. The following are examples of forms that are understood:
.PP
.RS
.nf
\fB+0100
GMT
GMT\-7
CET+1CDT\fP
.fi
.RE
.PP
Any part of the timezone that is not numeric must have exactly three
capital letters in the name\&.
.PP
Dates suffer from the ambiguity between \fIDD\fP\fB/\fP\fIMM\fP\fB/\fP\fIYYYY\fP
and \fIMM\fP\fB/\fP\fIDD\fP\fB/\fP\fIYYYY\fP\&. It is recommended this form is
avoided with purely numeric dates, but use of ordinals,
eg\&. \fB3rd/04/2007\fP, will resolve the ambiguity as the ordinal is always
parsed as the day of the month\&. Years must be four digits (and the first
two must be \fB19\fP or \fB20\fP); \fB03/04/08\fP is not recognised\&. Other
numbers may have leading zeroes, but they are not required\&. The following
are handled:
.PP
.PD 0
.TP
.PD
\(bu
\fIYYYY\fP\fB/\fP\fIMM\fP\fB/\fP\fIDD\fP
.TP
\(bu
\fIYYYY\fP\fB\-\fP\fIMM\fP\fB\-\fP\fIDD\fP
.TP
\(bu
\fIYYYY\fP\fB/\fP\fIMNM\fP\fB/\fP\fIDD\fP
.TP
\(bu
\fIYYYY\fP\fB\-\fP\fIMNM\fP\fB\-\fP\fIDD\fP
.TP
\(bu
\fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP] \fIMNM\fP[\fB,\fP] [ \fIYYYY\fP ]
.TP
\(bu
\fIMNM\fP \fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP][\fB,\fP] [ \fIYYYY\fP ]
.TP
\(bu
\fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP]\fB/\fP\fIMM\fP[\fB,\fP] \fIYYYY\fP
.TP
\(bu
\fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP]\fB/\fP\fIMM\fP\fB/\fP\fIYYYY\fP
.TP
\(bu
\fIMM\fP\fB/\fP\fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP][\fB,\fP] \fIYYYY\fP
.TP
\(bu
\fIMM\fP\fB/\fP\fIDD\fP[\fBth\fP|\fBst\fP|\fBrd\fP]\fB/\fP\fIYYYY\fP
.PP
Here, \fIMNM\fP is at least the first three letters of a month name,
matched case\-insensitively\&. The remainder of the month name may appear but
its contents are irrelevant, so janissary, febrile, martial, apricot,
maybe, junta, etc\&. are happily handled\&.
.PP
Where the year is shown as optional, the current year is assumed\&. There
are only two such cases, the form \fBJun 20\fP or \fB14 September\fP (the only
two commonly occurring forms, apart from a "the" in some forms of English,
which isn\&'t currently supported)\&. Such dates will of course become
ambiguous in the future, so should ideally be avoided\&.
.PP
Times may follow dates with a colon, e\&.g\&. \fB1965/07/12:09:45\fP; this is in
order to provide a format with no whitespace\&. A comma and whitespace are
allowed, e\&.g\&. \fB1965/07/12, 09:45\fP\&. Currently the order of these
separators is not checked, so illogical formats such as \fB1965/07/12, :
,09:45\fP will also be matched\&. For simplicity such variations are not shown
in the list above\&. Otherwise, a time is only recognised as being
associated with a date if there is only whitespace in between, or if the
time was embedded in the date\&.
.PP
Days of the week are not normally scanned, but will be ignored if they
occur at the start of the date pattern only\&. However, in contexts where it
is useful to specify dates relative to today, days of the week with no
other date specification may be given\&. The day is assumed to be either
today or within the past week\&. Likewise, the words \fByesterday\fP,
\fBtoday\fP and \fBtomorrow\fP are handled\&. All matches are case\-insensitive\&.
Hence if today is Monday, then \fBSunday\fP is equivalent to \fByesterday\fP,
\fBMonday\fP is equivalent to \fBtoday\fP, but \fBTuesday\fP gives a date six
days ago\&. This is not generally useful within the calendar file\&.
Dates in this format may be combined with a time specification; for
example \fBTomorrow, 8 p\&.m\&.\fP\&.
.PP
For example, the standard date format:
.PP
.RS
.nf
\fBFri Aug 18 17:00:48 BST 2006\fP
.fi
.RE
.PP
is handled by matching \fIHH\fP\fB:\fP\fIMM\fP\fB:\fP\fISS\fP and removing it
together with the matched (but unused) time zone\&. This leaves the following:
.PP
.RS
.nf
\fBFri Aug 18 2006\fP
.fi
.RE
.PP
\fBFri\fP is ignored and the rest is matched according to the standard rules\&.
.PP
.SS "Relative Time Format"
.PP
In certain places relative times are handled\&. Here, a date is not allowed;
instead a combination of various supported periods are allowed, together
with an optional time\&. The periods must be in order from most to
least significant\&.
.PP
In some cases, a more accurate calculation is possible when there is an
anchor date: offsets of months or years pick the correct day, rather than
being rounded, and it is possible to pick a particular day in a month as
`(1st Friday)\&', etc\&., as described in more detail below\&.
.PP
Anchors are available in the following cases\&. If one or two times are
passed to the function \fBcalendar\fP, the start time acts an anchor for the
end time when the end time is relative (even if the start time is
implicit)\&. When examining calendar files, the scheduled event being
examined anchors the warning time when it is given explicitly by means of
the \fBWARN\fP keyword; likewise, the scheduled event anchors a repitition
period when given by the \fBRPT\fP keyword, so that specifications such as
\fBRPT 2 months, 3rd Thursday\fP are handled properly\&. Finally, the \fB\-R\fP
argument to \fBcalendar_scandate\fP directly provides an anchor for relative
calculations\&.
.PP
The periods handled, with possible abbreviations are:
.PP
.PD 0
.TP
.PD
Years
\fByears\fP, \fByrs\fP, \fBys\fP, \fByear\fP, \fByr\fP, \fBy\fP, \fByearly\fP\&.
A year is 365\&.25 days unless there is an anchor\&.
.TP
Months
\fBmonths\fP, \fBmons\fP, \fBmnths\fP, \fBmths\fP, \fBmonth\fP, \fBmon\fP,
\fBmnth\fP, \fBmth\fP, \fBmonthly\fP\&. Note that \fBm\fP, \fBms\fP, \fBmn\fP, \fBmns\fP
are ambiguous and are \fInot\fP handled\&. A month is a period
of 30 days rather than a calendar month unless there is an anchor\&.
.TP
Weeks
\fBweeks\fP, \fBwks\fP, \fBws\fP, \fBweek\fP, \fBwk\fP, \fBw\fP, \fBweekly\fP
.TP
Days
\fBdays\fP, \fBdys\fP, \fBds\fP, \fBday\fP, \fBdy\fP, \fBd\fP, \fBdaily\fP
.TP
Hours
\fBhours\fP, \fBhrs\fP, \fBhs\fP, \fBhour\fP, \fBhr\fP, \fBh\fP, \fBhourly\fP
.TP
Minutes
\fBminutes\fP, \fBmins\fP, \fBminute\fP, \fBmin\fP, but \fInot\fP \fBm\fP,
\fBms\fP, \fBmn\fP or \fBmns\fP
.TP
Seconds
\fBseconds\fP, \fBsecs\fP, \fBss\fP, \fBsecond\fP, \fBsec\fP, \fBs\fP
.PP
Spaces between the numbers are optional, but are required between items,
although a comma may be used (with or without spaces)\&.
.PP
The forms \fByearly\fP to \fBhourly\fP allow the number to be omitted; it is
assumed to be 1\&. For example, \fB1 d\fP and \fBdaily\fP are equivalent\&. Note
that using those forms with plurals is confusing; \fB2 yearly\fP is the same
as \fB2 years\fP, \fInot\fP twice yearly, so it is recommended they only
be used without numbers\&.
.PP
When an anchor time is present, there is an extension to handle regular
events in the form of the \fIn\fPth \fIsome\fPday of the month\&. Such a
specification must occur immediately after any year and month
specification, but before any time of day, and must be in the form
\fIn\fP\fB(th|st|rd)\fP \fIday\fP, for example \fB1st Tuesday\fP or
\fB3rd Monday\fP\&. As in other places, days are matched case insensitively,
must be in English, and only the first three letters are significant except
that a form beginning `month\&' does not match `Monday'\&. No attempt is made
to sanitize the resulting date; attempts to squeeze too many occurrences
into a month will push the day into the next month (but in the obvious
fashion, retaining the correct day of the week)\&.
.PP
Here are some examples:
.PP
.RS
.nf
\fB30 years 3 months 4 days 3:42:41
14 days 5 hours
Monthly, 3rd Thursday
4d,10hr\fP
.fi
.RE
.PP
.SS "Example"
.PP
Here is an example calendar file\&. It uses a consistent date format,
as recommended above\&.
.PP
.RS
.nf
\fBFeb 1, 2006 14:30 Pointless bureaucratic meeting
Mar 27, 2006 11:00 Mutual recrimination and finger pointing
Bring water pistol and waterproofs
Apr 10, 2006 13:30 Even more pointless blame assignment exercise WARN 30 mins
May 18, 2006 16:00 Regular moaning session RPT monthly, 3rd Thursday\fP
.fi
.RE
.PP
The second entry has a continuation line\&. The third entry will produce
a warning 30 minutes before the event (to allow you to equip yourself
appropriately)\&. The fourth entry repeats after a month on the 3rd
Thursday, i\&.e\&. June 15, 2006, at the same time\&.
.PP
.SH "USER FUNCTIONS"
.PP
This section describes functions that are designed to be called
directly by the user\&. The first part describes those functions
associated with the user\&'s calendar; the second part describes
the use in glob qualifiers\&.
.PP
.SS "Calendar system functions"
.PP
.PD 0
.TP
.PD 0
\fBcalendar\fP [ \fB\-adDsv\fP ] [ \fB\-C\fP \fIcalfile\fP ] [ \-n \fInum\fP ] [ \fB\-S\fP \fIshowprog\fP ] [ [ \fIstart\fP ] \fIend\fP ](
.TP
.PD
\fBcalendar \-r\fP [ \fB\-adDrsv\fP ] [ \fB\-C\fP \fIcalfile\fP ] [ \-n \fInum\fP ] [ \fB\-S\fP \fIshowprog\fP ] [ \fIstart\fP ]
Show events in the calendar\&.
.RS
.PP
With no arguments, show events from the start of today until the end of
the next working day after today\&. In other words, if today is Friday,
Saturday, or Sunday, show up to the end of the following Monday, otherwise
show today and tomorrow\&.
.PP
If \fIend\fP is given, show events from the start of today up to the time
and date given, which is in the format described in the previous section\&.
Note that if this is a date the time is assumed to be midnight at the
start of the date, so that effectively this shows all events before
the given date\&.
.PP
\fIend\fP may start with a \fB+\fP, in which case the remainder of the
specification is a relative time format as described in the previous
section indicating the range of time from the start time that is to
be included\&.
.PP
If \fIstart\fP is also given, show events starting from that time and date\&.
The word \fBnow\fP can be used to indicate the current time\&.
.PP
To implement an alert when events are due, include \fBcalendar \-s\fP in your
\fB~/\&.zshrc\fP file\&.
.PP
Options:
.PP
.PD 0
.TP
.PD
\fB\-a\fP
Show all items in the calendar, regardless of the \fBstart\fP and
\fBend\fP\&.
.TP
\fB\-C\fP \fIcalfile\fP
Explicitly specify a calendar file instead of the value of
the \fBcalendar\-file\fP style or the the default \fB~/calendar\fP\&.
.TP
\fB\-d\fP
Move any events that have passed from the calendar file to the
"done" file, as given by the \fBdone\-file\fP style or the default
which is the calendar file with \fB\&.done\fP appended\&. This option
is implied by the \fB\-s\fP option\&.
.TP
\fB\-D\fP
Turns off the option \fB\-d\fP, even if the \fB\-s\fP option is also present\&.
.TP
\fB\-n\fP \fInum\fP, \fB\-\fP\fInum\fP
Show at least \fInum\fP events, if present in the calendar file, regardless
of the \fBstart\fP and \fBend\fP\&.
.TP
\fB\-r\fP
Show all the remaining options in the calendar, ignoring the given \fBend\fP
time\&. The \fBstart\fP time is respected; any argument given is treated
as a \fBstart\fP time\&.
.TP
\fB\-s\fP
Use the shell\&'s \fBsched\fP command to schedule a timed event that
will warn the user when an event is due\&. Note that the \fBsched\fP command
only runs if the shell is at an interactive prompt; a foreground taks
blocks the scheduled task from running until it is finished\&.
.RS
.PP
The timed event usually runs the programme \fBcalendar_show\fP to show
the event, as described in
the section UTILITY FUNCTIONS below\&.
.PP
By default, a warning of the event is shown five minutes before it is due\&.
The warning period can be configured by the style \fBwarn\-time\fP or
for a single calendar entry by including \fBWARN\fP \fIreltime\fP in the first
line of the entry, where \fIreltime\fP is one of the usual relative time
formats\&.
.PP
A repeated event may be indicated by including \fBRPT\fP \fIreldate\fP in the
first line of the entry\&. After the scheduled event has been displayed
it will be re\-entered into the calendar file at a time \fIreldate\fP
after the existing event\&. Note that this is currently the only use
made of the repeat count, so that it is not possible to query the schedule
for a recurrence of an event in the calendar until the previous event
has passed\&.
.PP
It is safe to run \fBcalendar \-s\fP to reschedule an existing event
(if the calendar file has changed, for example), and also to have it
running in multiples instances of the shell since the calendar file
is locked when in use\&.
.PP
By default, expired events are moved to the "done" file; see the \fB\-d\fP
option\&. Use \fB\-D\fP to prevent this\&.
.RE
.TP
\fB\-S\fP \fIshowprog\fP
Explicitly specify a programme to be used for showing events instead
of the value of the \fBshow\-prog\fP style or the default \fBcalendar_show\fP\&.
.TP
\fB\-v\fP
Verbose: show more information about stages of processing\&. This
is useful for confirming that the function has successfully parsed
the dates in the calendar file\&.
.RE
.TP
\fBcalendar_add\fP [ \fB\-BL\fP ] \fIevent \&.\&.\&.\fP
Adds a single event to the calendar in the appropriate location\&.
Using this function ensures that the calendar file is sorted in date
and time order\&. It also makes special arrangments for locking
the file will it is altered\&. The old calendar is left in a file
with the suffix \fB\&.old\fP\&.
.RS
.PP
The option \fB\-B\fP indicates that backing up the calendar file will be
handled by the caller and should not be performed by \fBcalendar_add\fP\&. The
option \fB\-L\fP indicates that \fBcalendar_add\fP does not need to lock the
calendar file up the old one as it is already locked\&. These options will
not usually be needed by users\&.
.RE
.TP
\fBcalendar_edit\fP
This calls the user\&'s editor to edit the calendar file\&. The editor
is given by the variable \fBVISUAL\fP, if set, else the variable \fBEDITOR\fP\&.
If the calendar scheduler was running, then after editing the file
\fBcalendar \-s\fP is called to update it\&.
.RS
.PP
This function locks out the calendar system during the edit\&.
Hence it should be used to edit the calendar file if there is any
possibility of a calendar event occurring meanwhile\&.
.RE
.TP
\fBcalendar_showdate\fP [ \fB\-r\fP ] [ \fB\-f\fP \fIfmt\fP ] \fIdate\-spec \&.\&.\&.\fP
The given \fIdate\-spec\fP is interpreted and the corresponding date and
time printed\&. If the initial \fIdate\-spec\fP begins with a \fB+\fP or
\fB\-\fP it is treated as relative to the current time; \fIdate\-spec\fPs after
the first are treated as relative to the date calculated so far and
a leading \fB+\fP is optional in that case\&. This allows one to
use the system as a date calculator\&. For example, \fBcalendar_showdate \&'+1
month, 1st Friday\&'\fP shows the date of the first Friday of next month\&.
.RS
.PP
With the option \fB\-r\fP nothing is printed but the value of the date and
timein seconds since the epoch is stored in the parameter \fBREPLY\fP\&.
.PP
With the option \fB\-f\fP \fIfmt\fP the given date/time conversion format
is passed to \fBstrftime\fP; see notes on the \fBdate\-format\fP style below\&.
.PP
In order to avoid ambiguity with negative relative date specifications,
options must occur in separate words; in other words, \fB\-r\fP and \fB\-f\fP
should not be combined in the same word\&.
.RE
.TP
\fBcalendar_sort\fP
Sorts the calendar file into date and time order\&. The old calendar is
left in a file with the suffix \fB\&.old\fP\&.
.PP
.SS "Glob qualifiers"
.PP
The function \fBage\fP can be autoloaded and use separately from
the calendar system, although it uses the function \fBcalendar_scandate\fP
for date formatting\&. It requires the \fBzsh/stat\fP builtin, which
makes available the builtin \fBstat\fP\&. This may conflict with an
external programme of the same name; if it does, the builtin may be
disabled for normal operation by including the following code in
an initialization file:
.PP
.RS
.nf
\fBzmodload \-i zsh/stat
disable stat\fP
.fi
.RE
.PP
\fBage\fP selects files having a given modification time for use
as a glob qualifer\&. The format of the date is the same as that
understood by the calendar system, described in
the section FILE AND DATE FORMATS above\&.
.PP
The function can take one or two arguments, which can be supplied either
directly as command or arguments, or separately as shell parameters\&.
.PP
.RS
.nf
\fBprint *(e:age 2006/10/04 2006/10/09:)\fP
.fi
.RE
.PP
The example above matches all files modified between the start of those
dates\&. The second argument may alternatively be a relative time
introduced by a \fB+\fP:
.PP
.RS
.nf
\fBprint *(e:age 2006/10/04 +5d:)\fP
.fi
.RE
.PP
The example above is equivalent to the previous example\&.
.PP
In addition to the special use of days of the week, \fBtoday\fP and
\fByesterday\fP, times with no date may be specified; these apply to today\&.
Obviously such uses become problematic around midnight\&.
.PP
.RS
.nf
\fBprint *(e\-age 12:00 13:30\-)\fP
.fi
.RE
.PP
The example above shows files modified between 12:00 and 13:00 today\&.
.PP
.RS
.nf
\fBprint *(e:age 2006/10/04:)\fP
.fi
.RE
.PP
The example above matches all files modified on that date\&. If the second
argument is omitted it is taken to be exactly 24 hours after the first
argument (even if the first argument contains a time)\&.
.PP
.RS
.nf
\fBprint *(e\-age 2006/10/04:10:15 2006/10/04:10:45\-)\fP
.fi
.RE
.PP
The example above supplies times\&. Note that whitespace within the time and
date specification must be quoted to ensure \fBage\fP receives the correct
arguments, hence the use of the additional colon to separate the date and
time\&.
.PP
.RS
.nf
\fBAGEREF1=2006/10/04:10:15
AGEREF2=2006/10/04:10:45
print *(+age)\fP
.fi
.RE
.PP
This shows the same example before using another form of argument
passing\&. The dates and times in the parameters \fBAGEREF1\fP and \fBAGEREF2\fP
stay in effect until unset, but will be overridden if any argument is
passed as an explicit argument to age\&. Any explicit argument
causes both parameters to be ignored\&.
.PP
.SH "STYLES"
.PP
The zsh style mechanism using the \fBzstyle\fP command is describe in
\fIzshmodules\fP(1)\&. This is the same mechanism
used in the completion system\&.
.PP
The styles below are all examined in the context
\fB:datetime:\fP\fIfunction\fP\fB:\fP, for example \fB:datetime:calendar:\fP\&.
.PP
.PD 0
.TP
.PD
\fBcalendar\-file\fP
The location of the main calendar\&. The default is \fB~/calendar\fP\&.
.TP
\fBdate\-format\fP
A \fBstrftime\fP format string (see \fIstrftime\fP(3)) with the zsh
extensions \fB%f\fP for a day of the month with no leading zero or space
for single digits, and \fB%k\fP or \fB%l\fP for the hour of the day on the 24\-
or 12\-hour clock, again with no leading zero or space for single digits\&.
.RS
.PP
This is used for outputting dates in \fBcalendar\fP, both to support
the \fB\-v\fP option and when adding recurring events back to the calendar
file, and in \fBcalendar_showdate\fP as the final output format\&.
.PP
If the style is not set, the default used is similar the standard system
format as output by the \fBdate\fP command (also known as `ctime format\&'):
`\fB%a %b %d %H:%M:%S %Z %Y\fP\&'\&.
.RE
.TP
\fBdone\-file\fP
The location of the file to which events which have passed are appended\&.
The default is the calendar file location with the suffix \fB\&.done\fP\&.
The style may be set to an empty string in which case a "done" file
will not be maintained\&.
.TP
\fBshow\-prog\fP
The programme run by \fBcalendar\fP for showing events\&. It will
be passed the start time and stop time of the events requested in seconds
since the epoch followed by the event text\&. Note that \fBcalendar \-s\fP uses
a start time and stop time equal to one another to indicate alerts
for specific events\&.
.RS
.PP
The default is the function \fBcalendar_show\fP\&.
.RE
.TP
\fBwarn\-time\fP
The time before an event at which a warning will be displayed, if the
first line of the event does not include the text \fBEVENT\fP \fIreltime\fP\&.
The default is 5 minutes\&.
.PP
.SH "UTILITY FUNCTIONS"
.PP
.PD 0
.TP
.PD
\fBcalendar_lockfiles\fP
Attempt to lock the files given in the argument\&. To prevent
problems with network file locking this is done in an ad hoc fashion
by attempting to create a symbolic link to the file with the name
\fIfile\fP\fB\&.lockfile\fP\&. No other system level functions are used
for locking, i\&.e\&. the file can be accessed and modified by any
utility that does not use this mechanism\&. In particular, the user is not
prevented from editing the calendar file at the same time unless
\fBcalendar_edit\fP is used\&.
.RS
.PP
Three attempts are made to lock the file before giving up\&. If the module
\fBzsh/zselect\fP is available, the times of the attempts are jittered so that
multiple instances of the calling function are unlikely to retry at the
same time\&.
.PP
The files locked are appended to the array \fBlockfiles\fP, which should
be local to the caller\&.
.PP
If all files were successully, status zero is returned, else status one\&.
.PP
This function may be used as a general file locking function, although
this will only work if only this mechanism is used to lock files\&.
.RE
.TP
\fBcalendar_read\fP
This is a backend used by various other functions to parse the
calendar file, which is passed as the only argument\&. The array
\fBcalendar_entries\fP is set to the list of events in the file; no
pruning is done except that ampersands are removed from the start of
the line\&. Each entry may contain multiple lines\&.
.TP
\fBcalendar_scandate\fP
This is a generic function to parse dates and times that may be
used separately from the calendar system\&. The argument is a date
or time specification as described in
the section FILE AND DATE FORMATS above\&. The parameter \fBREPLY\fP
is set to the number of seconds since the epoch corresponding to that date
or time\&. By default, the date and time may occur anywhere within the given
argument\&.
.RS
.PP
Returns status zero if the date and time were successfully parsed,
else one\&.
.PP
Options:
.PD 0
.TP
.PD
\fB\-a\fP
The date and time are anchored to the start of the argument; they
will not be matched if there is preceeding text\&.
.TP
\fB\-A\fP
The date and time are anchored to both the start and end of the argument;
they will not be matched if the is any other text in the argument\&.
.TP
\fB\-d\fP
Enable additional debugging output\&.
.TP
\fB\-m\fP
Minus\&. When \fB\-R\fP \fIanchor_time\fP is also given the relative time is
calculated backwards from \fIanchor_time\fP\&.
.TP
\fB\-r\fP
The argument passed is to be parsed as a relative time\&.
.TP
\fB\-R\fP \fIanchor_time\fP
The argument passed is to be parsed as a relative time\&. The time is
relative to \fIanchor_time\fP, a time in seconds since the epoch,
and the returned value is the absolute time corresponding to advancing
\fIanchor_time\fP by the relative time given\&.
This allows lengths of months to be correctly taken into account\&. If
the final day does not exist in the given month, the last day of the
final month is given\&. For example, if the anchor time is during 31st
January 2007 and the relative time is 1 month, the final time is the
same time of day during 28th February 2007\&.
.TP
\fB\-s\fP
In addition to setting \fBREPLY\fP, set \fBREPLY2\fP to the remainder of
the argument after the date and time have been stripped\&. This is
empty if the option \fB\-A\fP was given\&.
.TP
\fB\-t\fP
Allow a time with no date specification\&. The date is assumed to be
today\&. The behaviour is unspecified if the iron tongue of midnight
is tolling twelve\&.
.RE
.TP
\fBcalendar_show\fP
The function used by default to display events\&. It accepts a start time
and end time for events, both in epoch seconds, and an event description\&.
.RS
.PP
The event is always printed to standard output\&. If the command line editor
is active (which will usually be the case) the command line will be
redisplayed after the output\&.
.PP
If the parameter \fBDISPLAY\fP is set and the start and end times are
the same (indicating a scheduled event), the function uses the
command \fBxmessage\fP to display a window with the event details\&.
.RE
.RE
.PP
.SH "BUGS"
.PP
As the system is based entirely on shell functions (with a little support
from the \fBzsh/datetime\fP module) the mechanisms used are not as robust as
those provided by a dedicated calendar utility\&. Consequently the user
should not rely on the shell for vital alerts\&.
.PP
There is no \fBcalendar_delete\fP function\&.
.PP
There is no localization support for dates and times, nor any support
for the use of time zones\&.
.PP
Relative periods of months and years do not take into account the variable
number of days\&.
.PP
The \fBcalendar_show\fP function is currently hardwired to use \fBxmessage\fP
for displaying alerts on X Window System displays\&. This should be
configurable and ideally integrate better with the desktop\&.
.PP
\fBcalendar_lockfiles\fP hangs the shell while waiting for a lock on a file\&.
If called from a scheduled task, it should instead reschedule the event
that caused it\&.

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Doc_Makefile_in,v 1.3 2006/01/29 20:41:02 sturm Exp $
--- Doc/Makefile.in.orig Mon May 23 16:42:38 2005
+++ Doc/Makefile.in Mon Jan 23 21:30:12 2006
@@ -246,11 +246,11 @@ Zsh/manmodmenu.yo: $(MODDOCSRC)
$OpenBSD: patch-Doc_Makefile_in,v 1.4 2007/12/04 19:26:56 okan Exp $
--- Doc/Makefile.in.orig Sun Dec 17 11:02:02 2006
+++ Doc/Makefile.in Mon Nov 26 14:35:17 2007
@@ -267,11 +267,11 @@ Zsh/manmodmenu.yo: $(MODDOCSRC)
# ========== DEPENDENCIES FOR INSTALLING ==========
# install just installs the manual pages

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-Src_utils_c,v 1.1 2007/12/04 19:26:56 okan Exp $
--- Src/utils.c.orig Tue Apr 17 09:57:15 2007
+++ Src/utils.c Fri Nov 23 13:09:41 2007
@@ -4569,10 +4569,12 @@ getkeystring(char *s, int *len, int how, int *misc)
int count;
#else
unsigned int wval;
-# if defined(HAVE_NL_LANGINFO) && defined(CODESET) && defined(HAVE_ICONV)
+# if defined(HAVE_NL_LANGINFO) && defined(CODESET)
+# if defined(HAVE_ICONV)
iconv_t cd;
char inbuf[4];
size_t inbytes, outbytes;
+# endif
size_t count;
# endif
#endif

View File

@ -1,8 +0,0 @@
Zsh is a UNIX command interpreter (shell) which of the standard shells
most resembles the Korn shell (ksh), although it is not completely
compatible. It includes enhancements of many types, notably in the
command-line editor, options for customising its behaviour, filename
globbing, features to make C-shell (csh) users feel more at home and
extra features drawn from tcsh (another `custom' shell).
This package adds the zftp module to zsh.

View File

@ -1,4 +1,7 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/23 19:52:51 espie Exp $
@comment $OpenBSD: PFRAG.shared,v 1.5 2007/12/04 19:26:56 okan Exp $
lib/zsh/
lib/zsh/${VERSION}/
lib/zsh/${VERSION}/zsh/
lib/zsh/${VERSION}/zsh/cap.so
lib/zsh/${VERSION}/zsh/clone.so
lib/zsh/${VERSION}/zsh/compctl.so
@ -12,8 +15,10 @@ lib/zsh/${VERSION}/zsh/files.so
lib/zsh/${VERSION}/zsh/langinfo.so
lib/zsh/${VERSION}/zsh/mapfile.so
lib/zsh/${VERSION}/zsh/mathfunc.so
lib/zsh/${VERSION}/zsh/net/
lib/zsh/${VERSION}/zsh/net/socket.so
lib/zsh/${VERSION}/zsh/net/tcp.so
lib/zsh/${VERSION}/zsh/newuser.so
lib/zsh/${VERSION}/zsh/parameter.so
lib/zsh/${VERSION}/zsh/rlimits.so
lib/zsh/${VERSION}/zsh/sched.so
@ -21,6 +26,7 @@ lib/zsh/${VERSION}/zsh/stat.so
lib/zsh/${VERSION}/zsh/system.so
lib/zsh/${VERSION}/zsh/termcap.so
lib/zsh/${VERSION}/zsh/terminfo.so
lib/zsh/${VERSION}/zsh/zftp.so
lib/zsh/${VERSION}/zsh/zle.so
lib/zsh/${VERSION}/zsh/zleparameter.so
lib/zsh/${VERSION}/zsh/zprof.so
@ -45,3 +51,36 @@ share/zsh/${VERSION}/functions/tcp_shoot
share/zsh/${VERSION}/functions/tcp_spam
share/zsh/${VERSION}/functions/tcp_talk
share/zsh/${VERSION}/functions/tcp_wait
share/zsh/${VERSION}/functions/zfanon
share/zsh/${VERSION}/functions/zfautocheck
share/zsh/${VERSION}/functions/zfcd
share/zsh/${VERSION}/functions/zfcd_match
share/zsh/${VERSION}/functions/zfcget
share/zsh/${VERSION}/functions/zfclose
share/zsh/${VERSION}/functions/zfcput
share/zsh/${VERSION}/functions/zfdir
share/zsh/${VERSION}/functions/zffcache
share/zsh/${VERSION}/functions/zfgcp
share/zsh/${VERSION}/functions/zfget
share/zsh/${VERSION}/functions/zfget_match
share/zsh/${VERSION}/functions/zfgoto
share/zsh/${VERSION}/functions/zfhere
share/zsh/${VERSION}/functions/zfinit
share/zsh/${VERSION}/functions/zfls
share/zsh/${VERSION}/functions/zfmark
share/zsh/${VERSION}/functions/zfopen
share/zsh/${VERSION}/functions/zfparams
share/zsh/${VERSION}/functions/zfpcp
share/zsh/${VERSION}/functions/zfput
share/zsh/${VERSION}/functions/zfrglob
share/zsh/${VERSION}/functions/zfrtime
share/zsh/${VERSION}/functions/zfsession
share/zsh/${VERSION}/functions/zfstat
share/zsh/${VERSION}/functions/zftp_chpwd
share/zsh/${VERSION}/functions/zftp_progress
share/zsh/${VERSION}/functions/zftransfer
share/zsh/${VERSION}/functions/zftype
share/zsh/${VERSION}/functions/zfuget
share/zsh/${VERSION}/functions/zfuput
share/zsh/${VERSION}/functions/zsh-newuser-install
share/zsh/${VERSION}/scripts/newuser

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared-zftp,v 1.1 2004/07/12 19:46:52 lebel Exp $
lib/zsh/${VERSION}/zsh/zftp.so

View File

@ -1,15 +1,13 @@
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/23 19:52:51 espie Exp $
@pkgpath shells/zsh
@comment $OpenBSD: PLIST,v 1.21 2007/12/04 19:26:56 okan Exp $
@pkgpath shells/zsh,-main
@shell bin/zsh
%%SHARED%%
bin/zsh-${VERSION}
@info info/zsh.info
lib/zsh/
lib/zsh/${VERSION}/
lib/zsh/${VERSION}/zsh/
lib/zsh/${VERSION}/zsh/net/
@man man/man1/zsh.1
@man man/man1/zshall.1
@man man/man1/zshbuiltins.1
@man man/man1/zshcalsys.1
@man man/man1/zshcompctl.1
@man man/man1/zshcompsys.1
@man man/man1/zshcompwid.1
@ -19,25 +17,32 @@ lib/zsh/${VERSION}/zsh/net/
@man man/man1/zshmodules.1
@man man/man1/zshoptions.1
@man man/man1/zshparam.1
@man man/man1/zshroadmap.1
@man man/man1/zshtcpsys.1
@man man/man1/zshzftpsys.1
@man man/man1/zshzle.1
share/zsh/
share/zsh/${VERSION}/
share/zsh/${VERSION}/functions/
share/zsh/${VERSION}/functions/_a2ps
share/zsh/${VERSION}/functions/_a2utils
share/zsh/${VERSION}/functions/_aap
share/zsh/${VERSION}/functions/_acpi
share/zsh/${VERSION}/functions/_acpitool
share/zsh/${VERSION}/functions/_acroread
share/zsh/${VERSION}/functions/_alias
share/zsh/${VERSION}/functions/_aliases
share/zsh/${VERSION}/functions/_all_labels
share/zsh/${VERSION}/functions/_all_matches
share/zsh/${VERSION}/functions/_alternative
share/zsh/${VERSION}/functions/_analyseplugin
share/zsh/${VERSION}/functions/_ant
share/zsh/${VERSION}/functions/_antiword
share/zsh/${VERSION}/functions/_apachectl
share/zsh/${VERSION}/functions/_apm
share/zsh/${VERSION}/functions/_approximate
share/zsh/${VERSION}/functions/_apt
share/zsh/${VERSION}/functions/_apt-file
share/zsh/${VERSION}/functions/_apt-move
share/zsh/${VERSION}/functions/_apt-show-versions
share/zsh/${VERSION}/functions/_aptitude
@ -54,11 +59,13 @@ share/zsh/${VERSION}/functions/_auto-apt
share/zsh/${VERSION}/functions/_autocd
share/zsh/${VERSION}/functions/_bash_completions
share/zsh/${VERSION}/functions/_baz
share/zsh/${VERSION}/functions/_bind_addresses
share/zsh/${VERSION}/functions/_bindkey
share/zsh/${VERSION}/functions/_bison
share/zsh/${VERSION}/functions/_bittorrent
share/zsh/${VERSION}/functions/_bogofilter
share/zsh/${VERSION}/functions/_brace_parameter
share/zsh/${VERSION}/functions/_brctl
share/zsh/${VERSION}/functions/_bsd_pkg
@comment share/zsh/${VERSION}/functions/_bsd_pkg.orig
share/zsh/${VERSION}/functions/_bts
@ -70,7 +77,10 @@ share/zsh/${VERSION}/functions/_cache_invalid
share/zsh/${VERSION}/functions/_cal
share/zsh/${VERSION}/functions/_call_function
share/zsh/${VERSION}/functions/_call_program
share/zsh/${VERSION}/functions/_canonical_paths
share/zsh/${VERSION}/functions/_ccal
share/zsh/${VERSION}/functions/_cd
share/zsh/${VERSION}/functions/_cdbs-edit-patch
share/zsh/${VERSION}/functions/_cdcd
share/zsh/${VERSION}/functions/_cdrecord
share/zsh/${VERSION}/functions/_chflags
@ -78,6 +88,7 @@ share/zsh/${VERSION}/functions/_chkconfig
share/zsh/${VERSION}/functions/_chmod
share/zsh/${VERSION}/functions/_chown
share/zsh/${VERSION}/functions/_combination
share/zsh/${VERSION}/functions/_comm
share/zsh/${VERSION}/functions/_command
share/zsh/${VERSION}/functions/_command_names
share/zsh/${VERSION}/functions/_compdef
@ -91,8 +102,12 @@ share/zsh/${VERSION}/functions/_configure
share/zsh/${VERSION}/functions/_correct
share/zsh/${VERSION}/functions/_correct_filename
share/zsh/${VERSION}/functions/_correct_word
share/zsh/${VERSION}/functions/_cowsay
share/zsh/${VERSION}/functions/_cp
share/zsh/${VERSION}/functions/_cpio
share/zsh/${VERSION}/functions/_cplay
share/zsh/${VERSION}/functions/_cssh
share/zsh/${VERSION}/functions/_ctags_tags
share/zsh/${VERSION}/functions/_cvs
share/zsh/${VERSION}/functions/_cvsup
share/zsh/${VERSION}/functions/_cygcheck
@ -100,23 +115,29 @@ share/zsh/${VERSION}/functions/_cygpath
share/zsh/${VERSION}/functions/_cygrunsrv
share/zsh/${VERSION}/functions/_cygserver
share/zsh/${VERSION}/functions/_cygstart
share/zsh/${VERSION}/functions/_dak
share/zsh/${VERSION}/functions/_darcs
share/zsh/${VERSION}/functions/_date
share/zsh/${VERSION}/functions/_dchroot
share/zsh/${VERSION}/functions/_dchroot-dsa
share/zsh/${VERSION}/functions/_dcop
share/zsh/${VERSION}/functions/_dd
share/zsh/${VERSION}/functions/_deb_packages
share/zsh/${VERSION}/functions/_debchange
share/zsh/${VERSION}/functions/_debdiff
share/zsh/${VERSION}/functions/_debfoster
share/zsh/${VERSION}/functions/_debsign
share/zsh/${VERSION}/functions/_default
share/zsh/${VERSION}/functions/_defaults
share/zsh/${VERSION}/functions/_describe
share/zsh/${VERSION}/functions/_description
share/zsh/${VERSION}/functions/_dhclient
share/zsh/${VERSION}/functions/_dict
share/zsh/${VERSION}/functions/_dict_words
share/zsh/${VERSION}/functions/_diff
share/zsh/${VERSION}/functions/_diff_options
@comment share/zsh/${VERSION}/functions/_diff_options.orig
share/zsh/${VERSION}/functions/_diffstat
share/zsh/${VERSION}/functions/_dir_list
share/zsh/${VERSION}/functions/_directories
share/zsh/${VERSION}/functions/_directory_stack
@ -142,6 +163,7 @@ share/zsh/${VERSION}/functions/_email_addresses
share/zsh/${VERSION}/functions/_emulate
share/zsh/${VERSION}/functions/_enable
share/zsh/${VERSION}/functions/_enscript
share/zsh/${VERSION}/functions/_env
share/zsh/${VERSION}/functions/_equal
share/zsh/${VERSION}/functions/_expand
share/zsh/${VERSION}/functions/_expand_alias
@ -158,10 +180,16 @@ share/zsh/${VERSION}/functions/_find
share/zsh/${VERSION}/functions/_finger
share/zsh/${VERSION}/functions/_fink
share/zsh/${VERSION}/functions/_first
share/zsh/${VERSION}/functions/_flasher
share/zsh/${VERSION}/functions/_flex
share/zsh/${VERSION}/functions/_floppy
share/zsh/${VERSION}/functions/_fortune
share/zsh/${VERSION}/functions/_fsh
share/zsh/${VERSION}/functions/_functions
share/zsh/${VERSION}/functions/_fuse_arguments
share/zsh/${VERSION}/functions/_fuse_values
share/zsh/${VERSION}/functions/_fuser
share/zsh/${VERSION}/functions/_fusermount
share/zsh/${VERSION}/functions/_gcc
share/zsh/${VERSION}/functions/_gdb
share/zsh/${VERSION}/functions/_generic
@ -169,16 +197,19 @@ share/zsh/${VERSION}/functions/_getclip
share/zsh/${VERSION}/functions/_getconf
share/zsh/${VERSION}/functions/_getent
share/zsh/${VERSION}/functions/_getfacl
share/zsh/${VERSION}/functions/_getmail
share/zsh/${VERSION}/functions/_git
share/zsh/${VERSION}/functions/_global
share/zsh/${VERSION}/functions/_global_tags
share/zsh/${VERSION}/functions/_gnome-gv
share/zsh/${VERSION}/functions/_gnu_generic
share/zsh/${VERSION}/functions/_gnutls
share/zsh/${VERSION}/functions/_gpg
share/zsh/${VERSION}/functions/_gphoto2
share/zsh/${VERSION}/functions/_gprof
share/zsh/${VERSION}/functions/_gqview
share/zsh/${VERSION}/functions/_grep
share/zsh/${VERSION}/functions/_groff
share/zsh/${VERSION}/functions/_groups
share/zsh/${VERSION}/functions/_gs
share/zsh/${VERSION}/functions/_guard
@ -195,9 +226,12 @@ share/zsh/${VERSION}/functions/_ignored
share/zsh/${VERSION}/functions/_imagemagick
share/zsh/${VERSION}/functions/_in_vared
share/zsh/${VERSION}/functions/_init_d
share/zsh/${VERSION}/functions/_invoke-rc.d
share/zsh/${VERSION}/functions/_ip
share/zsh/${VERSION}/functions/_iptables
share/zsh/${VERSION}/functions/_irssi
share/zsh/${VERSION}/functions/_ispell
share/zsh/${VERSION}/functions/_iwconfig
share/zsh/${VERSION}/functions/_java
share/zsh/${VERSION}/functions/_java_class
share/zsh/${VERSION}/functions/_jobs
@ -209,15 +243,20 @@ share/zsh/${VERSION}/functions/_kfmclient
share/zsh/${VERSION}/functions/_kill
share/zsh/${VERSION}/functions/_killall
share/zsh/${VERSION}/functions/_kld
share/zsh/${VERSION}/functions/_knock
share/zsh/${VERSION}/functions/_kvno
share/zsh/${VERSION}/functions/_last
share/zsh/${VERSION}/functions/_less
share/zsh/${VERSION}/functions/_limit
share/zsh/${VERSION}/functions/_limits
share/zsh/${VERSION}/functions/_linda
share/zsh/${VERSION}/functions/_links
share/zsh/${VERSION}/functions/_lintian
share/zsh/${VERSION}/functions/_list
share/zsh/${VERSION}/functions/_list_files
share/zsh/${VERSION}/functions/_loadkeys
share/zsh/${VERSION}/functions/_locales
share/zsh/${VERSION}/functions/_locate
share/zsh/${VERSION}/functions/_logical_volumes
share/zsh/${VERSION}/functions/_look
share/zsh/${VERSION}/functions/_losetup
@ -244,15 +283,22 @@ share/zsh/${VERSION}/functions/_match
share/zsh/${VERSION}/functions/_math
share/zsh/${VERSION}/functions/_mencal
share/zsh/${VERSION}/functions/_menu
share/zsh/${VERSION}/functions/_mercurial
share/zsh/${VERSION}/functions/_mere
share/zsh/${VERSION}/functions/_mergechanges
share/zsh/${VERSION}/functions/_message
share/zsh/${VERSION}/functions/_metaflac
share/zsh/${VERSION}/functions/_mh
share/zsh/${VERSION}/functions/_mii-tool
share/zsh/${VERSION}/functions/_mime_types
share/zsh/${VERSION}/functions/_mkdir
share/zsh/${VERSION}/functions/_mkshortcut
share/zsh/${VERSION}/functions/_mkzsh
share/zsh/${VERSION}/functions/_module
share/zsh/${VERSION}/functions/_module-assistant
share/zsh/${VERSION}/functions/_modutils
share/zsh/${VERSION}/functions/_mondo
share/zsh/${VERSION}/functions/_monotone
share/zsh/${VERSION}/functions/_most_recent_file
share/zsh/${VERSION}/functions/_mount
share/zsh/${VERSION}/functions/_mozilla
@ -266,6 +312,7 @@ share/zsh/${VERSION}/functions/_mutt
share/zsh/${VERSION}/functions/_my_accounts
share/zsh/${VERSION}/functions/_mysql_utils
share/zsh/${VERSION}/functions/_mysqldiff
share/zsh/${VERSION}/functions/_nautilus
share/zsh/${VERSION}/functions/_ncftp
share/zsh/${VERSION}/functions/_nedit
share/zsh/${VERSION}/functions/_net_interfaces
@ -291,6 +338,7 @@ share/zsh/${VERSION}/functions/_parameter
share/zsh/${VERSION}/functions/_parameters
share/zsh/${VERSION}/functions/_patch
share/zsh/${VERSION}/functions/_path_files
share/zsh/${VERSION}/functions/_pax
share/zsh/${VERSION}/functions/_pbm
share/zsh/${VERSION}/functions/_pdf
share/zsh/${VERSION}/functions/_perforce
@ -303,8 +351,11 @@ share/zsh/${VERSION}/functions/_physical_volumes
share/zsh/${VERSION}/functions/_pick_variant
share/zsh/${VERSION}/functions/_pids
share/zsh/${VERSION}/functions/_pine
share/zsh/${VERSION}/functions/_ping
share/zsh/${VERSION}/functions/_piuparts
share/zsh/${VERSION}/functions/_pkg-config
share/zsh/${VERSION}/functions/_pkgtool
share/zsh/${VERSION}/functions/_pon
share/zsh/${VERSION}/functions/_ports
share/zsh/${VERSION}/functions/_postfix
share/zsh/${VERSION}/functions/_prcs
@ -318,28 +369,37 @@ share/zsh/${VERSION}/functions/_ps
share/zsh/${VERSION}/functions/_pscp
share/zsh/${VERSION}/functions/_pspdf
share/zsh/${VERSION}/functions/_psutils
share/zsh/${VERSION}/functions/_pump
share/zsh/${VERSION}/functions/_putclip
share/zsh/${VERSION}/functions/_python
share/zsh/${VERSION}/functions/_qemu
share/zsh/${VERSION}/functions/_qiv
share/zsh/${VERSION}/functions/_qtplay
share/zsh/${VERSION}/functions/_quilt
share/zsh/${VERSION}/functions/_raggle
share/zsh/${VERSION}/functions/_rake
share/zsh/${VERSION}/functions/_rar
share/zsh/${VERSION}/functions/_rcs
share/zsh/${VERSION}/functions/_read
share/zsh/${VERSION}/functions/_read_comp
share/zsh/${VERSION}/functions/_redirect
share/zsh/${VERSION}/functions/_regex_arguments
share/zsh/${VERSION}/functions/_regex_words
share/zsh/${VERSION}/functions/_renice
share/zsh/${VERSION}/functions/_requested
share/zsh/${VERSION}/functions/_retrieve_cache
share/zsh/${VERSION}/functions/_retrieve_mac_apps
share/zsh/${VERSION}/functions/_ri
share/zsh/${VERSION}/functions/_rlogin
share/zsh/${VERSION}/functions/_rpm
share/zsh/${VERSION}/functions/_rsync
share/zsh/${VERSION}/functions/_rubber
share/zsh/${VERSION}/functions/_ruby
share/zsh/${VERSION}/functions/_sablotron
share/zsh/${VERSION}/functions/_samba
share/zsh/${VERSION}/functions/_sccs
share/zsh/${VERSION}/functions/_sched
share/zsh/${VERSION}/functions/_schroot
share/zsh/${VERSION}/functions/_screen
share/zsh/${VERSION}/functions/_sed
share/zsh/${VERSION}/functions/_sep_parts
@ -349,14 +409,20 @@ share/zsh/${VERSION}/functions/_set
share/zsh/${VERSION}/functions/_set_command
share/zsh/${VERSION}/functions/_setopt
share/zsh/${VERSION}/functions/_setup
share/zsh/${VERSION}/functions/_setxkbmap
share/zsh/${VERSION}/functions/_sh
share/zsh/${VERSION}/functions/_showmount
share/zsh/${VERSION}/functions/_signals
share/zsh/${VERSION}/functions/_sisu
share/zsh/${VERSION}/functions/_slrn
share/zsh/${VERSION}/functions/_smit
share/zsh/${VERSION}/functions/_socket
share/zsh/${VERSION}/functions/_softwareupdate
share/zsh/${VERSION}/functions/_source
share/zsh/${VERSION}/functions/_spamassassin
share/zsh/${VERSION}/functions/_sqsh
share/zsh/${VERSION}/functions/_ssh
share/zsh/${VERSION}/functions/_sshfs
share/zsh/${VERSION}/functions/_stat
share/zsh/${VERSION}/functions/_store_cache
share/zsh/${VERSION}/functions/_strip
@ -367,10 +433,13 @@ share/zsh/${VERSION}/functions/_subscript
share/zsh/${VERSION}/functions/_subversion
share/zsh/${VERSION}/functions/_sudo
share/zsh/${VERSION}/functions/_suffix_alias_files
share/zsh/${VERSION}/functions/_surfraw
share/zsh/${VERSION}/functions/_sysctl
share/zsh/${VERSION}/functions/_tags
share/zsh/${VERSION}/functions/_tar
share/zsh/${VERSION}/functions/_tar_archive
share/zsh/${VERSION}/functions/_tardy
share/zsh/${VERSION}/functions/_tcptraceroute
share/zsh/${VERSION}/functions/_telnet
share/zsh/${VERSION}/functions/_terminals
share/zsh/${VERSION}/functions/_tex
@ -383,13 +452,22 @@ share/zsh/${VERSION}/functions/_tilde_files
share/zsh/${VERSION}/functions/_time_zone
share/zsh/${VERSION}/functions/_tin
share/zsh/${VERSION}/functions/_tla
share/zsh/${VERSION}/functions/_todo.sh
share/zsh/${VERSION}/functions/_toilet
share/zsh/${VERSION}/functions/_toolchain-source
share/zsh/${VERSION}/functions/_totd
share/zsh/${VERSION}/functions/_tpb
share/zsh/${VERSION}/functions/_tpconfig
share/zsh/${VERSION}/functions/_tracepath
share/zsh/${VERSION}/functions/_trap
share/zsh/${VERSION}/functions/_ttyctl
share/zsh/${VERSION}/functions/_tune2fs
share/zsh/${VERSION}/functions/_twisted
share/zsh/${VERSION}/functions/_typeset
share/zsh/${VERSION}/functions/_ulimit
share/zsh/${VERSION}/functions/_uml
share/zsh/${VERSION}/functions/_unace
share/zsh/${VERSION}/functions/_unexpand
share/zsh/${VERSION}/functions/_unhash
share/zsh/${VERSION}/functions/_uniq
share/zsh/${VERSION}/functions/_unsetopt
@ -398,6 +476,7 @@ share/zsh/${VERSION}/functions/_update-rc.d
share/zsh/${VERSION}/functions/_urls
share/zsh/${VERSION}/functions/_urpmi
share/zsh/${VERSION}/functions/_urxvt
share/zsh/${VERSION}/functions/_uscan
share/zsh/${VERSION}/functions/_user_admin
share/zsh/${VERSION}/functions/_user_at_host
share/zsh/${VERSION}/functions/_users
@ -407,13 +486,18 @@ share/zsh/${VERSION}/functions/_value
share/zsh/${VERSION}/functions/_values
share/zsh/${VERSION}/functions/_vared
share/zsh/${VERSION}/functions/_vars
share/zsh/${VERSION}/functions/_vim
share/zsh/${VERSION}/functions/_vnc
share/zsh/${VERSION}/functions/_volume_groups
share/zsh/${VERSION}/functions/_vorbis
share/zsh/${VERSION}/functions/_vorbiscomment
share/zsh/${VERSION}/functions/_vserver
share/zsh/${VERSION}/functions/_vux
share/zsh/${VERSION}/functions/_w3m
share/zsh/${VERSION}/functions/_wait
share/zsh/${VERSION}/functions/_wajig
share/zsh/${VERSION}/functions/_wakeup_capable_devices
share/zsh/${VERSION}/functions/_wanna-build
share/zsh/${VERSION}/functions/_wanted
share/zsh/${VERSION}/functions/_webbrowser
share/zsh/${VERSION}/functions/_wget
@ -448,29 +532,46 @@ share/zsh/${VERSION}/functions/_xloadimage
share/zsh/${VERSION}/functions/_xmlsoft
share/zsh/${VERSION}/functions/_xmodmap
share/zsh/${VERSION}/functions/_xpdf
share/zsh/${VERSION}/functions/_xscreensaver
share/zsh/${VERSION}/functions/_xset
share/zsh/${VERSION}/functions/_xt_arguments
share/zsh/${VERSION}/functions/_xt_session_id
share/zsh/${VERSION}/functions/_xterm
share/zsh/${VERSION}/functions/_xv
share/zsh/${VERSION}/functions/_xwit
share/zsh/${VERSION}/functions/_yafc
share/zsh/${VERSION}/functions/_yast
share/zsh/${VERSION}/functions/_yodl
share/zsh/${VERSION}/functions/_yp
share/zsh/${VERSION}/functions/_yum
share/zsh/${VERSION}/functions/_zcat
share/zsh/${VERSION}/functions/_zcompile
share/zsh/${VERSION}/functions/_zdump
share/zsh/${VERSION}/functions/_zed
share/zsh/${VERSION}/functions/_zftp
share/zsh/${VERSION}/functions/_zip
share/zsh/${VERSION}/functions/_zle
share/zsh/${VERSION}/functions/_zmodload
share/zsh/${VERSION}/functions/_zmv
share/zsh/${VERSION}/functions/_zpty
share/zsh/${VERSION}/functions/_zstyle
share/zsh/${VERSION}/functions/add-zsh-hook
share/zsh/${VERSION}/functions/age
share/zsh/${VERSION}/functions/allopt
share/zsh/${VERSION}/functions/backward-kill-word-match
share/zsh/${VERSION}/functions/backward-word-match
share/zsh/${VERSION}/functions/bashcompinit
share/zsh/${VERSION}/functions/calendar
share/zsh/${VERSION}/functions/calendar_add
share/zsh/${VERSION}/functions/calendar_edit
share/zsh/${VERSION}/functions/calendar_lockfiles
share/zsh/${VERSION}/functions/calendar_read
share/zsh/${VERSION}/functions/calendar_scandate
share/zsh/${VERSION}/functions/calendar_show
share/zsh/${VERSION}/functions/calendar_showdate
share/zsh/${VERSION}/functions/calendar_sort
share/zsh/${VERSION}/functions/capitalize-word-match
share/zsh/${VERSION}/functions/catch
share/zsh/${VERSION}/functions/checkmail
share/zsh/${VERSION}/functions/colors
share/zsh/${VERSION}/functions/compaudit
@ -479,6 +580,7 @@ share/zsh/${VERSION}/functions/compinit
share/zsh/${VERSION}/functions/compinstall
share/zsh/${VERSION}/functions/copy-earlier-word
share/zsh/${VERSION}/functions/cycle-completion-positions
share/zsh/${VERSION}/functions/define-composed-chars
share/zsh/${VERSION}/functions/delete-whole-word-match
share/zsh/${VERSION}/functions/down-case-word-match
share/zsh/${VERSION}/functions/down-line-or-beginning-search
@ -486,15 +588,22 @@ share/zsh/${VERSION}/functions/edit-command-line
share/zsh/${VERSION}/functions/forward-word-match
share/zsh/${VERSION}/functions/getjobs
share/zsh/${VERSION}/functions/harden
share/zsh/${VERSION}/functions/history-beginning-search-menu
share/zsh/${VERSION}/functions/history-pattern-search
share/zsh/${VERSION}/functions/history-search-end
share/zsh/${VERSION}/functions/incarg
share/zsh/${VERSION}/functions/incremental-complete-word
share/zsh/${VERSION}/functions/insert-composed-char
share/zsh/${VERSION}/functions/insert-files
share/zsh/${VERSION}/functions/insert-unicode-char
share/zsh/${VERSION}/functions/is-at-least
share/zsh/${VERSION}/functions/keeper
share/zsh/${VERSION}/functions/keymap+widget
share/zsh/${VERSION}/functions/kill-word-match
share/zsh/${VERSION}/functions/match-word-context
share/zsh/${VERSION}/functions/match-words-by-style
share/zsh/${VERSION}/functions/mere
share/zsh/${VERSION}/functions/modify-current-argument
share/zsh/${VERSION}/functions/narrow-to-region
share/zsh/${VERSION}/functions/narrow-to-region-invisible
share/zsh/${VERSION}/functions/nslookup
@ -521,23 +630,28 @@ share/zsh/${VERSION}/functions/quote-and-complete-word
share/zsh/${VERSION}/functions/read-from-minibuffer
share/zsh/${VERSION}/functions/relative
share/zsh/${VERSION}/functions/replace-string
share/zsh/${VERSION}/functions/replace-string-again
share/zsh/${VERSION}/functions/run-help
share/zsh/${VERSION}/functions/select-word-style
share/zsh/${VERSION}/functions/smart-insert-last-word
share/zsh/${VERSION}/functions/split-shell-arguments
share/zsh/${VERSION}/functions/tetris
share/zsh/${VERSION}/functions/throw
share/zsh/${VERSION}/functions/transpose-words-match
share/zsh/${VERSION}/functions/up-case-word-match
share/zsh/${VERSION}/functions/up-line-or-beginning-search
share/zsh/${VERSION}/functions/url-quote-magic
share/zsh/${VERSION}/functions/which-command
share/zsh/${VERSION}/functions/zargs
share/zsh/${VERSION}/functions/zcalc
share/zsh/${VERSION}/functions/zed
share/zsh/${VERSION}/functions/zed-set-file-name
share/zsh/${VERSION}/functions/zkbd
share/zsh/${VERSION}/functions/zmathfuncdef
share/zsh/${VERSION}/functions/zmv
share/zsh/${VERSION}/functions/zrecompile
share/zsh/${VERSION}/functions/zsh-mime-handler
share/zsh/${VERSION}/functions/zsh-mime-setup
share/zsh/${VERSION}/functions/zstyle+
share/zsh/${VERSION}/scripts/
share/zsh/site-functions/
%%SHARED%%

View File

@ -1,35 +0,0 @@
@comment $OpenBSD: PLIST-zftp,v 1.2 2004/09/15 08:57:24 espie Exp $
@man man/man1/zshzftpsys.1
share/zsh/${VERSION}/functions/_zftp
share/zsh/${VERSION}/functions/zfanon
share/zsh/${VERSION}/functions/zfautocheck
share/zsh/${VERSION}/functions/zfcd
share/zsh/${VERSION}/functions/zfcd_match
share/zsh/${VERSION}/functions/zfcget
share/zsh/${VERSION}/functions/zfclose
share/zsh/${VERSION}/functions/zfcput
share/zsh/${VERSION}/functions/zfdir
share/zsh/${VERSION}/functions/zffcache
share/zsh/${VERSION}/functions/zfgcp
share/zsh/${VERSION}/functions/zfget
share/zsh/${VERSION}/functions/zfget_match
share/zsh/${VERSION}/functions/zfgoto
share/zsh/${VERSION}/functions/zfhere
share/zsh/${VERSION}/functions/zfinit
share/zsh/${VERSION}/functions/zfls
share/zsh/${VERSION}/functions/zfmark
share/zsh/${VERSION}/functions/zfopen
share/zsh/${VERSION}/functions/zfparams
share/zsh/${VERSION}/functions/zfpcp
share/zsh/${VERSION}/functions/zfput
share/zsh/${VERSION}/functions/zfrglob
share/zsh/${VERSION}/functions/zfrtime
share/zsh/${VERSION}/functions/zfsession
share/zsh/${VERSION}/functions/zfstat
share/zsh/${VERSION}/functions/zftp_chpwd
share/zsh/${VERSION}/functions/zftp_progress
share/zsh/${VERSION}/functions/zftransfer
share/zsh/${VERSION}/functions/zftype
share/zsh/${VERSION}/functions/zfuget
share/zsh/${VERSION}/functions/zfuput
%%SHARED%%