• Aucun résultat trouvé

PIPPING FILES TO OTHER PARTITIONS

Dans le document Digital (fJ)" (Page 113-117)

DESTIRATIOR=ORIGIR 3.6.1 COPYING FILES

3.6.7 PIPPING FILES TO OTHER PARTITIONS

When you transfer files from your partition to another partition you must be careful not to do so while another person is working in that partition. If you add a file to another

partition it will change the Directory of that partition. When the other person tries to Save any work, he or she will get a R/O error message arrl lose the entire file.

The correct method of transferring files to another person's partition is to wait until the person is out of the partition or off the

network or is prepared to receive the file. (The other person will have to enter a CTRL C after the CP/M prompt before trying to save any files.)

Of course, you can always PIP a file from another partition into the partition you are working in without any trouble (assuming no one else is simutaneously working in the same

partition). If you are trading files with other people, the best method is to let them PIP the file from your partition to their partition, while you PIP the file from their partition to yours.

3.6.8 PIPPING

oro

THE PRIN'l"ER.

You can use PIP to send files to your printer by typing A>PIP LST:=Fil~. Using LST: instead of a drive letter tells your

computer to send the file to the printer to be

Release:4/1/84 3-15

DMS-5000 3.7 TYPE

printed (you must include the colon after LST).

For more on using printers see Section 5.

---~---If the file you are sending to the printer with PIP LST: was created with a word processing program it may not print correctly when sent wi th PIP LST:. Files created with word

processors should only be printed with the word processor's own print commands.

3.7 TYPE (To See a File's Contents).

If you wish to look at the contents of a particular file you can use the CP/M command TYPE. This command displays the contents of a file on your CRT screen. (TYPE will only work with files containing letters and numbers. It will not work with files containing graphics or nothing but computer command codes.)

TYPE is part of the operating system and is automatically on every drive. You use it from the Command Prompt by entering TYPE, Drive Letter, Colon, Filename, RE'.l'URN. For example,

C>TYPE A:QBROWN~X~ would display on your screen the contents of the fi Ie QBROWN.FOX on drive A.

If the file you wish to look at contains more lines than can fit on your CRT screen, the file will scroll up across the screen very fast until the end is reached. In other words, long files flash across the screen much too fast to

DMS-5000 3.7 TYPE

be read, stopping only at the end with the final lines displayed. However, you can freeze this scrolling action at any time by entering a CTRL S or by pressing the PAUSE key. CTRL S instantly stops the file from moving up the screen.

Another CTRL S restarts the scrolling action. By alternately freezing and scrolling the file you can read it all. (Since the file scrolls fast you have to be quick with your freeze commands; it may take you a little practice to get the timing right.)

---NOTE---The TYPE command does NOT print out the contents of a file onto a piece of paper even if there is a printer connected to your workstation. If you wish to have the contents of a file printed onto paper you must use the command CTRL P in

conjunction wi th the TYPE command. See section 5 for information on printers and section 3.8 for information on CTRL P.

(You can also use a word processing program to look at the contents of a fi Ie. Wi th a word processing program you can read the contents and also add, change, or delete them. Wi th the TYPE program you can only look at what is in the file, not edit it. However, it takes fewer keystrokes to see a file with TYPE than with a word processing program, so if all you want to do is check what is in the file you may wish to use TYPE.)

Release: 4/1 /84 3-17

DMS-5000 3.8 CTRL P

---NOTE---Files created with word processors and other applications programs often place special

computer command symbols in the file that can be successfully read only by that particular

application program. If you try to read such a file with the TYPE command it may cause your workstation to display bizarre material on the screen or stop functioning until it is reset wi th the RESET switch (see sec. 2.14).

3.8 CTRL P (Typing to Paper).

If you have a printer connected to either your workstation or the HiNet Spooler . (see

section 5) you can command the computer to print out on paper whatever you send to the screen. To do this, ready the printer as described in Section 5 and the printer's instruction manual, then enter a CTRL P command at the command prompt. From that point on, everything

subsequently sent to your screen will also be sent to the printer until you enter another CTRL P or aCTRL C to turn off the

send-to-the-pr inter command.

---~---NOTE---Anything already on the screen before the CTRL P was entered will not be printed. Everything that appears on the screen after you enter the CTRL P (including your commands) will be printed until another CTRL P is issued.

OMS-SOOO 3.9 SUBMIT

To print out a hard copy of a directory, for example, enter a CTRL P before the SO or OIR command. ('Hard copy' is computer jargon for something printed on a piece of paper.) To change the names of several files, and obtain a hard copy record of what was done, use CTRL P before beginning the REN commands; each of your REN commands will be recorded by the printer.

You can also use CTRL P in conjunction with the TYPE Command to print out the contents of a file. B>CTRL ~ TYPE B:Warnpees.nov<CR>, for example, will send to the printer the command line, the contents of the file Warnpees.nov and everything else you do until you send another CTRL P or a CTRL C.

---NOTE---TO print a file created by a word processing program or some other applications program with

its own set of print commands, use that program's print commands and not CTRL P. The print commands associated with an applications program allow you much greater control over what

is to be printed and in what manner. Also, files created with word processing programs contain

invisible, embedded computer commands that CTRL P can neither understand nor carry out.

Dans le document Digital (fJ)" (Page 113-117)

Documents relatifs