Operating System - HP-UX
1833767 Members
2451 Online
110063 Solutions
New Discussion

Re: stored lines in xterm-window

 
SOLVED
Go to solution
K. Schuffenhauer
Occasional Contributor

stored lines in xterm-window

hi
where can i change the number of lines
stored in an xterm-window(to be able
to scroll back more lines)?
thanks to anyone who reads&replies.
shit happens
4 REPLIES 4
Patrick Wessel
Honored Contributor

Re: stored lines in xterm-window

you can define the numers of line you want to be able to scroll back as an option of xterm:

xterm -sb -sl

check out the man page of xterm for more information
There is no good troubleshooting with bad data
Alex Glennie
Honored Contributor

Re: stored lines in xterm-window

either start xterm -sl from command line or create $HOME/.Xdefaults :
vi .Xdefaults :

xterm*saveLines : 300 (or *saveLines : 300)

the second entry I think will affect hpterm dtterm as well

restart X / CDE for changes to take affect.
Andreas Voss
Honored Contributor

Re: stored lines in xterm-window

Hi,
start the xterm with:
xterm -sb -sl
Set lines to e.g. 500 will give you a history of 500 lines to scroll back.

Greetings

Andrew
Handy Arry
Occasional Advisor
Solution

Re: stored lines in xterm-window

To set up scrollbars.

For xterms:
1. Cd to /usr/lib/X11/app-defaults
2. Use your favorite and edit the file called "XTerm"
(Unlike HPterm, XTerm should already exist)
3. Put the following 2 lines in this file:
XTerm*scrollBar: true
XTerm*saveLines: 1000

N.B.
The resource:
HPterm*scrolledLines: 2000
sets the number of scrolled lines to 2000.
Note that you may not want to make this excessively large (>5000) as it can
affect system performance.

I hope this helps.