1833780 Members
2072 Online
110063 Solutions
New Discussion

Re: XDialog obsolete

 
SOLVED
Go to solution
Enrico Venturi
Super Advisor

XDialog obsolete

Dear all,
in HP-UX 11.11 the XDialog tool is no more supported.

Can someone suggest a simple alternative to this tool?

Thanks in advance
Enrico
5 REPLIES 5
Steve Steel
Honored Contributor
Solution

Re: XDialog obsolete

Hi

Go to www.software.hp.com

Public Domain Software

I am sure there is something there.

Or make one.

This puts a message to DISPLAY after n hours and minutes

#!/bin/ksh
hours=$1
shift 1
min=$1
shift 1
let seconds=$hours*60
let seconds=$seconds+$min
let seconds=$seconds*60
sleep $seconds
/usr/bin/X11/hpterm -fn courB24 -geometry 90x9 -fg red -bg khaki -e /bin/ksh -c
"echo $* ;echo return to exit;read a"&


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Stefan Schulz
Honored Contributor

Re: XDialog obsolete

Hi,

there ist a good thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f36c96588ad4118fef0090279cd0f9,00.html

this should give you all needed information. In short: there is a xdialog replacement on the porting center. And the official replacement is the dtksh (which seems pretty complicated to me).

I think i also read that you are able to copy xdialog from 10.20 and use it on 11.11 but i can't confirm it.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Mark Ellzey
Valued Contributor

Re: XDialog obsolete

Enrico,

I've been in the process of upgrading all our workstations to 11.11. I, too, have noticed that xdialog is not available with 11.11. Many of our applications use this function to send messages to the user. I've just copied the 10.20 executable to the /usr/bin/X11 directory under 11.11, and have had no complaints. Testing reveals that is functions the same as in 10.20. (Now if I can convince the programmers to use something other that xdialog...).
Enrico Venturi
Super Advisor

Re: XDialog obsolete

Hello Mark,
thank you for your reply.
Actually we use from several times the xdialog 10.20 in the HP-UX 11 environment, and it works fine! My doubt was about the sudden obsolescence in some next release of HP-UX, so I prefere to use something else supported by HP.

Thanks again
Enrico
Wodisch
Honored Contributor

Re: XDialog obsolete

Hi,

actually you can simply write a (very small) DeskTop KornSHell (dtksh) script to substitute the missing "xdialog"...

And since "dtksh" is part of CDE, it is available to you!

Just my $0.02,
Wodisch