Sponsored Content
Top Forums Shell Programming and Scripting How to have color coded Terminal display,(like linux) Post 302197667 by wrapster on Wednesday 21st of May 2008 11:11:08 AM
Old 05-21-2008
cool,
I will give it a try right away and let you knowSmilie

Thanks
 

7 More Discussions You Might Find Interesting

1. HP-UX

color terminal and tab completion?

hello, i'm a linux zealot (fedora), so i know a some about unix. the company i work for uses HP-UX though and there are a few quirks i'd like smooth out by making them work more like my beloved redhat type systems...=) right now they have all users using ksh and completion is done by hitting... (4 Replies)
Discussion started by: clockworks
4 Replies

2. Shell Programming and Scripting

how to set background color in Unix terminal

Hi All, how do I set in .profile file Unix terminal background color = BLUE ? Please advice me. :confused: (2 Replies)
Discussion started by: raghur77
2 Replies

3. Solaris

How to change folder color in terminal ?

Hi all, I am really new to UNIX ..and can any1 help me on change the yellow color to blur color (folder) ? Please refer to the attached pictures .. Your help is really appreciated .. :) Have a nice day ! (5 Replies)
Discussion started by: sauronlord
5 Replies

4. Shell Programming and Scripting

Change color on another terminal

i already have a running and working script for remote connection. is there a way to change the terminal color everytime I ssh remotely to another server? this is to avoid confusion since I will be using only one server to remotely access around 50 servers (solaris, linux,. etc) (2 Replies)
Discussion started by: lhareigh890
2 Replies

5. UNIX for Dummies Questions & Answers

Display Console errors in Red color

I browsed the forums but i couldn't find the best answer.so,i'm posting here again.. I have a parent bash script which calls another child script and the child script is used to deploy the tar file using weblogic deployer. The script is used to display the output on the console and sent to a log... (5 Replies)
Discussion started by: ramse8pc
5 Replies

6. OS X (Apple)

Manipulate terminal session background color

Greetings, I know I can manipulate from AppleScript to terminal.app or just run commands from apple script. But what about from a BASH Script. when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color. example; ... (4 Replies)
Discussion started by: doctorfoo1
4 Replies

7. UNIX for Dummies Questions & Answers

Display file with escaped color codes

Hi, I have a file containing color codes: Fri May 25 17:13:04 2012: Starting MTA: exim4^ Loading cpufreq kernel modules...^How can I display it colorized on a linux terminal? (4 Replies)
Discussion started by: ripat
4 Replies
PYGMENTIZE(1)						      General Commands Manual						     PYGMENTIZE(1)

NAME
pygmentize - highlights the input file SYNOPSIS
pygmentize [-l <lexer>] [-F <filter>[:<options>]] [-f <formatter>] [-O <options>] [-P <option=value>] [-o <outfile>] [<infile>] pygmentize -S <style> -f <formatter> [-a <arg>] [-O <options>] [-P <option=value>] pygmentize -L [<which> ...] pygmentize -H <type> <name> pygmentize -h | -V DESCRIPTION
Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Its highlights are: * a wide range of common languages and markup formats is supported * special attention is paid to details, increasing quality by a fair amount * support for new languages and formats are added easily * a number of output formats, presently HTML, LaTeX and ANSI sequences * it is usable as a command-line tool and as a library * ... and it highlights even Brainfuck! pygmentize is a command that uses Pygments to highlight the input file and write the result to <outfile>. If no <infile> is given, stdin is used. OPTIONS
A summary of options is included below. -l <lexer> Set the lexer name. If not given, the lexer is guessed from the extension of the input file name (this obviously doesn't work if the input is stdin). -F <filter>[:<options>] Add a filter to the token stream. You can give options in the same way as for -O after a colon (note: there must not be spaces around the colon). This option can be given multiple times. -f <formatter> Set the formatter name. If not given, it will be guessed from the extension of the output file name. If no output file is given, the terminal formatter will be used by default. -o <outfile> Set output file. If not given, stdout is used. -O <options> With this option, you can give the lexer and formatter a comma-separated list of options, e.g. "-O bg=light,python=cool". Which options are valid for which lexers and formatters can be found in the documentation. This option can be given multiple times. -P <option=value> This option adds lexer and formatter options like the -O option, but you can only give one option per -P. That way, the option value may contain commas and equals signs, which it can't with -O. -S <style> Print out style definitions for style <style> and for formatter <formatter>. The meaning of the argument given by -a <arg> is for- matter dependent and can be found in the documentation. -L [<which> ...] List lexers, formatters, styles or filters. Set <which> to the thing you want to list (e.g. "styles"), or omit it to list every- thing. -H <type> <name> Print detailed help for the object <name> of type <type>, where <type> is one of "lexer", "formatter" or "filter". -h Show help screen. -V Show version of the Pygments package. SEE ALSO
/usr/share/doc/python-pygments/index.html AUTHOR
pygmentize was written by Georg Brandl <g.brandl@gmx.net>. This manual page was written by Piotr Ozarowski <ozarow@gmail.com>, for the Debian project (but may be used by others). February 15, 2007 PYGMENTIZE(1)
All times are GMT -4. The time now is 05:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy