- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- XTERM WINDOW with specific rows and columns.
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
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
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
тАО09-26-2008 10:22 AM
тАО09-26-2008 10:22 AM
How do I invoke a xterm window with specific number of rows and columns? Right now whatever font I use, I always get a 80X24 window.
-Kennedy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:32 AM
тАО09-26-2008 10:32 AM
Re: XTERM WINDOW with specific rows and columns.
it will be in pixel and not in font,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:36 AM
тАО09-26-2008 10:36 AM
Re: XTERM WINDOW with specific rows and columns.
You should be able to do something like:
# resize -s 45 120
...to change to a 45-row, 120-column matrix.
See the manpages for 'resize'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:40 AM
тАО09-26-2008 10:40 AM
Re: XTERM WINDOW with specific rows and columns.
-geometry is in line/col
xterm -geometry COLLSxLINES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:46 AM
тАО09-26-2008 10:46 AM
Re: XTERM WINDOW with specific rows and columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 10:47 AM
тАО09-26-2008 10:47 AM
Re: XTERM WINDOW with specific rows and columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2008 05:50 AM
тАО09-27-2008 05:50 AM
Re: XTERM WINDOW with specific rows and columns.
echo "XTerm*geometry: 80x24" >> $HOME/.Xdefaults
You can also add additional options to your Xterm window without using the command line switches:
echo "XTerm*loginShell: true" >> $HOME/.Xdefaults
echo "XTerm*foreground: white" >> $HOME/.Xdefaults
echo "XTerm*background: navy" >> $HOME/.Xdefaults
The .Xdefaults file must be in the $HOME directory of the machine that runs your Xterm program. Note that other terminal emulators on HP-UX (hpterm, dtterm) can bet to the same or different values in .Xdefaults.
Bill Hassell, sysadmin