(Ook in het Nederlands)
Command line NOS Teletekst reader for Unix-likes and Windows. Supports color and has an interactive mode.
nostt [page]
$ nostt 102
NOS Teletekst 102
N O S B I N N E N L A N D
KNSB:woensdag marathon op natuurijs 104
Discriminatiecursus uitzendbranche. 105
Trouwen in gemeenschap goedkoper... 106
Media geweerd bij oorlogsherdenking 107
Baby Hannah terecht en ongedeerd... 108
Lichaam vermiste Orlando gevonden.. 109
Politiemol Mark M. meldt zich...... 110
16-jarige vast voor liquidaties.... 111
Mies Bouwman (88) overleden........ 112
"Koningin van de tv overleden"..... 113
Nederlandse olympiers gehuldigd.... 114
%%%%%%%%%%%%%% kort nieuws%%%%%%%%%%%%%%
Treinverkeer A'dam kort ontregeld.. 121
Vogelgriep op bedrijf in Groningen. 121
Meisje mishandeld om hoofddoek..... 122
Nederlandse skier (50) verongelukt. 122
ticker 199 politie 147
NOS Teletekst 102
Displays the requested NOS Teletekst page on the command line. Pages are identified by a three-digit number optionally followed by a subpage, for example 100 or 302-2. All subpages are printed if not specified.
If no page argument is given, nostt runs interactively.
See the manual page for more details: man nostt
.
Teletext's 6-cell (2x3) block characters are displayed as % characters as they cannot be accurately reproduced in a terinal without special fonts. (The NOS viewer and API uses a custom font with these characters in the "private use" 0xF000 Unicode range.)
Color output is disabled by default in MinTTY on Windows. This is
because MinTTY redirects standard output. Set CLICOLOR_FORCE
to 1 to
force color output: env CLICOLOR_FORCE=1 nostt
Should work on Windows and any Unix, including Linux and macOS.
macOS with Homebrew from my tap:
brew install sjmulder/tap/nostt
NetBSD (and more, using pkgsrc):
pkg_add nostt
FreeBSD:
pkg install nostt
From source:
-
Download and extract the source code of the latest release.
-
Install the dependencies, e.g. on Debian or Ubuntu:
sudo apt install build-essential libcurl4-openssl-dev libjson-c-dev
-
In the source directory:
make sudo make install
See the Makefile for more options. Uninstall with
sudo make uninstall
.
Building on Windows is supported through MinGW. A CMake build file is also included for convenience.
Sijmen J. Mulder ([email protected])