Search Text         
Search Tips?
Search By   And   Or   Boolean   Exact Match   TA #
Search In   Whole Doc   Keywords Sort By  
Product   Sub Product  

View Technical Articles (sorted by Product) New/Updated in the last:    7 days      14 days      30 days             
TA # Date Created Date Updated Resolved Issue?   Printer Friendly Version of This TA   Print Article
  E-mail This TA   E-mail Article
106673 05/16/1987 08:03 PM 05/15/2001 04:56 PM
Yes No
Terminal is set for 7 data bits ,even parity and the keys don't work.
Keywords
7 data bits even parity terminal manager keys arrow input keyboard fails
Release
SCO Professional 1.0.0

CAUSE:
          SCO Professional 1.00-1.02 sets cs8 to allow for entry of 8 bit
characters. If a terminal is set to 7 data bits and even parity, the
parity bit gets interpreted as the 8th bit of the character. With
even parity, the parity bit will be 1 if there are an odd # of 1 bits
in the character, or the parity bit will be 0 if there are an even
number of 1 bits in the character (i.e., the number of high
bits & parity bit together should be even). So half the
characters were being interpreted as 8 bit characters.

Problem
          The customer chooses to set the terminal to 7 data bits instead of
          8 data bits.  With SCO Professional Releases 1.00 to 1.02, the arrow
          keys and keyboard input are not recognized.

RELEASE:  SCO Professional 1.0.0

CAUSE:
          SCO Professional 1.00-1.02 sets cs8 to allow for entry of 8 bit
          characters. If a terminal is set to 7 data bits and even parity, the
          parity bit gets interpreted as the 8th bit of the character.  With
          even parity, the parity bit will be 1 if there are an odd # of 1 bits
          in the character, or the parity bit will be 0 if there are an even
          number of 1 bits in the character (i.e., the number of high
           bits & parity bit together should be even).  So half the
           characters were being interpreted as 8 bit characters.


Solution
          You can solve the problem by setting your terminal to 8 data
          bits, 1 stop bit, no parity.  However, if you must use 7 data
          bits, use space parity, instead of even parity, because space
          parity means the parity bit is always 0; thus SCO Professional will
          not misinterpret the character when it goes to 8 bits.  As long as
          it is not necessary to generate 8 bit characters, 7 bit, even
          parity will work as well as 8 bit, no parity. SCO Professional 1.1
          does not set cs8, avoiding this problem.

Back to Search ResultsBack to Search Results