请输入您要查询的百科知识:

 

词条 Peripheral Interchange Program
释义

  1. History

  2. PIP in CP/M and MP/M

  3. See also

  4. References

{{Refimprove|date=July 2009}}{{cleanup HTML|date=February 2019}}{{Infobox Software
| name = Peripheral Interchange Program (PIP)
| logo =
| screenshot =
| screenshot size =
| caption =
| author = Digital Equipment Corporation / Harrison "Dit" Morse
| developer = Digital Research / Gary Kildall, Heath Company
| released = {{Start date and age|1960s}}
| latest release version =
| latest release date =
| operating system = BATCH-11/DOS-11, RT-11, RSTS/E, OS/8, TOPS-10, TOPS-20, CP/M, MP/M, DOS Plus, HDOS
| genre = Command
| license =
| website =
}}

Peripheral Interchange Program (PIP) was a utility to transfer files on and between devices on Digital Equipment Corporation's computers. It was first implemented on the PDP-6 architecture by Harrison "Dit" Morse early in the 1960s. It was subsequently implemented for DEC's operating systems for PDP-10, PDP-11, and PDP-8[1] architectures.

In the 1970s and 1980s Digital Research implemented PIP on CP/M[2] and MP/M.[3]

History

It is said that during development it was named ATLATL, which is an acronym for "Anything, Lord to Anything, Lord."[4] This humorously described both its purpose as a device-independent file copying tool and the difficulties at the time of safely copying files between devices.

The original PIP syntax was

using the left-arrow character from the ASCII-1963 character set that the Flexowriter keyboards of the time used. As other terminals were introduced that used later versions of ASCII (without the left-arrow character), PIP allowed the syntax

The underscore (_) character, which was in the same ASCII character position that left-arrow had occupied, was still supported to separate the destination and source specifications.

Source and destination were file specification strings. These consisted of a device name, typically 2 characters for device type such as DK (disk), LP (line printer), MT (magnetic tape), etc. and a unit number from 0 to 7, a colon (:), filename and extension.

Copying was generally permitted between any file specification to any other where it made sense.

As late as the mid 1980s, PIP was still in common use on TOPS-10, TOPS-20 and PDP-11 systems.

PIP in CP/M and MP/M

Gary Kildall, who developed CP/M and MP/M, based much of the design of its file structure and command processor on operating systems from Digital Equipment, such as RSTS/E for the PDP-11. Besides accessing files on a floppy disk, the PIP command in CP/M could also transfer data to and from the following "special files":

  • CON: — console (input and output)
  • AUX: — an auxiliary device. In CP/M 1 and 2, PIP used PUN: (paper tape punch) and RDR: (paper tape reader) instead of AUX:
  • LST: — list output device, usually the printer
  • PRN: — as LST:, but lines were numbered, tabs expanded and form feeds added every 60 lines
  • NUL: — null device, akin to \\Device\ull and /dev/null
  • EOF: — input device that produced end-of-file characters, ASCII 0x1A
  • INP: — custom input device, by default the same as EOF:
  • PUN: — punch card unit:
  • OUT: — custom output device, by default the same as NUL:

These were not true device files, however, because their handling was limited to PIP. The two custom devices INP: and OUT: were implemented as calls to fixed locations at the start of the PIP program; the intention was that the user, or the OEM, could patch these locations to add their own input or output devices. 246 bytes of free space were left in the program for this purpose.

In addition to the usual PIP destination=source syntax, PIP under CP/M still allowed the old PIP destination_source form. This behaviour was not documented, and CP/M generally did not have a standard for which characters could appear in file names; therefore other programs could and did create filenames containing underscore characters, which PIP could not handle.

See also

  • copy (command) – RT-11, RSX-11, OpenVMS, DOS, OS/2 and Microsoft Windows command for copying data
  • cp (Unix) – Unix command for copying data
  • Kermit (protocol)

References

1. ^[https://www.grc.com/pdp-8/docs/OS8_System_Reference_Manual.pdf OS/8], OS/8 System Reference Manual
2. ^CP/M, CP/M Operating System Manual
3. ^MP/M, MP/M Operating System User's Guide
4. ^PIP, The Jargon File

3 : CP/M files|CP/M software|File copy utilities

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 21:45:45