Operating System - HP-UX
1832282 Members
1996 Online
110041 Solutions
New Discussion

Re: GUI Language For HP-UX

 
Amit Dixit_2
Regular Advisor

GUI Language For HP-UX

Hi,
I wrote a script for installing an
application.
I want to transfer the same to GUI
what is the best and easisiest language to
use for the same.
Which will ask some input and do the needful

Thanks,
Amit
8 REPLIES 8
Mauro Gatti
Valued Contributor

Re: GUI Language For HP-UX

Have you ever tryed TK?
You can use it with TCL and PERL.
http://www.tcl.tk
http://www.pertltk.org
http://www.perl.com
and other more...
Google can help you!

RGDS
Ubi maior, minor cessat!
Simon Hargrave
Honored Contributor

Re: GUI Language For HP-UX

You may also wish to consider Python (with Tk).

It is available for HPUX here: -

http://hpux.connect.org.uk/hppd/hpux/Languages/python-2.3.3/

You can read more about the language and its capabilities here: -

http://www.python.org/
R. Sri Ram Kishore_1
Respected Contributor

Re: GUI Language For HP-UX

Hi Amit,

X-Motif is also an option. It's a bit complicated but still very powerful. I don't think HP has a front-end tool for Motif. As a matter of fact, Solaris has one, the "Sun Visual Workshop Developer". It's a nice tool wherein you can just drag and drop frames, widgets etc. It generates the corresponding X-Motif code for you and you only to add functionality to the screens using callbacks. See this doc for more information:
http://docs.sun.com/db/doc/802-5957
You might want to check with your HP representative about the availability of such a tool for HP-UX.

HTH.

Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
R. Sri Ram Kishore_1
Respected Contributor

Re: GUI Language For HP-UX

Hi Amit,

Also, take a look at this thread:
bizforums.itrc.hp.com/cm/QuestionAnswer/ 1,,0x7eab53921f1ad5118fef0090279cd0f9,00.html
Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
R. Sri Ram Kishore_1
Respected Contributor

Re: GUI Language For HP-UX

Hi again,

This thread discusses the "Motif Development Environment Package" (similar to the Sun Visual Workshop Developer I was referring to in one of my previous replies). Do take a look:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=79091

HTH.

Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
H.Merijn Brand (procura
Honored Contributor

Re: GUI Language For HP-UX

Perl/Tk is pretty low level direct scripting. You can achieve almost anything you like, but it has one (big) disadvantage: there is no GUI designer that works on HP-UX. If you are a real programmer, you can try to get Prima up and running, but if that is worthwhile, I dare to question.

All my perl binary distributions include Perl/Tk.

A new(er) interface available to Perl ix Wx: http://search.cpan.org/search?query=Wx&mode=all with other possibilities and interface than Tk. Works more transparent to Windows if that is a transition goal

For both installation of Tcl and/or Tk is not needed

Enjoy, Have FUN! H.Merijn [ Who does all fast non-commercial graphic GUI's in Perl/Tk ]
Enjoy, Have FUN! H.Merijn
Gerard Leclercq
Trusted Contributor

Re: GUI Language For HP-UX

Hello,

Since your script is already done, you can use Xdialog.(http://hpux.ee.ualberta.ca/hppd/hpux/Gtk/Xdialog-2.0.3/).

It will be faster to have a GUI, since it is not another language to learn, but just a command with very interresting options you put in your script.

For example, to display a message in a dialog box during 10 seconds, write in your script :

Xdialog --title "Your Title" -- infobox "Your message..." 0 0 10000&

Gerard
Rick Beldin
HPE Pro

Re: GUI Language For HP-UX

dtksh is already installed on all HP-UX systems and if you already have some knowlege of ksh and Posix-shell programming, then you have a jump on some of the other technologies like TCL/TK and dtksh is supported by HP.
Necessary questions: Why? What? How? When?