From owner-cvs-all  Fri Sep  3 22:48:34 1999
Delivered-To: cvs-all@freebsd.org
Received: from metriclient-1.uoregon.edu (metriclient-1.uoregon.edu [128.223.172.1])
	by hub.freebsd.org (Postfix) with ESMTP
	id C2CE5154D6; Fri,  3 Sep 1999 22:46:09 -0700 (PDT)
	(envelope-from gurney_j@efn.org)
Received: (from jmg@localhost)
          by metriclient-1.uoregon.edu (8.9.1/8.8.7) id WAA17952;
          Fri, 3 Sep 1999 22:46:01 -0700 (PDT)
Message-ID: <19990903224600.51536@hydrogen.fircrest.net>
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
References: <199909032231.PAA60938@freefall.freebsd.org> <19990903214400.29996@hydrogen.fircrest.net> <19990904012751.A30517@mad>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69
In-Reply-To: <19990904012751.A30517@mad>; from Tim Vanderhoek on Sat, Sep 04, 1999 at 01:27:51AM -0400
Reply-To: John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Organization: Cu Networking
X-Operating-System: FreeBSD 3.0-RELEASE i386
X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31  96 7A 22 B3 D8 56 36 F4
X-Files: The truth is out there
X-URL: http://resnet.uoregon.edu/~gurney_j/
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk

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