File: tide.1

package info (click to toggle)
xtide 2.9.5-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,996 kB
  • ctags: 2,141
  • sloc: cpp: 20,379; sh: 1,044; makefile: 224; yacc: 114; lex: 58
file content (88 lines) | stat: -rw-r--r-- 2,728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.TH tide 1 "2006-04-09"  "XTide 2"
.SH NAME
tide \- Harmonic tide clock and tide predictor (command line client)
.SH SYNOPSIS
.B tide
[\fB-b ``YYYY-MM-DD HH:MM''\fP]
[\fB-e ``YYYY-MM-DD HH:MM''\fP]
[\fB-f c|h|i|l|p|t\fP]
[\fB-l ``location name''\fP]
[\fB-m a|b|c|C|g|l|m|p|r|s\fP]
[\fB-o ``filename''\fP]
[\fB-s ``HH:MM''\fP]
[\fB-v\fP]
.SH DESCRIPTION
XTide is a package that provides tide and current predictions in a wide
variety of formats. Graphs, text listings, and calendars can be generated,
or a tide clock can be provided on your desktop.
.LP
XTide can work with X-windows, plain text terminals, or the web. This is
accomplished with three separate programs: the interactive interface
(\fBxtide\fP), the non-interactive or command line interface
(\fBtide\fP), and the web interface (\fBxttpd\fP).
.LP
.B tide
is the non-interactive command line client for XTide 2.
Only the most important switches are documented here.
For a complete
discussion, please see the verbose documentation at
.BR http://www.flaterco.com/xtide/ .
.SH CONFIGURATION
Unless a configuration file
.B /etc/xtide.conf
is supplied, you must set the environment variable
.B HFILE_PATH
to point to the harmonics
files that should have been installed along with the
.B xtide
program.  Example:
.RS
export HFILE_PATH=/usr/local/share/xtide/harmonics.tcd
.RE
If a configuration file is used, the first line should consist of the
colon-separated list of harmonics files (e.g. the
.B HFILE_PATH
line above without the "export HFILE_PATH=" part).
The environment variable takes precedence over the configuration file.
Also, note that on Debian systems the tidal harmonics data file are stored in
.I /usr/share/xtide
instead of
.I /usr/local/share/xtide
as used above.
.LP
Set the environment variable
.B XTIDE_DEFAULT_LOCATION
to the name of your favorite place if you want to skip the location-choosing
step.
.SH OPTIONS
.TP
.B -b ``YYYY-MM-DD HH:MM''
Specify the begin (start) time for predictions.
.TP
.B -e ``YYYY-MM-DD HH:MM''
Specify the end (stop) time for predictions.
.TP
.B -f c|h|i|l|p|t
Specify the output format as CSV, HTML, iCalendar, LaTeX, PNG, or text.  The default is text.
.TP
.B -l ``location name''
Specify a location for tide predictions.
.TP
.B -m a|b|c|C|g|l|m|p|r|s
Specify mode to be about, banner, calendar, alt. calendar, graph, list, medium rare, plain, raw, or
stats.  The default is plain.
.TP
.B -o ``filename''
Redirect output to the specified file (appends).
.TP
.B -s ``HH:MM''
Specify the step interval, in hours and minutes, for raw
or medium rare mode predictions.  The default is one hour.
.TP
.B -v
Print version string and exit.
.SH "SEE ALSO"
.BR xtide (1),
.BR xttpd (8),
.BR http://www.flaterco.com/xtide/ .
.sp