NAME
defaults - read or modify GNUstep user defaultsSYNOPSIS
defaults [ action ]DESCRIPTION
The 'defaults' command lets you to read and modify a user's defaults. This program replaces the old NeXTstep style dread, dwrite, and dremove programs. If you have access to another user's defaults database, you may include '-u username' before any other options to use that user's database rather than your own. defaults read [ domain [ key] ]- read the named default from the specified domain. If no 'key' is given - read all defaults from the domain. If no 'domain' is given - read all defaults from all domains. A domain is either an application name, or "NSGlobalDomain", for system level defauts. (Running programs can access two other domains, "NSArgumentDomain", for command line arguments, "NSRegistrationDomain", a second-chance domain in which "defaults for defaults" can be registered, and possibly domains for specific locales.)
- read the named default from all domains.
- write 'value' as default 'key' in the specified domain. 'value' must be a property list in single quotes.
- write 'dictionary' as a replacement for the specified domain. 'dictionary' must be a property list in single quotes.
- reads standard input for defaults in the format produced by 'defaults read' and writes them to the database.
- remove the specified default(s) from the domain. If no 'key' is given - delete the entire domain.
- read standard input for a series of lines containing pairs of domains and keys for defaults to be deleted.
- lists the domains in the database (one per line)
- searches domain names, default names, and default value strings for those equal to the specified word and lists them on standard output.
- output some information about property lists
- list options for the defaults command.
FILES
- ~/GNUstep/Defaults/.GNUstepDefaults
- holds defaults for a user
BUGS
None known.DIAGNOSTICS
Hopefully self-explanatory.HISTORY
The 'defaults' command appeared in OpenStep and combined the capabilities of the earlier NeXTstep commands 'dread', 'dwrite', and 'dremove'.The GNUstep version was written in 1998.
This manual page first appeared in gnustep-base 1.9.2 (March 2004).
AUTHORS
defaults was written by Richard Frith-Macdonald <[email protected]>February 2004 | GNUstep |