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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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).
The question author has not seen fit to comment, so we have to assume he is satisfied with the answer provided.