Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ changesize(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Login(1)

setfile(1)




changesize(1) changesize(1)
NAME changesize - changes or displays the fields of the `SIZE' resource of a file SYNOPSIS changesize [+option] [-mminsize] [-pprefsize] [-v] file ARGUMENTS +option -option Sets or clears the MultiFinder flag specified by option. +option sets the MultiFinder flag; -option clears the flag. You can specify multiple options at the same time on the command line. Here are the MultiFinder flags that can be modified: file Specifies the Macintosh file that you want to change or query. If the resource file is a separate file (prefixed with a percent sign), as in the case of a file in Apple Double format, you should specify the data fork file without the prefix, allowing changesize to locate the resource file itself. -mminsize Specifies the minimum RAM required by an application. 32BitCompatible If set, indicates that your application is 32-bit clean. CanBackground If set, indicates that NULL events can be set while in the background. ChildDiedEvents If set, indicates that debuggers can set ChildDiedEvents to 1. Normally set to 0. GetFrontClicks Sets this flag if you want to receive the mouse-down and mouse-up events. These events bring your application to the foreground when the user clicks in one of the windows of your application while it is suspended. MultiFinderAware Responsibile for activating and deactivating any windows in response to a suspend/resume event, if set. January 1992 1



changesize(1) changesize(1)
OnlyBackground Sets this flag if your application does not have a user interface and will not run in the foreground. OptionSwitch Sets Switcher compatibility. Normally set to 1. SaveScreen Sets Switcher compatibility. Normally set to 0. SuspendResume Signifies that the application knows how to process suspend/resume events, if set. -pprefsize Specifies an amount of memory in which the application will run effectively and that MultiFinder attempts to secure upon launch of the application. This value is expressed in units of kilobytes (KB). -v Prints the values of fields in the `SIZE' resource and then exits without changing anything. DESCRIPTION changesize is based on an MPW tool that prints the fields of the `SIZE' resource of an application and allows the user to modify any of the fields of the `SIZE' resource. The `SIZE' resource contains MultiFinder flags followed by the preferred size and minimum size of the application. EXAMPLES To print the fields of the `SIZE' resource in a file named SpiffWriter, you could enter the following command: /mac/bin/changesize -v SpiffWriter To set the 32BitCompatible flag, clear the CanBackground flag, and set the preferred memory size to 500 KB for the same file, you could enter the following command: /mac/bin/changesize +32BitCompatible \ -CanBackground -p500 SpiffWriter LIMITATIONS The changesize command is not supported in 24-bit mode. You must run it from the command line while logged in with a 32-bit Macintosh session type. (See Login(1) for more 2 January 1992



changesize(1) changesize(1)
information regarding session types.) FILES /mac/bin/changesize Executable file SEE ALSO Login(1), setfile(1). January 1992 3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026