1755723 Members
2699 Online
108837 Solutions
New Discussion юеВ

GUI on HPUX

 
Henry Chua
Super Advisor

GUI on HPUX

Hi Guys,

What do you usually use to produce GUI program on HPUX? I am currently using 10.20b. Thank you?

Best regards
Henry
13 REPLIES 13
Roderik Hamers
Frequent Advisor

Re: GUI on HPUX

Unix-based version got mostly XWindow on them, so 'startx' should do the trick.
Robert-Jan Goossens
Honored Contributor

Re: GUI on HPUX

Henry,

Are you refering to CDE ?

Try
# /usr/dt/bin/dtconfig -e
# init 2
# init 3

Regards,
Robert-Jan
Alex Glennie
Honored Contributor

Re: GUI on HPUX

Henry,

A Gui requires the following regardless of the O/S version

a) a local graphics card

b) appropriate device files created for hpux use insf -evd framebuf.

c) At the minimum an Xserver, usually a windows manager such as CDE or VUE which sits ontop of the Xserver and makes life easier by giving you a desktop enviroment with icons etc etc.

this is normally setup at install time on a graphics workstation so nothing would have to be done ...

if this is a server things get more complicated unless it has a local graphics card and monitor ... why because X/CDE has no
display to appear on, how then do you see it.

Most people use either

Xemulator s/w reflections X, Exceed etc

make use of an already running remote Xserver, can be on linux,solaris or another hpux system etc as X is generic,you'd then remote login to your server from the remote host, export DISPLAY=:0
and then run the GUI

an xterminal

some depending on the GUI in question use xvfb, since this is 10.20 you won't have this installed by default and would most likely need the 10.20 depot from a local HP response
centre as it only became supported as an xserver extension at 11.x ... a quick search on google for xvfb depot should come up with the goods if needed.
Zygmunt Krawczyk
Honored Contributor

Re: GUI on HPUX

Hi Henry,

look at the following products:


http://www.pts.com/
UIM/X Motif GUI Builder and Code Generator

http://www.ist.co.uk/
X-Designer

http://www.scl.com/
BX PRO Motif GUI Builders

Regards,
Zygmunt
Sebastian Cesario_1
Occasional Advisor

Re: GUI on HPUX

Henry, I think you need a software in the host as Reflection X or something like that.
on the running session export DISPLAY vriable in this way:

export DISPLAY=xxx.xxx.xxx.xxx:0.0
the x├В┬┤s refeers to ip address or it could be hostname too.
and after that with reflection X opened you can run Xterm or Xsession.

Regards,
Sebastian Cesario
Geoff Wild
Honored Contributor

Re: GUI on HPUX

As an aside - 10.20 of HP-UX was discontinued on June 30, 2002.

You should really upgrade to 11i

As far as GUI - do you mean on the server or from a PC?

On the server, CDE or Gnome works. From a PC - Exceed.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Alzhy
Honored Contributor

Re: GUI on HPUX

The easiest tool to use is TCL/TK. The program is pretty much script/shell like but you get practically all the "widgets" available out of Motif/CDE or whatever Window Manager your X-Windows is using.

Not as fast as native C-code Motif/X-Windows apps but usable enough.

Many many resources and download sites for TCL/TK... Google...
Hakuna Matata.
Alzhy
Honored Contributor

Re: GUI on HPUX

This is of course what you meant right? You know already X-Windows concepts, X-Servers, X-emulators, etc.... and you simply wanted how you can create X-Windows./GUI applications?
Hakuna Matata.
A. Clay Stephenson
Acclaimed Contributor

Re: GUI on HPUX

Although it's not ported to 10.20 (and you shouldn't be developing for 10.20 anyway), my weapon of choice for GUI development is Qt. It's probably the best GUI Development system that you've never heard of and it runs on a wide variety of platforms (UNIX, Linux, Mac, Windows).
If it ain't broke, I can fix that.