c2html 0.5 – Highlight C sources for WWW presentation

Written By
Web Webster
Web Webster
May 16, 1999

Florian
Schintke
writes:

c2html can highlight your source for presentation in the WWW. It
can also be used as a CGI script and can detect whether the client
browser supports compressed data to save bandwidth.

You can download it from:


ftp://sunsite.unc.edu/pub/Linux/apps/www/converters/c2html-0.5.tar.gz

NEWS:
27APR99 c2html 0.5 released

  • added labeling for function definitions (not the declaration).
    so you can refer to them with <A
    HREF=”foo.c.html#myfunction”>See this function</A> This
    labeling isn’t very stable and doesn’t work always. (Sometimes no
    label occurs, where a label should occur)
  • bug with ‘t’ chars if -n is used…fixed.
  • added new switch -n for numbering and labeling source lines so
    you can refer to them with <A HREF=”foo.c.html#line301″>line
    301</A> from the same (see options -h and -b) or other files.
    Thanks to Luis Villa <liv@duke.edu> for this idea.
  • better usage output
  • added -s to suppress generation of html headers
  • added -h file -b file for head and bottom files
  • restructured sources
  • ü bugfix
  • new switch -c to disable CGI feature (otherwise Content-Type:
    text/html header would be generated) Now you can use this program
    in an other CGI script to generate only a part of the output.
  • HTTP Last-Modified header added
Advertisement

26MAR99 c2html 0.4 released
* little changes on the Makefile.in to get debian compliance

[…]

c2html.lsm:     
Begin3          
Title:          c2html
Version:        0.5
Entered-date:   27APR99
Description:    c2html highlights C-language sources like emacs does. 
                Output is in html format. Also works as CGI to convert
                files on the fly.
Keywords:       C syntax highlighting html
Author:         schintke@cs.tu-berlin.de (Florian Schintke)
                mkamm@gmx.net (Martin Kammerhofer)
Maintained-by:  schintke@cs.tu-berlin.de (Florian Schintke)
Primary-site:   sunsite.unc.edu /pub/Linux/apps/www/converters/
                35kB c2html-0.5.tar.gz 
Platform:       any UNIX using flex or lex and gcc
Copying-policy: GNU Public License
End
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.