Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Scrolling in v(irtual console

  1. #1

    Default Scrolling in v(irtual console

    Hi,

    I would like to be able to scroll (with shift up/down) in virtual console (ctr+alt+f1/f2) but I can't find how to do it with google :-(
    I have OpenSUSE 11.4, with nvidia ion, mingetty on virtual console. I have vga=0x362 on grub boot option.

    Thanks in advance.

  2. #2
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,131

    Default Re: Scrolling in v(irtual console

    <shift>+<Pg Up> and <shift>+<Pg down>
    Is standard on a 'nix console. This pages up and down. If you want to scroll line at a time you will need a terminal emulator.

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Scrolling in v(irtual console

    On 08/08/2011 06:36 AM, mhtrinh wrote:
    >
    > I would like to be able to scroll


    i assume you mean you put in a command which has a LONG output and you
    want to be able to scroll up and down, if so just "pipe" the LONG output
    through 'less', like

    Code:
    ls -hal | less
    'less' is kinda like 'more' (try it too, enter to get the next block
    down) but better as you go both ways with 'less'

    hit 'q' to get out of 'less' (or 'more') and back to a prompt

    --
    DD
    Caveat-Hardware-Software
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  4. #4

    Default Re: Scrolling in virtual console

    @eng-int
    That is it ! I mix up Up/Down keys ang PgUp/PgDown keys. It's a bit tricky with my laptop and Fn key but it works. Thanks.
    Is there a way to increase the number of line I can scroll back ? When you talk about "terminal emulator" do you mean using a "screen" command ?

    @DenverD
    Yes, I know the "less" trick. But I was searching for a method whitout piping. Thanks anyway :-)

  5. #5
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,131

    Default Re: Scrolling in virtual console

    Is there a way to increase the number of line I can scroll back ?
    Not easily. The virtual console/framebuffer scrollback size is compiled into the kernel

    When you talk about "terminal emulator" do you mean using a "screen" command ?
    I did not have any particular terminal emulator in mind, but the GNU "screen" includes a passable vt100 emulator, and stuff like the scrollback buffer and paging sizes are onfigurable.

  6. #6

    Default Re: Scrolling in v(irtual console

    Ok. Thanks for your help. Recompiling kernel ... is a bit too much for scrolling 2/3 pages. That explain why there is not much on the net ...

  7. #7

    Default Re: Scrolling in v(irtual console

    Hi all,

    did anybody notice, that the scroll back history (<shift>+<PGUP>|<shift>+<PGDWN>) is cleared, when changing the console (<Alt>+<F2>|<Alt>+<F1>)? In SUSE 10, the history was resistent, but since SUSE11, it is cleared...

    Where can I change this back? I would like to scroll back, have a look on something in an other console, and come back and scroll back again.

    I hope, somebody can give me a hint.

    Thanks in advance

    Thomas

  8. #8

    Default Re: Scrolling in v(irtual console

    I also have the clearing history issue on OpenSuse 12.1
    Initially I thought that the scroll back broke once you switch console but in fact, as the history is cleared, there is no history to scroll back :-(

  9. #9
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,131

    Default Re: Scrolling in v(irtual console

    did anybody notice, that the scroll back history (<shift>+<PGUP>|<shift>+<PGDWN>) is cleared, when changing the console (<Alt>+<F2>|<Alt>+<F1>)? In SUSE 10, the history was resistent, but since SUSE11, it is cleared...
    This is another documented (bugzilla) bug with systemd in 12.1.
    As far as I can tell, systemd is a "fashion" change to unreliable complexity with no, or minimal, benefit to the user.
    In grub add the kernel parameter init=/sbin/sysvinit and check that sysvinit and sysvinit-init packages are installed.

  10. #10

    Default Re: Scrolling in v(irtual console

    I don't think it's only because of systemd. I don't use systemd (as it's for me still in testing phase and a lots of service does not implement yet the systemd startup process).

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •