Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Short history in terminal (without X) Jakob Buchgraber <jakob.buchgraber@××××××××××.com>