View previous topic :: View next topic |
Author |
Message |
alex6 Apprentice
Joined: 18 Jul 2011 Posts: 176
|
Posted: Wed Mar 21, 2012 3:45 pm Post subject: Terminal lines display |
|
|
My question is simple : where can I change my config in order to see more lines in terminal (I mean for any TTY and X terminals too) ?
It's sad to be blocked in scrolling up while trying to watch "emerge -s" results
Couldn't find this in documentation or google.... |
|
Back to top |
|
|
while true Guru
Joined: 07 Apr 2010 Posts: 532 Location: Ljubljana, Slovenia
|
Posted: Wed Mar 21, 2012 4:15 pm Post subject: |
|
|
Code: | grom@C6820s ~ $ cat .Xdefaults
...
...
xterm*saveLines: 1024
...
... |
this seems to work for me, I use xterm,
but I do not know how this holds up for tty...
EDIT:
also emerge -s is time consuming,
have you tried eix something ? _________________ Kind regards, Goran Mitic
alive
while true
kick ass |
|
Back to top |
|
|
alex6 Apprentice
Joined: 18 Jul 2011 Posts: 176
|
Posted: Wed Mar 21, 2012 9:48 pm Post subject: |
|
|
Thx, I'll try eix...
But that file seem to apply only to xterm... |
|
Back to top |
|
|
Tux12Fun Apprentice
Joined: 16 Aug 2007 Posts: 156
|
Posted: Wed Mar 21, 2012 10:43 pm Post subject: |
|
|
You can try
Code: |
emerge -s xy | more
|
|
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1594 Location: Adelaide/Australia
|
Posted: Thu Mar 22, 2012 12:43 am Post subject: |
|
|
My Kernel parameters, as show, setup my 'Console' (as opposed to X xterm) as having more lines, more columns as well as larger scrollback!
Code: | kernel /boot/vmlinuz root=/dev/sda1 video=uvesafb:1280x1024-16@60,mtrr:3,ywrap fbcon=scrollback:64K vmalloc=192M
|
This relies on v86d being configured in your kernel
Code: | CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs"
|
and having sys-apps/v86d installed.
See also http://en.gentoo-wiki.com/wiki/Framebuffer _________________ ...Lyall |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Thu Mar 22, 2012 1:07 am Post subject: |
|
|
For X terminals, there should be an option somewhere in preferences to increase the scrollback.
For the console, this might be what you're looking for:
Code: | .config - Linux/x86_64 3.3.0 Kernel Configuration
─────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────── Scrollback Buffer Size (in KB) ───────────────────────────┐
│ CONFIG_VGACON_SOFT_SCROLLBACK_SIZE: │
│ │
│ Enter the amount of System RAM to allocate for the scrollback │
│ buffer. Each 64KB will give you approximately 16 80x25 │
│ screenfuls of scrollback buffer │
│ │
│ Symbol: VGACON_SOFT_SCROLLBACK_SIZE [=128] │
│ Type : integer │
│ Range : [1 1024] │
│ Prompt: Scrollback Buffer Size (in KB) │
│ Defined at drivers/video/console/Kconfig:37 │
│ Depends on: HAS_IOMEM [=y] && VT [=y] && VGACON_SOFT_SCROLLBACK [=y] │
│ Location: │
│ -> Device Drivers │
│ -> Graphics support │
│ -> Console display driver support │
│ -> VGA text console (VGA_CONSOLE [=y]) │
│ -> Enable Scrollback Buffer in System RAM (VGACON_SOFT_SCROLLBACK [=y]) │
│ │
├─────────────────────────────────────────────────────────────────────────────( 99%)──┤
│ < Exit > │
└─────────────────────────────────────────────────────────────────────────────────────┘ |
You might also be interested in the "screen" program. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
|