Coder Social home page Coder Social logo

m's Introduction

m text viewer

The m program is a simple text mode, text file viewer, developed for my own use, so don't expect too much.

The m viewer is designated specifically for viewing large text files or input streams, as viewed file is not fully loaded into memory, but are stored in a temporary file instead and read into memory in blocks as needed, not exceeding of specified total occupied memory size.

The maximum size of occupied memory and the block size can be specified by -total and -block parameters respectively.

Note: The viewer is designated to be used in Unix and/or Mac OS terminals but should also work in Windows command prompt environment.

Usage

$ m -h
Program m is designated to view and browse flat, text files.
Usage:
	m <options> [file]
where <options> are:
	-h	help, shows this text
	-b	remove backspaces
		default: false
	-block	single data block size limit (MB)
		default: 4
	-t	title to show
	-total	total data size limit (MB)
		default: 64
Press h when browsing, to see list of available shortcuts.

When browsing press h or F1 to display list of available keys and related actions.

Dependencies

The program is dependent on github.com/rivo/tview package and its dependencies.

License

Copyright (c) 2020, Bartek Rybak. All rights reserved.
Copyrights licensed under the MIT License.
See the accompanying LICENSE file for terms.

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.