Chapter 9 SET_UP

You may specify a setup file to initialize TOPDRAWER. This is done by specifying the logical name TOPDRAWER_INIT. TOPDRAWER_INIT should point to a file with TOPDRAWER commands to be executed when TD first starts. The default file name is TDINIT.TOP. If you have a setup file then then journal file and listing file are suppressed. You must start them in the setup file if you want them. example $ ASSIGN TDHBOOK TOPDRAWER_INIT The file TDHBOOK.TOP contains the commands: TD:SET HIST HBOOK FILE="hbook.dat" TD:DEFINE KEY PF3 "SET HIST TITLE PREV;NEW;HIST"/TERMINATE TD:DEFINE KEY PF4 "SET HIST TITLE NEXT;NEW;HIST"/TERMINATE TD:SET FILE JOURNAL HISTS.TDJ Now when you start TOPDRAWER your hbook histograms are already available, and keypad keys are defined to easily access them. Your journal file is HISTS.TDJ and you have no listing file. You assign: $ ASSIGN TOPDRAWER_INIT SYS$LOGIN The file TDINIT.TOP in your root default login directory is used as the TOPDRAWER initialization file.