home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7781 < prev    next >
Encoding:
Text File  |  1992-12-16  |  4.3 KB  |  97 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!zetetic!philip
  3. From: zetetic!philip (Philip Smith)
  4. Subject: Re: 8 bits AND parity, please
  5. Message-ID: <1992Dec15.182315.6970@zetetic.uucp>
  6. Sender: philip@zetetic.uucp
  7. Reply-To: philip@zetetic.net.netcom.com
  8. References: <1992Dec10.093651.24156@netcom.com>
  9. Date: Tue, 15 Dec 1992 18:23:15 GMT
  10. Lines: 85
  11.  
  12. In article <1992Dec10.093651.24156@netcom.com> abell@netcom.com  
  13. (Steven T. Abell) writes:
  14. > hwr@pilhuhn.ka.sub.org (Heiko W.Rupp) writes:
  15. > >weaver@kuttner.sfc.sony.com (Eric Weaver) writes:
  16. > >>I would like to set /dev/ttya to produce 8 bit characters and odd  
  17. parity.
  18. > >>We have a device which requires said serial parameters.
  19. > No, he wants to stroke a pro VCR. So do I.
  20. > Pro video gizmos all speak 38.4Kbaud 8-bits odd parity.
  21. > NeXT ports won't do this with the current UNIXy drivers.
  22. > This really pisses me off.
  23. > It's not like an 8530 can't do this.
  24. > NeXT should supply appkit port objects that can be seized,
  25. > configured any which way, and used for more than just nerdy  
  26. dialups.
  27. > Steve abell@netcom.com
  28.  
  29. It is not because it is UNIX but because the NeXT is BSD. Systems  
  30. that are SYSV based and support the termio/termios(4?) interface are  
  31. capable of 8 bit data and odd parity. Even Sun 4.0 had the termios  
  32. interface and so could support this serial character format. I had a  
  33. Sun workstation controlling a VCR using the Sony style protocol.  
  34.  
  35. I remember reading/hearing an announcement that NeXT would supply  
  36. (for a price) a POSIX.1 compliant interface. Probably in order to  
  37. satisfy some goverment contract requirements. Now my understanding is  
  38. that POSIX.1 requires support of the termios interface through  
  39. tcsetattr() and tcgetattr(). So perhaps there is hope that this may  
  40. be available some day but I am not holding my breath. 
  41.  
  42. --
  43.  
  44. Philip Smith.      philip@zetetic.com (415) 931-9283
  45.  
  46. ---
  47.  
  48. -- NewsGrazer, a NeXTstep(tm) news reader, posting --
  49. M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA
  50. M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT
  51. M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q
  52. M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($EN(&%R=&EC;&4@
  53. M/#$Y.3)$96,Q,"XP.3,V-3$N,C0Q-39`;F5T8V]M+F-O;3X@86)E;&Q`;F5T
  54. M8V]M+F-O;2`H4W1E=F5N(%0N($%B96QL*2!W<FET97,Z7`H^(&AW<D!P:6QH
  55. M=6AN+FMA+G-U8BYO<F<@*$AE:6MO(%<N4G5P<"D@=W)I=&5S.EP*/B`^=V5A
  56. M=F5R0&MU='1N97(N<V9C+G-O;GDN8V]M("A%<FEC(%=E879E<BD@=W)I=&5S
  57. M.EP*/B!<"CX@/CY)('=O=6QD(&QI:V4@=&\@<V5T("]D978O='1Y82!T;R!P
  58. M<F]D=6-E(#@@8FET(&-H87)A8W1E<G,@86YD(&]D9"!P87)I='DN7`H^(#X^
  59. M5V4@:&%V92!A(&1E=FEC92!W:&EC:"!R97%U:7)E<R!S86ED('-E<FEA;"!P
  60. M87)A;65T97)S+EP*/B!<"CX@7`H^($YO+"!H92!W86YT<R!T;R!S=')O:V4@
  61. M82!P<F\@5D-2+B!3;R!D;R!)+EP*/B!0<F\@=FED96\@9VEZ;6]S(&%L;"!S
  62. M<&5A:R`S."XT2V)A=60@."UB:71S(&]D9"!P87)I='DN7`H^($YE6%0@<&]R
  63. M=',@=V]N)W0@9&\@=&AI<R!W:71H('1H92!C=7)R96YT(%5.25AY(&1R:79E
  64. M<G,N7`H^(%1H:7,@<F5A;&QY('!I<W-E<R!M92!O9F8N7`H^($ET)W,@;F]T
  65. M(&QI:V4@86X@.#4S,"!C86XG="!D;R!T:&ES+EP*/B!.95A4('-H;W5L9"!S
  66. M=7!P;'D@87!P:VET('!O<G0@;V)J96-T<R!T:&%T(&-A;B!B92!S96EZ960L
  67. M7`H^(&-O;F9I9W5R960@86YY('=H:6-H('=A>2P@86YD('5S960@9F]R(&UO
  68. M<F4@=&AA;B!J=7-T(&YE<F1Y(&1I86QU<',N7`H^(%P*/B!3=&5V92!A8F5L
  69. M;$!N971C;VTN8V]M7`I<"DET(&ES(&YO="!B96-A=7-E(&ET(&ES(%5.25@@
  70. M8G5T(&)E8V%U<V4@=&AE($YE6%0@:7,@0E-$+B!3>7-T96US('1H870@87)E
  71. M(%-94U8@8F%S960@86YD('-U<'!O<G0@=&AE('1E<FUI;R]T97)M:6]S*#0_
  72. M*2!I;G1E<F9A8V4@87)E(&-A<&%B;&4@;V8@."!B:70@9&%T82!A;F0@;V1D
  73. M('!A<FET>2X@179E;B!3=6X@-"XP(&AA9"!T:&4@=&5R;6EO<R!I;G1E<F9A
  74. M8V4@86YD('-O(&-O=6QD('-U<'!O<G0@=&AI<R!S97)I86P@8VAA<F%C=&5R
  75. M(&9O<FUA="X@22!H860@82!3=6X@=V]R:W-T871I;VX@8V]N=')O;&QI;F<@
  76. M82!60U(@=7-I;F<@=&AE(%-O;GD@<W1Y;&4@<')O=&]C;VPN("!<"EP*22!R
  77. M96UE;6)E<B!R96%D:6YG+VAE87)I;F<@86X@86YN;W5N8V5M96YT('1H870@
  78. M3F585"!W;W5L9"!S=7!P;'D@*&9O<B!A('!R:6-E*2!A(%!/4TE8+C$@8V]M
  79. M<&QI86YT(&EN=&5R9F%C92X@4')O8F%B;'D@:6X@;W)D97(@=&\@<V%T:7-F
  80. M>2!S;VUE(&=O=F5R;65N="!C;VYT<F%C="!R97%U:7)E;65N=',N($YO=R!M
  81. M>2!U;F1E<G-T86YD:6YG(&ES('1H870@4$]325@N,2!R97%U:7)E<R!S=7!P
  82. M;W)T(&]F('1H92!T97)M:6]S(&EN=&5R9F%C92!T:')O=6=H('1C<V5T871T
  83. M<B@I(&%N9"!T8V=E=&%T='(H*2X@4V\@<&5R:&%P<R!T:&5R92!I<R!H;W!E
  84. M('1H870@=&AI<R!M87D@8F4@879A:6QA8FQE('-O;64@9&%Y(&)U="!)(&%M
  85. M(&YO="!H;VQD:6YG(&UY(&)R96%T:"X@7`I<"@HM+5P*7`I0:&EL:7`@4VUI
  86. M=&@N("`@("`@<&AI;&EP0'IE=&5T:6,N8V]M("@T,34I(#DS,2TY,C@S7`I<
  87. '"BTM+0I]"B`@
  88. `
  89. -- 
  90.  
  91. Philip Smith.      philip@zetetic.com (415) 931-9283
  92.  
  93.