Skip to content

pamoroso/insphex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insphex

Insphex is a hex dump tool that shows the contents of files as a list of hexadecimal values and the correspnding ASCII characters. The program is written in Common Lisp and Interlisp, runs on the Medley Interlisp environment, and is similar to the Linux tool hexdump.

The output can go to a window with a menu of commands, like this:

Insphex output window

or to the standard output:

Insphex output window

Installation

Download the file INSPHEX from the project repo, copy it to a file system location your Medley system has access to, and optionally compile the source by evaluating the following expression at a Common Lisp Exec such as the XCL Exec:

(compile-file "INSPHEX")

Next, to load the program evaluate:

(load "INSPHEX.DFASL")

or:

(il:filesload insphex)

Usage

Once Insphex is loaded you can call the following functions and commands.

HEXDUMP

To run the program evaluate:

(INSPHEX:HEXDUMP FILENAME &OPTIONAL NEW-WIN-P)

where FILENAME is a file name. The function INSHPEX is exported from package INSPHEX nicknamed HX.

The output goes to *STANDARD-OUTPUT* unless the optional argument NEW-WIN-P is non NIL, in which case the program displays the hex dump in a separate window. The window has a menu with the following commands:

  • Next: displays the next page of output
  • Reread: redisplays the input file from the beginning
  • Exit: quits the program.

Release history

See the list of releases for notes on the changes in each version.

Learn more

Author

Insphex is developed by Paolo Amoroso.

License

This code is distributed under the MIT license, see the LICENSE file.