Re: XForms: Anyone succeeded Xforms on Win95/NT ?!

David Miller (dmiller@newportnet.com)
Fri, 30 Jan 1998 16:25:50 -0800

# To subscribers of the xforms list from David Miller <dmiller@newportnet.com> :

>
>
>
> # To subscribers of the xforms list from "Ruslan V. Brushkoff" <rus@farlep.net> :
>
>
> Hi.
>
> Where I can read about installing/using Xforms on Win95/NT ?
> I tried both W32 and Cygnus version of the library. When starting
> fdesign - the first silently exited, the second writes "Can't open
> display". Somebody mentioned about Xserver must running on the machine -
> where can I get precompiled binaries ? Can I use the library on Win95 ?
>
> I'd be appreciated for any answer.
>
>
> Rus
>

Hi

I've seen several posts about running XForms on WIN95/NT. Recently set
up X-Windows on NT/4.0, so I thought I'd share some info. This has been
working for me, but as ususal your milage may vary.

-----Development Suite----

If you are going to do development, you will need the cygnus Win32
compiler.
It can be obtained form

ftp://ftp.cygnus.com/pub/gnu-win32/

get the file cdk.exe, It's big! 13,729 KB. It's a complete unix
enviroment
including the gnu development suite. Has a tcl front-end for gdb and
installs tcl 7.6.

Install the cygnus suite by running the cdk.exe file, and then read the
readme, set the proper enviromental variables, and generally test things
out. Heed all the advice in the readme about necessary directories, and
enviromental variables, and save yourself some time.

I added bash to my start menus for easy access to a bash shell. You
will
probably want to create a home directory, and create a .bashrc file.

----- XLibs ----

Now you will need Xlibs compiled for use with cygnus Win32. These can
be obtained from

ftp://ftp.denic.com/pub/ports/X11R6.3/

get file Wm32_X11R6_3.tar.gz 7110 KB

Using the bash shell to create a /usr directory, move
Wm32_X11R6_3.tar.gz to /usr,
untar and install this file in /usr/X11R6.3.
The Xlibs in this distribution are created against a patched set of
cygnus-win32 libs. To patch your cygnus-win32 installation, change to
the
/usr/X11R6.3/b18-patch directory, an run update.bat. See the sergey.txt
for details.

There are additional Xclients at

ftp://microlib.cc.utexas.edu/microlib/nt/X11R6

Add the /usr/X11R6.3/bin directory to your path statement.

---- X Server ---

Now you will need an Xserver to do the actual display. Not having
alot of money to throw at this project (as in none), I explored
the freely available X servers for windows. This is what
I found:

MI/X form MicroImages
/cgi-bin/exit-to?http://www.microimages.com/freestuff

Free distribution, copyright by MicroImages
2 files getme1st.exe 332 KB
file0001.bin 2248 KB

Somewhat limited, but a free Xserver. Does not handle all athena
widgets correctly.

X-WinPro
free demo - 30 min /session limit
/cgi-bin/exit-to?http://www.kabf.com/xwpweb/koko2.html
file xwp.exe 4,687 KB

A nice Xserver. Fairly inexpensive purchages price.

Pexus Systems X-Deep/32 Version 3.0
Free demo with session time limit, based on X11R6.1, comes with own
Xlibs.
Includes twm and 40 clients.
/cgi-bin/exit-to?http://www.pexus.com
I installed this in a seperate directory of it's own so it would not
interefer with the X11R6.3 distribution, and then created shortcuts to
it to start the server.

--- Running X clients
Once all of the pieces are in place, from a bash shell, start up the
xserver.
Do this in the background, so you will be able to use the shell. Then
to
start an xclient

xclient -display localhost:0.0 &

Or after getting and installing the XForms for cygnus-win32 distribution

fdesign -display localhost:0.0 &

Now you will need a window manager, ect. So far I've built twm from
source,
and the libXpm library, although it's not really been tested much. Just
to many interests and to little time. Hope this may help. If you run
into
any really blatant errors please correct for others, as most of this is
from
memory, or what's left of it.

Dave Miller
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/