ALEVT-DATE(1)

✨ alevt-date(1) β€” Teletext time ✨

Okay so bestie, this is the manual for alevt-date πŸŽ€, the NAME part of the page is literally just: alevt-date - display/set time received via Teletext πŸ¦‹

πŸ’– NAME πŸ’–

alevt-date - display/set time received via Teletext 🧚

🌸 SYNOPSIS 🌸

alevt-date [options]

πŸ”₯ DESCRIPTION πŸ”₯

Okay so alevt-date is giving time-reading from Teletext ✨ It grabs the time that comes through a Teletext source and shows it to you, and it can even set your system time with it πŸ’… The date itself isn't really interpreted (it's not even sent on most channels, ngl 😭), so the only adjustment you can make is +/-12 hours πŸ™ˆ By default the allowed adjustment is capped at +/-2 hours, but you can change that with -delta πŸ’œ If you don't use -set, it just displays the date in the same format as the date(1) command 🌈

πŸ‘‘ OPTIONS πŸ‘‘

A quick summary of the options is below, bestie 🫢

  • -set β€” Sets the system time from whatever time comes in via Teletext πŸ’–
  • -delta seconds β€” The max adjustment allowed for the system time πŸŽ€ Default is 7200 seconds (2 hours), and the biggest you can give it is 12 hours πŸ’…
  • -format string β€” The format string used to print the time ✨ For the control sequences you can use, look at strftime(3) πŸ¦‹
  • -vbi device β€” Picks the device to use 🌸 Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0, tried in that order 🧚
  • -timeout seconds β€” If the time can't be detected within seconds, the program gets terminated with a SIGALRM 😭
  • -progname name β€” Sets the program name if you're using the DVB interface πŸ“Ί
  • -pid pid β€” Sets the teletext PID if you're using the DVB interface πŸ”₯
  • --help β€” Shows the summary of options πŸ™ˆ
  • --version β€” Shows the version of the program πŸ’œ

Before you start this program, you have to set the TV channel with another program, like xawtv or set-tv πŸ“Ί That step is non-negotiable, periodt πŸ’…

Note: On Linux, this program does not set the battery backed up clock of your computer πŸ’€ If you want to do that, hwclock -w will handle it 🫢

The -progname or -pid option specifies the program or teletext PID when you're using the DVB interface 🌈 If you use neither of them, alevt outputs info about the currently accessible streams and uses the first of those PIDs as the default ✨ That output includes the PIDs and names you can feed into -progname or -pid, based on the TV channel you've currently got selected πŸ¦‹

πŸ“‚ FILES πŸ“‚

  • /dev/vbi*
  • /dev/dvb/adapter*/demux*

πŸ”— SEE ALSO πŸ”—

alevt(1x), alevt-cap(1), strftime(3), date(1), hwclock(8) 🧚

πŸ› BUGS πŸ›

This program is just a toy πŸ™ˆ The time transmitted by TV stations is more than inaccurate πŸ’€ Some are within a few seconds of your local time reference, but others are more than 15 minutes off 😭 You've been warned 🫢 (And don't assume the pkt8/30 time is better, bestie, because it's even worse πŸ’€)

Bug reports go to <https://gitlab.com/alevt/alevt> 🌸


Bye bestie, this was the alevt-date(1) manual from LINUX 1.8.3 πŸ’…βœ¨

πŸ“¦ where this page comes from