comp.lang.ada
 help / color / mirror / Atom feed
* GPS 4.4.1. ADA 95: Calling ASCII codes for ESC and display row colum control
@ 2011-01-10 13:44 Michael A
  2011-01-10 14:19 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Michael A @ 2011-01-10 13:44 UTC (permalink / raw)


I know this topic was disucssed in the 90's on the forum and is an old
question, but. I am trying to control the display row,col for terminal
output of my ADA 95 simple program. I have tried several ways but to
no avail:

-- keep out put of a loop at line 20 column 20

put (ASCII.ESC & "[" & "20" & ";" & "20" & "H")  ;

put (ASCII.ESC&"[20;20H")  ;
put (ada.Characters.latin_1.ESC&"20"&";"&"20H");

put (Character'val (91) & "20;20H" );

I get the literal out put on the screen " <-20;20H " but not keeping
the output on line 20, col 20.

I do get put(ascii.bel); to ring the bell OK.



Thanks



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-11 18:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 13:44 GPS 4.4.1. ADA 95: Calling ASCII codes for ESC and display row colum control Michael A
2011-01-10 14:19 ` Dmitry A. Kazakov
2011-01-10 19:29   ` Michael A
2011-01-10 22:36     ` Yannick Duchêne (Hibou57)
2011-01-10 15:21 ` Alex Mentis
2011-01-10 19:33   ` Michael A
2011-01-11  2:00   ` Randy Brukardt
2011-01-11 15:10 ` Peter Hermann
2011-01-11 18:42   ` Ludovic Brenta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox