Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Using Keyboard Sequences at the MORE Prompt in the SRC CLI

    If the output from a command is longer than the screen length, it appears one screen at a time by means of a UNIX more-type interface. The prompt ---(more)--- indicates that more output is available. This format is helpful when you want to scroll and search through lengthy output.

    The SRC software uses the Less program to provide navigation and search capability at the MORE prompt. The SRC software does not permit the Less program access to files or the shell.

    Table 1 lists the keyboard sequences for the commands most frequently used at the MORE prompt.

    Table 1: MORE Prompt Keyboard Sequences

    Category

    Action

    Keyboard Sequence

    Get Help

    Display information about the keyboard sequences you can display at the MORE prompt.

    Commands listed that access files or the shell are not supported.

    h, H

    Scroll Down

    Scroll down one line.

    e, Ctrl+e, j, Ctrl+n, Enter, down arrow

     

    Scroll down one-half screen.

    d, Ctrl+d

     

    Scroll down one whole screen.

    f, Ctrl+f, Ctrl+v, z, Space

     

    Scroll down to the bottom of the output.

    F

     

    Jump to the last line in the output and exit to the CLI prompt.

    G

    Scroll Up

    Display the previous line of output.

    y, Ctrl+y, k, Ctrl+k, Ctrl+p, up arrow

    Scroll up one-half screen.

    u, Ctrl+u

    Scroll up one whole screen.

    b, Ctrl+b, Esc+v, w

    Jump to the first line of the output.

    g

    Move left and right

    Move right one-half screen width.

    Esc+), right arrow

     

    Move left one-half screen width.

    ESC+(, left arrow

    Search

    Search forward for a string.

    You can also search for a string by specifying the | match filter when entering a command using the pipe symbol. See Displaying Output That Matches a Regular Expression.

    /string

     

    Search backward for a string.

    ?string

     

    Repeat a previous search for a string.

    Up arrow while in search mode

     

    Repeat the previous search for a string in the opposite direction.

    Down arrow while in search mode

    Interrupt or End Output, Redraw the Output, and Save the Output to a File

    Interrupt the display of output.

    q, :q, Q, :Q, ZZ

     

    Redraw the output on the screen.

    r, Ctrl+r, Ctrl+l

     

    Redraw the output on the screen and discard buffered input.

    R

    Modified: 2015-06-24