home *** CD-ROM | disk | FTP | other *** search
- Path: news.iastate.edu!pholland
- From: pholland@iastate.edu (Paul J Hollander)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Need little C Help! (How to make caracters apear on the same spot again and again?)
- Date: 24 Feb 1996 18:22:32 GMT
- Organization: Iowa State University, Ames, Iowa USA
- Message-ID: <4gnl18$rg6@news.iastate.edu>
- References: <4gjudo$i95@news.xs4all.nl> <1996Feb23.123038@mathematik.tu-muenchen.de>
- NNTP-Posting-Host: du139-206.cc.iastate.edu
-
- In article <1996Feb23.123038@mathematik.tu-muenchen.de>,
- Thomas Ganter <ganterth@mathematik.tu-muenchen.de> wrote:
- >In article <4gjudo$i95@news.xs4all.nl>, vasquez@xs4all.nl (Joel Wijngaarde) writes:
- >|> Hello,
- >|>
- >|> Can somebody tel me how i can make a counter in C wich counts at the same
- >|> screen position. I'm mean something like the in the program 'Lha'. This
- >|> program counts the bytes, that are (un)packed. The number of bytes
- >|> increases on the same spot; NOT like this:
- >|> 1 2 3 4 5 6 7 8 9 10 11 12 etc....
- >
- >Try out the CIS controll sequences. I don't have RKRM's at hand,
- >but there are command sequences like ESC[A, ESC[B, ... to move the
- >cursor around. If you have the RKRM's, inspect the console.device part,
- >else repost here for a compilation of important sequences.
-
- I've been working through _Amiga C for Beginners_. It has a list of
- escape sequences like \n for new line, \t for tab, etc. One of them
- returned the cursor to the first position of the current line. It might
- have been \s, but the book is at home instead of beside me. You could
- print the count, go to the start of the line, print a series of spaces to
- blank the line, go to the start of the line again, print the new count,
- etc.
-
- Paul Hollander pholland@iastate.edu
- Behold the tortoise: he makes no progress unless he sticks his neck out.
-
-