From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc65ab136f46904d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Sat, 16 Apr 2011 15:12:19 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <9af0087d-9637-40d9-8c30-2e06c2d1e4f4@o26g2000vby.googlegroups.com> <31dd80b2-3fd3-4078-8774-c396a52c94a0@r6g2000vbz.googlegroups.com> <0d509f1c-4ca7-4595-a026-65c108558d76@bl1g2000vbb.googlegroups.com> <35515c03-f565-4fc4-ac1c-e9b7268123b3@dn9g2000vbb.googlegroups.com> <1144e8e4-4193-4ffd-a8d2-145c38993eb2@p16g2000vbi.googlegroups.com> Injection-Date: Sat, 16 Apr 2011 15:12:19 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="12599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/R3HJpfo7bjnRUthp+E+hdE5Teh8FXtMU=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:5yL7X8EtUIvir7xoLsEZXf8ekag= Xref: g2news2.google.com comp.lang.ada:19789 Date: 2011-04-16T15:12:19+00:00 List-Id: On 2011-04-16, tonyg wrote: > > Well spotted, I missed that after several trawls through. It also > screams out as the problem I am having. Now I just got to figure the > proper linux command to switch the handshaking off. Its interesting > that minicom seems to detect all this and configure itself so well.... You can use stty itself to change the default RTS/CTS setting before running the Ada program. However, this will not work if the GNAT serial port library package issues any serial port flow control calls itself to reconfigure the serial port. I don't know if GNAT does this; I don't use the GNAT serial port packages. Try a "man 3 termios" on your Linux system for further information. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world