APT Motif look-and-feel 
Author Message
 APT Motif look-and-feel

I have Sybase SQL-Server 4.9.1 and SQL-Toolset 5.2 running on SunOS
4.1.2 (Sun Sparc 4/490) with OpenLook.  I have some 'C' applications
that call the Sybase DB-Library, using the Sybase X11 screen
libraries.  At present, I get the somewhat 'clunky' X11 look-and-feel
that is neither OpenLook nor Motif compliant.

I am assured by Sybase that the Sybase DB-Library is Motif-compliant,
so I decided to re-compile one of the applications to get the Motif
look-and-feel display in the OpenLook environment (I have done this
successfully with another non-Sybase Motif application).

My Motif installation is under /packages/motif so as not to break all
my other software (!).  Accordingly, I have set LD_LIBRARY_PATH to
/packages/motif/lib.  Sybase itself is installed under
/home/silicon/packages/sybase491.

This is the screen output from my makefile (for program MBx_motif):

cc -I/packages/motif/include/Xm -I/home/silicon/packages/sybase491/include
-o MBx_motif MBx.c /home/silicon/packages/sybase491/lib/libsybapt.a /home/silicon/packages/sybase491/lib/x11scrnlib.a /home/silicon/packages/sybase491/lib/libsybdb.a  /usr/lib/libm.a /packages/motif/lib/libX11.a

It compiles and links OK, but when started, the application looks just
the same as using the OpenLook libraries!  No nice Motif look-and-feel!

What am I doing wrong!

        Phil Gardner



Sat, 30 Dec 1995 16:56:56 GMT
 APT Motif look-and-feel

Quote:

>I have Sybase SQL-Server 4.9.1 and SQL-Toolset 5.2 running on SunOS
>4.1.2 (Sun Sparc 4/490) with OpenLook.  I have some 'C' applications
>that call the Sybase DB-Library, using the Sybase X11 screen
>libraries.  
>What am I doing wrong!

 expecting the sybase front end to look like a real gui (tm).

 if you link with apt what you get is apt. if you want Motif you need
either a third party application builder or sybase's Motif/OpenLook
interpreter - i don't recall what they're calling it - but it's a
separate, almost-a product.

craig



Sat, 30 Dec 1995 22:59:02 GMT
 APT Motif look-and-feel

anyone heard of a Sybase product Companion Server, which may be used to run SQL Server in
a cluster environment??  what is it, what can it do?  doesn't SQL Server run in a Vax
cluster enviroment anyway??

how about a db consitency checking utility - does this come with SQL Server?

thanks!




Sun, 31 Dec 1995 02:20:20 GMT
 APT Motif look-and-feel
[...]

Quote:

> if you link with apt what you get is apt. if you want Motif you need
>either a third party application builder or sybase's Motif/OpenLook
>interpreter - i don't recall what they're calling it - but it's a
>separate, almost-a product.

Another way of getting Motif GUI interfaces is to use the Tool Command
Language (TCL), it's companion X11 widget set (Tk), and my Sybase interface
(Sybtcl).  TCL/Tk uses the Motif look & feel as defined by the Motif Style
Guide, without using the Xt and Motif C libraries.  Sybtcl includes some
sample TCL/Tk programs written with the software, including a windowing
version of isql (wisql).

Another plus is that the above software is $0.00 cost, just FTP from
harbor.ecn.purdue.edu
        /pub/tcl/sprite-mirror/tk3.2.tar.Z      -Tk 3.2 and TCL 6.7
        /pub/tcl/extensions/sybtcl-1.3.tar.Z    -the Sybase interface
        /pub/tcl/extensions/tclX6.5c.tar.Z      -the Tcl Extended pkg.
        /pub/tcl/extensions/tclX6.7c.update2.Z  -update to Tcl Extended

See comp.lang.tcl for general TCL/Tk discussion.

--



Sun, 31 Dec 1995 02:29:58 GMT
 APT Motif look-and-feel

Quote:

>I have Sybase SQL-Server 4.9.1 and SQL-Toolset 5.2 running on SunOS
>4.1.2 (Sun Sparc 4/490) with OpenLook.  I have some 'C' applications
>that call the Sybase DB-Library, using the Sybase X11 screen
>libraries.  At present, I get the somewhat 'clunky' X11 look-and-feel
>that is neither OpenLook nor Motif compliant.

>I am assured by Sybase that the Sybase DB-Library is Motif-compliant,

No, dblib is neither Open Look nor Motif compliant, dblib displays nothing
on a screen, its a db i/f and so has nothing to do with any GUI being used.
I suspect you really mean APT-Library, some functions of which also call
db-library, now this baby is "compliant" with Open Look and Motif in the
sense that it will use an X11 window under these window managers, but it
always uses its own "clunky" Character Oriented Window display within that
window - I think its more correct to say APT is X11/Open Look/Motif
"compatible" rather than "compliant".

Quote:
>so I decided to re-compile one of the applications to get the Motif
>look-and-feel display in the OpenLook environment (I have done this
>successfully with another non-Sybase Motif application).

