Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

function::ansi_set_color2(3) [debian man page]

function::ansi_set_color2

FUNCTION:(3stap)					  Utility functions for using an					  FUNCTION:(3stap)

NAME
function::ansi_set_color2 - Set the ansi Select Graphic Rendition mode. SYNOPSIS
ansi_set_color2(fg:long,bg:long) ARGUMENTS
fg Foreground color to set. bg Background color to set. DESCRIPTION
Sends ansi code for Select Graphic Rendition mode for the given forground color, Black(30), Blue(34), Green(32), Cyan(36), Red(31), Purple(35), Brown(33), Light Gray(37) and the given background color, Black(40), Red(41), Green(42), Yellow(43), Blue(44), Magenta(45), Cyan(46), White(47). SystemTap Tapset Reference May 2013 FUNCTION:(3stap)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

like to have fun in terminal

Hai Friends I have installed FreeBSD in my system... I have installed it to work in text mode don't have the GUI. The default text color is Black background with White Foreground. I want it to be with Black background with Green Foreground. How could i do that. Thanks in advance Collins (4 Replies)
Discussion started by: collins
4 Replies

2. What is on Your Mind?

Lord of the Green Dragon

Hey! (first post!) Has anyone here ever played Dungeons and Dragons before? Well, this game, Legend of the Green Dragon, does have it's similiarities.. And is a great roleplaying environment.. I would really like to to get the community built up -- It's sort of difficult because this game... (1 Reply)
Discussion started by: programgeek
1 Replies

3. UNIX for Dummies Questions & Answers

BC Or Xcal

Wich one is better :confused: (3 Replies)
Discussion started by: thepicoman
3 Replies

4. Shell Programming and Scripting

Sed Question Can anyone please help?

I am trying to see if anyone knows of a SED command that will place a ' at the beginning AND end of a line of text. For example: BEFORE AFTER Apple 'Apple' Orange 'Orange' Green 'Green' Brown 'Brown' Any ideas? (6 Replies)
Discussion started by: Docboyeee
6 Replies

5. Shell Programming and Scripting

Join two files

Hi I have two files t1 and t2.please find the Desc about the files: T1: PART_ID1 DESCRIPTION SIZE 1 Seat Cover Large 2 Ash Tray Small 3 Floor Mat Medium T2: PART_ID2 COLOR 1 Blue 3 Black 4 ... (4 Replies)
Discussion started by: koti_rama
4 Replies

6. UNIX for Advanced & Expert Users

wierd Blue Quartz GUI problem with Virtual domains

Hi all Sorry this will turn out to be a long post since the code is kinda long. I have a centos 4.x box running Blue Quartz management system. I manage like 70 virtual domains on this server. I asked this question at the Blue Quartz Forum site NuOnce Networks / Cobalt - BlueQuartz - CentOS... (1 Reply)
Discussion started by: mcraul
1 Replies

7. Shell Programming and Scripting

File deliminated with | character - How do I change 1 value

Hi All, I'm struggling with a problem. Data file example: Brown|32 inches|apple|monkey Green|12 feet|grape|cat Blue|32 inches|banana|dog Black|23 inches|pear|horse I need to change the value '32 inches' in the third line, and only the third line, while keeping the rest of the file the... (7 Replies)
Discussion started by: jsmith_4242
7 Replies

8. Shell Programming and Scripting

problem with KSH script: command line args

Hi I am executing a KSH script by passing command line arguments example: Red Green Dark Red Blue when I am splitting the arguments by using " "(Space) as delimiter But the colour Dark Red is a single parameter. But it is getting splitted in between How to avoid this. Please help Also... (4 Replies)
Discussion started by: hemanth424
4 Replies

9. Shell Programming and Scripting

Read columns from delimited file in UNIX

Hello I need to read the columns from a flat file delimited by Hex code X02. The Sample file is Red^B1000^BJohn Blue^B2000^BSam Green^B3000^BDan Note: Hex code X02 shows as ^B in vi. I need to read the file and process the columns in each row. I tried using awk -F command but... (7 Replies)
Discussion started by: injey
7 Replies

10. Shell Programming and Scripting

Help with incrementing data in some field

Hi I have the below set of lines , i need to duplicate these lines 1000 times, also eevrytime when it is incremented , it should increment the one in Blue color. 130400030000010000200001 130400030000010000200002 140050030000010000200005A eg: 130400030000010000200001... (5 Replies)
Discussion started by: santhoshks
5 Replies

11. Shell Programming and Scripting

Create Dynamic if condition

Create Dynamic If condition Hi, I have a file color.txt which has data as shown below Red Blue Green Yellow White Pink Black Based on a variable I execute a tail command as shown below tail -${LEFT_OVR} color.txt LEFT_OVR can be any number less than count of number of lines in a... (7 Replies)
Discussion started by: wahi80
7 Replies

12. Shell Programming and Scripting

Basic Combination Shell Script

I need to have a script read a file that has a list of words in a single column like below:Black Blue Brown Orange Red Yellow Green White Purple Silver Grey Tan Then print to another file just all of the two-word possible combinations. Example: Black,Blue Anyone want to take a... (4 Replies)
Discussion started by: vespasian
4 Replies

13. Shell Programming and Scripting

Search term in nth field and replace kth column

Hi, I have a text file which looks like this a.txt A,12,Apple,Red B,33,Banana,Yellow C,66,Sky,Blue I need to search for a particular field(s) in particular column(s) and for that matching line need to replace the nth column. Sample scenario 1: Search for 66 in second field and Sky in... (5 Replies)
Discussion started by: wahi80
5 Replies