[comp.unix.wizards] Lost characters under 4.3 BSD UNIX

eichelbe@nadc.arpa (03/12/87)

I am bringing up 4.3 BSD UNIX on a VAX 11/780.  We have some boards
from EMULEX (CS11 hardware) that perform DEC DH11 emulation.  Our
current 4.1 BSD UNIX system has no problem using these boards.  We are
going through a Sytek localnet to get to the DH's, and thus the VAX.

Under 4.3 BSD I've been getting a problem with XON/XOFF.  I am using a
DEC VT100 to connect to the 4.3 system.  I use the same terminal under
4.1 on the same VAX (I just put some different packs and a different
floppy in when I bring up 4.3).  Under 4.3, if I type something like
"ps ax" and type a control S while the output is coming out, and then
type a control Q, I lose some of my output. (In fact, this will happen
with any output to the terminal of more than a few lines.)  This
doesn't happen under 4.1.  I am ruling out the terminal and the
localnet because they are not variables.  The gettytab entry I use
under 4.3 BSD is as follows:

default:\
	:ap:fd#1000:im=\r\n\r\n%h 4.3 BSD UNIX on port %t\r\n\r\n:sp#1200:

Sytek-9600:\
	:sp#9600:

---
Does anyone know what could be going wrong?  Are there any known bugs and fixes
for the terminal driver stuff, especially dh.c ?  Is there something missing
from my gettytab entry (Sytek-9600) ?

Any info would be appreciated.

		Thank you.
			Jon Eichelberger
			eichelbe@NADC.ARPA

rbj@icst-cmr.arpa (03/14/87)

? Under 4.3 BSD I've been getting a problem with XON/XOFF.  I am using a
? DEC VT100 to connect to the 4.3 system.  I use the same terminal under
? 4.1 on the same VAX (I just put some different packs ...
? 
? 			Jon Eichelberger
? 			eichelbe@NADC.ARPA

4.3 uses DMA on output if devices support it. I don't know exactly what
control there is over maximum lines, etc. My VT100 manual sez its buffer
is 64 chars. XOFF sent at 32 and XON at 16. Try either, [1] a terminal with
a bigger buffer, [2] stty nl1 or cr1, or [3] check out ways to limit the
size of DMA (or even turn it off) in the driver. Good luck.

	(Root Boy) Jim "Just Say Yes" Cottrell	<rbj@icst-cmr.arpa>
	Look into my eyes and try to forget that you have a Macy's charge card!

eichelbe@nadc.arpa (03/31/87)

I am bringing up 4.3 BSD on a VAX 11/780.  I have the tapes that come
directly from Berkeley.

We currently use 4.1 BSD UNIX on the VAX in question and use a Sytek
Localnet to connect into the VAX.  With the Localnet you have a box
connected to your terminal via an RS-232 cable, and the box is
connected to a coax cable.  Via this cable you can connect to another
such box which connects into the DH-11 (we have EMULEX DH clones)
distribution panel.  Something called flow control can be set on these
boxes.  Under 4.1 BSD we have XON (use of control S, control Q) set on
the terminal end boxes, and EIA flow set on the VAX distribution panel
boxes.  This works just fine.

Under 4.3 BSD this will not work correctly.  If I type a control S and
then a control Q while "catting" a file (or looking at output from ps
ax) under 4.3 BSD, I lose some characters.  But if I set XON flow on
the VAX distribution panel end's box, everything works just fine (no
characters are lost).

Can someone explain what has changed to make what we do under 4.1 BSD
stop working under 4.3 BSD?  Was the mixing of XON and EIA wrong all
along and it just happened to work?  Maybe there is a parameter in the
dh or tty driver I can play with to stop the character loss with the
XON/EIA mix?  The reason why I want to stick with the XON/EIA mix is a
bit too complex to explain here.  If I can't, though, I won't stick
with it.

Any help would be appreciated.  Thank you.

		Jon Eichelberger