* [gentoo-user] Short history in terminal (without X)
@ 2007-02-15 16:11 Roman Naumann
2007-02-15 17:01 ` Dan Cowsill
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Roman Naumann @ 2007-02-15 16:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
Hi,
does someone know, how to increase the "history-buffer's size" of the
terminal? (and I mean the pure terminal, without an X-Server)
I mean, if I use some commands producing plenty of output, I cannot scroll to
the beginning of the text quite often, because the history buffer is to
small.
Another inconvenient thing is that the buffer seems to "forget" everything
except the last screen of text, if I switch to another terminal. (alt + F2
for instance).
How can I make the history buffer larger, or - if possible - set it
infinitely large. (Just as the "Konsole" of KDE.)
Thanks,
Roman Naumann.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 16:11 [gentoo-user] Short history in terminal (without X) Roman Naumann
@ 2007-02-15 17:01 ` Dan Cowsill
2007-02-15 17:09 ` FuziOK
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Dan Cowsill @ 2007-02-15 17:01 UTC (permalink / raw
To: gentoo-user
On 2/15/07, Roman Naumann <sapiens.dyslexia@googlemail.com> wrote:
> Hi,
>
> does someone know, how to increase the "history-buffer's size" of the
> terminal? (and I mean the pure terminal, without an X-Server)
> I mean, if I use some commands producing plenty of output, I cannot scroll to
> the beginning of the text quite often, because the history buffer is to
> small.
>
> Another inconvenient thing is that the buffer seems to "forget" everything
> except the last screen of text, if I switch to another terminal. (alt + F2
> for instance).
>
> How can I make the history buffer larger, or - if possible - set it
> infinitely large. (Just as the "Konsole" of KDE.)
>
> Thanks,
>
> Roman Naumann.
>
>
I don't know about making it "infinitely" large, but you can have a
scrollable console history with vesafb (probably with other
framebuffers aswell, but I've only had experience with vesafb). Check
out /usr/src/linux/Documentation/fb/vesafb.txt for more information.
You'll have to compile your kernel with vesafb, and run the vga kernel
argument to set the size of the console. I believe there is some sort
of kernel option (that you should be able to find with a minimum of
searching) that sets the size of the buffer in bytes...
From there, it is as easy as pressing shift-pgup and shift-pgdown to
scroll through your buffer.
Hope this helps.
--
-·=»Ðŧħ«=·-
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 16:11 [gentoo-user] Short history in terminal (without X) Roman Naumann
2007-02-15 17:01 ` Dan Cowsill
@ 2007-02-15 17:09 ` FuziOK
2007-02-15 18:29 ` Jakob Buchgraber
2007-02-16 8:29 ` Alan McKinnon
3 siblings, 0 replies; 13+ messages in thread
From: FuziOK @ 2007-02-15 17:09 UTC (permalink / raw
To: gentoo-user
Roman Naumann 写道:
> Hi,
>
> does someone know, how to increase the "history-buffer's size" of the
> terminal? (and I mean the pure terminal, without an X-Server)
> I mean, if I use some commands producing plenty of output, I cannot scroll to
> the beginning of the text quite often, because the history buffer is to
> small.
>
> Another inconvenient thing is that the buffer seems to "forget" everything
> except the last screen of text, if I switch to another terminal. (alt + F2
> for instance).
>
> How can I make the history buffer larger, or - if possible - set it
> infinitely large. (Just as the "Konsole" of KDE.)
>
> Thanks,
>
> Roman Naumann.
>
Try screen.
http://www.gnu.org/software/screen
But I like to use tee:
command 2>&1 | tee output
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 18:29 ` Jakob Buchgraber
@ 2007-02-15 17:50 ` FuziOK
2007-02-15 19:01 ` Jakob Buchgraber
[not found] ` <200702151737.22877.prlewis@letterboxes.org>
2007-02-16 17:26 ` [gentoo-user] Short history in terminal (without X) Dan Farrell
2 siblings, 1 reply; 13+ messages in thread
From: FuziOK @ 2007-02-15 17:50 UTC (permalink / raw
To: gentoo-user
Jakob Buchgraber wrote:
> Roman Naumann wrote:
>> Hi,
>>
>> does someone know, how to increase the "history-buffer's size" of the
>> terminal? (and I mean the pure terminal, without an X-Server)
>> I mean, if I use some commands producing plenty of output, I cannot
>> scroll to
>> the beginning of the text quite often, because the history buffer is to
>> small.
>>
>> Another inconvenient thing is that the buffer seems to "forget"
>> everything
>> except the last screen of text, if I switch to another terminal. (alt
>> + F2
>> for instance).
>>
>> How can I make the history buffer larger, or - if possible - set it
>> infinitely large. (Just as the "Konsole" of KDE.)
>>
>> Thanks,
>>
>> Roman Naumann.
>>
> To make it "infinitely" large you can set the variable HISTSIZE to
> some huge value like
> export HISTSIZE=1000000000000
>
> You could try setting the history to infinitely in Konsole and then do
> echo $HISTSIZE
>
> Cheers,
> Jay
HISTSIZE is used in shell as the number of commands to save in a history
list,
but cannot increase the "history-buffer's size" of the terminal.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] revdep-rebuild keeps building gcc
[not found] ` <200702151737.22877.prlewis@letterboxes.org>
@ 2007-02-15 18:20 ` Bo Ørsted Andresen
2007-02-15 18:38 ` Peter Lewis
2007-02-15 18:32 ` [gentoo-user] " John Blinka
1 sibling, 1 reply; 13+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-15 18:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
On Thursday 15 February 2007 18:37:22 Peter Lewis wrote:
> I've just run revdep-rebuild, after "updating world", and it rebuilt
> gcc-4.1.1-r3, due to the following libraries:
>
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la
>
> Once it finished, I ran revdep-rebuild once again, just to check that all
> was okay, but it wanted to rebuild gcc again, due to the same libraries. In
> fact, I let it do it again, and it's not fixed it.
>
> Does this point to some kind of inconsistency on my system?
In the future please create a new thread by choosing new mail rather than
replying to another thread and changing the subject...
https://bugs.gentoo.org/show_bug.cgi?id=125728#c29
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 16:11 [gentoo-user] Short history in terminal (without X) Roman Naumann
2007-02-15 17:01 ` Dan Cowsill
2007-02-15 17:09 ` FuziOK
@ 2007-02-15 18:29 ` Jakob Buchgraber
2007-02-15 17:50 ` FuziOK
` (2 more replies)
2007-02-16 8:29 ` Alan McKinnon
3 siblings, 3 replies; 13+ messages in thread
From: Jakob Buchgraber @ 2007-02-15 18:29 UTC (permalink / raw
To: gentoo-user
Roman Naumann wrote:
> Hi,
>
> does someone know, how to increase the "history-buffer's size" of the
> terminal? (and I mean the pure terminal, without an X-Server)
> I mean, if I use some commands producing plenty of output, I cannot scroll to
> the beginning of the text quite often, because the history buffer is to
> small.
>
> Another inconvenient thing is that the buffer seems to "forget" everything
> except the last screen of text, if I switch to another terminal. (alt + F2
> for instance).
>
> How can I make the history buffer larger, or - if possible - set it
> infinitely large. (Just as the "Konsole" of KDE.)
>
> Thanks,
>
> Roman Naumann.
>
To make it "infinitely" large you can set the variable HISTSIZE to some
huge value like
export HISTSIZE=1000000000000
You could try setting the history to infinitely in Konsole and then do
echo $HISTSIZE
Cheers,
Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] revdep-rebuild keeps building gcc
[not found] ` <200702151737.22877.prlewis@letterboxes.org>
2007-02-15 18:20 ` [gentoo-user] revdep-rebuild keeps building gcc Bo Ørsted Andresen
@ 2007-02-15 18:32 ` John Blinka
2007-02-15 18:39 ` Peter Lewis
1 sibling, 1 reply; 13+ messages in thread
From: John Blinka @ 2007-02-15 18:32 UTC (permalink / raw
To: gentoo-user
Peter Lewis wrote:
> Hi all,
>
> I've just run revdep-rebuild, after "updating world", and it rebuilt
> gcc-4.1.1-r3, due to the following libraries:
>
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la
>
> Once it finished, I ran revdep-rebuild once again, just to check that all was
> okay, but it wanted to rebuild gcc again, due to the same libraries. In fact,
> I let it do it again, and it's not fixed it.
>
> Does this point to some kind of inconsistency on my system?
>
> Thanks,
>
> Pete.
>
Following a suggestion on this list, here's what I did to correct this
problem:
Use your favorite text editor to correct the "dependency_libs" line
in each of these files. Each line starts with something like
dependency_libs=' /usr/lib/gcc/<some library> ...
but should start with
dependency_libs=' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/<some library>
John
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] revdep-rebuild keeps building gcc
2007-02-15 18:20 ` [gentoo-user] revdep-rebuild keeps building gcc Bo Ørsted Andresen
@ 2007-02-15 18:38 ` Peter Lewis
2007-02-15 19:30 ` [gentoo-user] " Grant Edwards
0 siblings, 1 reply; 13+ messages in thread
From: Peter Lewis @ 2007-02-15 18:38 UTC (permalink / raw
To: gentoo-user
On Thursday 15 February 2007 18:20, Bo Ørsted Andresen wrote:
> In the future please create a new thread by choosing new mail rather than
> replying to another thread and changing the subject...
Sorry... I didn't know there was a difference.
> https://bugs.gentoo.org/show_bug.cgi?id=125728#c29
Many thanks,
Peter.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] revdep-rebuild keeps building gcc
2007-02-15 18:32 ` [gentoo-user] " John Blinka
@ 2007-02-15 18:39 ` Peter Lewis
0 siblings, 0 replies; 13+ messages in thread
From: Peter Lewis @ 2007-02-15 18:39 UTC (permalink / raw
To: gentoo-user
On Thursday 15 February 2007 18:32, John Blinka wrote:
> Following a suggestion on this list, here's what I did to correct this
> problem:
>
> Use your favorite text editor to correct the "dependency_libs" line
> in each of these files. Each line starts with something like
> dependency_libs=' /usr/lib/gcc/<some library> ...
> but should start with
> dependency_libs=' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/<some library>
Thanks... there's also a symlink option on the bug page which Bo linked to.
It's working now. :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 17:50 ` FuziOK
@ 2007-02-15 19:01 ` Jakob Buchgraber
0 siblings, 0 replies; 13+ messages in thread
From: Jakob Buchgraber @ 2007-02-15 19:01 UTC (permalink / raw
To: gentoo-user
FuziOK wrote:
> Jakob Buchgraber wrote:
>> Roman Naumann wrote:
>>> Hi,
>>>
>>> does someone know, how to increase the "history-buffer's size" of the
>>> terminal? (and I mean the pure terminal, without an X-Server)
>>> I mean, if I use some commands producing plenty of output, I cannot
>>> scroll to
>>> the beginning of the text quite often, because the history buffer is to
>>> small.
>>>
>>> Another inconvenient thing is that the buffer seems to "forget"
>>> everything
>>> except the last screen of text, if I switch to another terminal.
>>> (alt + F2
>>> for instance).
>>>
>>> How can I make the history buffer larger, or - if possible - set it
>>> infinitely large. (Just as the "Konsole" of KDE.)
>>>
>>> Thanks,
>>>
>>> Roman Naumann.
>>>
>> To make it "infinitely" large you can set the variable HISTSIZE to
>> some huge value like
>> export HISTSIZE=1000000000000
>>
>> You could try setting the history to infinitely in Konsole and then do
>> echo $HISTSIZE
>>
>> Cheers,
>> Jay
>
>
> HISTSIZE is used in shell as the number of commands to save in a
> history list,
> but cannot increase the "history-buffer's size" of the terminal.
Yes. I was just reading too fast. I noticed this myself after already
having sent the e-mail.
I am sorry.
Cheers,
Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: revdep-rebuild keeps building gcc
2007-02-15 18:38 ` Peter Lewis
@ 2007-02-15 19:30 ` Grant Edwards
0 siblings, 0 replies; 13+ messages in thread
From: Grant Edwards @ 2007-02-15 19:30 UTC (permalink / raw
To: gentoo-user
On 2007-02-15, Peter Lewis <prlewis@letterboxes.org> wrote:
> On Thursday 15 February 2007 18:20, Bo Ørsted Andresen wrote:
>> In the future please create a new thread by choosing new mail rather than
>> replying to another thread and changing the subject...
>
> Sorry... I didn't know there was a difference.
When you hit reply the message will contains headers that
indicate what message it's a reply to. Real mail/news programs
use that header information to sort messages into threads.
So the message that you intended to be a new thread actually
shows up buried down deep inside an existing thread even though
it has absolutely nothing to do with that thread.
The net result is that all the people who had decided to stop
reading that thread will never see your message.
--
Grant Edwards grante Yow! Oh, FISH sticks,
at CHEEZ WHIZ, GIN fizz,
visi.com SHOW BIZ!!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 16:11 [gentoo-user] Short history in terminal (without X) Roman Naumann
` (2 preceding siblings ...)
2007-02-15 18:29 ` Jakob Buchgraber
@ 2007-02-16 8:29 ` Alan McKinnon
3 siblings, 0 replies; 13+ messages in thread
From: Alan McKinnon @ 2007-02-16 8:29 UTC (permalink / raw
To: gentoo-user
On Thursday 15 February 2007, Roman Naumann wrote:
> Hi,
>
> does someone know, how to increase the "history-buffer's size" of the
> terminal? (and I mean the pure terminal, without an X-Server)
> I mean, if I use some commands producing plenty of output, I cannot
> scroll to the beginning of the text quite often, because the history
> buffer is to small.
Sounds like you want to increase the kernel's scrollback buffer size for
the terminal.
In make menuconfig, it's Device Drivers -> Graphics Support ->
Scrollback buffer size
> Another inconvenient thing is that the buffer seems to "forget"
> everything except the last screen of text, if I switch to another
> terminal. (alt + F2 for instance).
Sorry, can't help with that one. If it's any consolation, I've also been
looking for a solution to that for ages
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Short history in terminal (without X)
2007-02-15 18:29 ` Jakob Buchgraber
2007-02-15 17:50 ` FuziOK
[not found] ` <200702151737.22877.prlewis@letterboxes.org>
@ 2007-02-16 17:26 ` Dan Farrell
2 siblings, 0 replies; 13+ messages in thread
From: Dan Farrell @ 2007-02-16 17:26 UTC (permalink / raw
To: gentoo-user
On Thu, 15 Feb 2007 19:29:54 +0100
Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> > does someone know, how to increase the "history-buffer's size" of
> > the terminal?
> > How can I make the history buffer larger, or - if possible - set it
> > infinitely large. (Just as the "Konsole" of KDE.)
> To make it "infinitely" large you can set the variable HISTSIZE to
> some huge value like
> export HISTSIZE=1000000000000
Isn't that for bash's command history? I'm pretty sure it is. What
you want, Roman, is a kernel parameter:
Device Drivers--->
Graphics support--->
Console display driver support--->
--- VGA text console
[ ] Enable Scrollback Buffer in System RAM
(64) Scrollback Buffer Size (in KB) (NEW)
As the help says, "Each 64KB will give you approximately 16 80x25
screenfuls of scrollback buffer." This is the buffer accessed by
pressing Shift+PgUp at the console.
> > Another inconvenient thing is that the buffer seems to "forget"
> > everything except the last screen of text, if I switch to another
> > terminal. (alt + F2 for instance).
Each console probably has its own buffer, doesn't it? Just like
different terminals or different xterm windows?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2007-02-16 17:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-15 16:11 [gentoo-user] Short history in terminal (without X) Roman Naumann
2007-02-15 17:01 ` Dan Cowsill
2007-02-15 17:09 ` FuziOK
2007-02-15 18:29 ` Jakob Buchgraber
2007-02-15 17:50 ` FuziOK
2007-02-15 19:01 ` Jakob Buchgraber
[not found] ` <200702151737.22877.prlewis@letterboxes.org>
2007-02-15 18:20 ` [gentoo-user] revdep-rebuild keeps building gcc Bo Ørsted Andresen
2007-02-15 18:38 ` Peter Lewis
2007-02-15 19:30 ` [gentoo-user] " Grant Edwards
2007-02-15 18:32 ` [gentoo-user] " John Blinka
2007-02-15 18:39 ` Peter Lewis
2007-02-16 17:26 ` [gentoo-user] Short history in terminal (without X) Dan Farrell
2007-02-16 8:29 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox