Hyperion Entertainment

  • Increase font size
  • Default font size
  • Decrease font size
Home F.A.Q. AmigaOS 3.1.4 Are there any new command line arguments I should know of?

Are there any new command line arguments I should know of?

Yes, there are plenty. What follows is the list, with a brief description of each.


“ADDDATATYPES”:


ADDDATATYPES LIST - This will list all DataTypes descriptors currently in memory by descriptor name.


“CMD”:


CMD DEVICE - The user can now specify a concrete device name.



“CPU”:


CPU CHECKINSTALL - Tests for the presence of a CPU library on affected CPU models.


CPU CPUTYPE - Prints only the CPU information for scripting purposes.


CPU FPUTYPE - Prints only the FPU information for scripting purposes.


CPU MMUTYPE - Prints only the MMU information for scripting purposes.


CPU TO - Switch to redirect output.


There are plenty other switches of the CPU command to fiddle with some of the internals of the CPU. You don't need them, unless we tell so. Really. They can only make your system go slower, or less stable. And we don't what this to happen, right?



“HDTOOLBOX”:


HDTOOLBOX LIMIT_4GBYTE - which can be ON/TRUE or OFF/FALSE. Artificially recreates the 4 GB limit.


HDTOOLBOX MIN_SECTOR_SIZE - Overrides minimum sector size. Value must be a multiple of 512 bytes, and it must be a power of two.


HDTOOLBOX MAX_SECTOR_SIZE - Overrides maximum sector size. Value must be a multiple of 512 bytes, and it must be a power of two.


HDTOOLBOX MASK - Overrides the default values used by the RDB settings written to disk. They must all be in hexadecimal notation, similar to a mount file.


HDTOOLBOX BUFMEMTYPE - Overrides the default values used by the RDB settings written to disk. They must all be in hexadecimal notation, similar to a mount file.


HDTOOLBOX MAXTRANSFER - Overrides the default values used by the RDB settings written to disk. They must all be in hexadecimal notation, similar to a mount file.



“LOADWB”:


LOADWB LEGACY - Enables running older Workbench versions.


LOADWB SIMPLEGELS - Uses simpler shapes for dragging icons on the Workbench.


LOADWB SKIP - Skips starting programs in the WBStartup drawer.


MAKEDIR ALL - Creates directories recursively.


“MAKELINK”:


MAKELINK SOFT - Creates soft links.



“MULTIVIEW”:


MULTIVIEW REPEAT - Indicates whether the animation/audio should loop. Default is "don’t loop".


MULTIVIEW IMMEDIATE - Indicates whether the animation/audio should immediately begin playing after calling Multiview. Default is "don’t start immediately".


MULTIVIEW PRTUNIT - Configures the printer.device unit used for printer dumps.


MULTIVIEW WINDOWLEFT - Defines the horizontal coordinate of MultiView's window.


MULTIVIEW WINDOWTOP - Defines the vertical coordinate of MultiView's window.


MULTIVIEW WINDOWWIDTH - Describes the complete width size of the window instead of the inner dimensions (without border).


MULTIVIEW WINDOWHEIGHT - Describes the complete height size of the window instead of the inner dimensions (without border).


MULTIVIEW AUTORESIZE - Causes MultiView to resize its window when you open a new image.



“REQUESTCHOICE”:


REQUESTCHOICE SET - Installs the result in a variable.


REQUESTFILE SET - Copies the selected file or files to a shell variable.


“RX”:


RX SCRIPT=NAME/K - Defines the script to be executed. This must be explicitly given if the script name is enclosed in quotes, as otherwise RX attempts to interpret the enclosed string as series of REXX commands directly.


RX CMD - Explicitly requests a command (not a script) to be executed. For this option, Shell quoting rules (and not Rexx quoting rules) apply, so “RX CMD" can also be used in Shell scripts where the Shell (or execute) applies its escape mechanism. That is, a quote must be escaped with an asterisk if the CMD argument is given.


RX "..." - Defines an ARexx command or arexx file to be executed. If in double quotes, a direct command is assumed, otherwise a file. This is backwards compatible to the V36 release of RX.


In addition, the RX command can also be invoked from Workbench and then accepts the following additional ToolTypes:


CONSOLE=

 or:

WINDOW=


Defines a pathname where output should go to. The default is a console.


STARTUP="cmd" - Defines an AmigaDOS command to startup the Rexx host in case it is not running. The default is "RexxMast".




SEARCH CASE - Case-sensitive searching. Note that this switch is INACTIVE when searching for files.


SORT DESCENDING - Reverses the sort order.


SORT SKIPBLANKS - Ignores leading blanks.


WAIT FILE - Waits for the existence of a given file.


There are a couple of hidden features and improvements, such as DIR being able to adjust its output to the size of the console, LIST showing hard- and softlinks and COPY copying them correctly. We will report on them later and provide examples of use.