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