| 1 |
<HTML> |
| 2 |
|
| 3 |
|
| 4 |
<HEAD> |
| 5 |
<TITLE>ACEDB User Group Newsletter - May 2000</TITLE> |
| 6 |
|
| 7 |
<!-- you won't pick up the style sheet if you view this template file, it works OK |
| 8 |
for the newsletters which are in the directory above. --> |
| 9 |
|
| 10 |
<LINK rel=stylesheet type="text/css" |
| 11 |
href="../newsletter.css" |
| 12 |
title="Style sheet for Acedb newsletters"> |
| 13 |
|
| 14 |
</HEAD> |
| 15 |
|
| 16 |
|
| 17 |
<BODY> |
| 18 |
|
| 19 |
<HR> |
| 20 |
<HR> |
| 21 |
|
| 22 |
<H1>ACEDB User Group Newsletter - May 2000</H1> |
| 23 |
|
| 24 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 25 |
make comments/suggestions about the format/content then |
| 26 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 27 |
|
| 28 |
<P>This month includes a tip about what to do if your queries seem not to be |
| 29 |
working correctly (thanks to Lisa French for raising this), a change to the |
| 30 |
way acedb programs find their help files, yet more fmap stuff (cascading menus |
| 31 |
for column configuration) and a change to acedb user group meetings. |
| 32 |
|
| 33 |
<a name="General"></a><H2>General News</H2> |
| 34 |
|
| 35 |
<p>The latest monthly release is now available from <code>~acedb/RELEASE.DEVELOPMENT</code>. |
| 36 |
|
| 37 |
|
| 38 |
<a name="New"></a><H2>New Features</H2> |
| 39 |
|
| 40 |
<a name="Finding"></a><h3>Finding acedb configuration and help files...</h3> |
| 41 |
|
| 42 |
<p>Simon Kelley has added code to help with providing common configuration/help files |
| 43 |
for multiple databases. |
| 44 |
Acedb programs will now search in two directories: the database directory |
| 45 |
itself and an installation-wide directory where |
| 46 |
default copies of help files and config files and scripts can exist. |
| 47 |
These are used when the files cannot be found in the database directory. |
| 48 |
|
| 49 |
<P>The database directory is found as before from the command line, or the |
| 50 |
value of $ACEDB. The installation-wide directory is found on unix from the value of $ACEDB_COMMON, or |
| 51 |
/usr/share/acedb, or /usr/local/acedb (in that order), on windows it is found from a |
| 52 |
registry entry set up by the installation program on windows. |
| 53 |
|
| 54 |
<p>This now makes it possible to put common acedb files in to a single directory on the |
| 55 |
system and find them by setting $ACEDB_COMMON in the users shell environment. This can be |
| 56 |
used to replace the existing mechanism of maintaining symbolic links within database |
| 57 |
directories. |
| 58 |
|
| 59 |
<p>The following resources will be searched for in the installation-wide directory if not |
| 60 |
found in the database: |
| 61 |
|
| 62 |
<pre><code> |
| 63 |
wspec/wingtkrc |
| 64 |
wspec/gtkrc |
| 65 |
wspec/winfonts.wrm |
| 66 |
wspec/xfonts.wrm |
| 67 |
wspec/psfonts.wrm |
| 68 |
wspec/acedbrc |
| 69 |
wspec/table.menu |
| 70 |
wspec/sysclass.wrm |
| 71 |
wspec/displays.wrm |
| 72 |
wspec/table.menu |
| 73 |
wscripts/* |
| 74 |
whelp/* |
| 75 |
</code></pre> |
| 76 |
|
| 77 |
<p>Note that acedb will use only the contents of $ACEDB/whelp or |
| 78 |
$ACEDB_COMMON/whelp, <b>it won't mix files from both</b>. |
| 79 |
|
| 80 |
<p>The following are searched for only in the database dir. |
| 81 |
|
| 82 |
<pre><code> |
| 83 |
database/* |
| 84 |
rawdata/* |
| 85 |
wquery/* |
| 86 |
rawdata/* |
| 87 |
wgf/* |
| 88 |
wspec/layout.wrm |
| 89 |
wspec/models.wrm |
| 90 |
wspec/constraints.wrm |
| 91 |
wspec/subclasses.wrm |
| 92 |
wspec/lock.wrm |
| 93 |
wspec/serverconfig.wrm |
| 94 |
wspec/serverpasswd.wrm |
| 95 |
wspec/server.wrm |
| 96 |
wspec/datainfo.wrm |
| 97 |
wspec/options.wrm |
| 98 |
wspec/passwd.wrm |
| 99 |
wspec/database.wrm |
| 100 |
</code></pre> |
| 101 |
|
| 102 |
|
| 103 |
<a name="Specifying"></a><h3>Specifying a database directory from xace...</h3> |
| 104 |
|
| 105 |
<p>Simon has also introduced a new command line option to xace which allows you |
| 106 |
to choose a database when you start xace. |
| 107 |
|
| 108 |
<p>If you type: |
| 109 |
|
| 110 |
<pre><code> |
| 111 |
xace -promptdb |
| 112 |
</code></pre> |
| 113 |
|
| 114 |
<p>you will prompted to choose a database directory via the usual "file chooser" |
| 115 |
type window. |
| 116 |
|
| 117 |
|
| 118 |
<a name="fmap"></a><h3>fmap cascading menus...</h3> |
| 119 |
|
| 120 |
<p>Fmap column configuration via <B>Column pull down menus</B> was covered in the |
| 121 |
last newsletter but this unfortunately did not work correctly. If several columns of |
| 122 |
different kinds were drawn over the top of each other, only one of the columns could |
| 123 |
be manipulated via the pull down menus. This months code fixes this by providing |
| 124 |
a cascading pull down menu which shows all the columns drawn in one position and |
| 125 |
allows separate configuration of all those columns. Try it out and if you have |
| 126 |
problems send mail to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 127 |
|
| 128 |
|
| 129 |
<a name="Query"></a><H2>Query not working any more...</H2> |
| 130 |
|
| 131 |
<p>Lisa French reported a problem with a number of queries just not working |
| 132 |
correctly. Investigation showed that the database indexing (which provides rapid |
| 133 |
accessing of object field/tags) was incorrect, this does not mean the database |
| 134 |
will lose data but it does mean that queries do not work correctly until the next |
| 135 |
full reindex of the database. |
| 136 |
|
| 137 |
<p>tace provides a "read models" command optionally with a full reindex, this option |
| 138 |
has now been added to xace as well (on the main panel, click the "Edit.." button |
| 139 |
and select the "Read Models and full reindex" option). If you are having |
| 140 |
problems with queries clearly not working correctly then you should try reindexing |
| 141 |
the database. Before you do this you should note two points: |
| 142 |
<ol> |
| 143 |
<li>You must be able to get write access to the database. |
| 144 |
<li>A complete reindex can take some time and no one else |
| 145 |
will be able to update the database while this is happening. |
| 146 |
</ol> |
| 147 |
|
| 148 |
<p>This problem shouldn't happen and we hope to fix it soon, you should only suspect |
| 149 |
that your database is corrupted if reindexing does not fix the problem. |
| 150 |
|
| 151 |
|
| 152 |
<a name="User"></a><H2>User Group meetings</H2> |
| 153 |
|
| 154 |
<p>Acedb user group meetings happen every month and are a chance to talk to |
| 155 |
acedb developers and to other users. Dan Lawson suggested that it would be |
| 156 |
good if we could have some short overviews in these meetings of various |
| 157 |
parts of acedb. He has volunteered to start with an overview of |
| 158 |
"super link" and "link" objects as used in the worm database in Junes |
| 159 |
user group meeting. If you would like to contribute an overview or would like |
| 160 |
to see some topic covered then send suggestions to |
| 161 |
<A HREF="mailto:[email protected]">[email protected]</A>. |
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
<H2>Next User Group Meeting - D213, 2.30pm, Thursday 11th May</H2> |
| 166 |
|
| 167 |
<HR> |
| 168 |
<HR> |
| 169 |
|
| 170 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 171 |
<!-- hhmts start --> |
| 172 |
Last modified: Mon May 21 15:39:25 BST 2001 |
| 173 |
<!-- hhmts end --> |
| 174 |
|
| 175 |
</BODY> |
| 176 |
</HTML> |