.HD "SETOPT/UNSETOPT/PRINTOPT/GETOPT" setopt unsetopt printopt getopt .SH NAME setopt \- set an option .br unsetopt \- unset an option .br printopt \- print the value of an option .br getopt \- return the value of an option .SH SYNOPSIS .CS void setopt() .PP .CS void setopt(option) .CS char *option ; .PP .CS void setopt(option, value) .CS char *option ; .CS /* value is determined by the option */ .PP .CS void unsetopt() .PP .CS void unsetopt(option) .CS char *option ; .PP .CS void printopt() .PP .CS void printopt(option) .CS char *option ; .PP .CS char *getopt(option) .CS char *option ; .SH DESCRIPTION These commands let the user examine and change \*n options. A list of all the options is provided on the .CO options reference page. .PP .CO Setopt sets an option to a value. The value is determined by the type of the option. Boolean options, which can be only set or unset, do not require a value. All other options require the value to be either an integer or a string. If .CO setopt is called without an argument, it displays all options that are set. .PP .CO Unsetopt unsets an option. .PP .CO Printopt prints the value of an option and a short description of its function. If .CO printopt is called without an argument, it displays a listing of all options. .PP .CO Getopt returns the value of an option in a string. This command can be used to save the value of an option before changing it with .CO setopt . .PP .SH SEE ALSO options