Increase terminal default output buffer size on CENT OS

Is it possible to increase the terminal (CENT OS) application buffer size to "infinite" scrollback via a sh script?
I can find ways of manually changing the buffer size but was wondering if there is a way to add the command to the beginning of a script.

I'm working on a laptop installation script and trying to keep the manual steps to a minimum but found out yesterday I'm loosing half my output due to the default buffer size.

I can always setup to output to a log file but wanted to check if this was possible first.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
Not possible with xterm at any rate. You have to set -sl to some number (saveLines resource)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Duncan RoeSoftware DeveloperCommented:
xterm has a facility to log traffic (i.e. in both directions). -l turns logging on; -lf filename specifies log file name (by default, a generated name is used).  I don't know if terminal has those facilities (it's a cut-down xterm AIRC).
Duncan RoeSoftware DeveloperCommented:
The question author has not seen fit to comment, so we have to assume he is satisfied with the answer provided.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.