Lines Matching refs:screen
7 UC Berkeley's screen oriented editor called vi (for VIsual). This tutorial
10 For best use of this tutorial, read all of a screen before performing any of
33 Determine what the cursor looks like on your screen. Whatever it is (a box,
35 in the upper left-hand corner of your screen under or on the S of Section.
40 screen, and a ^B leaves the cursor near the bottom of the screen? Try the two
74 the screen the string you are trying to read and type. It is suggested that
116 screen will not look exactly the same as it does right now, the 'z' command
117 will reposition the screen. (You may want to write the string down before
118 typing it: once you type {1G} it will no longer be on the screen.)
124 {z^M} command will repaint the screen putting the cursor at the top of the
125 screen. (Now {^F}.)
131 the middle of the screen.
134 now in the MIDDLE of the screen, and not at the top. Our cursor is on the
136 might like it to be on the screen. That is the function of the {z^M} command.
140 As you can see, the 'Section 7' line is now at the top of the screen with the
142 the line which the cursor is on) in the middle of the screen again, you would
143 type {z.}. If you wanted the cursor line to be at the BOTTOM of the screen,
151 itself, it simply moves the cursor around on the screen by moving the contents
152 of the file around on the screen. The cursor stays on the same line of the
157 "Where am I on the screen?" The cursor on your terminal shows the answer to
159 changing the location of the cursor on the screen as well. Other commands
160 move the cursor around on the screen without changing your location in the
166 to repaint the screen afterwards.) Try it.
191 Now do {ma}, marking your position at the top of the screen. Now hit {^M} (or
195 screen and back again.
200 previous line is {-}. Practice moving the cursor around on the screen by using
201 {^M} and {-}. BE CAREFUL to not move the cursor OFF the screen just yet. If
204 Now we can move to any line within the screen. Practice moving around in the
207 position the cursor on the screen where you want it type {'az^M^F} (which, of
209 cursor at the top of the screen, and advances you to the next section).
213 first line of the screen. If it is not, do {^M} or {-} as appropriate to put
218 Now type {^M} until the cursor is on the last line of this screen. Now do one
220 attempted to move to a line not displayed on the screen, the line at the top of
221 the screen was 'scrolled off', and a line at the bottom of the screen was
224 Now type {'cz^M} to reset the screen and type {^F} for the next section.
236 However, that line is not on the screen. The resulting action will depend on
241 screen with the cursor line in the middle of the screen. On such terminals it
243 screen.
255 line of each screen has on it the section number and a list of the commands
257 want the section line at the top of the screen, you now know enough commands to
279 moving the file around on the screen. Note that the commands we have already
291 that this may result in the text on the screen moving UP. This use of the
294 screen. That is, if the lines on your screen move up toward the top of the
295 screen, this would be 'scrolling the screen up'. If the lines move down
296 toward the bottom of the screen, this would be referred to as scrolling down.
299 text does on the screen, not to what the cursor does within the file. For the
304 {^E} scrolls the whole screen up one line, keeping the cursor on the same line,
305 if possible. However, if the cursor line is the first line on the screen, then
308 {^Y} scrolls the screen down one line, keeping the cursor on the same line, if
309 possible. However, if the cursor line is the last line on the screen, then the
312 {^D} moves the cursor down into the file, scrolling the screen up.
314 {^U} moves the cursor up into the file, also scrolling the screen if the
316 screen is repainted.
318 Note that {^E} and {^Y} move the cursor on the screen while trying to keep the
320 never move off screen), while {^D} and {^U} keep the cursor at the same place
321 on the screen while moving the cursor within the file.
336 bottom line of the screen. Now type {/Search for x /^M} except replace the 'x'
338 found" should appear on the bottom of the screen. If you hadn't replaced the
379 the screen. Remember that the dollar-sign stands for the end of the line.
440 Here are a few more commands that will move you around on the screen. Again,
441 they are not absolutely necessary, but they can make screen positioning easier:
443 {H} - puts the cursor at the top of the screen (the 'home' position)
445 {M} - puts the cursor in the middle of the screen
447 {L} - puts the cursor at the bottom of the screen.
452 screen, and 5L puts you five lines from the bottom of the screen.
457 positioning on the screen. Now let's look at positioning in a line. Put the
462 The test line should now be at the top of your screen. Type {w} several times.
501 There are several commands to move around on the screen on a character by
719 scroll a line onto the top of the screen {^Y}
720 scroll a line onto the bottom of the screen {^E}
721 move "up" in the file a half-screen {^U}
722 move "down" in the file a half-screen {^D}
723 move the cursor to the top screen line {H}
724 move the cursor to the bottom screen line {L}
736 repaint the screen with the cursor line
737 at the top of the screen {z^M}
738 in the middle of the screen {z.}
739 at the bottom of the screen {z-}