From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0109A3858C66; Mon, 25 Sep 2023 02:05:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0109A3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695607543; bh=ndmhyh4J3Gppt+e0DaA4sx79F6qQCd49btWZqatn070=; h=From:To:Subject:Date:From; b=Teh6L9ov5EXuT1JYhUNDNZzrKmfC4tyfERBEEqEm9pnNnFJXyXTfVpErVdKVhrLrJ KyDUAaLBSEo2iwXxLUW941TgPi13o2GrBDjcoT/gmDfLRnLjpmQUskVs5XX9+gK2YM ADXegm2zI8qdtK0ebCH2tABPHodQNDL6p2GS/QJ8= From: "thiebauddick2 at aol dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/111578] New: GNAT ada.textio.setline gives incorrect result Date: Mon, 25 Sep 2023 02:05:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 11.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiebauddick2 at aol dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111578 Bug ID: 111578 Summary: GNAT ada.textio.setline gives incorrect result Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: thiebauddick2 at aol dot com CC: dkm at gcc dot gnu.org Target Milestone: --- building the following program with gnatmake: with ada.text_io; use ada.text_io; procedure Cursor is begin Put(ASCII.ESC & "[2J" & ASCII.ESC & "[;H"); set_col(1); set_line(6); put ("aaaaaaaa"); set_col(1); set_line(7); put ("bbbbbbbb"); set_col(3); set_line(5); put ("cccccccc"); end Cursor;=20=20=20=20=20=20 Gives the result: aaaaaaaa bbbbbbbb cccccccc It should give the result cccccccc aaaaaaaa bbbbbbbbb GNAT 10.5.0 on Linux Mint 21.2=