Commit cbf64c7b authored by Claes Sjofors's avatar Claes Sjofors

Version help file moved from exe to load

parent a822b1e1
......@@ -281,7 +281,9 @@ void XttTbl::activate_help_project()
void XttTbl::activate_help_proview()
{
CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_exe/sev_xtt_version_help.dat", 0);
char cmd[] = "help /version";
command( cmd);
}
void XttTbl::sevhist_help_cb( void *ctx, const char *key)
......
......@@ -192,9 +192,12 @@ static int xtttbl_help_func( void *client_data,
}
if ( ODD( dcli_get_qualifier( "/VERSION", 0, 0))) {
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_exe/xtt_version_help.dat", 0);
if ( EVEN(sts))
xtttbl->message('E', "No help on this subject");
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_load/xtt_version_help.dat", 0);
if ( EVEN(sts)) {
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_load/sev_xtt_version_help.dat", 0);
if ( EVEN(sts))
xtttbl->message('E', "No help on this subject");
}
return sts;
}
......
......@@ -5786,46 +5786,48 @@ For more information about the commands, see chapter Commands.
</topic>
<topic> backup_refman
Backup verktyg
Backup utility
Backupverktyget analyserar en runtime backupfil. Den gör det möjligt att
The backup utility analyses a runtime backup file. It makes it possible to
- inspektera innehållet i en backupfil.
- se skillnaden mellan två backupfiler lagrade vid olika tidpunkt.
- se skillnaden mellan en backupfil och motsvarande värden i utvecklingsdatabasen.
- överföra utvalda värden från backupfilen till utvecklingsdatabasen.
- inspect the content of the backup file.
- see the difference between two backup files stored and different times.
- see the difference between the backupfile and the corresponding values in the
development database.
- Transfer selected values from the backup file to the development database.
Backupfunktionen i Proview runtime, lagrar värden på objekt och attribute
specificerade med Backupobjekt, till backupfilen. Backupfilen läses vid
Proview uppstart och de tidigare lagrade värdena läggs in i realtidsdatabasen.
The backup function in the Proview runtime enviroment, stores the values of
objects and attributes specified with Backup objects, in the backup file. The
is read at Proview startup and the previously stored values are inserted into
the realtime database.
<h2>Visa innehållet i en backupfil.
Öppna backupfönstret från konfiguratorn för rotvolymen för den node från vilken
backupfilen har hämtats. Backupfönstret öppnas med kommandot 'backup show'.
Aktivera File/Open i menyn och välj en backupfil. Backupfilen kan vara en kopia
av den nuvarande backupfilen eller en kopia från ett tidigare tillfälle. Alla
attribut och deras värden visas i backupfönstret.
<h2>Display the content of a backup file
Open the backup utility from the root volume configurator of the node from which the
backup file is fetched. The backup utility is opened with the command 'backup show'.
Activate File/Open in the menu and select a backup file. The backup file can be a copy
of the current backup file or a copy from a previous occation. All the attributes and
their values are displayed in the backup window.
<image>dg_fig123.png
<b>Fig Visa backupfilen
<h2>Jämför två backupfiler
Öppna den första backupfilen för visning som beskrivs ovan. Aktivera sedan
File/Compare Backup File i menyn och välj den andra backupfilen. Attribut med värden
som skiljer sig mellan filerna visas nu.
<h2>Jämför backupfilen med utvecklingsdatabasen
Öppna backupfilen för visning, och aktivera sedan File/Compare Databse in menyn.
Attribut med värden som skiljer sig mellan backupfilen och utvecklingsdatabasen
visas nu.
<h2>Överför värden från en backupfil till utvecklingsdatabasen
Gå till editeringsmod i konfiguratorn, och öppna sedan backupfönstret. Öppna
backupfilen för visning, och jämför den med värden från utvecklingsdatabasen
med File/Compare Database in menyn. Attribut med värden som skiljer mellan
backupfilen och utvecklingsdatabasen visas nu med checkboxar. Markera de värden
som ska överföras till databasen, och activera File/Transfer to database i menyn.
Aktivera även Save i konfiguratorn för att spara ändringarna.
<b>Fig Display backup file
<h2>Compare two backup files
Open the first backup file for display as described above. Then activate
File/Compare Backup File in the menu and select the other backup file. The attributes
with values that differs between the files are now displayed.
<h2>Compare a backup file with the development database
Open the backup file for display, and then activate File/Compare Database in the menu.
The attributes with values that differs between the backup file and the development
database in now displayed.
<h2>Transfer values from a backup file to the development database
Enter edit mode in the configurator and then open the backup utility. Open the backup
file for display, and then compare this with the values in the development database from
File/Compare Database in the menu. The attributes with values that differs between the
backup file and the database are now displayed with checkboxes. Check the values you
want to transfer, and activate File/Transfer to database in the menu. Finally activate
Save in the configurator to store the modifications.
</topic>
......
......@@ -5731,50 +5731,47 @@ Utilities f
För en närmare beskrivning av respektive kommando, se avsnittet Kommandon.
</topic>
<topic> backup_refman
Backup utility
Backup verktyg
The backup utility analyses a runtime backup file. It makes it possible to
Backupverktyget analyserar en runtime backupfil. Den gör det möjligt att
- inspect the content of the backup file.
- see the difference between two backup files stored and different times.
- see the difference between the backupfile and the corresponding values in the
development database.
- Transfer selected values from the backup file to the development database.
- inspektera innehållet i en backupfil.
- se skillnaden mellan två backupfiler lagrade vid olika tidpunkt.
- se skillnaden mellan en backupfil och motsvarande värden i utvecklingsdatabasen.
- överföra utvalda värden från backupfilen till utvecklingsdatabasen.
The backup function in the Proview runtime enviroment, stores the values of
objects and attributes specified with Backup objects, in the backup file. The
is read at Proview startup and the previously stored values are inserted into
the realtime database.
Backupfunktionen i Proview runtime, lagrar värden på objekt och attribute
specificerade med Backupobjekt, till backupfilen. Backupfilen läses vid
Proview uppstart och de tidigare lagrade värdena läggs in i realtidsdatabasen.
<h2>Display the content of a backup file
Open the backup utility from the root volume configurator of the node from which the
backup file is fetched. The backup utility is opened with the command 'backup show'.
Activate File/Open in the menu and select a backup file. The backup file can be a copy
of the current backup file or a copy from a previous occation. All the attributes and
their values are displayed in the backup window.
<h2>Visa innehållet i en backupfil.
Öppna backupfönstret från konfiguratorn för rotvolymen för den node från vilken
backupfilen har hämtats. Backupfönstret öppnas med kommandot 'backup show'.
Aktivera File/Open i menyn och välj en backupfil. Backupfilen kan vara en kopia
av den nuvarande backupfilen eller en kopia från ett tidigare tillfälle. Alla
attribut och deras värden visas i backupfönstret.
<image>dg_fig123.png
<b>Fig Display backup file
<h2>Compare two backup files
Open the first backup file for display as described above. Then activate
File/Compare Backup File in the menu and select the other backup file. The attributes
with values that differs between the files are now displayed.
<h2>Compare a backup file with the development database
Open the backup file for display, and then activate File/Compare Database in the menu.
The attributes with values that differs between the backup file and the development
database in now displayed.
<h2>Transfer values from a backup file to the development database
Enter edit mode in the configurator and then open the backup utility. Open the backup
file for display, and then compare this with the values in the development database from
File/Compare Database in the menu. The attributes with values that differs between the
backup file and the database are now displayed with checkboxes. Check the values you
want to transfer, and activate File/Transfer to database in the menu. Finally activate
Save in the configurator to store the modifications.
<b>Fig Visa backupfilen
<h2>Jämför två backupfiler
Öppna den första backupfilen för visning som beskrivs ovan. Aktivera sedan
File/Compare Backup File i menyn och välj den andra backupfilen. Attribut med värden
som skiljer sig mellan filerna visas nu.
<h2>Jämför backupfilen med utvecklingsdatabasen
Öppna backupfilen för visning, och aktivera sedan File/Compare Databse in menyn.
Attribut med värden som skiljer sig mellan backupfilen och utvecklingsdatabasen
visas nu.
<h2>Överför värden från en backupfil till utvecklingsdatabasen
Gå till editeringsmod i konfiguratorn, och öppna sedan backupfönstret. Öppna
backupfilen för visning, och jämför den med värden från utvecklingsdatabasen
med File/Compare Database in menyn. Attribut med värden som skiljer mellan
backupfilen och utvecklingsdatabasen visas nu med checkboxar. Markera de värden
som ska överföras till databasen, och activera File/Transfer to database i menyn.
Aktivera även Save i konfiguratorn för att spara ändringarna.
</topic>
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/wtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/wtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/sev_xtt_version_help.dat
} > $pwr_eload/sev_xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/sev_xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
$pwre_host_exe/co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
$pwre_host_exe/co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -79,10 +79,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/wtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/sev_xtt_version_help.dat
} > $pwr_eload/sev_xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/sev_xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/wtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/sev_xtt_version_help.dat
} > $pwr_eload/sev_xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/sev_xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -80,7 +80,17 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
echo "<meta http-equiv=\"Refresh\" content=\"5;../wtt_version_help_version.html\">"
echo "</head></html>"
} > $pwr_doc/en_us/package_version.html
if [ "$1" == "-v" ]; then
exit
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
# Print rt version file
echo "Version: $version" > $pwr_eexe/rt_version.dat
......
......@@ -76,10 +76,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/sev_xtt_version_help.dat
} > $pwr_eload/sev_xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/sev_xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -81,7 +81,16 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/wtt_version_help.dat
} > $pwr_eload/wtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eload/wtt_version_help.dat
{
echo "<html><head>"
echo "<meta http-equiv=\"Refresh\" content=\"5;../wtt_version_help_version.html\">"
echo "</head></html>"
} > $pwr_doc/en_us/package_version.html
if [ "$1" == "-v" ]; then
exit
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/xtt_version_help.dat
} > $pwr_eload/xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/xtt_version_help.dat
# Print rt version file
echo "Version: $version" > $pwr_eexe/rt_version.dat
......
......@@ -78,10 +78,10 @@ fi
done
} < $datfile
echo "</topic>"
} > $pwr_eexe/sev_xtt_version_help.dat
} > $pwr_eload/sev_xtt_version_help.dat
# Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
co_convert -t -d $pwr_doc $pwr_eload/sev_xtt_version_help.dat
{
echo "<html><head>"
......
......@@ -543,7 +543,7 @@ static int wnav_help_func( void *client_data,
}
if ( ODD( dcli_get_qualifier( "/VERSION", 0, 0))) {
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_exe/wtt_version_help.dat", strict);
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_load/wtt_version_help.dat", strict);
if ( EVEN(sts))
wnav->message('E', "No help on this subject");
return sts;
......
......@@ -489,7 +489,7 @@ static int xnav_help_func( void *client_data,
}
if ( ODD( dcli_get_qualifier( "/VERSION", 0, 0))) {
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_exe/xtt_version_help.dat", 0);
sts = CoXHelp::dhelp( "version", "", navh_eHelpFile_Other, "$pwr_load/xtt_version_help.dat", 0);
if ( EVEN(sts))
xnav->message('E', "No help on this subject");
return sts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment