gvar

graphically view or define KornShell variables, parameters, functions, and aliases 

Command


SYNOPSIS

gvar


DESCRIPTION

The gvar command displays a dialog box with property sheets for setting or viewing common KornShell variables, parameters, functions, and aliases. The property sheets displayed are:

Variables 

Display, add, delete, or modify any environment variable. To add an environment variable, click the Add button and define the variable name and value in the edit fields. The Attributes property sheet lets you define

  • whether the variable is exportable
  • the Integer Base
  • whether the variable is read only
  • the variable justification and field size
  • the case conversion
To edit a variable, click the variable name to highlight it, then change the name, value, or attributes as necessary.
Positional Parameters 

Display all current positional parameters.

Functions 

Display the name of all currently set KornShell functions. To remove or view a function, click the function name to highlight it, then click the appropriate button.

Aliases 

Display, add, delete, or modify any current shell system aliases. To add an alias, click the Add button and define the alias name and value in the edit fields. To modify an alias, click the alias name to highlight it, then click Modify and change the alias name or value. To delete an alias, highlight the alias and click Delete.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


NOTE

gvar is built into the MKS KornShell.


PORTABILITY

Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Using the MKS KornShell


PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.