.
Last update: 1997-05-20
9945-2-51 _____________________________________________________________________________ Topic: beautify, bf Relevant Sections: 5.10.7.5.4 Classification: Defect Defect Report: ----------------------- Reference: Page 536, Section 5.10.7.5.4, "beautify, bf" Was it the intent of the POSIX 9945-2 standard to change historic practice by requiring that beautify affect text read in from files? Historic practice is as follows, if the beautify option is set. In ex mode, keys which were not already specially handled, that were less than an ASCII space or were the del (0177) key, and were neither a tab nor a form-feed, and were read in from a COMMAND file, were discarded. When the first ^H was discarded a message was written to the terminal. Quoting (a \) would keep the keys from being discarded. In vi mode, keys which were not already specially handled, that were less than an ASCII space or were the del (0177) key, and were neither a tab nor a form-feed, and were entered in input mode (either to the edit buffer or to the colon command line), were discarded. Quoting (a ^V) would keep the keys from being discarded. I would suggest wording it such that implementations are permitted to interpret different sets of special keys, and that any keys that are not quoted, which are not specially interpreted, and for which iscntrl() returns true, are discarded. (Keith Bostic [email protected]) WG15 response for 9945-2:1993 ----------------------------------- The standard states the behavior required and conforming implementations shall conform to this. Concerns about the wording of this part of the standard have been forwarded to the sponsor. Rationale for Interpretation: ----------------------------- None _____________________________________________________________________________