Shell Programming Blog Shell Programming Blog

Thursday, 4 October 2012

how to change the default size of the terminal window in Solaris

Unknown | 09:13 | |


To change the default size of the terminal window in Solaris, you need to do the following.

1) Go to the directory /usr/share/vte/termcap/ and edit the file xterm

     i.e., $ vi /usr/share/vte/termcap/xterm

2) Look for :co#115:it#8:li#36:\

3) In the above line you can change the numbers like for example, put 77 after "co#" and put 48 after "li#"

4) Then every terminal you open will open with the size that you have mentioned in the above line.

OR

You can also add an alias as below in the .profile or .bashrc or .cshrc, wherever it is applicable for you.

alias xterm='xterm -geometry 77x48'

Any one of the above mentioned methods should do the work of changing the default terminal size. 

Note : You need to reboot your PC after you have made the above changes for your changes to be effective.

0 Comments:

   

Post a Comment

Don't just read and walk away, Your Feedback Is Always Appreciated. I will try to reply to your queries as soon as time allows.

Note:
1. If your question is unrelated to this article, please use our Facebook Page.
2. Please always make use of your name in the comment box instead of anonymous so that i can respond to you through your name and don't make use of Names such as "Admin" or "ADMIN" if you want your Comment to be published.
3. Please do not spam, spam comments will be deleted immediately upon my review.

Regards,
Mohamed Abubakar Sittik A

 

Shell Programming Copyright © 2012 Shell Programming theme is Designed by Abusittik, Shell Programming