alevt-date1
Display/set time received via teletext
Usage
alevt-date [options]
Overview
alevt-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.
Options
A summary of options is included below.
-
-set -
Set system time from time received via Teletext.
-deltaseconds-
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.
-formatstring-
Format string to used to print the time. Look at strftime(3) for possible control sequences.
-vbidevice-
Use the given device name. Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 tried in this order.
-timeoutseconds-
If the time can't be detected in seconds, the program is terminated with a SIGALRM.
-prognamename-
Specifies the program name if using the DVB interface.
-pidpid-
Specifies the teletext PID if using the DVB interface.
-
--help -
Show summary of options.
-
--version -
Show version of program.
Before starting this program, you have to set the TV channel with another program like xawtv of set-tv.
Note: On Linux, this program does not set the battery backed up clock of your computer. hwclock -w will do this.
The -progname or -pid option specifies the program or teletext PID if using the DVB interface.
If neither of these two options is used, alevt outputs informations about the currently accessible streams and uses the first of these PIDs as default. This output contains the PIDs and names that can be used as an input for the -progname or -pid option in the context of the currently chosen TV channel.
Files
/dev/vbi*
/dev/dvb/adapter*/demux*
Releases
13 releases since Debian 2.2 (Potato); the text changed 6 times.
--help since Debian 13 (Trixie);
--version since Debian 13 (Trixie).
-d until Debian 12 (Bookworm);
-delta until Debian 12 (Bookworm);
-f until Debian 12 (Bookworm);
-format until Debian 12 (Bookworm);
-h until Debian 12 (Bookworm);
-help until Debian 12 (Bookworm);
-oldbttv until Debian 2.2 (Potato);
-s until Debian 12 (Bookworm);
-t until Debian 12 (Bookworm);
-timeout until Debian 12 (Bookworm);
-v until Debian 12 (Bookworm);
-vbi until Debian 12 (Bookworm).