Hi,
I am working with HP-UX 11.
I try to make an colored data output with echo.
I tried the following:
echo "\033]32m Red"
This works perfectly in my terminal.
But when I type the same at the hpterm, it does not work, the terminal just prints the complete text "\033]32m Red" without... (1 Reply)
Hi All, is there anyway to color the output following a shell command?
For instance:
$cat somefile.txt
Hello, I am the contents of somefile.txt
I'm using zsh, with ANSI colors enabled.
Thanks! (0 Replies)
Hi,
Can anybody please help me how can we can we have the colored output using awk.
I am writing a script in solaris platform. but its not printing the colored output. its assuming hex values as character
awk -F"|" '{ print "\033
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m... (1 Reply)
I am trying to navigate between directories using cd.
However, the only way to distinguish directories now is by seeing the "/' after the directory names, which is quite inefficient. How can I make the directories look in color when typing cd and then using the tab key to list the files and... (1 Reply)
I have the line below to echo values with tab between them. The text is also colored, however, some\t does not work.
The output of this one below will have the first two \t not working.
echo "\033}\t$time\t$end\t$day\t$score\033
This one below will have all the \t working but will also... (4 Replies)
Hi All
I am working on AIX 7.1 and I am trying to show an output that I get from "cat" a log file to email. However in email I get the below output:
In the script I have defined the colors as:
#!/bin/sh
echo "\033
Below is the script I have created to send this output:
... (9 Replies)
Discussion started by: Bubs
9 Replies
LEARN ABOUT OPENSOLARIS
ppmdither
ppmdither(1) General Commands Manual ppmdither(1)NAME
ppmdither - ordered dither for color images
SYNOPSIS
ppmdither [-dim power] [-red shades] [-green shades] [-blue shades] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input, and applies dithering to it to reduce the number of colors used down to the specified number of shades
for each primary. The default number of shades is red=5, green=9, blue=5, for a total of 225 colors. To convert the image to a binary rgb
format suitable for color printers, use -red 2 -green 2 -blue 2.
OPTIONS -dim power The size of the dithering matrix. The dithering matrix is a square whose dimension is a power of 2. power is that power of
2. The default is 4, for a 16 by 16 matrix.
-red shades The number of red shades to be used, including black; minimum of 2.
-green shades The number of green shades to be used, including black; minimum of 2.
-blue shades The number of blue shades to be used, including black; minimum of 2.
SEE ALSO pnmdepth(1), ppmquant(1), ppm(5)AUTHOR
Copyright (C) 1991 by Christos Zoulas.
14 July 1991 ppmdither(1)