Email List: Xaustin-review-lX
[All Lists]

Defect in XBD vi

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD vi
From: yyyyyyyy@xxxxxxxxxx
Date: Fri, 24 Oct 2003 14:47:08 +0100 (BST)
        Defect report from : William Toth , IBM Austin

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1016 line 39047 section vi objection {WLT-XCU-1}

Problem:

Edition of Specification (Year): 2003

Defect code :  1. Error

The vi Put from Buffer Before (P) command description is missing the multiline 
requirements that was added to the Put from Buffer Following (p) command. This 
causes problem when putting partial multiline text, i.e. like that can be 
obtained by doing y/search_text . Currently TC1 states 

Current line: Unchanged.

Current column: If the buffer text is in line mode:

 If the buffer text is in character mode:
 1. If the buffer is the unnamed buffer, set to the last column on 
    which any portion of the last character from the buffer is 
    displayed.
 2. Otherwise, set to the first column on which any portion of the first
    character from the buffer is displayed.

so for a multiline Put, the current line is to remain unchanged and the cursor 
is to be placed at the end of the last line inserted. This is means of course 
that the current line cannot stay unchanged.

So unless this was intended to give Capt Kirk and Mr. Spock a means to fight 
the latest evil supercomputer, similar wording to the following from the p 
description needs to be added.

 1. If the text in the buffer is from more than a single line, then set
    to the last column on which any portion of the first character from
    the buffer is displayed.

Action:


Add required wording to correct contradiction in the vi -P description.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XBD vi, mstrbill <=