TPUT and TGET

When you invoke a task, miriad saves all the parameters associated with this task in a keyword file, in the directory given by the MIRDEF environment variable (if MIRDEF is not set, the current directory will be used). The parameters will be saved in a file with name taskname.def. Additionally you can force parameters to be saved using `tput taskname'. If the taskname is omitted, the parameters for the current task are saved. The tget command is used to retrieve the parameters at a later stage. For example, to save and then restore parameters, use

   miriad% tput histo
   histo% tget histo
tput and tget normally expect the keyword files to be in the directory given by the MIRDEF environment variable. This is unlike lastexit and the save and load commands, which expect the keyword files to be in the current directory. The -l flag to tput and tget changes them to write/read the keyword file from the current directory.



Miriad manager
2016-06-21