Subject: Pine, bytes and parity.

From: Mike Roch <[email-masked]>
Date: Tue, 16 Feb 1993 11:25:02 +0000

We're having problems with some of our X25 connected terminals and Pine.

Our comms expert tells me that all Pine output to the screen is 8 bit with
the top bit unset; Pine demands that input is also in this form. We see no
problems with telnet sessions, nor with serial terminals that are set to 8
bit no parity. 

Is it possible for Pine to communicate properly with a 7 bit terminal?

Mike

---

From: Laurence Lundblade <[email-masked]>
Date: Tue, 16 Feb 1993 11:09:02 -0500 (EST)

Pine uses cbreak mode, at least on BSD based UNIX's, which I believe
implies the terminal driver generates the parity. The first thing to check
would be the tty parameters. If Pine where running in RAW more then it
would be different. Also, if you're running Pine on a System V box this
might be different, but I suspect the problem is still in the tty driver
settings. 

It is a little different if you set the character-set parameter to
iso-8859-X. Then Pine sets up the tty a little different (stty pass8) and
expects 8 bit input. Otherwise Pine ignores all bits above the 7th. It
does this intentionally to be tolerant of incorrect parity settings. When
8 bit characters are used, obviously it can't ignore the eigth bit. 

I guess I don't have an exact answer, but in general Pine doesn't know
much about the parity and number of bits sent.

LL