Now the default display width is changed accordingly, if it is not set explicitly.
The malloc(3X) library has been replaced by malloc(3C).
This has been fixed.
To solve this problem, you have to install eloq with the set-user-id bit set.
cd /usr/eloquence chown root eloq chmod 4555 eloqPty devicefiles have been moved to /dev/ptym (master side) and /dev/pty (slave side) with HP-UX release 8.0.
'eloq' has been changed to access the devicefiles instead of compatibility links.
FNAME$( expr ) returns the filename associated with the given file number.
eg. ASSIGN #1 TO "foo,TMP" DISP FNAME$(1) -> /tmp/foo.DATAPlease note: An absolute HP-UX compliant path/name is returned.
Now a 'fast sequential' mode is used internally to process the first dataset. This will passby the internal database cache, which results in a better response time.
Please note:
Now DBOPEN checks the database only the first time it is opened (systemwide). Any subsequent DBOPEN will execute faster, because consistency checks are omitted.
.fgc defines the display enhancements for the object's "foreground". .bgc defines the display enhancements for the object's "background".
0 - (default) 1 - inverse video 2 - blinking video 4 - underline video 8 - halfbright videoThe attribute values are calculated additive. e.g. .fgc = 9 displays the foreground in inverse and halfbright
Previously, if text was entered into an Edittext, it was always inserted. This was often unexpected to Eloquence users. Now EditText is set to overwrite mode by default. You may toggle overwite/insert mode using the "INSERT" key. The cursor form will change to indicate insert/overwrite mode.
.writefile Attribute:
The .writefile attribute is of type string. It specifies a filename,
in which the content of the EditText is written to.
Using this attribut, you can write your own Text Editor very simply:
DLG SET "dialog.edit.file","/tmp/text" ! read file DLG DO "dialog",R ! handle dialog DLG SET "dialog.edit.writefile","/tmp/text.new" ! write file.ins Attribute:
.delln Attribute:
The .delln attribute is of type integer. It deletes the given number
of lines starting at the cursor line.
.ins Attribute:
The .ins attribute is of type string. It inserts the given string
before the current line
NOTE: ListBox always inserts complete lines.
.delln Attribute:
The .delln attribute is of type integer. It deletes the given number
of lines starting at the cursor line.
If the database ROOT file contains different information than the data sets (eg. number of records), the database is considered as corrupted and will return a -94 status word during the DBOPEN. This may be the result of a power failure or a kill -9 in the "right" moment (please refer to Murphys Laws for details).
The only supported way to repaire your database is to export it using dbexport, erase it using dberase and re-fill it using dbimport utility programs.
The dbpatch utility can be used for two different purposes:
Sample output of the dbpatch utility: The arrow at the end of a line indicates a corrupted dataset.
EXPECTED REAL DATA SET CAPACITY RECLEN ENTRIES RECLEN ENTRIES ---------------- -- - -------- ------ -------- ------ -------- INTERPRET 01 A 100 32 68 32 69 < NAME 02 A 100 64 50 64 50 INHABER 03 M 200 76 161 76 161 DISC 04 D 500 128 2429 128 2430 <
THIS DOES NOT FIX ANY CORRUPTED DATA, it will simply suppress the status error. However, this may be necessary, if time does not permit you to export/import the database.
Now Eloquence provides a network database daemon, which will provide access to a database via network. The network daemon will intercept requests from network, process them and transmits results back to the invoking process.
The network daemon must be started on each machine, on which a database resides which should be accessible via network. Eloquence must be installed on each machine, where an network daemon should be started.
A remote access version of the database library has been provided which will allow remote access to Eloquence database via network from 'C' language. Eloquence does not need to be installed to use this remote library.
Prerequisites:
The suggested solution is to either create a new login eg. 'remote' or to use an existing login to start the network server instead of 'root'.
You must modify your system configuration in order to use or provide access to a database via network.
Add a line like the following to your /etc/services
eloq 8000/tcp # HP ELOQUENCE eloqndwhere "eloq" is the service name, "8000" is a port number, "tcp" is the protocol name. All characters after '#' are comment.
Check the port number against the following:
NOTE: The entries must not be preceded by a blank space. See the services(4) manual page for more information.
Start the network daemon from within your /etc/rc just after eloqd Add a line like the following in the 'localrc' part of your /etc/rc file:
su remote -c /usr/eloquence/eloqndwhere "remote" is the user login.
eloq.config
or .eloqrc
which will map a logical volume name to a remote path. VOLUME HPFB :HPFB HPFB:/usr/applicationAny access to a database DBNAME,HPFB will be performed using the network daemon on the system HPFB.
You have to provide an absolute path to the directory where the database resides, because there is no current directory.
There is a new status code for Eloquence database: A status of -700 indicates that a remote operation failed. Status word 10 describes the kind of failure:
/usr/include/sys/errno.h
for details.
To compile with a "remote only" database library, you have to
define REMOTE_ONLY
before including
idb.h
.
You should link with libreloq.a
instead of
libeloq.a
Code skeleton:
#define REMOTE_ONLY #includeTo link:....
cc ... -l reloq