💾 Archived View for cugi.ie › aminet › 1683604629.gmi captured on 2023-11-14 at 08:27:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

-=-=-=-=-=-=-

code colored text lines in C

   Author:       mbergmann-sh at web.de (Michael Bergmann)
   Uploader:     Michael Bergmann <mbergmann-sh web de>
   Type:         dev/c
   Version:      1.0
   Requires:     ixemul.library
   Architecture: m68k-amigaos
   Distribution: Aminet
   Kurz:         programmiere farbige Textzeilen in C
   Date:         2023-05-08
   Readme:       http://aminet.net/dev/c/shellcolors.readme
   Downloads:    1

http://aminet.net/dev/c/shellcolors.lha

ShellColors demonstrates how to set certain text attributes in C.

Tested C-Compilers:

===================

SAS/C v6.58

VBCC v0.9h

Bebbo's amiga-gcc

USAGE

=====

simply include shellattrs.h in your project. Look at

color.c for a usage example.

Micha B 05/2023

Contents of dev/c/shellcolors.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  337    1004  33.6% -lh5- 2724 May  8 14:12 ShellColors/color.c
[unknown]                  356     537  66.3% -lh5- 3496 May  8 14:25 ShellColors/README
[unknown]                  286     695  41.2% -lh5- 893a May  8 14:09 ShellColors/shellattrs.h
[unknown]                 4290    6600  65.0% -lh5- 1981 May  8 14:12 ShellColors/ShellColors
[unknown]                  395     831  47.5% -lh5- 666b May  8 14:12 ShellColors/ShellColors.info
[unknown]                 4968    8508  58.4% -lh5- f895 May  8 14:18 ShellColors/ShellColors_vc
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         6 files   10632   18175  58.5%            May  9 03:57

Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>