🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by John Downey Thu, 18 Feb 1993 16:00
Scrolling a line at a time
#3866
Author: John Downey
Date: Thu, 18 Feb 1993 16:00
26 lines
1947 bytes
I'm being compelled, against my better judgement, and by a very
unreasonable management-type person wearing a suit and tie, to use the
emacs editor as an interface to the gdb debugger and in order to read
the info files for gdb.

The problem that's threatening my sanity more than anything else is
this: is there any easy way (by `easy' I mean with one keystroke or
button press, or less) to scroll the current window up or down one
line at a time?

If not, how can any human being be reasonably expected to use it?

Another question: is there any equivalent to vi's `.' (repeat last)
command?

I am, by the way, as some observant people may have noticed, one of
the authors of the xvi editor, which is a free multi-window version of
vi, & I'm not enjoying my current assignment at all.

Please replay by mail or post followups to comp.editors. I don't want
to read any more about emacs than I absolutely have to.


With kindest regards & sincere gratitude for any useful replies,

John Downey
Re: Scrolling a line at a time
#4029
Author: Joe Wells
Date: Thu, 25 Feb 1993 02:17
83 lines
4115 bytes
In article <1m0brm$k24@nemesis.muppet.bt.co.uk> jmd@bealfeirste (John Downey) writes:

   I'm being compelled, against my better judgement, and by a very
   unreasonable management-type person wearing a suit and tie, to use the
   emacs editor as an interface to the gdb debugger

This is a nice interface to gdb.

   and in order to read the info files for gdb.

You can do that with either of the the "info" or "xinfo" programs.
Neither require Emacs.

   The problem that's threatening my sanity more than anything else is
   this: is there any easy way (by `easy' I mean with one keystroke or
   button press, or less) to scroll the current window up or down one line
   at a time?

It's not clear what you want.  Try putting (setq scroll-step 1) in your
.emacs file and see if that does what you want.  If not, then perhaps you
want to do something like this:

  (global-set-key "\C-v" '(function (lambda () (scroll-up 1))))
  (global-set-key "\ev" '(function (lambda () (scroll-down 1))))

You might also want to try the scroll-in-place package.

   If not, how can any human being be reasonably expected to use it?

It's fairly easy actually.

   Another question: is there any equivalent to vi's `.' (repeat last)
   command?

No, unless you use one of the vi emulation packages.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details

----------------------------------------------------------------------
Possibly relevant information from the list of frequently asked questions
about GNU Emacs with answers:

51:  Is there an equivalent to the `.' (dot) command of vi?
  
  (`.' is the redo command in vi.  It redoes the last insertion/deletion.)
  
  No, not really.
  
  You can type "C-x ESC" (repeat-complex-command) to reinvoke commands that
  used the minibuffer to get arguments.  In repeat-complex-command you can
  type M-p and M-n to scan through all the different complex commands you've
  typed.
  
  To repeat something on each line I recommend using keyboard macros.
  
112: VIP -- vi emulation for Emacs
  
  Author: Aamod Sane <sane@cs.uiuc.edu>
  Latest released version: 4.3
  Anonymous FTP:
    /cs.uiuc.edu:pub/vip4.3.tar.Z
    /archive.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/modes/vip-mode.tar.Z
  NOTE: This version much more closely emulates vi than the one
    distributed with Emacs.
  
19:  Can I view Info files without using GNU Emacs?
  
  Yes, the `info', `xinfo', and `ivinfo' programs do this.  info uses
  curses, xinfo uses standard X11 libraries, and ivinfo uses InterViews.
  You can get info as part of the latest Texinfo package (see question
  17).  xinfo is available separately:
  
    /prep.ai.mit.edu:pub/gnu/xinfo-1.01.01.tar.Z
    /export.lcs.mit.edu:
  
  ivinfo is available in a comp.sources.misc archive or from Tom Horsley
  <tom@ssd.csd.harris.com>.  For ivinfo, you need Stanford's InterViews C++
  X library, available via anonymous FTP (interviews.stanford.edu).
----------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads