top banner
Gri Commands
1: Introduction
2: Simple example
3: Fancy example
4: Running Gri
5: Programming Gri
6: General Issues
7: X-Y Plots
8: Contour Plots
9: Image Plots
10: Examples
11: Handling Data
12: Gri Commands
13: Gri Extras
14: Evolution of Gri
15: Installing Gri
16: Gri Bugs
17: System Tools
18: Acknowledgments
19: License
20: Newsgroup

21: Concept Index
navigate navigate navigate navigate navigate navigate

12.47: The `superuser' Command

`superuser'
Allow extra debugging information and commands. Normally, this command and the corresponding commandline flag -superuser are only used by programmers altering the Gri source. These are the flags and their meanings:
  • 1 Print cmdline before/after substituting synonyms
  • 2 Print cmdline before/after substituting rpn expressions
  • 4 Print all new commands as they are being defined
  • 8 Print system commands and `open "...|"' commands
  • 128 Changeable; as of Mar 1997, print before/after doing gri.cmd
  • 256 Changeable; as of Mar 1997, no function before they are passed to the system
Note that all flags are equal to 2 raised to an integer power. Since the flag values are detected by a bitwise OR, you can combine flags by adding; thus specifying a flag of 5 yields flags 1 and 4 together; specifying 15 yields flags 1, 2, 4 and 8.
bottom banner