lifput

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
REFERENCES
BUGS
AUTHOR

NAME

lifput - put a LIF file into a LIF image file

SYNOPSIS

lifput [-l] [-p] <LIF image file> <LIF file>

lifput [-l] [-p] <LIF image file>

(last form gets the LIF file from standard input)

lifput -?

DESCRIPTION

lifput put a single LIF file, specified by LIF file into a LIF image file. The LIF file must have a valid LIF header. If lifput is executed with 2 arguments after the options then the last argument is used as the name of the file that is copied to the LIF image file. If only 1 arguments are given then the file is copied from standard input.

Note: The import of the LIF file into the LIF image file will only be successful if:

-

LIF file has a valid LIF header.

-

The file name in the LIF header of the LIF file is valid (only capital letters and digits starting with a letter, max 10 characters long) and does not exist in the directory of the LIF image file.

-

The file type in the LIF header of the LIF image file is known by the LIFUTILS.

-

There is at least one free entry in the directory area.

-

There is a sufficient number of contiguous blocks in the file area available to store the file.

OPTIONS

-l

Relax file name checking, allow underscores in filenames.

-p

Write file to a floppy disk with a LIF file system. Note: this option is only supported on LINUX. Specify the floppy device instead of the lif-image-filename. See the LIFUTILS tutorial for details.

-?

Print a message giving the program usage to standard error.

EXAMPLES

If disk1.dat is a LIF image file and test1.p41 is a HP41 LIF program file, then

lifput disk1.dat test1.p41

will copy the HP41 LIF program file test1.p41 to the LIF image file disk1.dat.

REFERENCES

The LIF disk directory format is documented in the HP-IL Interface Owners Manual for the HP-71 (Hewlett-Packard) with further details (particularly HP41 and HP75 file types) in the HP-41 Synthetic Quick Reference Guide (Jeremy Smith)

BUGS

Not all file types have been tested.

AUTHOR

lifput was written by Joachim Siebold, bug400@gmx.de using code from Tony Duell, ard@p850ug1.demon.co.uk and has been placed under the GNU Public License version 2.0