info-stnd: Scrolling Commands
1
1 4 Moving Text Within a Window
1 *****************************
1
1 Sometimes you are looking at a screenful of text, and only part of the
1 current paragraph you are reading is visible on the screen. The
1 commands detailed in this section are used to shift which part of the
1 current node is visible on the screen.
1
1 <SPC> ('scroll-forward')
1 <NEXT>
1 Shift the text in this window up. That is, show more of the node
1 which is currently below the bottom of the window. With a numeric
1 argument, show that many more lines at the bottom of the window; a
1 numeric argument of 4 would shift all of the text in the window up
1 4 lines (discarding the top 4 lines), and show you four new lines
1 at the bottom of the window. Without a numeric argument, <SPC>
1 takes the bottom two lines of the window and places them at the top
1 of the window, redisplaying almost a completely new screenful of
1 lines. If you are at the end of a node, <SPC> takes you to the
1 "next" node, so that you can read an entire manual from start to
1 finish by repeating <SPC>.
1
1 The <NEXT> key is known as the <PageDown> key on some keyboards.
1
1 'C-v' ('scroll-forward-page-only')
1 Shift the text in this window up. This is identical to the <SPC>
1 operation above, except that it never scrolls beyond the end of the
1 current node.
1
1 'M-x scroll-forward-page-only-set-window'
1 Scroll forward, like with 'C-v', but if a numeric argument is
1 specified, it becomes the default scroll size for subsequent
1 'scroll-forward' and 'scroll-backward' commands and their ilk.
1
1 <DEL> ('scroll-backward')
1 <PREVIOUS>
1 Shift the text in this window down. The inverse of
1 'scroll-forward'. If you are at the start of a node, <DEL> takes
1 you to the "previous" node, so that you can read an entire manual
1 from finish to start by repeating <DEL>. The default scroll size
1 can be changed by invoking the
1 ('scroll-backward-page-only-set-window') command with a numeric
1 argument.
1
1 If your keyboard lacks the <DEL> key, look for a key called <BS>,
1 or 'Backspace', sometimes designated with an arrow which points to
1 the left, which should perform the same function.
1
1 The <PREVIOUS> key is the <PageUp> key on many keyboards. Emacs
1 refers to it by the name <PRIOR>.
1
1 'M-v' ('scroll-backward-page-only')
1 Shift the text in this window down. The inverse of
1 'scroll-forward-page-only'. Does not scroll beyond the start of
1 the current node. The default scroll size can be changed by
1 invoking the 'scroll-backward-page-only-set-window' command with a
1 numeric argument.
1
1 'M-x scroll-backward-page-only-set-window'
1 Scroll backward, like with 'M-v', but if a numeric argument is
1 specified, it becomes the default scroll size for subsequent
1 'scroll-forward' and 'scroll-backward' commands.
1
1 'M-x down-line'
1 Scroll forward by one line. With a numeric argument, scroll
1 forward that many lines.
1
1 'M-x up-line'
1 Scroll backward one line. With a numeric argument, scroll backward
1 that many lines.
1
1 'M-x scroll-half-screen-down'
1 Scroll forward by half of the screen size. With a numeric
1 argument, scroll that many lines. If an argument is specified, it
1 becomes the new default number of lines to scroll for subsequent
1 'scroll-half-screen-down' and 'scroll-half-screen-up' commands.
1
1 'M-x scroll-half-screen-up'
1 Scroll back by half of the screen size. With a numeric argument,
1 scroll that many lines. If an argument is specified, it becomes
1 the new default number of lines to scroll for subsequent
1 'scroll-half-screen-down' and 'scroll-half-screen-up' commands.
1
1 The 'scroll-forward' and 'scroll-backward' commands can also move
1 forward and backward through the node structure of the file. If you
1 press <SPC> while viewing the end of a node, or <DEL> while viewing the
1 beginning of a node, what happens is controlled by the variable
1 'scroll-behavior' (⇒scroll-behavior).
1
1 The 'scroll-forward-page-only' and 'scroll-backward-page-only'
1 commands never scroll beyond the current node.
1
1 'C-l' ('redraw-display')
1 Redraw the display from scratch, or shift the line containing the
1 cursor to a specified location. With no numeric argument, 'C-l'
1 clears the screen, and then redraws its entire contents. Given a
1 numeric argument of N, the line containing the cursor is shifted so
1 that it is on the Nth line of the window.
1
1 'C-x w' ('toggle-wrap')
1 Toggles the state of line wrapping in the current window.
1 Normally, lines which are longer than the screen width "wrap",
1 i.e., they are continued on the next line. Lines which wrap have a
1 '\' appearing in the rightmost column of the screen. You can cause
1 such lines to be terminated at the rightmost column by changing the
1 state of line wrapping in the window with 'C-x w'. When a line
1 which needs more space than one screen width to display is
1 displayed, a '$' appears in the rightmost column of the screen, and
1 the remainder of the line is invisible. When long lines are
1 truncated, the mode line displays the '$' character near its left
1 edge.
1