>My Motif installation is under /packages/motif so as not to break all
>my other software (!).  Accordingly, I have set LD_LIBRARY_PATH to
>/packages/motif/lib.  Sybase itself is installed under
>/home/silicon/packages/sybase491.

>This is the screen output from my makefile (for program MBx_motif):

>cc -I/packages/motif/include/Xm -I/home/silicon/packages/sybase491/include
>-o MBx_motif MBx.c /home/silicon/packages/sybase491/lib/libsybapt.a /home/silicon/packages/sybase491/lib/x11scrnlib.a /home/silicon/packages/sybase491/lib/libsybdb.a  /usr/lib/libm.a /packages/motif/lib/libX11.a

>It compiles and links OK, but when started, the application looks just
>the same as using the OpenLook libraries!  No nice Motif look-and-feel!

>What am I doing wrong!

Nothing, thats the way the current (5.2) version of APT (and DWB) works.
Now Sybase are working on a product called APT-Translator for Motif and
APT-Display for Motif to make apt displays truly Motif compliant but these
are not yet available (there were originally going to be Open Look versions
of these for Sun as well, but since Sun is dropping Open Look Sybase
decided not to bother releasing the Open Look versions).

Quote:

>    Phil Gardner

Regards
David Shanahan.


Sun, 31 Dec 1995 10:40:43 GMT
 APT Motif look-and-feel
|>
|> anyone heard of a Sybase product Companion Server, which may be used to run SQL Server in
|> a cluster environment??  what is it, what can it do?  doesn't SQL Server run in a Vax
|> cluster enviroment anyway??
|>
|>

Companion Server is a feature that comes with the standard VMS
SQL Server.

Companion Server is a feature that allows one to boot multiple
SQL Server processes across a VMS Cluster.  At any given moment
there is one server that is accepting connections (the master)
and any number of hot standbys (companions).  If the master server
fails, one of the companions will take over and become the master.
This feature is controlled by global locks.

|> how about a db consitency checking utility - does this come with SQL Server?
|>
|>

yes, db consistency tools come with the SQL Server.  There
are a series of dbcc (database consistency checker) commands
that are built into the SQL Server.

|> thanks!
|>

-Jamie



Mon, 01 Jan 1996 01:09:40 GMT
 APT Motif look-and-feel
: Companion Server is a feature that comes with the standard VMS
: SQL Server.

: Companion Server is a feature that allows one to boot multiple
: SQL Server processes across a VMS Cluster.  At any given moment
: there is one server that is accepting connections (the master)
: and any number of hot standbys (companions).  If the master server
: fails, one of the companions will take over and become the master.
: This feature is controlled by global locks.

This is a very interesting feature, which I never knew was available in
Sybase. Is anything equivalent to this is available in non VAX environment?
(typically a TCP/IP network of Unix machines)

By the way, I presume the Companion server mentioned here is not the same
as SA-Companion server, because I was given a totally different explanation
of SA-Companion server.

: -Jamie

------
Yogen Sanghani
ICon Inc.
(212)972-4266



Fri, 05 Jan 1996 23:06:52 GMT
 APT Motif look-and-feel


|> : Companion Server is a feature that comes with the standard VMS
|> : SQL Server.
|>
|> : Companion Server is a feature that allows one to boot multiple
|> : SQL Server processes across a VMS Cluster.  At any given moment
|> : there is one server that is accepting connections (the master)
|> : and any number of hot standbys (companions).  If the master server
|> : fails, one of the companions will take over and become the master.
|> : This feature is controlled by global locks.
|>
|>
|> This is a very interesting feature, which I never knew was available in
|> Sybase. Is anything equivalent to this is available in non VAX environment?
|> (typically a TCP/IP network of Unix machines)

Nope, VMS only.

|>
|> By the way, I presume the Companion server mentioned here is not the same
|> as SA-Companion server, because I was given a totally different explanation
|> of SA-Companion server.

Yup, SA Companion is a tool that facillitates SA activities
like adding/dropping users.  I'm afraid that I don't know much
more about it, though.

-Jamie

|>
|>
|> : -Jamie
|>
|> ------
|> Yogen Sanghani
|> ICon Inc.
|> (212)972-4266



Sat, 06 Jan 1996 07:24:17 GMT
 
 [ 8 post ] 

 Relevant Pages 

1. Gut feeling: Which query looks better

2. jTree - Look and Feel

3. Looking to feel, touch, taste

4. Filemaker Apps - generic look and feel

5. Exporting Look and Feel

6. Ingres Windows4gl, look and feel portability.

7. Ingres Windows4gl, look and feel portability.

8. FoxPro look and feel (Changing)

9. unmigrating apt 5 to apt 4

10. Looking for Motif GUI for Informix 4GL

11. 22163-CT-East Hartford-C-C++-UNIX-GUI-Motif-C, C++, UNIX, GUI, Motif


 
Powered by phpBB® Forum Software