Skip to content
/ TSCD Public
forked from fosres/TSCD

Official Repository for tscd ASCII-Color Encoded Hex Dump

License

Notifications You must be signed in to change notification settings

keevol/TSCD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSCD Hex Dump

Introducing tscd: A Hex Dump For 256-bit ASCII Color-Supporting Terminal Emulators

alt text

SUPPORTED TERMINAL EMULATORS

For 256-bit ASCII Color-Supporting Terminal Emulators

e.g.: xterm-256

Download Instructions

Command Line Instructions:

Step 1

aria2c https://raw.githubusercontent.com/tanveerasalim/TSCD/master/src/tscd6.c

Step 2

gcc tscd6.c -o tscd

mv tscd /usr/local/bin

Step 3 (Optional)

SHA CHECKSUMS (text file of SHA1, SHA256, and SHA512 checksums in shasums.txt):

alt text

Manual

NAME

tscd

SYNOPSIS

tscd [options] [infile [outfile]]

DESCRIPTION

tscd can create a hexadecimal, decimal, binary, or octal dump of any file. The numerical values will be displayed in a table.To the rightmost of each row will be the ASCII characters corresponding to the ASCII codes in the table.

COLOR ENCODINGS

Below is the Color Encoding Scheme (ASCII):

alt text

OPTIONS

-b Binary dump specified. Each character in file will be translated into its binary number form and displayed in the table.

-c Specify number of columns per row in ASCII code table.

-d Decimal Dump specified. Each character in file will be translated into its binary number form and displayed in the table.

-o Octal Dump specified. Each character in file will be translated into its octal number form and displayed in the table.

-p Print view specified. tscd will simply print the contents of the file directly intointo stdout.

EXAMPLES

Print simple hexdump of a file to stdout

alt text

Print simple hexdump of a file where 16 ASCII hexadecimal codes are printed per row to stdout

alt text

Print binary dump of a file named tscd4.c to stdout

alt text

Print binary dump of a file named swiss.txt where up to four binary octects appear per row, to stdout

alt text

Print binary dump of a file named swiss.txt to a separate file named swiss_binary_dump.txt

Step 1:

alt text

Step 2:

(The file below is being viewed in vim. No color codes can be encoded into a text file.)

alt text

CONTACT ME

All questions, comments, compliments, complaints, criticism, and hate mail can be sent to: Tanveer.Salim@ttu.edu

LICENSE STATEMENT AND COPYLEFT PERMISSIONS

NOTICE: All the software in this repository

comes with absolutely

NO WARRANTY and provided "as is" basis.

Copyright (C) Tanveer Salim 2018-INFINITY

This software and all other software in this

repository is distributed with a GNU GPL

License v2.0. All are free to copy, share,

distribute, and/or modify this software,

even commercially as long as it compliant

with GNU GPL v2.0 LICENSING terms as well

as the terms of this copyright and license

statement.

All software that was inspired

or is a derivative of this work must have

the exact same LICENSE and copyright permissions.

About

Official Repository for tscd ASCII-Color Encoded Hex Dump

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.4%
  • Shell 0.6%