- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPterm always on top?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 06:18 AM
07-08-2002 06:18 AM
I'm making a little script for some users to
reset some application processes.
My problem is that the hpterm does not stay on
top of all the other terminals. Is there a way
to let it stay on top until the script is finished??
I also want to disallow them to close the terminal with the mouse is this possible?
If yes; How can i accomplish this.
Thx in advance
With kind regards,
Raoul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 06:45 AM
07-08-2002 06:45 AM
Re: HPterm always on top?
b) easier for me .... :
If you are using CDE - >
cp /usr/dt/config/C/sys.dtwmrc
to $HOME/.dt/dtwmrc
edit the file .... :
Menu DefaultWindowMenu
{
"Restore" _R Alt
"Move" _M Alt
"Size" _S Alt
"Minimize" _n Alt
"Maximize" _x Alt
"Lower" _L Alt
no-label f.separator
"Close" _C Alt
}
adding a comment in front of each should prevent users from
being able to make use of the close option when clicking on an hpterm with the right mouse button etc .....
If using another window manager use mwmrc vuerc etc where appropriate .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 06:47 AM
07-08-2002 06:47 AM
Re: HPterm always on top?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa42eea29889d611abdb0090277a778c,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 07:02 AM
07-08-2002 07:02 AM
Re: HPterm always on top?
I can put the script here but it is like 6 pages all together but it's a simple hpterm that is send to 6 users. like:
/usr/dt/bin/hpterm -d ${TERM} -b 10 -map -geometry 47x13-5+5 -bg "Bleu" -fg "Yellow" -title "IAG reset" -e $HOME/IAG_REGION_Handling ${MVWS} ${REGIO} ${TERM} &
i already trapped ctrl-c with trap "" SIGINT
i hope i can trap the close with your sollution.
Now 1 thing left is the always on top!
I heared it wasn't possible but if theres a will theres a way.
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 07:14 AM
07-08-2002 07:14 AM
Re: HPterm always on top?
(because of Service window) ;(
Ill get back at you tommorow.
But thx in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 07:19 AM
07-08-2002 07:19 AM
Re: HPterm always on top?
If the users log-out the script dies ;(
Is there a way to let the script live until it
is finished or do i have to remove the on/off switch ;)
ThX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 07:21 AM
07-08-2002 07:21 AM
Re: HPterm always on top?
looks like you need to define a new window mwnu ie in $HOME/.dt/dtwmrc
Menu customWindowMenu
{
"Restore" _R f.normalise
"move" _M f.move
etc etc ommitting the "Close" section.
once this is defined CDE needs to be told to use this new menu
use the Dtwm*windowMenu resource
see /etc/dt/config/C/sys.resources
or $HOME/.Xdefaults
eg vi .Xdefaults and add->
Dtwm*windowMenu: CustomWindowMenu
at this point the users needs to log out of CDE for the change to take effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 07:32 AM
07-08-2002 07:32 AM
Re: HPterm always on top?
Is it possible to do this for only one terminal
that is started from a centrall computer for a specific user................
PS how about the always on top !
I must be going now ill be back tomorrow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 05:00 AM
07-09-2002 05:00 AM
SolutionThe app is designed to notice when other windows obscure it.
Since hpterm doesn't have this functionality builtin, your options are somewhat limited.
You can *try* telling the window manager to ignore hpterm so that it will never get window titles and borders. This will effectively keep it on top, but you won't be able to move or resize it.
Here's how you do that:
hpterm -xrm "*overrideRedirect: true"
Might want to try it.
If you need the ability to move it and resize, I'd say that you 'll have to build a Xlib application that will pop hpterm to the top of the stack every so often.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 12:48 AM
07-10-2002 12:48 AM
Re: HPterm always on top?
This was what i was lookin for.
One option and my problems are fixed.
1-it always stays on top
2-User are not able to close it or move it
Great ;)
Thx