DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦b26399698⟧ TextFile

    Length: 1294 (0x50e)
    Types: TextFile
    Notes: UNIX file
    Names: »snarf.l«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/manl/snarf.l« 

TextFile

.ig
	@(#)snarf.l
	@(#)Copyright (C) 1985 by The Institute of Algebraic Meditation
..
.TH SNARF 8
.SH NAME
snarf,barf \- read and write raw image files
.SH SYNOPSIS
snarf [-nn[a|b|c]] [file]
.br
barf [-nn[a|b|c]] [file]
.SH DESCRIPTION
These programs read and write graphics ram data.
The option
.I nn
gives the number of the image in the file (default is 1).
The letters
.I a-c
indicate pages of graphics ram, so that
.I a
is the first 400 lines,
.I b
is the second 400 lines, and
.I c
is the first 800 lines (default is 
.I a).
If the double page
.I c
is specified, then the image numbers
.I nn
usually would be given as 1, 3, 5, and so on.
.LP
Image files take a lot of disk space.
Therefore a particularly suitable choice for the
.I file
argument is the block floppy device
.I /dev/flop.
Up to 6 single page images (numbered 1 to 6, 128kB each)
can be stored on a diskette.
If
.I file
is not given, standard input/output is assumed.
Thus
.IR barf ing
with no arguments and no IO re-direction has
distinctly unpleasant effects.
.SH EXAMPLES
.nf

snarf /dev/null     ; clear the first page of ram
snarf -3 /dev/flop  ; get 3rd image from the diskette
barf -5b imagfile   ; put 2nd ram page in a file

.fi
.LP
The second example may well create a hole in the file,
occupying no physical space.