[comp.unix.xenix] 19.2 Kbaud Serial under Xenix

mike@ISIDAPS5.UUCP (Mike Maloney) (06/27/88)

I have Xenix System V, version 2.2.2 and need to support 19.2 Kbaud
for some software I am writing.  The xenix documentation ( stty(C),
stty(HW), termio(M) ) leads me to believe that only up to 9600 is
supported.  

   Is there an undocumented way to get the terminal driver to
   go to 19.2?

   Does anyone know of public domain source for an alternate
   terminal driver that will?

   Does anyone know of a commercial communications package running
   under xenix that will go 19.2 and interface with my custom software?

Thanks in advance for any helpful info.


-- 

--------------------------
Mike Maloney				"The nice thing about standards
Integral Systems, Inc.			 is that there are so many to

caf@omen.UUCP (Chuck Forsberg WA7KGX) (06/29/88)

In article <208@ISIDAPS5.UUCP> mike@ISIDAPS5.UUCP (Mike Maloney) writes:
:I have Xenix System V, version 2.2.2 and need to support 19.2 Kbaud
:for some software I am writing.  The xenix documentation ( stty(C),
:stty(HW), termio(M) ) leads me to believe that only up to 9600 is
:supported.  
:
:   Is there an undocumented way to get the terminal driver to
:   go to 19.2?
:
:   Does anyone know of public domain source for an alternate
:   terminal driver that will?
:
:   Does anyone know of a commercial communications package running
:   under xenix that will go 19.2 and interface with my custom software?

Depending on the flavor of Xenix, "stty exta" gives 19200 bps
and "stty extb" gives 38400.  The actual ability of Xenix to
accept input from serial ports at those speeds is a function
of the hardware and system loading.  It may be much less when
vpix is running or when a parallel line printer is active.

jack@turnkey.TCC.COM (Jack F. Vogel) (06/29/88)

In article <208@ISIDAPS5.UUCP> mike@ISIDAPS5.UUCP (Mike Maloney) writes:
>I have Xenix System V, version 2.2.2 and need to support 19.2 Kbaud
>for some software I am writing.  The xenix documentation ( stty(C),
>stty(HW), termio(M) ) leads me to believe that only up to 9600 is
>supported.  
 
No problem, in fact we run terminals at 38.4K all the time. I did not have
time to check the documentation about whether this is "supported" or not,
perhaps this is some sort of policy statement rather than fact. If you want
19.2K set the port to the gettydef entry EXTA, and as you might surmise EXTB
is 38.4. One caveat here is that your performance at these speeds will
definitely be hardware dependent (i.e., watch out for cheap serial cards!).

					Good luck,


-- 
Jack F. Vogel
Turnkey Computer Consultants, Costa Mesa, CA
UUCP: ...{nosc|uunet}!turnkey!jack 
Internet: jack@turnkey.TCC.COM

haugj@pigs.UUCP (Joe Bob Willie) (06/29/88)

In article <208@ISIDAPS5.UUCP>, mike@ISIDAPS5.UUCP (Mike Maloney) writes:
> I have Xenix System V, version 2.2.2 and need to support 19.2 Kbaud
> for some software I am writing.  The xenix documentation ( stty(C),
> stty(HW), termio(M) ) leads me to believe that only up to 9600 is
> supported.  
> 
>    Is there an undocumented way to get the terminal driver to
>    go to 19.2?

i'm not certain the documentation doesn't say that EXTA works, however,
it does work.  i have used EXTA on SCO 2.2.1 on a '386 with a completely
stupid serial card at 19.2Kbaud with no problems.

i believe a quick look in the /etc/gettydefs files will reveal the
relevant settings for a 19.2Kbaud login line.  turning on the EXTA
bits in c_cflag with

	termio.c_cflag &= ~CBAUD;
	termio.c_cflag |= EXTA;

aught to get you there.  i don't know if EXTB will get you to 38.4,
since i don't have a terminal at home which goes that fast, but i
suspect it will.

- john.
-- 
 The Beach Bum                                 Big "D" Home for Wayward Hackers
 UUCP: ...!killer!rpp386!jfh                          jfh@rpp386.uucp :SMAILERS

 "You are in a twisty little maze of UUCP connections, all alike" -- fortune