- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resize terminal settings after dtlogin
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
02-06-2004 06:27 AM
02-06-2004 06:27 AM
resize terminal settings after dtlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:43 AM
02-06-2004 07:43 AM
Re: resize terminal settings after dtlogin
then
# set terminal settings here.
echo #XTERM login found
else
echo "regular login normal settings apply
fi
This kind of logic testing for certain environment variables can handle the setting changes in .profile or /etc/profile
This search contains several good past threads and documents.
http://us-support.external.hp.com/emse/bin/doc.pl/sid=1c63fe300cca540d9f?todo=search&searchtext=dtlogin+TERM+settings&x=30&y=1&searchcriteria=allwords&searchtype=SEARCH_MANUAL&searchtype=SEARCH_FORUMS&searchcategory=ALL&rn=25&presort=rank
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:10 AM
02-06-2004 08:10 AM
Re: resize terminal settings after dtlogin
I open a Terminal window and the size of it is huge, i want to make it really smaller...........Also the characters on the Terminal window are huge !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 09:04 AM
02-06-2004 09:04 AM
Re: resize terminal settings after dtlogin
use the resize command
# resize
-- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 09:08 AM
02-06-2004 09:08 AM
Re: resize terminal settings after dtlogin
I haven't used dtterm in about 100 years but you could try changing the font by starting it with the argument "-fn 10x20" as it works with xterm. You can play with the values for "-fn" as I can't remember the other values.
You can put this in your local .xresources directory too.
Altenatively just use xterm. It will probably come up smaller anyway and you can change the fonts with CTRL ? right mouse button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 04:15 PM
02-06-2004 04:15 PM
Re: resize terminal settings after dtlogin
eval $(resize)
However, all the modern Xwindow terminal emulators use SIGWINCH (window change signal) to set the character space (COLUMNS and LINES) when you drag the window corner to a new size. So resize has no effect on the font size or changing colors, etc.
Read the man page for dtterm for a list of the command line options. For example:
dtterm -foreground:white -background:navy
will change the window colors. An alternative is to set the desired values in .Xdefaults. See: http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xeec0506d69a7d711abdc0090277a778c%2C00.html&forumId=2&admit=716493758+1076130198951+28353475
All 3 terminal emulators (dtterm, hpterm, xterm) have similar options and Xresources.
Bill Hassell, sysadmin