Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4082294
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:10:11+00:00 2026-05-20T18:10:11+00:00

I have a command-line C program (DOS/Windows) which produces a hex dump of several

  • 0

I have a command-line C program (DOS/Windows) which produces a hex dump of several records as a .txt file.
I am looking for a way to emphasize certain values without resorting to ascii-art.

Is there a combination of readily available viewing programs and byte sequences that would let me highlight/bold/underline certain blocks of text? Bonus points if I can generate it with a simple fprintf or fwrite call.

I guess HTML is an option, but I was hoping for something even simpler, something along the lines of ANSI escape codes.

Any ideas?


And if HTML is the best, what is the minimal header/tail I need to produce a valid document?
(dammit Jim, I’m an embedded programmer, not a web designer)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:10:12+00:00Added an answer on May 20, 2026 at 6:10 pm

    I work predominately on Linux/Unix systems, so I don’t know what kind of support recent versions of the Windows/DOS CMD shell have for ANSI escape codes. I agree that HTML is probably your best bet.

    Minimal HTML document per W3C

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
    
    <html>
      <head>
         <title>An HTML document</title>
      </head>
      <body>
        Body of HTML document
      </body>
    </html>
    

    You could highlight specific elements using either italics (<i> or <em>) or bold (<b> or <strong>).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Windows 7, I have a command-line program that fails due to file write permission
I have a command line program, which outputs logging to the screen. I want
Say I have a command line C program which is currently executing, and I
I have a program which runs an external, command line utility and reads the
I have a console program on windows (a compiled version of curl command line)
I have a command-line program which takes input from stdin. What's the best way
I'm looking for a command line program (Windows) or a PHP library that can
I have a command line C program for which I use the calloc() function
I was writing a command line program which will have a status bar, much
i have a command line executable program that accepts a configuration file as it's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.