Avatar of PJ0302917
PJ0302917

asked on 

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.

Thanks
LinuxInstallation

Avatar of undefined
Last Comment
Duncan Roe
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

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).
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

The question author has not seen fit to comment, so we have to assume he is satisfied with the answer provided.
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo