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,3ecaaa0743f120b8,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: rm-throwaway4@gunlab.com.ru Newsgroups: comp.lang.ada Subject: Unwanted newline Date: 13 Jun 2005 02:11:12 -0700 Organization: http://groups.google.com Message-ID: <1118653872.708684.57360@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: 195.151.20.194 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1118653876 23258 127.0.0.1 (13 Jun 2005 09:11:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Jun 2005 09:11:16 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=195.151.20.194; posting-account=skSyLw0AAADJjZ63eX5Vs44DCoR90VYQ Xref: g2news1.google.com comp.lang.ada:11310 Date: 2005-06-13T02:11:12-07:00 List-Id: May be I did not rtfm enough, but I can't find the answer. rm@gloria ~/abinu $ cat ctest.c #include void main(void) { putchar('X'); } rm@gloria ~/abinu $ cat test.adb with ADA.TEXT_IO; use ADA.TEXT_IO; procedure test is package IntIO is new ADA.TEXT_IO.INTEGER_IO(INTEGER); use IntIO; begin PUT("X"); end test; rm@gloria ~/abinu $ ./ctest;echo Y XY rm@gloria ~/abinu $ ./test;echo Y X Y Apparently Text_Io places newline when program exits even if I did not ask for it. How to output ONLY "X" in Ada, without newline?