|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0631 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0631.
Report 0631 Actions
Problem Report Number 0631 Submitter's Classification Specification problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0235 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.upe/vi 248, 249, 251 Problem Summary PG4C.00041 Test fails if implementation follows POSIX 1003.2b/D11 put command cursor positioning rules. Problem Text
The test assertions listed test an area of POSIX.2 which does not reflect
historical practice. The draft POISX.2b standard more closely documents
the behaviour of historical implementation of Ex and Vi.
Historically, the current line and column position after a p or P command
varies according to the mode (line or character) of the buffer just put into
the edit buffer. The correct behaviour is described in POSIX.2b draft.11
section 5.35.7.2.68 page 234 lines 4172-4183 and section 5.35.7.2.69 page 235
lines 4205-4211.
Our implementation conforms to the draft POSIX.2b standard which mandates
this historical practice. Since this area of the specification is subject
to change, we request a temporary interpretation allowing historical practice.
Test Output
400|10 248 1 01:37:50|IC Start
200|10 1 01:37:50|TP Start
520|10 1 230686748 1 1|Assertion #248 (C): buffer p command
520|10 1 230686748 1 1|Note: The behavior associated with this assertion is expected
520|10 1 230686748 1 2|to change in a future revision of POSIX.2.
520|10 1 230686748 1 3|Standard output isn't the same as file 'vi_exp_1'
520|10 1 230686748 1 4|diff of "out.stdout" and "vi_exp_1":
520|10 1 230686748 1 5|*** out.stdout Fri Aug 18 01:38:03 1995
520|10 1 230686748 1 6|--- vi_exp_1 Fri Aug 18 01:37:53 1995
520|10 1 230686748 1 7|***************
520|10 1 230686748 1 8|*** 1,4 ****
520|10 1 230686748 1 9| first
520|10 1 230686748 1 10| second line
520|10 1 230686748 1 11| or penult linethird
520|10 1 230686748 1 12|! lcondast one
520|10 1 230686748 1 13|--- 1,4 ----
520|10 1 230686748 1 14| first
520|10 1 230686748 1 15| second line
520|10 1 230686748 1 16| or penult linethird
520|10 1 230686748 1 17|! lconast one
220|10 1 1 01:38:17|FAIL
410|10 248 1 01:38:18|IC End
400|10 249 1 01:38:19|IC Start
200|10 1 01:38:19|TP Start
520|10 1 230686748 1 1|Assertion #249 (C): P command on lines
520|10 1 230686748 1 1|Note: The behavior associated with this assertion is expected
520|10 1 230686748 1 2|to change in a future revision of POSIX.2.
520|10 1 230686748 1 3|Standard output isn't the same as file 'vi_exp_1'
520|10 1 230686748 1 4|diff of "out.stdout" and "vi_exp_1":
520|10 1 230686748 1 5|*** out.stdout Fri Aug 18 01:38:35 1995
520|10 1 230686748 1 6|--- vi_exp_1 Fri Aug 18 01:38:23 1995
520|10 1 230686748 1 7|***************
520|10 1 230686748 1 8|*** 6,10 ****
520|10 1 230686748 1 9| 3second line
520|10 1 230686748 1 10| third
520|10 1 230686748 1 11| penult
520|10 1 230686748 1 12|! 2 fourth line
520|10 1 230686748 1 13| last one
520|10 1 230686748 1 14|--- 6,10 ----
520|10 1 230686748 1 15| 3second line
520|10 1 230686748 1 16| third
520|10 1 230686748 1 17| penult
520|10 1 230686748 1 18|! 2fourth line
520|10 1 230686748 1 19| last one
220|10 1 1 01:38:50|FAIL
410|10 249 1 01:38:50|IC End
200|10 1 01:39:29|TP Start
520|10 1 230686748 1 1|Assertion #251 (C): buffer P command
520|10 1 230686748 1 1|Note: The behavior associated with this assertion is expected
520|10 1 230686748 1 2|to change in a future revision of POSIX.2.
520|10 1 230686748 1 3|Standard output isn't the same as file 'vi_exp_1'
520|10 1 230686748 1 4|diff of "out.stdout" and "vi_exp_1":
520|10 1 230686748 1 5|*** out.stdout Fri Aug 18 01:39:44 1995
520|10 1 230686748 1 6|--- vi_exp_1 Fri Aug 18 01:39:32 1995
520|10 1 230686748 1 7|***************
520|10 1 230686748 1 8|*** 1,4 ****
520|10 1 230686748 1 9| first
520|10 1 230686748 1 10| second line
520|10 1 230686748 1 11| or penult linthird e
520|10 1 230686748 1 12|! condlast one
520|10 1 230686748 1 13|--- 1,4 ----
520|10 1 230686748 1 14| first
520|10 1 230686748 1 15| second line
520|10 1 230686748 1 16| or penult linthird e
520|10 1 230686748 1 17|! conlast one
220|10 1 1 01:39:58|FAIL
410|10 251 1 01:39:58|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The journal output does not match the rationale presented.
Tests 248 and 251 are failing due to differences in ye command
semantics not differences in put cursor positioning.
Test 249 appears to be properly failing since the cursor is not
positioned to the first non-blank character in the line. This is
the position required by both 1003.2 and 1003.2b.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0631
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority