Re: [cc65] conio tabs

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-09-23 13:17:54
>>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:

UvB> As I see it, there are two different types of applications (when
UvB> it comes to console output): One just outputs some text and
UvB> doesn't expect it to appear in a specific screen location.
UvB> Command line tools are an example. For this type of application,
UvB> printf is all you need, and using conio means using the wrong
UvB> tool. The other application type has a fixed screen layout, uses
UvB> menus, a statusline, input fields, or whatever. For this
UvB> application, text must appear in specific screen locations, so
UvB> it's necessary to have absolute cursor positioning. Scrolling
UvB> will destroy the screen layout, so it's futile. This latter
UvB> application type is the one, conio was made for.

Well, I have a couple of applications that use both - e.g. my copy
programs in serial slave. A conio screen layout is used for navigating
and selecting files, and a printf style scrolling screen is used when
you start the copy. And yes, these are the very apps where I learned
that mixing conio and stdio is a Bad Idea(tm) - it leads to weirdness
with the virtual 80 column lines, and it makes the binary bigger.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 23 13:17:58 2004

This archive was generated by hypermail 2.1.8 : 2004-09-23 13:18:07 CEST