Code Monkey home page Code Monkey logo

trickle's Introduction

trickle / tritty

Slow pipe and terminal.

TRICKLE is used as part of a shell pipeline and had very low throughput,
hence the name: data trickles through the pipe. By default, it passes on 600
bits per second, but this can be configured with the -b flag.

Usage:

  trickle [-b bitrate] <file
    or
  ... | trickle [-b bitrate]

Examples:

  $ trickle <README
     ...
  $ ls | trickle -b2600
     ...
  $ ls | trickle -b57.7k
     ...

The format for the -b (for 'baud') option is a number in range 50-57600. A
decimal separator and 'k' suffix can be used as per the example above.

TRITTY ('trickle tty') might be the more interesting version of this tool: it
spawns an interactive subterminal with very low throughput. It simulates the
experience of using a terminal over a slow serial connection.

Usage:

  tritty [-b bitrate] [command ...]

Examples:
 
  $ tritty -b14.4k elinks news.ycombinator.com
  
  $ tritty -b2600 bash  # now in the tritty session
  $ man man
     ...
  $ exit
  exit
  $                    # back to regular terminal

The command argument can be ommitted, in which case the default shell $SHELL
will be used, or /bin/sh if $SHELL is not defined.

Compatibility: tested on FreeBSD, macOS, Linux and Linux with musl.

Building: after tweaking the Makefile if desired,

  make

By Sijmen J. Mulder <[email protected]>

trickle's People

Contributors

sjmulder 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.