HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Block dtterm Window -> New menu option
Operating System - HP-UX
1832872
Members
2536
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-22-2001 08:27 AM
03-22-2001 08:27 AM
Greetings!
I'm using mwm under HP-UX 10.20. We converted several utility scripts to run in dtterm windows. However, users are able to open a new dtterm window (with command line interface) via the Window -> New menu option. I need to block all command line access, hence the need to disable this menu option.
Ideally, I'd just remove that one menu entry, but can't see how that's done.
I have figured out how to disable the popup menu, and how to hide the menu bar. But you can toggle the menu bar back on via the window menu button. So I removed the window menu button from the title bar, and redefined the shortcut keys (meta-Space and Shift-Esc) so they beep instead of opening the menu.
However, you can still open the window menu by left clicking on the icon! I have defined button 1 down, up, and click all to perform the beep. Now I get what sounds like a triple beep, but the menu is still displayed!
Note that we converted to dtterm because xterm didn't support color, and hpterm had some had some incompatibilities with some xterm escape sequences.
I'm using mwm under HP-UX 10.20. We converted several utility scripts to run in dtterm windows. However, users are able to open a new dtterm window (with command line interface) via the Window -> New menu option. I need to block all command line access, hence the need to disable this menu option.
Ideally, I'd just remove that one menu entry, but can't see how that's done.
I have figured out how to disable the popup menu, and how to hide the menu bar. But you can toggle the menu bar back on via the window menu button. So I removed the window menu button from the title bar, and redefined the shortcut keys (meta-Space and Shift-Esc) so they beep instead of opening the menu.
However, you can still open the window menu by left clicking on the icon! I have defined button 1 down, up, and click all to perform the beep. Now I get what sounds like a triple beep, but the menu is still displayed!
Note that we converted to dtterm because xterm didn't support color, and hpterm had some had some incompatibilities with some xterm escape sequences.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 08:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 11:10 AM
03-22-2001 11:10 AM
Re: Block dtterm Window -> New menu option
Thanks! Excellent solution.
Only one minor problem. The man page for dtterm doesn't say anything about the "sensitive" resource--nor could I find it in any obviously related man page. (I tried the man pages for dtterm, dtwm, dtwmrc, mwm, and even X.) For future reference, where can I find the documentation on this resource?
Only one minor problem. The man page for dtterm doesn't say anything about the "sensitive" resource--nor could I find it in any obviously related man page. (I tried the man pages for dtterm, dtwm, dtwmrc, mwm, and even X.) For future reference, where can I find the documentation on this resource?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP