LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2005, 12:09 PM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Rep: Reputation: 32
How can I change the value of shell Builten variable


I am using REHL 4.
At the console , I want to change the size of font.
By default it shows 25 lines . I want to 35 .

A variable in the bash , LINES control the number of lines.
Its value is not being changed.

My question is that how can I changed the value of shell builten variable like LINES.



Regards,

Last edited by LinuxLover; 08-09-2005 at 12:12 PM.
 
Old 08-09-2005, 12:31 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
export LINES=35?
 
Old 08-09-2005, 12:57 PM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Original Poster
Rep: Reputation: 32
Dear tuxdev

I did trired this but not worked.





Quote:
LINES Used by the select builtin command to determine the column length for
printing selection lists. Automatically set upon receipt of a SIGWINCH.


When i give any command on bash it reset the value of LINES variable to 25 again
 
Old 08-09-2005, 01:12 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
what happens if you do:
Code:
LINES=35 vi somefile
Maybe LINES is something that is constantly set by the terminal and can't be changed. If so, the above command would not do anything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell scripting: variable problem XST1 Programming 7 01-30-2005 01:45 PM
[c shell] variable question saiz66 Programming 5 09-29-2004 09:45 AM
Expanding shell variable in sed goofyheadedpunk Programming 4 09-11-2004 05:17 PM
parsing a variable using linux shell philco Programming 6 09-04-2003 06:52 PM
Need suggestions for parsing a shell variable Pauly Linux - General 1 01-15-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration