alevt-date (1) - Linux Man Pages
alevt-date: display/set time received via Teletext
NAMEalevt-date - display/set time received via Teletext
DESCRIPTIONalevt-date displays the time received from a Teletext source. It can be used to set the system time. The date is not interpreted (not even transmitted on most channels). So it allows only adjustment of +/-12 hours. The default allowed adjustment is limited to +/-2 hours (use -delta to change). Without the -set option it just displays the date in the format of the date(1) command.
OPTIONSA summary of options is included below.
- Set system time from time received via Teletext.
- Maximum allowed adjustment made to the system time. The default is 7200 seconds (2 hours) and the maximum that may be given is 12 hours.
- Format string to used to print the time. Look at strftime(3) for possible control sequences.
- Use the given device name (default: /dev/vbi0).
- If the time can't be detected in seconds, the program is terminated with a SIGALRM.
- Show summary of options.
- Show version of program.
Before starting this program, you have to set the TV channel with another program like xawtv of set-tv.
Note: This program does not set the battery backed up clock of your computer. clock -w will do this.
BUGSThis program is just a toy. The time transmitted by the TV stations is more than inaccurate. Some are within a few seconds of your local time reference but others are more then 15 minutes off. You've been warned. (And don't assume the pkt8/30 time is better. It's even worse.)
No bug reports to <froese [at] gmx.de> *g*.