Gentoo Archives: gentoo-user

From: Jakob Buchgraber <jakob.buchgraber@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Short history in terminal (without X)
Date: Thu, 15 Feb 2007 18:08:08
Message-Id: 45D4AE0C.2040300@gmail.com
In Reply to: Re: [gentoo-user] Short history in terminal (without X) by FuziOK
1 FuziOK wrote:
2 > Jakob Buchgraber wrote:
3 >> Roman Naumann wrote:
4 >>> Hi,
5 >>>
6 >>> does someone know, how to increase the "history-buffer's size" of the
7 >>> terminal? (and I mean the pure terminal, without an X-Server)
8 >>> I mean, if I use some commands producing plenty of output, I cannot
9 >>> scroll to
10 >>> the beginning of the text quite often, because the history buffer is to
11 >>> small.
12 >>>
13 >>> Another inconvenient thing is that the buffer seems to "forget"
14 >>> everything
15 >>> except the last screen of text, if I switch to another terminal.
16 >>> (alt + F2
17 >>> for instance).
18 >>>
19 >>> How can I make the history buffer larger, or - if possible - set it
20 >>> infinitely large. (Just as the "Konsole" of KDE.)
21 >>>
22 >>> Thanks,
23 >>>
24 >>> Roman Naumann.
25 >>>
26 >> To make it "infinitely" large you can set the variable HISTSIZE to
27 >> some huge value like
28 >> export HISTSIZE=1000000000000
29 >>
30 >> You could try setting the history to infinitely in Konsole and then do
31 >> echo $HISTSIZE
32 >>
33 >> Cheers,
34 >> Jay
35 >
36 >
37 > HISTSIZE is used in shell as the number of commands to save in a
38 > history list,
39 > but cannot increase the "history-buffer's size" of the terminal.
40 Yes. I was just reading too fast. I noticed this myself after already
41 having sent the e-mail.
42 I am sorry.
43
44 Cheers,
45 Jay
46 --
47 gentoo-user@g.o mailing list