From: zetetic!philip (Philip Smith)
Subject: Re: 8 bits AND parity, please
Reply-To: philip@zetetic.net.netcom.com
Date: Tue, 15 Dec 1992 18:23:15 GMT

In article <1992Dec10.093651.24156@netcom.com> abell@netcom.com  
(Steven T. Abell) writes:
> hwr@pilhuhn.ka.sub.org (Heiko W.Rupp) writes:
> >weaver@kuttner.sfc.sony.com (Eric Weaver) writes:
> 
> >>I would like to set /dev/ttya to produce 8 bit characters and odd  
parity.
> >>We have a device which requires said serial parameters.
> 
> 
> No, he wants to stroke a pro VCR. So do I.
> Pro video gizmos all speak 38.4Kbaud 8-bits odd parity.
> NeXT ports won't do this with the current UNIXy drivers.
> This really pisses me off.
> It's not like an 8530 can't do this.
> NeXT should supply appkit port objects that can be seized,
> configured any which way, and used for more than just nerdy  
dialups.
> 
> Steve abell@netcom.com

It is not because it is UNIX but because the NeXT is BSD. Systems  
that are SYSV based and support the termio/termios(4?) interface are  
capable of 8 bit data and odd parity. Even Sun 4.0 had the termios  
interface and so could support this serial character format. I had a  
Sun workstation controlling a VCR using the Sony style protocol.  

I remember reading/hearing an announcement that NeXT would supply  
(for a price) a POSIX.1 compliant interface. Probably in order to  
satisfy some goverment contract requirements. Now my understanding is  
that POSIX.1 requires support of the termios interface through  
tcsetattr() and tcgetattr(). So perhaps there is hope that this may  
be available some day but I am not holding my breath. 

--

Philip Smith.      philip@zetetic.com (415) 931-9283

---

-- NewsGrazer, a NeXTstep(tm) news reader, posting --
M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA
M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT
M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q
M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($EN(&%R=&EC;&4@
M/#$Y.3)$96,Q,"XP.3,V-3$N,C0Q-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<G0@=&AE('1E<FUI;R]T97)M:6]S*#0_
M*2!I;G1E<F9A8V4@87)E(&-A<&%B;&4@;V8@."!B:70@9&%T82!A;F0@;V1D
M('!A<FET>2X@179E;B!3=6X@-"XP(&AA9"!T:&4@=&5R;6EO<R!I;G1E<F9A
M8V4@86YD('-O(&-O=6QD('-U<'!O<G0@=&AI<R!S97)I86P@8VAA<F%C=&5R
M(&9O<FUA="X@22!H860@82!3=6X@=V]R:W-T871I;VX@8V]N=')O;&QI;F<@
M82!60U(@=7-I;F<@=&AE(%-O;GD@<W1Y;&4@<')O=&]C;VPN("!<"EP*22!R
M96UE;6)E<B!R96%D:6YG+VAE87)I;F<@86X@86YN;W5N8V5M96YT('1H870@
M3F585"!W;W5L9"!S=7!P;'D@*&9O<B!A('!R:6-E*2!A(%!/4TE8+C$@8V]M
M<&QI86YT(&EN=&5R9F%C92X@4')O8F%B;'D@:6X@;W)D97(@=&\@<V%T:7-F
M>2!S;VUE(&=O=F5R;65N="!C;VYT<F%C="!R97%U:7)E;65N=',N($YO=R!M
M>2!U;F1E<G-T86YD:6YG(&ES('1H870@4$]325@N,2!R97%U:7)E<R!S=7!P
M;W)T(&]F('1H92!T97)M:6]S(&EN=&5R9F%C92!T:')O=6=H('1C<V5T871T
M<B@I(&%N9"!T8V=E=&%T='(H*2X@4V\@<&5R:&%P<R!T:&5R92!I<R!H;W!E
M('1H870@=&AI<R!M87D@8F4@879A:6QA8FQE('-O;64@9&%Y(&)U="!)(&%M
M(&YO="!H;VQD:6YG(&UY(&)R96%T:"X@7`I<"@HM+5P*7`I0:&EL:7`@4VUI
M=&@N("`@("`@<&AI;&EP0'IE=&5T:6,N8V]M("@T,34I(#DS,2TY,C@S7`I<
'"BTM+0I]"B`@
`
-- 

Philip Smith.      philip@zetetic.com (415) 931-9283