GithubHelp home page GithubHelp logo

zigazou / ebcdic2vdt Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 8 KB

Extract Videotex pages from 8" Unitel disc images

Makefile 1.06% Shell 73.85% C 25.09%
minitel videotex unitel ebcdic conversion

ebcdic2vdt's Introduction

Ebcdic2vdt

The ebcdic2vdt / unitel2vdt tools have been written to extract Videotex pages from 8" Unitel disc images.

Requirements

These tools need a Linux environment with Bash and GCC. unitel2vdt only requires bash and no compilation.

Compilation

Running make will generate the searchpage command in the current directory.

It is used by the splitpages.bash script.

Usage

Directly converting Unitel disc image into videotex files

./unitel2vdt.bash mydiskimage.img

Each videotex page is saved into a separate file like:

mydiskimage.img-003229.vdt mydiskimage.img-005377.vdt etc...

This script takes care of:

  • converting EBCDIC
  • extract videotex pages from their possible fixed location on the disk
  • keep only non empty pages

Converting a raw Unitel disc image to ASCII

Unitel discs come from systems using EBCDIC. Since the Videotex pages use the ASCII encoding, the images must be converted.

This is the role of the ebcdic2vdt.bash script:

cat disc.img | ./ebcdic2vdt.bash > disc.img.vdts

Extracting the Videotex pages

Once the Unitel disc image has been converted, Videotex pages can be extracted:

./splitpages.bash disc.img.vdts

The generated files will look like this:

disc.img-46336-47376.vdt
disc.img-48384-49400.vdt
disc.img-50432-51841.vdt
disc.img-52480-54110.vdt

Notes

These are quick and dirty tools, don't expect too much!

ebcdic2vdt's People

Contributors

cquest avatar zigazou avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cquest

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.