Skip to content

zevv/termtekst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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