HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xterm question
Operating System - HP-UX
1834156
Members
2793
Online
110064
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
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
07-08-2002 02:52 AM
07-08-2002 02:52 AM
xterm question
Hi,
I am using xterm in my script, the command is "xterm -T Title -geometry 90x30+0+0 -e start.sh".
Ques:
How to control the xterm window resizing & closing xterm using Alt+F4 or Click Close in the Window menu? i.e my script should not allow the user to resize & close the xterm window, only application should close that.
Thanks
Vasu
I am using xterm in my script, the command is "xterm -T Title -geometry 90x30+0+0 -e start.sh".
Ques:
How to control the xterm window resizing & closing xterm using Alt+F4 or Click Close in the Window menu? i.e my script should not allow the user to resize & close the xterm window, only application should close that.
Thanks
Vasu
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 03:03 AM
07-08-2002 03:03 AM
Re: xterm question
Hi
here is an example for HPterm. Replace HPterm with Xterm or other name
Create a file .Xdefaults in the users home directory and add the
following line.
Dtwm*HPterm*clientFunctions: -close
The window manager control menu is a builtin.
It can be changed in the following way.
Create a readable file .Xdefaults in the users home directory
and add the following line.
Dtwm*HPterm*clientFunctions: -close
This will suppress it.
1: does HPterm in the line:
> Dtwm*HPterm*clientFunctions: -close
have to be replaced by the application name ?, if it concerns an
application window ? YES
2: Where do you got this information ?. I only have the getting started
CDE guide from the internet and a few articles about the CDE structure
and that's all. Where can I find more detailed information, that contain
commands like the ones above.
=======================================================================
clientFunctions (class ClientFunctions)
This resource is used to indicate which dtwm functions are applicable
(or not applicable) to client window. The value for the resource is a
list of functions. If the first function in the list a minus sign in front
of it, then dtwm starts with all functions and subtracts from that set. If
first function in the list has a plus sign in front
of it, then dtwm starts with no functions and builds
up a list. Each function in the list must be
preceded by the appropriate plus or minus sign
separated from the next function by a space.
An application can also specify which functions dtwm
should apply to its windows. If it does so, dtwm
applies only those functions indicated by both
application and the clientFunctions resource.
Otherwise, dtwm applies the functions indicated
the clientFunctions resource. For more information
see the description of XmNmwmFunctions on the
VendorShell(3) reference page.
The following table lists the functions available for this resource:
___________________________________________
Name Description
___________________________________________
all Include all functions (default
value).
none No functions.
resize f.resize+.
move f.move+.
minimize f.minimize+.
maximize f.maximize+.
close f.kill+.
+See dtwmrc(4).
~
steve Steel
here is an example for HPterm. Replace HPterm with Xterm or other name
Create a file .Xdefaults in the users home directory and add the
following line.
Dtwm*HPterm*clientFunctions: -close
The window manager control menu is a builtin.
It can be changed in the following way.
Create a readable file .Xdefaults in the users home directory
and add the following line.
Dtwm*HPterm*clientFunctions: -close
This will suppress it.
1: does HPterm in the line:
> Dtwm*HPterm*clientFunctions: -close
have to be replaced by the application name ?, if it concerns an
application window ? YES
2: Where do you got this information ?. I only have the getting started
CDE guide from the internet and a few articles about the CDE structure
and that's all. Where can I find more detailed information, that contain
commands like the ones above.
=======================================================================
clientFunctions (class ClientFunctions)
This resource is used to indicate which dtwm functions are applicable
(or not applicable) to client window. The value for the resource is a
list of functions. If the first function in the list a minus sign in front
of it, then dtwm starts with all functions and subtracts from that set. If
first function in the list has a plus sign in front
of it, then dtwm starts with no functions and builds
up a list. Each function in the list must be
preceded by the appropriate plus or minus sign
separated from the next function by a space.
An application can also specify which functions dtwm
should apply to its windows. If it does so, dtwm
applies only those functions indicated by both
application and the clientFunctions resource.
Otherwise, dtwm applies the functions indicated
the clientFunctions resource. For more information
see the description of XmNmwmFunctions on the
VendorShell(3) reference page.
The following table lists the functions available for this resource:
___________________________________________
Name Description
___________________________________________
all Include all functions (default
value).
none No functions.
resize f.resize+.
move f.move+.
minimize f.minimize+.
maximize f.maximize+.
close f.kill+.
+See dtwmrc(4).
~
steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
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