home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / editors / 3192 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  2.1 KB

  1. Xref: sparky comp.editors:3192 alt.religion.computers:946 alt.religion.emacs:515
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att-out!rutgers!concert!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!gdt!aber!fronta.aber.ac.uk!pcg
  3. From: pcg@aber.ac.uk (Piercarlo Grandi)
  4. Newsgroups: comp.editors,alt.religion.computers,alt.religion.emacs
  5. Subject: Re: scroll up/down
  6. Message-ID: <PCG.93Jan10192305@decb.aber.ac.uk>
  7. Date: 10 Jan 93 19:23:05 GMT
  8. References: <SHIBUYA.93Jan7195820@chute.bl.applicon.slb.com>
  9. Sender: news@aber.ac.uk (USENET news service)
  10. Reply-To: pcg@aber.ac.uk (Piercarlo Grandi)
  11. Organization: Prifysgol Cymru, Aberystwyth
  12. Lines: 40
  13. In-Reply-To: shibuya@bl.applicon.slb.com's message of 8 Jan 93 00: 58:20 GMT
  14. Nntp-Posting-Host: decb.aber.ac.uk
  15.  
  16. On 8 Jan 93 00:58:20 GMT, shibuya@bl.applicon.slb.com (Hiroto Shibuya) said:
  17.  
  18. shibuya> I just came across a fundamental difference between Emacs and
  19. shibuya> VI, which I never noticed for a decade.
  20.  
  21. shibuya> THEY SCROLL UP/DOWN IN DIFFERENT DIRECTION!
  22.  
  23. This is not quite a correct statement. There is no difference.
  24.  
  25. shibuya> Emacs command "scroll-up" scroll the text up so you see the
  26.                       ^^^^^^^^
  27. shibuya> text further down.  VI command ^U, is described in the manual
  28. shibuya> as "scroll up", which scroll the text down so you see the text
  29.                       ^^^^^^^^
  30. shibuya> further up.
  31.  
  32. What happens really, and none of the people in the followups I have read
  33. has pointed this out, is that Emacs scrolls the *text*, and vi scrolls
  34. the *screen* (window).
  35.  
  36. The visual effect is on the intersection of the two (the current page);
  37. if you move the window up, holding the text still, you see the preceding
  38. page, and if you move the text up, holding the window still, you see the
  39. following page.
  40.  
  41. References:
  42.  
  43. In emacs if you "(describe-function 'scroll-up)", you get:
  44.  
  45.     scroll-up:
  46.     Scroll text of current window upward ARG lines; [ ... ]
  47.            ^^^^
  48.  
  49. If you "man vi"  you get:
  50.  
  51.           <CTRL/U>     Pages up half screen.
  52. --
  53. Piercarlo Grandi, Dept of CS, PC/UW@Aberystwyth <pcg@aber.ac.uk>
  54.   E l'italiano cantava, cantava. E le sue disperate invocazioni giunsero
  55.   alle orecchie del suo divino protettore, il dio della barzelletta
  56.