Skip to content
NOS teletekst client for linux console
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore added .gitignore file to hide build files Jun 10, 2017
Changelog
LICENSE
README.md Added double width terminal support May 16, 2018
example-ttrc
setup.py added requests library dependency Mar 17, 2018
tt.png Use reverse bold color for lighter background to better match orginal… Jan 20, 2017

README.md

NOS Teletekst on the Linux console

Small Python app using curses to display Dutch NOS Teletekst on the Linux console. The original Teletekst font includes 2x6 raster graphics glyphs which have no representation in unicode; as a workaround the braille set is abused to approximate the graphics.

Demo

Pages are retrieved from NOS over HTTP (in JSON format).

Installation

sudo python ./setup.py install

or simply run the script straight from the checked out git source:

./src/tt

Usage

Termtekst takes an optional start page number as single argument, or defaults to page 100 if not specified:

tt [page]

Choos the page to view using number keys, browse using arrow keys or vim-style navigation (h,j,k,l), or click on page numbers with the mouse.

Key mappings

left  / h / [ : prev
right / l / ] : next
up    / j / , : prev sub page
down  / k / . : next sub page
[0-9]         : enter page number
q             : quit
d             : toggle double width

Configuration

Shortcut keys can be configured in ~/.ttrc, example file:

[bookmarks]
w = 704
g = 100
i = 100
You can’t perform that action at this time.