Giter VIP home page Giter VIP logo

ttt's Introduction

Tests Formatted .c and .h files

TTT

TTT Normal View TTT, Terminal Text TV, is a terminal version of the Swedish teletext system ("Text-TV") written in C, relying on the Text TV API.

Dependencies

Internal libraries

  • jsmn (included in the source)

Installation

Install libcurl and ncurses if you do not already have them installed. These should be available in the repositories of your distribution - if not, refer to the links above.

Official packages

Not yet available.

Building from source

$ git clone https://github.com/McFrappe/TTT.git
$ cd TTT
$ sudo make install

The default installation path prefix is /usr/local, i.e. the program is installed to /usr/local/bin. This can be changed by specifying another prefix:

$ sudo PREFIX="<your/prefix>" make install

Usage

The program is launched with ttt (provided that the binary is included in your $PATH).

Keybindings

All keybindings are listed in the help page of the program. This page can be opened and closed using ?.

Arguments

  • -h - display help message
  • -r - restore terminal colors on quit (using the reset syscall)
  • -d - do not overwrite terminal colors (uses your terminal colors instead)
  • -t - use transparent background for pages (instead of black)

Display

TTT -dTTT -d -t

Development usage

$ make run        # run the program
$ make memrun     # run the program with valgrind

$ make test       # run tests
$ make memtest    # run tests with valgrind

$ make clean      # removes all compiled files

ttt's People

Contributors

frewacom avatar mcfrappe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.