Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 1999 22:46:00 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        hoek@FreeBSD.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/more default.morerc less.morerc macro.c most.morerc ncommand.c Makefile command.c input.c less.h line.c main.c more.1 more.help option.c output.c pathnames.h prim.c screen.c signal.c ttyin.c decode.c
Message-ID:  <19990903224600.51536@hydrogen.fircrest.net>
In-Reply-To: <19990904012751.A30517@mad>; from Tim Vanderhoek on Sat, Sep 04, 1999 at 01:27:51AM -0400
References:  <199909032231.PAA60938@freefall.freebsd.org> <19990903214400.29996@hydrogen.fircrest.net> <19990904012751.A30517@mad>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Vanderhoek scribbled this message on Sep 4:
> On Fri, Sep 03, 1999 at 09:44:00PM -0700, John-Mark Gurney wrote:
> >
> > >   changed is the capital 'N' key, which now performs a repeat-search in the
> > >   opposite direction (just like in vi).
> > 
> > ummm... I don't like this...  I'm used to N being Next File as it has
> > been for YEARS w/ FreeBSD....
> 
> FWIW, I ran this for 2+ months here and I'm finally getting used to
> 'N' not being the same as ':n'.  However, I'm sure I'm not the only
> person who routinely pressed 'N' expecting it to work like in vi, only
> to get either an error or booted to the next file.  I'm convinced the
> change should be made.

my complaint is that it no longer makes browsing the first page of
multiple files easy any more...  I wouldn't mind if we manage to make
another nemonic that would do next file in a single key press, but I
guess I'm going to have to live with this...

of course I've done the same thing a few times... :) (pressing N
expecting vi behavior)

> The magic incantation to return 'N' to its normal function is:
> 
> $ echo "macro 1 N 'file next \${number}'" > ~/.morerc

thanks, now to commit this to /usr/share/skel/dot.morerc.. :) J/K

> Eventually a map command needs to be added so that simple changes
> like this are less likely to require obscure programmer syntax.

-- 
  John-Mark Gurney				Voice: +1 541 684 8449
  Cu Networking					  P.O. Box 5693, 97405

  "The soul contains in itself the event that shall presently befall it.
  The event is only the actualizing of its thought." -- Ralph Waldo Emerson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990903224600.51536>