-- GetPropertiesDoc.tioga
-- This file same as GetProcessPropertiesDoc.tioga
-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name GetProperties:, GetProcessProperties:
syntax
GetProperties {-d INT} {-w INT} {key}*
GetProcessProperties {-d INT} {-w INT} {key}*
If the -d switch is found, the next command line token is interpreted as the depth to which to print nested property structure. If the -w switch is found, the next command line token is interpreted as the width to which to print property structure such as arrays. The default depth is 5 and the default wideth is 32. Any other command line tokens are interpreted as specific keys for properties to be printed. If no keys are found, the entire property list is printed. If a key is of the form $key, then Atom.MakeAtom[key] is used as the key. If the first character of a key is not '$, then it is interpreted as a rope. Commander.GetProperty is used for individual property lookups, so rope keys are matched on content. (However, the use of ATOMs for property list keys is strongly encouraged.)
description
Display one or more properties from the commander or process properties lists. Refer to CommandLine.tioga for information on the standard properties and their uses.
GetProperties prints properties from the commander property list, while GetProcessProperties prints properties from the process property list.
examples
% GetProperties $Prompt
$Prompt = "%% "
%
% GetProcessProperties $WorkingDirectory
process properties:
$WorkingDirectory = "///"
%
% GetProperties -d 3
commander properties:
(^[key: $Prompt, val: "%% "], ^[key: $ErrorInputStream, val: 3343504B^], ^[key: $ReadEvalPrintHandle, val: 6214556B^], ^[key: $SearchRules, val: 7314462B^], ^[key: $Lookup, val: 7314630B^], ^[key: $Result, val: NIL])
%
This is a benign command, so try a few things!
warnings
A lot of output may be produced.
stop/undo
Click the STOP! button.
implementation
InitialCommandsImpl.mesa in CommandTool.df
contact
L. C. Stewart <Stewart.pa>
keyword hints
help button info man
keywords
to be supplied by the Index Czar