Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Muttley@dastardlyhq.com Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Wed, 21 Aug 2024 15:40:05 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> Injection-Date: Wed, 21 Aug 2024 17:40:05 +0200 (CEST) Injection-Info: dont-email.me; posting-host="47a613f3f74a4b778efde26a501a57a1"; logging-data="4123497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Mm3RBZkQa+GowcTX318Sd" Cancel-Lock: sha1:XqNqq339PYTEHIHSXwDAgVC8w2Q= Bytes: 2351 On Wed, 21 Aug 2024 17:27:04 +0200 David Brown boringly babbled: >On 21/08/2024 12:26, Muttley@dastardlyhq.com wrote: >Trying to understand the Linux documentation for UARTs is a nightmare. >They are horrendous - the APIs, structs, flag sets, etc., are a vast >jumble of crap for handling terminals that haven't been seen outside a >museum for 50 years, long before Linux was conceived. Trying to get the Unfortunately terminals are complex beasts with many permutations though all that should be a higher level that what you were doing with a UART. >Even better, of course, is to ditch C and use Python - "pyserial" does >it all, simply and cleanly. (And the same code works on Windows, if The problem with pyserial is you have to use Python. Horrible language though like BASIC, useful for teaching kids to code.