Bug 64359

Summary: :p and :P commands in vi doesn't work
Product: Base System Reporter: Daniel Rudy <dcrudy>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.9-RELEASE   
Hardware: Any   
OS: Any   

Description Daniel Rudy 2004-03-17 02:50:16 UTC
When specifying multiple files on the command line when invoking the
vi editor, after using :n to edit the next file in the list, the :p
command to edit the previous file in the list does not work.  It is
documented in the man page for vi under ed commands.

Fix: 

Unknown at this time.
How-To-Repeat: 
Invoke vi with multiple files on the command line.
Do :n to edit the next file.
Do :p to edit the previous file.  This step fails.
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2004-03-22 11:36:59 UTC
State Changed
From-To: open->closed

Stephen explained why this is not a bug
Comment 2 Kris Kennaway 2004-03-22 21:02:21 UTC
On Mon, Mar 22, 2004 at 03:55:31PM +0000, Ceri Davies wrote:
> On Mon, Mar 22, 2004 at 03:37:15AM -0800, Kris Kennaway wrote:
> > Synopsis: :p and :P commands in vi doesn't work
> > 
> > State-Changed-From-To: open->closed
> > State-Changed-By: kris
> > State-Changed-When: Mon Mar 22 03:36:59 PST 2004
> > State-Changed-Why: 
> > Stephen explained why this is not a bug
> 
> Kris,
> 
> This explanation doesn't seem to have made it as far as the PR; could
> you forward a copy for the audit trail please?

Sorry, looks like I've deleted it.  It should be in the freebsd-bugs
archives though.

The gist of it it was that :p is not 'previous', but 'print'.

Kris