linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Moreira - igLnx <lucianolnx@ig.com.br>
To: "John T. Williams" <jtwilliams@vt.edu>
Cc: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: Re: stdio
Date: Wed, 18 Jun 2003 09:17:51 -0300	[thread overview]
Message-ID: <3EF0586F.5010306@ig.com.br> (raw)
In-Reply-To: <011801c33580$48425aa0$e764a8c0@fesnel.noip.org>

Look for documentation of Curses. Its a framework that encapsulate the 
character sequences to keep your program portable over different terminals.

Luciano

John T. Williams wrote:

>I am trying to figure out how to cause a character to be printed to a
>specific place on the terminal
>
>what I'm actually trying to accomplish is to make a progress bar
>
>example:
>
>Progress [*****                           ]  25%
>
>and I want it to fill up the box with stars as my program progresses, but I
>can't figure out how to just get c to write a single '*'  to anywhere other
>then the end of the streak
>I tried lseek and got no good results.
>
>I'd really like any advice anyone has on this.
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>  
>


  parent reply	other threads:[~2003-06-18 12:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18  9:58 stdio John T. Williams
2003-06-18 12:02 ` stdio Jan-Benedict Glaw
2003-06-18 12:17 ` Luciano Moreira - igLnx [this message]
2003-06-18 13:04 ` stdio Stephen Satchell
2003-06-18 17:45   ` stdio Glynn Clements
2003-06-18 18:30 ` stdio Chris Nanakos
2003-06-19  7:33   ` I'm really starting to dislike stdio John T. Williams
2003-06-19 11:26     ` Jan-Benedict Glaw
2003-06-19 17:39       ` Glynn Clements
2003-06-19 12:56     ` Andrés Roldán

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF0586F.5010306@ig.com.br \
    --to=lucianolnx@ig.com.br \
    --cc=jtwilliams@vt.edu \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).