Difference between revisions of "Installing Macro Definition Files"

From Vital Soft Wiki
Jump to: navigation, search
>Johno
(Created page with "==Installing Macro Definition Files== The AskPlus macro file is built by running the load_macros script. When the script is executed the ''compiled'' macro file is built in ...")
 
>Johno
(Installing Macro Definition Files)
Line 8: Line 8:
  
 
*'''Installing a new macrodef file:'''
 
*'''Installing a new macrodef file:'''
#Download the latest macrodef file from the website.
+
:1. Download the latest macrodef file from the website.
#Login as the askplus user.
+
:2. Login as the askplus user.
#Make a backup copy of the existing macrodef file.
+
:3. Transfer the downloaded file (ASCII) to '''/ASKPLUS/visimage''':
#Transfer the macrodef file (ASCII) to '''/ASKPLUS/visimage'''.
+
<pre>
#Rebuild (''compile'') the macro file as follows:
+
mv macrodef macrodef.save.cymd
 +
# Where cymd is today's date.
 +
cp macrodef.samp macrodef
 +
# Note the file you uploaded may have a different name.
 +
</pre>
 +
:4. Rebuild (''compile'') the macro file as follows:
 
<pre>
 
<pre>
 
chmod 644 macrodef  << This step is VERY important for Vital Signs users! >>
 
chmod 644 macrodef  << This step is VERY important for Vital Signs users! >>
Line 18: Line 23:
 
/ASKPLUS/load_macros
 
/ASKPLUS/load_macros
 
</pre>
 
</pre>
:*Verify that the macro file permissions are correct:
+
:5. Verify that the macro file permissions are correct:
 
<pre>
 
<pre>
 
ll macro
 
ll macro
 
The file must be writeable by all users, at least 666.
 
The file must be writeable by all users, at least 666.
 
</pre>
 
</pre>

Revision as of 00:07, 23 September 2015

Installing Macro Definition Files

The AskPlus macro file is built by running the load_macros script. When the script is executed the compiled macro file is built in the current directory. The compiled macro file is created from the following definition files:

  • /ASKPLUS/visimage/macrodef
  • /ASKPLUS/visimage/usermdef
  • ./usermdef
  • ./vsmacdef
  • Installing a new macrodef file:
1. Download the latest macrodef file from the website.
2. Login as the askplus user.
3. Transfer the downloaded file (ASCII) to /ASKPLUS/visimage:
mv macrodef macrodef.save.cymd
# Where cymd is today's date.
cp macrodef.samp macrodef
# Note the file you uploaded may have a different name.
4. Rebuild (compile) the macro file as follows:
chmod 644 macrodef  << This step is VERY important for Vital Signs users! >>
cd /ASKPLUS/visimage
/ASKPLUS/load_macros
5. Verify that the macro file permissions are correct:
ll macro
The file must be writeable by all users, at least 666.