[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [task #15138] Color command-line output

From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [task #15138] Color command-line output
Date: Sun, 30 Dec 2018 20:09:39 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0


                 Summary: Color command-line output
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Mon 31 Dec 2018 01:09:37 AM UTC
         Should Start On: Mon 31 Dec 2018 12:00:00 AM UTC
   Should be Finished on: Mon 31 Dec 2018 12:00:00 AM UTC
                Category: All Gnuastro
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



In many scenarios of Gnuastro's programs, it can be really helpful if the
output text (on the command-line) is color coded. For example the new
`--verify' option to the Fits program.

Fortunately all modern terminal emulators (even on Windows), follow the same
ANSI escape codes to define colors (summary
or full Wikipedia description

So the job isn't too hard, it just needs some checks (to remove when the
output isn't being directly printed on a terminal, for example being piped).
We should look to see how `ls' (in GNU Coreutils) does it.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]