Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site caip.RUTGERS.EDU Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!lll-crg!seismo!caip!CC004049%BROWNVM.BITNET From: CC004049%BROWNVM.BITNET@WISCVM.ARPA Newsgroups: net.micro.amiga Subject: CLI Summary Message-ID: <578@caip.RUTGERS.EDU> Date: Wed, 27-Nov-85 13:17:13 EST Article-I.D.: caip.578 Posted: Wed Nov 27 13:17:13 1985 Date-Received: Fri, 29-Nov-85 21:36:38 EST Sender: daemon@caip.RUTGERS.EDU Organization: Rutgers Univ., New Brunswick, N.J. Lines: 107 From: George S. Musser Jr. I've hacked out the meaning of most of the CLI commands. If anyone has any corrections, drop Info-Amiga or me a line. I'll post a revised version if necessary. If you type ?, CLI will tell you the syntax of that command. I omit the command syntax here; generally, it's obvious from the meaning of the command. Summary Of CLI Commands RUN Execute program and offer a new CLI prompt. (If you execute a program by typing its name, CLI will wait for the program to end before prompting.) BREAK n ... Executes appropriate control code in task n. Defaults to |C. Say task 2 is ABasiC. BREAK 2 would execute a |C in ABasiC, halting any BASIC program. ASSIGN Define location of system 'volumes', such as C:, S:, DEVS:, LIBS:, FONTS:, and SYSTEM:. These default to the appropriate directory on the disk with which you booted up. This is my favorite CLI command. With ASSIGN, you can boot up using one disk, and then start using another disk instead of getting that annoying 'Insert WorkBench disk' message. For example, I copy the CLI commands to RAM:, then ASSIGN C: RAM:. From now on, Intuition will look to RAM: to find system commands, instead of asking me to insert the disk with which I booted up. CD Change directory. A la UNIX. DATE Set system time/date. Unlike MSDOS, the syntax is quite strict: You MUST type the 24-hour time, then the date in 26-Nov-85 format. (Why didn't CBM-Amiga include a hardware clock? Setting DATE on boot-up is a real annoyance.) DIR Lists filenames in alphabetical order and in two columns. ECHO "string" Print string on console. EDIT Line editor. I prefer ED. ENDCLI Close current CLI window. EXECUTE Run executable file. An exec file is a list of CLI commands, waiting to be used. FAULT n Display error message corresponding to error code n. FORMAT Disk format and verify. INFO Check information on mounted disks. JOIN x y as z Combine files x and y into z. LIST List files, file sizes, date and time of last mod, etc. MAKEDIR Create directory. PROMPT Redefine CLI prompt to a desired string. QUIT Exit EXEC file. RENAME Rename file. Will also take a file into a new directory. SEARCH Scans ASCII file for specified text. SORT Sort text file alphanumerically. WAIT Pause for x seconds, y minutes, or until a given time. COPY Copy a file or a directory. To copy all the files in a directory, use COPY C/ TO D ALL. Single-drive users, beware! COPY seems to have almost no memory buffering, so COPYing a 2K file may take a dozen swaps -- or, worse, an infinite number of swaps. (I'm serious. After 25 swaps for a 2K file, I decided something was wrong. After rebooting, I found that the file had COPYed correctly; apparently, COPY doesn't know when it's done.) DELETE Annihilate file(s). Here's another of my favorite things: you can delete up to nine files on a single DELETE line. DISKCOPY Copy a disk, track by track. ED Full-screen editor. I'll post ED commands later. INSTALL Put the system onto a disk. Equivalent to MSDOS's SYS. LAB