next up previous contents index
Next: Abbreviations Up: Basic usage Previous: Mouse

Commands and Menus

   

TV's commands are organized in a menu structure. This leads to a kind of object orientation because all commands that are allowed to an object are in its menu. To see all available commands for the current menu enter ? CR. In the root menu, which is indicated by the prompt tv>, the available commands are separated in three groups. There are aliases, main command group and miscellaneous. Commands can be combinations of subcommands, for example:

tv > window setup function-y normalization off

Leaving out at least one argument of the complete command will put you in another menu. For example, if you only enter

tv > window

TV will be in the menu window afterwards. This is indicated by changing the command prompt tv> to the name of the menu:

window

All commands are interpreted relative to the menu you are in, i.e. they are appended to the menu name. For example

window spectrum get co56b68.127

will result in the error

fatal: illegal input (window) 'spectrum get co56b68.127'

since spectrum is not an available command to the window menu.

TV accepts absolute commands from any menu if preceded by tv > . You will be in the same menu after the evaluation of your command. To load the spectrum from the example above enter:

window tv > spectrum get co56b68.127

To see a list of all arguments available to a command, for example the window command, enter:

tv > window ?

Some menus have default commands which do not need to be entered. These are underlined in the manual. For example the default command to the spectrum menu is get. To load a spectrum you can enter:

   

tv > spectrum get co56b68.127

tv > spectrum co56b68.127

or go to the spectrum menu

tv > spectrum

and enter the spectrum's name

spectrum co56b68.127

To leave a menu and go to the menu one level higher, enter CR.


next up previous contents index
Next: Abbreviations Up: Basic usage Previous: Mouse
Andreas Fitzler
7/13/2000