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.4 required=5.0 tests=BAYES_50,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,df157bda371e7890 X-Google-Attributes: gid103376,public From: "Tarjei Tj�stheim Jensen" Subject: Re: backing up Date: 1998/07/24 Message-ID: <6p9gt4$ip61@news.kvaerner.com>#1/1 X-Deja-AN: 374444730 Content-Transfer-Encoding: 7bit References: <35B74653.30D657F8@world-net.net> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Kv�rner Oil & Gas Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-07-24T00:00:00+00:00 List-Id: Rick wrote in message <35B74653.30D657F8@world-net.net>... >I want to implement some type of status indicator, showing 0-100% of >progress. Is there a way I can back the cursor up on the same line and >replace the output that is already there? > >ps thanks to those who helped me with my last question, and thanks in >advance to those who help me with this one. Normally you can emit to erase the character immediately to the left of the cursor. Backspace () might also do the trick as long as you overwrite. If you find a vt manual from Digital you may find a lot of interesting codes to use. E.g. you can get a report on where the cursor is. The only problem with that is that not everybody have done it as good as Digital (e.g. they only supprot [ instead of ). If you keep track of where the cursor is on the screen it should be no problem going back. Greetings,