Sponsored Content
Full Discussion: FONT colours
Top Forums Shell Programming and Scripting FONT colours Post 302646293 by rac on Friday 25th of May 2012 01:18:18 AM
Old 05-25-2012
FONT colours

Hi,
I have set the following piece of code in .vimrc file.

================================================
Code:
if has("terminfo")
 let &t_Co=16
 let &t_AB="\<Esc>[%?%p1%{20}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm"
 let &t_AF="\<Esc>[%?%p1%{10}%<%t%p1%{30}%+%e%p1%{42}%+%;%dm"
else
 let &t_Co=20
 let &t_Sf="\<Esc>[3%dm"
 let &t_Sb="\<Esc>[4%dm"
endif

=================================================

unable to understand the significance of certain things. This sets the colour as 'blue' for the integers which is quite annoying. Cannot see them in the black background. How do I change the blue colour.


ANy help is appreciated.

Last edited by Franklin52; 05-25-2012 at 03:51 AM.. Reason: Please use code tags
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Use of colours.

Any chance you might change the icon's that indicate New/No New Posts in the forum. For those who suffer colour blindness of varrying degrees it has become a bit of a problem (myself included) with the new colour scheme. Cheers, Cameron (4 Replies)
Discussion started by: Cameron
4 Replies

2. Shell Programming and Scripting

Colours

There has been a previous question about displaying text in different colours using a script in Bourne - this doesn't seem to work the same for Korn... Is it possible to display text in different colours when using the Korn shell or am I doing it wrong? (3 Replies)
Discussion started by: dbrundrett
3 Replies

3. Shell Programming and Scripting

Can i add colours to bourne Script ?

Can i add colours to bourne Script ? (22 Replies)
Discussion started by: XXXXXXXXXX
22 Replies

4. UNIX for Advanced & Expert Users

How to set background colours for a cygwin console

Hi, I need to set the background colors for cygwin console, when I do ssh to production boxes. This should be done through commands.. Please suggest me asap. Thanks in advance. (3 Replies)
Discussion started by: praveen_b744
3 Replies

5. Solaris

putty to change screen colours

Can any one tell me how to change the screen colors of the screen when connected unix using putty. I tryed setting from colors but it's not happening (2 Replies)
Discussion started by: svenkatareddy
2 Replies

6. Shell Programming and Scripting

To print a line in colours.

Hi all, In my script output, I want to print a line with blue colour, if the condition is satisfied, otherwise it should print with red colour. Can anyone please help me on the same requirment. Thank You. Regards, Raghu. (1 Reply)
Discussion started by: raghu.iv85
1 Replies

7. UNIX for Dummies Questions & Answers

VNC & VIM & Colours

Hi, I am using vnc to connect to a solaris box. When a terminal is created, the default background is white. And when I use "vim" editor, I am able to get the syntax colours and all. But I want a black background in the terminal. So I started the xterm with the following option, xterm -bg... (0 Replies)
Discussion started by: ahamed101
0 Replies

8. HP-UX

Outputting colours in HP-UX scripts

Hi all, This is my first ever posting, so please be gentle with me :) I'm trying to write a script in HP-UX which outputs text in different colours, but although I can get the script to output different colours to the screen, I can't get it to write different colours to a file. Take the... (4 Replies)
Discussion started by: neilharvey
4 Replies

9. UNIX for Dummies Questions & Answers

How to change colours in Linux Terminal Xfce?

Hi all - just started using Linux Mint 17 and I need to change the Foreground & Background Colours for the Terminal, my eyesight is not what it used to be many years ago, so any help would be much appreciated. Regards Malcolm (6 Replies)
Discussion started by: electrocad
6 Replies
Graphics::Primitive::Insets(3pm)			User Contributed Perl Documentation			  Graphics::Primitive::Insets(3pm)

NAME
Graphics::Primitive::Insets - Space between things DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding or margins (in the CSS sense, one being inside the bounding box, the other being outside) SYNOPSIS
use Graphics::Primitive::Insets; my $insets = Graphics::Primitive::Insets->new({ top => 5, bottom => 5, left => 5, right => 5 }); METHODS
Constructor new Creates a new Graphics::Primitive::Insets. Instance Methods as_array Return these insets as an array in the form of top, right, bottom and left. bottom Set/Get the inset from the bottom. equal_to Determine if these Insets are equal to another. left Set/Get the inset from the left. right Set/Get the inset from the right. top Set/Get the inset from the top. zero Sets all the insets (top, left, bottom, right) to 0. AUTHOR
Cory Watson, "<gphat@cpan.org>" SEE ALSO
perl(1) COPYRIGHT &; LICENSE Copyright 2008-2010 by Cory G Watson. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.3 2010-08-21 Graphics::Primitive::Insets(3pm)
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy