www.delorie.com/gnu/docs/emacs/info_5.html   search  
 
Buy the book!


Info

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4 The Space, DEL, B and ^L commands.

This node's mode line tells you that you are now at node `Help-^L', and the header line tells you that p would get you back to `Help-P'. The node's title is underlined; it says what the node is about (most nodes have titles).

This is a big node and it does not all fit on your display screen. You can tell that there is more that is not visible because you can see the string `--Top-----' rather than `--All----' near the bottom right corner of the screen.

The SPC, BACKSPACE (or DEL)(1) and b commands exist to allow you to "move around" in a node that does not all fit on the screen at once. SPC moves forward, to show what was below the bottom of the screen. DEL or BACKSPACE moves backward, to show what was above the top of the screen (there is not anything above the top until you have typed some spaces). In Emacs, SPC runs the command Info-scroll-up, while BACKSPACE runs Info-scroll-down.

 
>> Now try typing a SPC (afterward, type a BACKSPACE to
   return here).

When you type the SPC, the two lines that were at the bottom of the screen appear at the top, followed by more lines. DEL or BACKSPACE takes the two lines from the top and moves them to the bottom, usually, but if there are not a full screen's worth of lines above them they may not make it all the way to the bottom.

If you are reading this in Emacs, note that the header line is always visible, never scrolling off the display. That way, you can always see the `Next', `Prev', and `Up' links, and you can conveniently go to one of these links from anywhere in the node by clicking the mouse on one of these links.

SPC and DEL not only move forward and backward through the current node. When these keys hit the beginning or the end of the current node, they move to preceding or subsequent nodes. Specifically, they scroll through all the nodes in an Info file as a single logical sequence. In this sequence, a node's subnodes appear following their parent. If a node has a menu, SPC takes you into the subnodes listed in the menu, one by one. Once you reach the end of a node, and have seen all of its subnodes, SPC takes you to the next node or to the parent's next node. This is so you could read the entire manual top to bottom by just typing SPC.

Many keyboards nowadays have two scroll keys labeled `PageUp' and `PageDown' (or maybe `Prior' and `Next'). If your keyboard has these keys, you can use them to move forward and backward through the text, like with SPC and BACKSPACE. However, unlike SPC and BACKSPACE, PAGEUP and PAGEDOWN keys will never scroll beyond the beginning or the end of the current node.

If your screen is ever garbaged, you can tell Info to display it again by typing C-l (Control-L, that is--hold down CTRL and type L or l).

 
>> Type C-l now.

To move back to the beginning of the node you are on, you can type a lot of BACKSPACE keys. You can also type simply b for beginning.

 
>> Try that now.  (We have put in enough verbiage to push this past
   the first screenful, but screens are so big nowadays that perhaps it
   isn't enough.  You may need to shrink your Emacs or Info window.)
   Then come back, with SPSs.

If your screen is very tall, all of this node might fit at once. In that case, b won't do anything. Sorry; what can we do?

You have just learned a considerable number of commands. If you want to use one but have trouble remembering which, you should type a ? (in Emacs it runs the Info-summary command) which displays a brief list of commands. When you are finished looking at the list, make it go away by typing a SPC repeatedly.

 
>> Type a ? now.  Press SPC to see consecutive screenfuls of
   the list until finished.  Then type SPC several times, until
   it goes away.

(If you are using the stand-alone Info reader, type C-x 0 to return here, that is--press and hold CTRL, type an x, then release CTRL and x, and press 0---a zero, not the letter "o".)

From now on, you will encounter large nodes without warning, and will be expected to know how to use SPC and BACKSPACE to move around in them without being told. Since not all terminals have the same size screen, it would be impossible to warn you anyway.

 
>> Now type n, or click the mouse on the `Next' link, to
   see the description of the m command.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)