LAR

Section: Misc. Reference Manual Pages (linus)
Index Return to Main Contents
 

NAME

LAR - CP/M lu compatible file archiver  

SYNOPSIS

lar key library [ file ... ]  

DESCRIPTION

Lar is a Unix program to manipulate CP/M LU format libraries. The primary use of lar is to combine several files together for upload/download to a personal computer.

Its actions are controlled by the key argument. The key is a string of characters containing at most one function letter and possibly one or more function modifiers. Other arguments to the command are files specifying which files are to be dumped or restored.

The function portion of the key is specified by one of the following letters:

u
The named files are added to the library.
e
The named files are extracted from the tape.
p
Print files in library.
d
Delete files in library.
r
Reorganize library.
t
The names of the specified files are listed each time that they occur on the library. If no files argument is given, all the names on the tape are listed.

The following characters may be used in addition to the letter that selects the desired function:

v
Normally, Lar does its work silently. The v (verbose) option causes it to type the name of each file it treats, preceded by the function letter. With the t function, v gives more information about the library entries than just the name.
 

DIAGNOSTICS

Invoking lar without arguments prints a help message.  

AUTHOR

The original CP/M library program LU is the product of Gary P. Novosielski. Unix version by Stephen Hemminger, Mitre Corp. Bedford MA.  

BUGS

Pathnames are stored in CP/M format (XXXXXXXX.XXX).
Lar tries to detect text files vs. binaries by checking for non-Ascii (8th bit set) chars. If the file is text lar will throw away Control-Z chars which CP/M puts on the end. All files in the library are padded with Control-Z up to the end to the CP/M sector size if necessary.

No effort is made to handle the difference between CP/M and Unix end of line chars. CP/M uses Cr/Lf and Unix just uses Lf.  

SEE ALSO

comhex(1), chek(1), cpmcat(1), crck(1), mkbin(1), sum(1), wc(1).
 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
AUTHOR
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 13:15:58 GMT, November 11, 2024