iequahsh / termtekst

NOS teletekst client for linux console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Configuration

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

[bookmarks]
w = 704
g = 100
i = 100

About

NOS teletekst client for linux console


Languages

Language:Python 100.0%