home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
-
- >Submitted-by: jfh@rpp386.cactus.org (John F Haugh II)
- >... Which brings up my question, given that ISTRIP must
- >behave according to the specification, how can I support it in an
- >environment where 8 bit characters are common? The answer is I
- >can't and it is completely meaningless to do so ...
-
- Certainly you can support it, in the same way that most Unix systems
- support delay options for Teletype Model 37 printing terminals even
- though no Model 37s are in use with those systems or ever will be.
- It may be useless in your environment, but you can always continue
- to support it.
-
- >I can appreciate the statement that the programmer should only
- >change those bits which are relevant or needed, but as Doug states
- >above, controlling terminal modes with a collection of bit vectors
- >is prone to error. The end user will not care where the problem
- >lies, only that there is one.
-
- If ISTRIP was the only bit that could foul up user terminal input, this
- might be a telling argument. It's not, so this is a ridiculous argument.
- Changing random bits in the terminal mode is *almost guaranteed* to cause
- trouble. Eliminating ISTRIP would not change that.
-
- >... If, as the Rationale
- >says "Although the ISTRIP flag is normally superfluous in today's
- >terminal hardware and software", why is it a required feature? ...
-
- Read the rest of the paragraph containing that phrase. "...it is
- historically supported. Therefore, applications may be using ISTRIP,
- and there is no technical problem with supporting this flag. Also,
- applications may wish to receive only 7-bit input bytes and may not
- be connected directly to the hardware terminal device (for example,
- when a connection traverses a network)... Also, there is no requirement
- in general that the terminal device ensures that high-order bits beyond
- the specified character size are cleared. ISTRIP provides this function
- for 7-bit characters..."
-
- In other words, it does have potential uses for applications that really
- do want to see only 7-bit input. Those applications arguably are broken
- and need fixing, but supporting them -- while the customers are still
- buying and using them -- is trivial. Standards are not in the business of
- legislating morality; their job is to recognize reality. If the customers
- rise up and insist that those applications be fixed -- a development that
- most of us would cheer -- then ISTRIP will fall out of use and eventually
- can be removed from the standard. While it remains in use, it is plausible
- to include it in the standard, given that it is easy to support (which it
- is, since it's about two lines of code in the terminal driver).
- --
- SVR4: the first system so open that | Henry Spencer @ U of Toronto Zoology
- everyone dumps their garbage there. | henry@zoo.toronto.edu utzoo!henry
-
-
- Volume-Number: Volume 26, Number 23
-
-