How to increase buffer size (xterm)? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

How to increase buffer size (xterm)?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-05-2012
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 23 July 2014, 12:36 PM EDT
Posts: 326
Thanks: 12
Thanked 41 Times in 39 Posts
How to increase buffer size (xterm)?

Hello,
I would like to increase the size of my buffer in my xterm window. My shell is bash and my home directory is auto mounted. I'm on Solaris 10, RHEL 5 and SLES 11 servers. Do you know where I can do this?
Sponsored Links
    #2  
Old 12-05-2012
Yoda's Avatar
Yoda Yoda is offline Forum Advisor  
Jedi Master
 
Join Date: Jan 2012
Last Activity: 23 July 2014, 9:08 PM EDT
Location: Galactic Empire
Posts: 3,354
Thanks: 230
Thanked 1,190 Times in 1,123 Posts
Are you referring to -sl option, this option specifies the number of lines to save that have been scrolled off the top of the screen?

Check the manual here
The Following User Says Thank You to Yoda For This Useful Post:
bitlord (12-05-2012)
Sponsored Links
    #3  
Old 12-05-2012
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 23 July 2014, 12:36 PM EDT
Posts: 326
Thanks: 12
Thanked 41 Times in 39 Posts
Yes that is what I think I want. See we just rebuilt our Solaris server and this is our main admin server. With the old server we all used terminal but with this new setup where using xterm. Thank you for providing me with the man page. There was no man page on xterm on my serves.

Is there a file I could edit istead of doing a the command below?

Code:
xterm -sl 100 &


Last edited by bitlord; 12-05-2012 at 11:52 AM..
    #4  
Old 12-05-2012
Yoda's Avatar
Yoda Yoda is offline Forum Advisor  
Jedi Master
 
Join Date: Jan 2012
Last Activity: 23 July 2014, 9:08 PM EDT
Location: Galactic Empire
Posts: 3,354
Thanks: 230
Thanked 1,190 Times in 1,123 Posts
You can save your setting in .Xdefaults located in your home directory. If it is not present, then I guess you have to create one.

Code:
xterm*saveLines::        100

Note: If double colon is giving error, replace it with single colon.
The Following User Says Thank You to Yoda For This Useful Post:
bitlord (12-05-2012)
Sponsored Links
    #5  
Old 12-05-2012
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 23 July 2014, 12:36 PM EDT
Posts: 326
Thanks: 12
Thanked 41 Times in 39 Posts
Yeah was looking for the .Xdefaults file. I don't have one. I will create one and put the line from your example.
Thank you.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increase the buffer size to read lengthy lines ssunda6 Shell Programming and Scripting 3 03-17-2008 04:45 AM
Expect buffer size increase, please help jaduks Shell Programming and Scripting 1 10-12-2007 11:07 AM
how to increase size of the console screen buffer ? the_learner UNIX for Dummies Questions & Answers 5 04-25-2007 05:31 PM
How to increase buffer size in Unix ziabegg UNIX for Dummies Questions & Answers 3 01-05-2007 02:17 PM
How to increase the buffer size in Unix ziabegg UNIX for Advanced & Expert Users 0 12-23-2006 02:11 AM



All times are GMT -4. The time now is 06:39 AM.