Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terminal lines display
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
alex6
Apprentice
Apprentice


Joined: 18 Jul 2011
Posts: 176

PostPosted: Wed Mar 21, 2012 3:45 pm    Post subject: Terminal lines display Reply with quote

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 :D

Couldn't find this in documentation or google....
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Wed Mar 21, 2012 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
alex6
Apprentice
Apprentice


Joined: 18 Jul 2011
Posts: 176

PostPosted: Wed Mar 21, 2012 9:48 pm    Post subject: Reply with quote

Thx, I'll try eix...

But that file seem to apply only to xterm...
Back to top
View user's profile Send private message
Tux12Fun
Apprentice
Apprentice


Joined: 16 Aug 2007
Posts: 156

PostPosted: Wed Mar 21, 2012 10:43 pm    Post subject: Reply with quote

You can try

Code:

emerge -s xy | more
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1594
Location: Adelaide/Australia

PostPosted: Thu Mar 22, 2012 12:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Thu Mar 22, 2012 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum