% VAX-11 Librarian V04-00>>iՍ 2pՍ  5^ ^COMPILE DWIM rEDIT EXECUTEInitialization LINK Other  D{IiՍ1 Initialization; DWIM requires certain global symbols and logical names be Edefined for proper operation. DWIM will initialize these symbols and Fvariables if it is invoked via @DWIM without them being defined. DWIM Kwill also (re)initialize if the first parameter following the DWIM command Cis INITIALIZE. Initialization will read the DWIMINFO.TXT file from FDWIM$LIBRARY: (usually the same directory as the command file was run Ffrom) for information on how to deal with  files of various types. The format for DWIMINFO.TXT is:J.type1.type2.typen.-editprocedure-compilecommand-linkcommand-executemethodwhere:5 type1, thru typen are the file types for which this  information applies.6 editprocedure is the name of a file in DWIM$LIBRARY: * containing the EDT initialization file  for files of this type.< compilecommand is the compile command used to compile files+ of this type or "~" if compiling is not  apropriate.3 linkcommand is the link command used to link files( of this type or "~" if linking is not apropriate.> executemethod tells how to execute files of this type. It is 0 either "$" for normal execution as a foreign 1 command or "@" for execution of command files ) or "~" if execution is not apropriate. 6The periods "." and hyphens "-" are part of the syntaxwwࠐIiՍ1 EDIT< Edit runs the EDT editor on the file specified. If no file Fwas specified as the first parameter, then the last file worked on by Cany DWIM command will attempted to be edited. If there was no last Afile, then you will be prompted for file name. The file name can Bcontain wildcards. If the wild card selection results in only one Ffile matching, that file will be edited. Otherwise, you will be asked %to pick a file from a selection list.ww IiՍ 1 COMPILEww4IiՍ1 LINKww`IiՍ 1 EXECUTEwwBIiՍ1 Other Commands wwG՜IiՍ JOHNSON InitializationEDITCOMPILELINKEXECUTEOtheriՍ JOHNSON DWIM`oՍ JOHNSON DWIMM2pՍ JOHNSON DWIM  2pՍ1 DWIM9 DWIM is the Do What I Mean facility. It has a number of 9features that make it very handy for program development.@It creates generic EDIT, LINK, COMPILE and EXECUTE commands thatAcan be mapped to single keys on a VT100/200. These commands have: File name memory/ Work differently based on the type of the file4 Allow wild card file names and ambiguity resolutionDDWIM functions will generally do what you want them to do, although Fthere are some situations wher e a particular combination has not been Canticipated and DWIM will not be able to figure out what you mean. 2 Initialization: DWIM requires certain global symbols and logical names beDdefined for proper operation. DWIM will initialize these symbols andEvariables if it is invoked via @DWIM without them being defined. DWIMdBwill also (re)initialize if the first parameter following the DWIMEcommand is INITIALIZE. Initialization will read the DWIMINFO.TXT file-Ffrom DWIM$LIBRARY: (usually the sa me directory as the command file wasErun from) for information on how to deal with files of various types.s The format for DWIMINFO.TXT is: J.type1.type2.typen.-editprocedure-compilecommand-linkcommand-executemethod;where: type1, thru typen are the file types for which this  information applies.h6 editprocedure is the name of a file in DWIM$LIBRARY: * containing the EDT initialization file  for files of this type.< compilecommand is the compile command used to compile files+ o f this type or "~" if compiling is not t appropriate.l3 linkcommand is the link command used to link filest( of this type or "~" if linking is not appropriate.r> executemethod tells how to execute files of this type. It is 0 either "$" for normal execution as a foreign 1 command or "@" for execution of command files t* or "~" if execution is not appropriate. n7The periods "." and hyphens "-" are part of the syntax.n2 EDIT? Edit runs the EDT editor on the file specified. If no file wasnEspecified as the first parameter, then the last file worked on by anyEDWIM command will be edited. If there was no last file, then you willFbe prompted for file name. The file name can contain wildcards. If theEwild card selection results in only one file matching, that file will=be edited. Otherwise, you will be asked to pick a file from aselection list. 2 COMPILE? Compile runs appropriate compiler on the file specified. If noDfile was specified as the first parameter, toՍ1 DWIM9 DWIM is the Do What I Mean facility. It has a number of 9features that make it very handy for program development.@It creates generic EDIT, LINK, COMPILE and EXECUTE commands thatAcan be mapped to single keys on a VT100/200. These commands have: File name memory/ Work differently based on the type of the file4 Allow wild card file names and ambiguity resolutionDDWIM functions will generally do what you want them to do, although Fthere are some situations where a particular combination has not been Canticipated and DWIM will not be able to figure out what you mean. 2 Initialization; DWIM requires certain global symbols and logical names be Edefined for proper operation. DWIM will initialize these symbols and Fvariables if it is invoked via @DWIM without them being defined. DWIM Kwill also (re)initialize if the first parameter following the DWIM command Cis INITIALIZE. Initialization will read the DWIMINFO.TXT file from FDWIM$LIBRARY: (usually the same directory as the command file was run Ffrom) for information on how to deal with files of various types. The format for DWIMINFO.TXT is:J.type1.type2.typen.-editprocedure-compilecommand-linkcommand-executemethodwhere:5 type1, thru typen are the file types for which this  information applies.6 editprocedure is the name of a file in DWIM$LIBRARY: * containing the EDT initialization file  for files of this type.< compilecommand is the compile command used to compile files+ of this type or "~" if compiling is not  appropriate.3 linkcommand is the link command used to link files( of this type or "~" if linking is not appropriate.> executemethod tells how to execute files of this type. It is 0 either "$" for normal execution as a foreign 1 command or "@" for execution of command files * or "~" if execution is not appropriate. 7The periods "." and hyphens "-" are part of the syntax.2 EDIT? Edit runs the EDT editor on the file specified. If no file wasJspecified as the first parameter, then the last file worked on by any DWIMLcommand will be edited. If there was no last file, then you will be promptedNfor file name. The file name can contain wildcards. If the wild card selectionKresults in only one file matching, that file will be edited. Otherwise, you4will be asked to pick a file from a selection list. 2 COMPILEH Compile runs appropriate compiler on the file specified. If no file wasJspecified as the first parameter, then the last file worked on by any DWIMNcommand will be compiled. If there was no last file, then you will be promptedNfor file name. The file name can contain wildcards. If the wild card selectionMresults in only one file matching, that file will be compiled. Otherwise, you4will be asked to pick a file from a selection list. 2 LINK8 Link runs the linker on the file specified. If no file Fwas specified as the first parameter, then the last file worked on by 6any DWIM command will be linked. If there was no last Afile, then you will be prompted for file name. The file name can Bcontain wildcards. If the wild card selection results in only one Ffile matching, that file will be linked. Otherwise, you will be asked %to pick a file from a selection list. 2 EXECUTEF Execute looks at all source, object and executeable files with a fileLname matching the file specified and takes the file with the latest date andNtime and does what is necessary to create an executable file and then runs it.MIf no file was specified as the first parameter, then the last file worked onMby any DWIM command will be used. If there was no last file, then you will beMprompted for file name. The file name can contain wildcards. If the wild cardFselection results in only one file matching, that file will be edited.COtherwise, you will be asked to pick a file from a selection list. 2 Other_Commands ? Other commands available are all prefixed by the command DWIM.For example "DWIM STATUS".3 HELP7 One way of getting the information you are looking at.3 STATUS2 Displays information on DWIM related information. 3 INITIALIZE Caused DWIM to (re)initialize.3 Arbitrary_Commands; By prefixing DWIM to most commands and using # to indicateDwhere DWIM should place the name of the current file being worked onDin the parameter list you can save considerable typing. For example: $EDIT DEAR_JOHN.LETTER $DWIM PRINT # /SETUP=LETTER& $DWIM MAIL /SUBJ=GOODBYE # STAR::JOHNww hen the last file workedCon by any DWIM command will be compiled. If there was no last file,Bthen you will be prompted for file name. The file name can contain>wildcards. If the wild card selection results in only one fileEmatching, that file will be compiled. Otherwise, you will be asked to#pick a file from a selection list. 2 LINK; Link runs the linker on the file specified. If no file wasEspecified as the first parameter, then the last file worked on by anyEDWIM command will be linke d. If there was no last file, then you willFbe prompted for file name. The file name can contain wildcards. If theEwild card selection results in only one file matching, that file will=be linked. Otherwise, you will be asked to pick a file from aselection list. 2 EXECUTE? Execute looks at all source, object and executeable files withCa file name matching the file specified and takes the file with the<latest date and time and does what is necessary to create anAexecutable file and then  runs it. If no file was specified as theFfirst parameter, then the last file worked on by any DWIM command willFbe used. If there was no last file, then you will be prompted for fileEname. The file name can contain wildcards. If the wild card selection<results in only one file matching, that file will be edited.COtherwise, you will be asked to pick a file from a selection list. 2 Other_Commands ? Other commands available are all prefixed by the command DWIM.For example "DWIM STATUS".3 HELP7 One way of getting the information you are looking at.3 STATUS2 Displays information on DWIM related information. 3 INITIALIZE Caused DWIM to (re)initialize.3 Arbitrary_Commands; By prefixing DWIM to most commands and using # to indicateDwhere DWIM should place the name of the current file being worked onDin the parameter list you can save considerable typing. For example: $EDIT DEAR_JOHN.LETTER $DWIM PRINT # /SETUP=LETTER& $DWIM MAIL /SUBJ=GOODBYE # STAR::JOHNww