AMIGA DOS 3.0 COMMANDS ADDBUFFERS Format: ADDBUFFERS [] Template: DRIVE/A, BUFFERS/A Purpose: To instruct the file system to add cache buffers. Path: C:ADDBUFFERS Spesifications: ADDBUFFERS adds buffers to the list of buffers available for . Allocating additional buffers makes disk access significantly faster. However, each additional buffer reduces free memoty by approximately 500 bytes. The default buffer allocation is 5 for floppy dives and 30 for hard disks. The number of buffers you should add depends on the amount of extra memory available. There is no fixed upper limit, but adding too many buffers can actually reduce overall system performance by taking RAM away form other system functiones. If a negative number is spesified, that many buffers is subtracted form the current acollation. The minimum number of buffers is one; however, using only one is not recommended. Thirty buffers are generally recommended for a floppy drivein a 512KB system. The optimal number for a hard disk depends on the type and size of your drive. Usually you should use the default value recommended by the HDToolbox program. (This value can be displayed by selecting the Advanced Options gadget on the Partitioning screen.) As a general rule, you can use 30 to 50 buffers for every megabyte of disk storage in your system. If only the argument is specified, ADDBUFFERS displays the number of buffers currently allocated for that drive. Example 1: 1> ADDBUFFERS DF0: DF0: has 5 buffers Displays the number of buffers currently allocated to drive df0:. Example 2: 1> ADDBUFFERS DF1: 25 DF1: HAS 30 BUFFERS Adds 25 buffers to drive df1: and displays the total. ADDDATATYPES Format: ADDDATATYPES {FILES} [QUIET] [REFRESH] Template: FILES/M, QUIET/S, REFRESH/S Purpose: To build a list of data types that datatypes.library can understand. Path: C:ADDDATATYPES Specification: ADDDATATYPES is used by datatypes.library to build a list of data types than it can understand. DataType descriptors are stored in DEVS:DataTypes. ADDDATATYPES can also be called by application Installation scripts to add their own data types to the list. Basically, ADDDATATYPES is not a user program. The FILES option specifies the name(s) of the DataType descriptors to add to the list of DataType descriptors. The QUIET option, if specified, will surpress error and output messages. The REFRESH option, is specified, will scan the DEVS:DataTypes directory for new or changed DataType descriptors. ADDDATATYPES is valid on Workbench 3.0 level software. ALIAS Format: ALIAS [] [] Template: NAME, STRING/F Purpose: To set or display command aliases. Path: Internal Specification: ALIAS permits you to create aliases, or alternative names, for AmigaDOS commands. Using an alias is like replacing a sentence with a single word. With ALIAS, you can abbreviate frecuently used commands or replace a standard command name with a different name. When AmigaDOS encounters , it replaces it with the defined , integrates the result with the rest of the command line, and attempts to interpret and execute the resulting line as an AmigaDOS command. So is the alias (whatever you want to call the command), and is the command to be substituted for the alias. An alias must be entered at the beginning of the command line. You can enter arguments after the alias. However, you cannot create an alias to represent a series of command arguments. For example, in the following command line: 1> LIST PicDir TO RAM:filelist LFORMAT="SYS:Utilities/display %f%n" you could not replace the LFORMAT argument with an alias. You can substitute a filename or other instruction within an alias by placing square brackets ([ ]) in the . Any argument entered after the alias will be inserted at the brackets. ALIAS displays the for that alias. ALIAS alone lists all current aliases. Aliases are local to the Shell in which they are defined. If you create another Shell with the NEWSHELL command, it will share the same aliases as its parent Shell. However, if you create another Shell with the Execute Command menu item, it will not recognize aliases created in your original Shell. To create a global alias that will be recognized by all Shells, insert the alias in the Shell-startup file. To remove an ALIAS, use the UNALIAS command. Example 1: 1> ALIAS d1 DIR DF1: Entering d1 results in a directory of the contents of the disk in DF1:, just as ifyou had entered DIR DF1:. Example 2: 1> ALIAS hex TYPE [] HEX NUMBER creates an alias called hex that displays the contents of a specifed fle in hexadecimal format. The brackets indicate where the flename will be inserted. If you then entered: 1> hex Myfile the contents of Myfile would be displayed in hexadecimal format with line numbers. See also: UNALIAS ASK Format: ASK Template: PROMPT/A Purpose: To obtain user input when executing a script fle. Path: Internal Specification: ASK is used in scripts to write the string specifed by to the current window then wait for keyboard input. Valid keyboard responses are Y (yes), N (no), and Return (no). If Y is pressed, ASK sets the condition flag to 5 (WARN). If N or Return is pressed, the condition flag is set to 0. To check the response, an IF statement can be used. If the contains spaces, it must be enclosed in quotation marks. Example: Assume a script contained the following commands: ASK Continue? IF WARN ECHO Yes ELSE ECHO No ENDIF When the ASK command is reached, "Continue?" will appear on the screen. If Y is pressed, Yes will be displayed on the screen. If N is pressed, No will be displayed. See also: IF, ELSE, ENDIF, WARN ASSIGN Format:ASSIGN [: {dir}] [LlST] [EXlSTS] [DlSMOUNT] [DEFER] [PATH] [ADD] [REMOVE] [VOLS] [DlRS] [DEVlCES] Template:NAME, TARGET/M, LlST/S, EXlSTS/S, DlSMOUNT/S, DEFER/S, PATH/S, ADD/S, REMOVE/S, VOLS/S, DlRS/S, DEVlCES/S Purpose:To control assignment oflogical device names to file system directories. Path: C:ASSlGN Specifcation: ASSIGN allows directories to be referenced via short, convenient logical device names rather than their usual names or complete paths. The ASSIGN command can create assignments, remove assignments, or list some or all current assignments. If the and {dir} arguments are given, ASSIGN will assign the given name to the specified directory. Each time the assigned logical device name is referred to, AmigaDOS will access the specified directory. If the given is already assigned to a directory, the new directory will replace the previous directory. (Always be sure to include a colon after the argument.) If only the argument is given, any existing ASSIGN of a directory to that logical device will be cancelled. You can assign several logical device names to the same directory by using multiple ASSIGN commands. You can assign one logical device name to several directories by specifying each directory after the argument or by using the ADD option. When the ADD option is specified, any existing directory assigned to is not cancelled. Instead, the newly specified directory is added to the ASSIGN list, and the system will search for both directories when is encountered. If the original directory is not available, ASSIGN will be satisfied with the newly added directory. To delete a name from the ASSIGN list, use the REMOVE option. If no arguments are given with ASSIGN, or if the LIST keyword is used, a list of all current assignments will be displayed. If the VOLS, DIRS, or DEVICES switch is specified, ASSIGN will limit the display to volumes, directories, or devices, respectively. When the EXISTS keyword is given along with a logical device name, AmigaDOS will search the ASSIGN list for that name and display the volume and directory assigned to that device. If the device name is not found, the condition flag is set to 5 (WARN). This is commonly used in scripts. Normally, when the (dir) argument is given, AmigaDOS immediately looks for that directory. If the ASSIGN commands are part of the Startup-sequence, the directories need to be present on a mounted disk during the boot procedure. If an assigned directory cannot be found, a requester appears asking for the volume containing that directory. However, two new options, DEFER and PATH, will wait until the directory is actually needed before searching for it. The DEFER option creates a "late-binding" ASSIGN. This ASSIGN only takes effect when the assigned object is first referenced, rather than when the assignment is made. This eliminates the need to insert disks during the boot procedure that contain the directories that are assigned during the Startup-sequence. When the DEFER option is used, the disk containing the assigned directory is not needed until the object is actually called upon. The assignment remains in force until explicitly changed. For example, if you ASSIGN FONTS: to DF0:Fonts with the DEFER option, the system will associate FONTS: with whatever disk is in DF0: at the time FONTS: is called. If you have a Workbench disk in DF0: at the time the FONTS: directory is needed, the system will associate FONTS: with that particular Workbench disk. If you later remove that Workbench disk and insert another disk containing a FONTS: directory, the system will specifically request the original Workbench disk the next time FONTS: is needed. It is not necessary for the assigned name to retain the name of the directory nor is it necessary for it to be uppercase. For example, both CLIPS and Clips can be assigned to the Ram Disk:Clipboards directory. The PATH option creates a "non-binding" ASSIGN. A non-binding ASSIGN acts like a DEFERred ASSIGN except that it is re-evaluated each time the assigned name is referenced. This prevents the system from expecting a particular volume in order to use a particular directory (such as the situation described in the example above). For example, ifyou assign FONTS: to DFO:Fonts with the PATH option, any disk in DF0: will be searched when FONTS: is referenced. As long as the disk contains a FONTS: directory, it will satisfy the ASSIGN. You cannot assign multiple directories with the PATH option. The PATH option is especially useful to users with floppy disk systems as it eliminates the need to reinsert the original Workbench disk used to boot the system. As long as the drive you have assigned with the PATH option contains a disk with the assigned directory name, the system will use that disk. The DISMOUNT option disconnects a volume or device from the list of mounted devices. It does not free up resources; it merely removes the name from the list. There is no way to cancel a DISMOUNT without rebooting. DISMOUNT is primarily for use during software development. Careless use of this option may cause a software failure. Example 1: 1> ASSIGN FONTS: MyFonts:Fontdir assigns the FONTS: directory to Fontdir on MyFonts:. Example 2: 1> ASSIGN LIST Volumes: Ram Disk [Mounted] Workbench [Mounted] MyFonts [Mounted] Directories: LOCALE Workbench:Locale KEYMAPS Workbench:Devs/Keymaps PRINTERS Workbench:Devs/Printers REXX Workbench:S CLIPS Ram Disk:Clipboards ENV Ram Disk:Env T Ram Disk:T ENVARC Workbench:Prefs/Env-Archive SYS Workbench: C Workbench:C S Workbench:S L Workbench:L FONTS MyFonts:Fontdir DEVS Workbench:Devs LIBS Workbench:Libs Devices: PIPE AUX RAM CON RAW PAR SER PRT DFO DF1 shows a list of all current assignments. Example 3: 1> ASSIGIV FONTS: EXISTS FONTS: MyFonts:FontDir is an inquiry into the assignment of FONTS:. AmigaDOS responds by showing that FONTS: is assigned to the FontDir directory of the MyFonts volume. Example 4: 1> ASSIGN LIBS: SYS:Libs BigAssem:Libs PDAssem:Libs is a multiple-directory assignment that creates a search path containing three Libs directories. These directories will be searched in sequence each time LIBS: is invoked. Example 5: 1> ASSIGN DEVS: REMOVE removes the DEVS: assignment from the system. Example 6: 1> ASSIGN WorkDisk: DF0: DEFER 1> ASSIGN WorkDisk: EXISTS WorkDisk sets up a late-binding assignment of the logical device WorkDisk:. The disk does not have to be inserted in DF0: until the first time you refer to the name WorkDisk:. Notice that ASSIGN shows DF0: enclosed in angle brackets to indicate that it is DEFERred. After the first reference to WorkDisk:, the volume name of the disk that was in DF0: at the time will replace . Example 7: 1> ASSIGN C: DF0:C PATH 1> ASSIGN C: EXISTS WorkDisk will reference the C directory of whatever disk is in DF0: at the time a command is searched for. Notice that ASSIGN shows DFO:C in square brackets to indicate that it is a non-binding ASSIGN. Example 8: 1> ASSIGN LIBS: ZCad:Libs ADD adds ZCad:Libs to the list ofdirectories assigned as LIBS:. Example 9: 1> ASSIGN LIBS: ZCad:Libs REMOVE removes ZCad:Libs from the list of directories assigned as LIBS:. AUTOPOINT Format: AUTOPOINT [CX_PRIORITY ] Template: CX_PRlORlTY/N/K Purpose:To automatically select any window the pointer is over. Path: Extras:Tools/Commodities/AutoPoint Specification: When AUTOPOINT is run, any window that the pointer is over is automatically selected. You do not need to click the selection button to activate it. The CX_PRIORITY argument sets the priority of AutoPoint in relation to all the other Commodity Exchange programs. (This is the same as entering a CX_PRIORITY= Tool Type in the icon's Information window.) All the Commodity Exchange programs are set to a default priority of 0. If you specify a value higher than 0, AutoPoint will take priority over any other Commodity Exchange program. To exit AutoPoint when it has been started from a Shell, press Ctrl+C or use the BREAK command. Example: 1> AUTOPOINT starts the AutoPoint program. AVAIL Format: AVAIL [CHlP|FAST|TOTAL] [FLUSH] Template: CHlP/S, FAST/S, TOTAL/S, FLUSH/S Purpose:To report the amount of CHIP and FAST memory available. Path: C:AVAlL Specification: AVAIL gives a summary of the system RAM, both CHIP and FAST. For each memory type, AVAIL reports the total amount of memory, how much is available, how much is currently in use, and the largest contiguous memory block not yet allocated. By using the CHIP, FAST and/or TOTAL options, you can have AVAIL display only the number of free bytes of CHIP, FAST or TOTAL RAM available, instead of the complete summary. This value can be used for comparisons in scripts. The FLUSH option causes all unused libraries, devices, and fonts to be expunged from memory. Example l: 1> AVAIL Type Available In-Use Maximum Largest chip 233592 282272 515864 76792 fast 341384 182896 524280 197360 total 574976 465168 1040144 197360 A complete summary of system RAM is displayed. Example 2: 1> AVAIL CHIP 233592 The number of free bytes of CHIP RAM is displayed. BINDDRIVERS Format: BINDDRIVERS Template: (none) Purpose: To bind device drivers to hardware. Path: C:BlNDDRlVERS Specification: BINDDRIVERS is used to load and run device drivers for add-on hardware that is automatically configured by the expansion library. The device drivers must be in the SYS:Expansion directory for BINDDRIVERS to find them. BINDDRIVERS is normally placed in the Startup-sequence file. If drivers for expansion hardware are in the Expansion directory, you must have a BINDDRIVERS command in your Startup-sequence or the hardware will not be configured when the system is booted. BLANKER Format:BLANKER [CX_PRIORITY ] [CX_POPKEY ] [CX_POPUP=) [SECONDS ] [CYCLECOLORS ] [ANlMATlON ] Template:CX PRlORlTY/N/K, CX POPKEY/K, CX POPUP/K, SECONDS/N/K, CYCLECOLORS/K, ANlMATlON/K Purpose:To cause the monitor screen to go blank if no input has been received within a specified period of time Path: Extras:Tools/Commodities/Blanker Specification: BLANKER is a Commodity Exchange program that causes the screen to go blank if no mouse or keyboard input has been received in the specified number of seconds. The SECONDS argument allows you to specify the number of seconds that must pass. The acceptable range is from 1 to 9999. Default is 60 seconds. CX_POPKEY allows you to specify the hot key for the program. If more than one key is specified, be sure to enclose the entire argument in double-quotes (i.e., CX_POPKEY="Shift F1"). CX_POPUP=no will prevent the Blanker window from opening. (By default the program window opens when the command is invoked.) CX_PRIORITY sets the priority of Blanker in relation to all other Commodity Exchange programs. All the Commodity Exchange programs are set to a default priority of 0. If CYCLECOLORS=yes is specified, Blanker will cycle through a series of colors. If CYCLECOLORS=no is specified, Blanker will display the default color. If ANIMATION=yes is specified, the screen will display a series of random splines. If ANIMATION=no is specified, a blank screen will appear. To exit Blanker when it has been started through the Shell, press Ctrl+C or use the BREAK command. Example 1: 1> BLANKER SECONDS=45 The Blanker window will open, and 45 will be displayed inside its text gadget. If no mouse or keyboard input is received during a 45 second interval, the screen will go blank. Example 2: 1> BLANKER CX_POPUP=no The Blanker program will start. If no input is received within 60 seconds (the default), the screen will go blank. The Blanker window will not open. BREAK Format: BREAK [ALL|C|D|E|F] Template: PROCESS/A/N, ALL/S, C/S, D/S, E/S, F/S Purpose: To set attention flags in the specified process. Path: C:BREAK Specification: BREAK sets the specified attention flags in the indicated. Use the STATUS command to display the currrent process numbers. C sets the Ctrl+C flag, D sets the Ctrl+D flag, and so on. ALL sets all the flags from Ctrl+C to Ctrl+F. By default, only the Ctrl+C flag is set. The action of BREAK is identical to selecting the relevant process by clicking in its window and pressing the appropriate Ctrl+key combination(s). Ctrl+C is used as the default for sending a BREAK signal to halt a process. A process that has been aborted this way will display ***BREAK in the Shell window. Ctrl+D is used to halt execution of a script file. Use the STATUS command to display the current process numbers. Ctrl+F is used by programs that open windows. Sending these programs a Ctrl+F signal will cause them to activate their window and bring it to the front of all windows. Not all programs respond to Ctrl+F. Example 1 : 1> BREAK 7 sets the Ctrl+C attention flag of process 7. This is identical to selecting process 7 and pressing Ctrl+C. Example 2: 1> BREAK 5 D sets the Ctrl+D attention flag of process 5. See also: STATUS CALCULATOR Format:CALCULATOR [PUBSCREEN ] [TAPE ] Template: PUBSCREEN, TAPE/K Purpose: To provide an on-screen calculator. Path: Extras:Tools/Calculator Specification: CALCULATOR starts the Calculator program. You can cut and paste the output of the Calculator into any console window, like the Shell or ED. TAPE allows you to create a Calculator window of a specific size in which to display your input and output. The specification is in the form of: TAPE=RAW:x/y/width/height/title/options where: xIs the number of pixels from the left edge of the screen to the left border of the window. yIs the number of pixels from the top of the screen to the top of the window. width Is the width of the window, in pixels. height Is the height of the window, in pixels. title Is the text that appears in the window title bar. The permissible options are: AUTOThe window automatically appears when the program needs input or produces output. With the Shell window, it will open for input immediately. The window can only be closed with the ENDSHELL command. Selecting the Shell's close gadget will close the window, but it will re-open immediately since it is expecting input. CLOSEThe window has all the standard gadgets, including a close gadget. BACKDROPThe window appears on the backdrop, behind all the Workbench windows. The only gadget in the window border is the zoom gadget. This Shell window cannot be brought to the front of the screen; you have to resize the Workbench windows to see it. NOBORDERThe window opens without any left or bottom window border. Only the zoom, depth, and sizing gadgets are available. NODRAGThe window cannot be dragged. It has a zoom, depth and sizing gadget, but no close gadget. NOSIZEThe window only has a depth gadget. SCREENThe window will open on a public screen. The screen must already exist. You must specify the name of the screen after the SCREEN keyword. SIMPLEIf you enlarge the window, the text will expand to fill the newly available space, allowing you to see text that had been scrolled out of the window. SMARTIf you enlarge the window, the text does not expand to fill the newly available space. WAITThe window can only be closed by selecting the close gadget. (An example of this is the Execute Command Workbench Output Window.) To exit the program, select the window's close gadget. Example: 1> CALCULATOR CD Format: CD [] Template: DIR Purpose: To set, change, or display the current directory. Path: Internal Specification: CD with no arguments displays the name of the current directory. When a valid directory name is given, CD makes the named directory the current directory. CD does not search through the disk for the specified directory. It expects it to be in the current directory. If it is not, you must give a complete path to the directory. If CD cannot find the specified directory in the current directory or in the given path, a Can't find error message is displayed. If you want to move up a level in the filing hierarchy to the parent directory of the current directory, enter CD followed by a space and a single slash (/). Moving to another directory in the parent can be done at the same time by including its name after the slash. If the current directory is a root directory, CD / will have no effect. Multiple slashes are allowed; each slash refers to an additional higher level. When using multiple slashes, leave no spaces between them. To move directly to the root directory of the current device, use CD followed by a space and a colon, i.e., CD :. CD also supports pattern matching. If more than one directory matches the given pattern, an error message is displayed. Example 1: 1> CD DF1:Work sets the current directory to the Work directory on the disk in drive DF1:. Example 2: 1> CD SYS:Com/Basic makes the subdirectory Basic in the Com directory the current directory. Example 3 : 1> CD // moves up two levels in the directory structure. Example 4: 1> CD SYS:Li#? uses the #? pattern to match with the Libs: directory. CHANGETASKPRI Format: CHANGETASKPRI PROCESS [] Template: PRI=PRIORITY/A/N, PROCESS/K/N Purpose:To change the priority of a currently running process. Path: C:CHANGETASKPRI Specification: Since the Amiga is multitasking, it uses priority numbers to determine the order in which current tasks should be serviced. Normally, most tasks have a priority of 0, and the time and instruction cycles of the CPU are divided equally among them. CHANGETASKPRI changes the priority of the specified Shell process. (lf no process is specified, the current Shell process is assumed.) Any tasks started from inherit its priority. Use the STATUS command to display the current process numbers. The range of acceptable values for is the integers from -128 to 127, with higher values yielding a higher priority (a greater proportion of CPU time is allocated). However, do not enter values above +10, or you may disrupt important system tasks. Too low a priority (less than 0) can result in a process taking unreasonably long to execute. Example: 1> CHANGETASKPRI 4 Process 2 The priority of Process 2 is changed to 4. Any tasks started from this Shell will also have a priority of 4. They will have priority over any other user tasks created without using CHANGETASKPRI (those tasks will have a priority of 0). See also: STATUS CLICKTOFRONT Format:CLICKTOFRONT [CX_PRIORITY ] [QUALIFIER ] Template:CX_PRIORlTY/N/K, QUALlFlER/K Purpose: To bring a window to the front of the screen. Path: Extras:Tools/Commodities/C1ickToFront Specification: CLICKTOFRONT allows you to bring a window to the front of the screen by double-clicking in it. You do not need to select the window's depth gadget. The CX_PRIORITY argument sets the priority of ClickToFront in relation to all the other Commodity Exchange programs. (This is the same as entering a CX_PRIORITY= Tool Type in the icon's Information window.) All the Commodity Exchange programs are set to a default priority of 0. If you specify a value higher than 0, ClickToFront will take priority over any other Commodity Exchange program. To start ClickToFront, double-click on its icon. It does not open a window. (Remember, you can also put ClickToFront in the WBStartup drawer so that it is automatically started each time you boot.) QUALIFIER allows you to specify a qualifier key that must be pressed while double-clicking in the window you want to bring to the front ofthe screen. The acceptable key arguments are: Lalt Left Alt Left_Alt Left Alt Ralt Right Alt Right_Alt Right Alt Ctrl Ctrl Control Ctrl None No key To exit ClickToFront when it has been started from the Shell, press Ctrl+C, or use the BREAK command. CLOCK Format:CLOCK [DlGlTAL] [] [] [] [] [24HOUR] [SECONDS] [DATE] [) [PUBSCREEN ) Template:DIGITAL/S, LEFT/N, TOP/N, WlDTH/N, HElGHT/N, 24HOURJ5, 5ECOND5/5, DATE/5, FORMAT/N, PUBSCREEN/K Purpose: To provide an on-screen clock. Path: SYS:Utilities/Clock Specification: CLOCK allows you to display an on-screen clock. The DIGITAL option opens a digital clock. The LEFT, TOP, WIDTH, and HEIGHT options allow you to specify the size and position of the clock. The keywords are optional; however, the clock understands numerical arguments by their position, as outlined below: 1st numberThe clock will open pixels from the left edge of the screen. 2nd numberThe clock will open pixels from the top of the screen. 3rd number The clock will be pixels wide. 4th number The clock will be pixels high. For example, if you only wanted to specify the width and height of the Clock, you would have to use the WIDTH and HEIGHT keywords. If you only entered two numbers, the clock would interpret them as the LEFT and TOP positions. WIDTH and HEIGHT are not available if you use the DIGITAL option. You cannot change the size of the digital clock, although you can specify its position. If the SECONDS option is specified, the seconds are displayed. If the DATE option is specified, the date is displayed. Example 1 : To open a clock that is 75 pixels from the left edge of the screen, 75 pixels from the top edge of the screen, 300 pixels wide and 100 pixels high, enter: 1> CLOCK 75 75 300 100 Example 2: To use the SECONDS, DATE and 24HOUR options, enter: 1> CLOCK SECONDS DATE 24HOUR Example 3: To open a digital clock that is 320 pixels from the left edge of the screen and in the screen's title bar (0 pixels from the top), enter: 1> CLOCK DIGITAL 320 0 CMD Format: CMD [OPT s|m|n] Template: DEVlCENAME/A, FlLENAME/A, OPT/K Purpose: To redirect printer output to a file. Path: Extras:Tools/CMD Specification: The can be serial, parallel or printer, and should be the same device as specified in the Printer editor. is the name of the file to which the redirected output should be sent. The CMD options are as follows: sSkip any short initial write (usuall a reset if redirecting a screen dump). mIntercept multiple files until a BREAK command or Ctrl+C is entered. n Notify user of progress (messages are displayed on screen). Example: 1> CMD parallel RAM:cmd_file Any output sent to the parallel port will be rerouted to a file in RAM: called cmd_file. COLORS Format: COLORS [ ] Template: BITPLANES, SCREENTYPE Purpose: To change the colors of the frontmost screen. Path: Extras:Tools/Colors Specification: COLORS lets you change the colors of the frontmost screen. By specifying values for the and options, you can open a custom test screen. The acceptable values for and are listed below: (Specifies the depth of the (Specifies the resolution of test screen:) the test screen:) 1 2 colors 0 320 x 200 pixels 2 4 colors 1 320 x 400 pixels 3 8 colors 2 640 x 200 pixels 4 16 colors 3 640 x 400 pixels 5 32 colors The value for is restricted to 4 or less if the value for is equal to either 2 or 3. Example: 1> COLORS 3 2 A new custom screen will be opened, and it will display a window for the color program. The screen will have 8 colors and a 640 x 200 pixel (High Res) resolution. CONCLIP Format: CONCLIP [UNlT ] [OFF] Template: UNlT/N, OFF/S Purpose:To move data between the console.device, the clipboard.device and CON: Path: C:CONCLlP Specification: CONCLIP is called from the standard Startup-sequence. When it is run, the user can copy text from standard Shell windows by drag selecting text with the mouse. Once text is highlighted, it can then be copied to the clipboard by pressing right Amiga+C. In addition, some other console.device windows may support the ability to drag select text, such as ED and MEmacs. The copied text can then be pasted into any application window which supports reading text from the clipboard, such as the Shell, ED, and MEmacs. To paste text, press right Amiga+V. CONCLIP requires iffparse.library and the clipboard.device and opens the first time you copy or paste text. Because of this, users with floppy-based systems may notice some delay as iffparse.library and the clipboard.device are loaded from disk (assuming that they have not already been loaded by some other application). The UNIT option allows you to specify the clipboard.device unit number to use. You can specify any unit from 0 to 255. The default number is 0. This option is primarily for advanced users or programmers who may want to use different units for different data, such as one for text and another for graphics. You do not need to turn CONCLIP off to change the UNIT number. Simply run the command from the Shell, specifying the new unit number. The next time you copy and paste, that clipboard unit will be used. The OFF option allows the more advanced user or programmer to turn off CONCLIP. When turned off, text is not copied to the clipboard, and pasting is transparently managed by the console.device. In general, there is no reason to turn CONCLIP off. COPY Format:COPY [FROM] {} [TO] [ALL] [QUIET] [BUF|BUFFER=] [CLONE] [DATES] [NOPRO] [COM] [NOREQ] Template:FROM/M, TO/A, ALL/S, QUlET/S, BUF=BUFFER/K/N, CLONE/S, DATES/S, NOPRO/S, COM/S, NOREQ/S Purpose: To copy files or directories. Path: C:COPY Specification: COPY copies the file or directory specified with the FROM argument to the file or directory specifed by the TO argument. You can copy several items at once by giving more than one FROM argument; each argument should be separated by spaces. You can use pattern matching to copy or exclude items whose names share a common set of characters or symbols. If a TO filename already exists, COPY overwrites the TO file with the FROM file. If you name a destination directory that does not exist, COPY will create a directory with that name. You can also use a pair of double quotes ("") to refer to the current directory when specifying a destination. Do not put any spaces between the double quotes. If the FROM argument is a directory, only the directory's files will be copied; its subdirectories will not be copied. Use the ALL option to copy the complete directory, including its files, subdirectories, and the subdirectories' files. If you want to copy a directory and you want the copy to have the same name as the original, you must include the directory name in the TO argument. COPY prints to the screen the name of each file as it is copied. This can be overridden by the QUIET option. The BUF= option is used to set the number of 512-byte buffers used during the copy. (Default is 200 buffers, approximately 100KB of RAM.) It is often useful to limit the number of buffers when copying to RAM:. BUF=0 uses a buffer the same size as the file to be copied. Normally, COPY gives the TO file the date and time the copy was made, rather than the date and time the file was created or last revised. Any comments attached to the original FROM file are ignored. The protection bits of the FROM file are copied to the TO file. Several options allow you to override these defaults: DATESThe creation or last revised date (whichever is most recent) of the FROM file is copied to the TO file. COMAny comment attached to the FROM file is copied to the TO file. NOPROThe protection bits of the FROM file are not copied to the TO file. The TO file will be given standard protection bits of r, w, e and d. CLONEThe creation (or last revised) date, comments and protection bits of the FROM file are copied to the TO file. Normally, COPY displays a requester if the COPY cannot continue for some reason. When the NOREQ option is given, all requesters are suppressed. This is useful in scripts and can prevent a COPY failure from stopping the script while it waits for a response. For example, if a script calls for a certain file to be copied and the system cannot find that file, normally the script would display a requester and would wait until a response was given. With the NOREQ option, the COPY command would be aborted and the script would continue. Example 1: 1> COPY File1 TO :Work/File2 copies File1 in the current directory to the File2 directory in the Work directory. Example 2 : 1> COPY ~(#?.info) TO DF1:Backup copies all the files not ending in .info in the current directory to the Backup directory on the disk in DF1:. This is a convenient use of pattern matching to save storage space when icons are not necessary. Example 3: 1> COPY Work:Test TO "" copies the files in the Test directory on Work to the current directory; subdirectories in Test will not be copied. Example 4: 1> COPY Work:Test TO DF0:Test ALL copies all the files and any subdirectories of the Test directory on Work to the Test directory on DF0:. If a Test directory does not already exist on DF0:, AmigaDOS will create one. Example 5 : 1> COPY DF0: TO DF1: ALL QUIET copies all files and directories on the disk in DF0: to DF1:, without displaying on the screen any file/directory names as they are copied. (This is quite slow in comparison to DiskCopy.) CPU Format:CPU [CACHE] [N0CACHE] [BURST] [NOBURST] [DATACACHE] [DATABURST] [NODATACACHE] [NODATABURST] [INSTCACHE] [INSTBURST] [NOINSTCACHE] [NOINSTBURST) [FASTROM] [NOFASTROM] [NOMMUTEST] [CHECK 68010|68020|68030|68040|68881|68882|68851|MMU|FPU] [TRAP] [NOTRAP] [COPYBACK] [NOCOPYBACK] [EXTERNALCACHE] [NOEXTERNALCACHE] Template:CACHE/S, BURST/S, NOCACHE/S, NOBURST/S, DATACACHE/S, DATABURST/S, NODATACACHE/S, NODATABURST/S, INSTCACHE/S, INSTBUftST/S, NOINSTCACHE/S, NOINSTBURST/S, COPYBACWS, NOCOPYBACK/S, EXTERNALCACHE/S, NOEXTERNALCACHE/S, FASTROM/S, NOFASTROM,S, TRAP/S, NOTRAP/S, NOMMUTEST/S, CHECK/K Purpose:To set or clear the CPU caches, check for a particular processor, load the ROM image into fast, 32-bit memory, or set an illegal memory access handler which will output information over the serial port at 9600 baud if a task accesses page zero (lower 256 bytes) or memory above 16M on a 68000 Amiga. Path: C:CPU Specification: CPU allows you to adjust various options of the microprocessor installed in your Amiga. CPU will also show the processor and options that are currently enabled. Many options only work with certain members of the 680X0 processor family. The 68020 has a special type of memory known as instruction cache. When instruction cache is used, instructions are executed more quickly. The 68030 has two types of cache memory: instruction and data. The CPU options, outlined below, specify the types of memory to be used. If mutually exclusive options are specified, the safest option is used. Availability of the options listed below depends on availability of required hardware. CACHE Turns on all caches. NOCACHE Turns off all caches. BURST Turns on burst mode for both data and instructions. NOBURST Turns off burst mode for data and instructions. DATACACHE Turns on data cache. NODATACACHE Turns off data cache. DATABURST Turns on burst mode for data. NODATABURST Turns off burst mode for data. INSTCACHE Turns on instruction cache. INSTBURST Turns on burst mode for instruction. NOINSTCACHE Turns off instruction cache. NOINSTBURST Turns off burst mode for instructions. FASTROMIf supported by the MMU, copies data from ROM into 32-bit RAM, making access to this data significantly faster. CPU then writeprotects the RAM area so that the data cannot be changed. NOFASTROM Turns off FASTROM. NOMMUTESTAllows the MMU settings to be changed without checking to see if MMU is currently in use. TRAP Developer-specific. NOTRAP Developer-specific. COPYBACK Turns on cache copyback. NOCOPYBACK Turns off cache copyback. EXTERNALCACHE Turns on external cache. NOEXTERNALCACHE Turns off external cache. The CHECK option, when given with a keyword (68010, 68020, 68030, 68040, 68881, 68882, or 68851, MMU, FPU) checks for the presence of the keyword. Examples: 1> CPU System: 68030 68881 (INST: Cache Burst) (DATA: Cache NoBurst) 1> CPU NoDataCache FastROM System: 68030 68881 FastROM (INST: Cache Burst) DATA: NoCache NoBurst) 1> CPU NoBurst DataCache NoInstCache System: 68030 68881 (INST: NoCache NoBurst) (DATA: Cache NoBurst ) CROSSDOS Format:CROSSDOS [CX_PRIORITY ] [CX_POPKEY ] [CX_POPUP ] Template: CX_PRIORITY/N/K, CX_POPKEY/K, CX_POPUP/K Purpose: To set text filter and conversion options. Path: Extras: Tools/Commodities/CrossDOS Specification: CROSSDOS lets you read from and write to MS-DOS formatted disks using your standard Amiga drives. This makes it simple to transfer information such as text, font, database, and graphics files between Amiga and MS-DOS computers. Use the CROSSDOS command to set text filter and conversion options during this transfer. The Standard DOS drivers for CrossDOS are PC0: and PC1:, which correspond to DF0: and DF1:. These two drivers allow an Amiga floppy drive to read from and write to 720KB MS-DOS disks. CrossDOS drivers still handle your Amiga disks normally. CX_POPKEY allows you to specify the hot key for the program. If more than one key is specified, be sure to enclose the entire argument in double-quotes (i.e., CX_POPKEY="Shift F1"). CX_POPUP=no will prevent the CrossDOS window from opening. By default the program window opens when the command is invoked. CX_PRIORITY sets the priority of CrossDOS in relation to all other Commodity Exchange programs. All the Commodity Exchange programs are set to a default priority of 0. For complete information on CrossDOS, see Using the Amiga Worhbench manual. DATE Format: DATE [] [] [