Software :: Less - ANSI Colors And Search

Aug 2, 2010

I'm having an annoying issue with less. What I want is to view logs with important stuff color coded, and be able to correctly use less's search function.

What happens is that less correctly displays color coded text, but offsets the search highlighting.

For instance, if I run "ls -l --color=always | less -R", and then search for some text, the highlighting will be offset if that text (or any text before it) is colored.

I tried forcing LESSANSIENDCHARS by doing a "export LESSANSIENDCHARS=m", but that didn't work.

"less --version" gives me "less 382+iso254", and I am running "SUSE LINUX Enterprise Server 9 (x86_64)".

View 3 Replies


ADVERTISEMENT

General :: Redefine The Way ANSI Colors Are Shown In A Terminal Emulator?

Jun 8, 2011

I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works under linux that allows me to do this? how?

View 1 Replies View Related

Fedora :: ANSI BBS In Gnome Terminal ?

Sep 24, 2010

I am a former Sysop of a BBS and currently resurrecting the BBS. I have been looking for a way to get Gnome Terminal in Fedora 13 configured to support ANSI BBS emulation.

Back in the DOS days, we just loaded ANSI.SYS and ran our terminal software (like Procomm Plus or Qmodem), but I am hoping someone has done this and can help me set it up.

I have already tried Qterrm and the "latest" syncterm. Neither of these worked right. Syncterm hasn't been updated since 2009, so I really don't want to mess too much with that one.

I know you can terminal.app in Mac OS X to do it, so I figure we can too. I REALLY want gnome terminal to be the way to do it.

View 5 Replies View Related

Programming :: Explorations In Memory Allocation In ANSI C?

Feb 8, 2011

I'm performing some explorations in terms of memory allocations in ANSI C, using the following compiler:

gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)

and I started to try to make the compiler complain for a huge data structure, so I coded this:

[code]....

I mean, I can always read the man entry for gcc but I rather ask because I can then have interaction...

View 11 Replies View Related

General :: Printing Transcript With Ansi Escape Sequence?

Aug 8, 2010

Is there a way to print a transcript generated using script that is coloured using ansi escape sequences while preserving the colours?

I am on OS X 10.6, but any tool that works on OS X or on Linux that can print or create a pdf file will be extremely helpful.

View 1 Replies View Related

Software :: Text Editor To Display ANSI Color?

Mar 7, 2009

I'm looking for a text editor that when displaying a document will parse any ANSI color codes it comes across into the correct colors rather than just show the codes in the ^[[xx;xx;xxm format

can anyone recommend something?

View 3 Replies View Related

Programming :: ANSI C Code Seg-faults When Unsigned Int Variable Is Used?

Feb 20, 2011

I'm writing a tridiagonal solver for sparse linear systems and I coded this decreasing loop:

PHP Code:

xx[NN - 1] = gamma[NN - 1]*BB[NN - 1];
ii = NN - 2;
/* Compute the x values: */
while (ii >= 0) {
xx[ii] = gamma[ii]*(BB[ii] + xx[ii + 1]);
ii = ii - 1;


now... if ii is declared as an unsigned integer, the code gives me a segmentation fault, but if I declare it as an int, it doesn't. Using DDD I noticed that, as an unsigned int variable, when I finally decrease it, it underflows and blows up to a huge value, ergo giving me an unaccesible direction for xx in the following iteration! I taugh me not to use unsigned int variables for dereasing loops! XD

View 14 Replies View Related

Software :: Configure Xterm Colors If Xterm Can Support 256 Colors?

Jul 3, 2009

I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?

View 4 Replies View Related

General :: Terminal That Supports ANSI Italic Escape Code?

Oct 29, 2010

I would like to replace gvim with vim in the terminal. One of the nice things about gvim is that it is able to display text using italics.

Vim allows setting an ANSI escape code for italics (e[3m), but this does not work in gnome-terminal. Is there a terminal emulator that supports the ANSI escape code for italics?

View 1 Replies View Related

Fedora Installation :: Apt-get Search Wget Saying Invalid Operation Search?

Apr 5, 2011

i guess this is an installation issue as i am newish to Linux and got a F14 laptop from a used/refurb store... Anyway it seem i have difficulty with getting GTK running or maybe it is WGET...?

i did manage to install apt-get and was able to run synaptics ... but now whenever i try to run synaptics it flashes the interface and crashes. i tried apt-get search wget and it says invalid operation search. i tried apt cache wget and get a crash box in the upper right corner... i tried apt-get gtk+extra-2.1.2-4.fc14 and it says invalid operation gtk...

All of which is frustrating my attempts to get the GTK interface to J working. Their script uses WGET which i also cannot get.

View 6 Replies View Related

Programming :: Book To Learn Programming In C ANSI?

Jul 11, 2011

What book you recommend to learn programming in C ANSI ?

View 1 Replies View Related

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 Replies View Related

Ubuntu :: Desktop Search Dead \ Trying To Find A Good Desktop Search Tool?

Jun 16, 2011

I'm trying to find a good desktop search tool. Beagle is dead, Recoll and Strigi are KDE, and Tracker is not many features (can't even search Thunderbird 3). Do I miss something? Is desktop search on Linux dead? Should I use Google Desktop Search instead

View 2 Replies View Related

Ubuntu :: Multiple File Search \ Search A File For A Certain Keyword?

Nov 13, 2010

for example we search a file for a certain keyword..is there any application available which will enable us to search for a single keyword in all the files within the folder ?i want to search for a keyword in about 1000 files..if i do it manually it will take loads of time..

View 6 Replies View Related

General :: Get Colors In Terminal?

Mar 8, 2010

I am connecting to a remote suse 10.0 machine, and I do not get colors on the terminal, while I get them when I connect to a remote Ubuntu machine.

How can I do to get colors on the suse terminal?

View 4 Replies View Related

General :: Get Colors In 'less'' Command?

Mar 9, 2010

when I read a file in Linux with the command 'less' or 'more', how can I get the content in colors?

View 5 Replies View Related

Software :: How To Mix Colors Using GIMP

Dec 30, 2010

mix colors using GIMP would be? Say you have three colors, and you use the color picker tool. How can you mix them properly? For this specific question, I mean equal amounts of each.How can colors be mixed like you're mixing paints, with the ability to choose how many parts of each color, etc. without purchasing software

View 6 Replies View Related

Slackware :: No Colors In Ls Output

Apr 15, 2011

Using Slackware 13.1 and rxvt-unicode as terminal emulator. There is no colors in ls output under user but running ls as root gives color output.

I check that /etc/profile.d/coreutils-dircolors.sh has executable bit, and LS_OPTIONS environment variable is correct

Code:
bash-4.1$ echo $LS_OPTIONS
-F -b -T 0 --color=auto

Running ls with --color option gives me color output. As I can see /etc/profile.d/coreutils-dircolors.sh should set up aliases for ls, dir and vdir commands but why this aliases don't work under user?

View 7 Replies View Related

Debian :: Htop Have Different Colors In Bars?

Apr 28, 2010

Why htop's bars have different colors? Still can't find an answer... And it's bars don't really correspond to the numbers. Even if CPU is loaded 60%, the bar can be loaded almost 100%.

View 3 Replies View Related

Fedora :: AVI Playback - Inverted Colors ?

Jul 18, 2009

I rediscovered a concert I converted ~3yrs ago but playback inverts the colour. It plays ok on Windows and virtualdub reports the avi as DivX though I believe I was using xvid & ffdshow at the time. how to invert the inverted colours?

I discovered the extended settings in vlc. I guess it just doesn't show the colour blue. Kind of ironic because of the concert.

View 1 Replies View Related

Fedora :: Invert Display Colors On 15?

Jun 14, 2011

I was wondering if there was a way to invert screen colors on fedora 15. I came across compiz-fusion but it is in conflict with Gnome3 and the whole display crashes. All i am looking for is to invert colors.

I am running fedora 15 with gnome 3.0.1.

View 7 Replies View Related

OpenSUSE :: KDE4.4 Taskbar Colors?

Mar 10, 2010

I am hitting a wall here - with the new 4.4 installed and working well, the one thing that is killing me is not being able to read the active taskbar item or the plasma peanut menu (see screenshot. You can see that the firefox and gimp are "active" and too dark to read, while kwrite is inactive and readable.They are BOTH too dark, and I cannot seem to find the option that controls those color elements.

View 9 Replies View Related

Ubuntu :: Customize Colors For One Application Only?

May 10, 2010

I was wondering if it is possible to specify a custom color theme that Ubuntu should apply to one application only. Specifically, I want to customize the tooltop color for Eclipse.

Fwiw, the reason I want to do this is that karmic's ambiance theme provides black tooltip backgrounds with white tooltop text, but eclipse (stupidly) uses the black tooltip background for content assist boxes while ignoring the tooptip text color and instead applying its own sytnax highlighting rules, which specify black text. This results in black text on a black background -- ugh!

View 2 Replies View Related

Ubuntu :: Gnome Terminal Colors?

Sep 13, 2010

I would like to change the color scheme used in gnome terminal based on what host I'm connected to via ssh. Is this possible? If not, can you suggest any other terminal that has this functionality?

View 1 Replies View Related

Ubuntu :: Maverick First Look: Strange Colors?

Oct 10, 2010

About an hour ago I completed the Network upgrade to Maverick from Lucid. Immediately I see some changes over Lucid: my computer can now hibernate successfully, a feature that worked in Hardy, but was broken in Karmic and Lucid. But a small annoyance is the strange colors. There is an abundance of purple colors in icons, in links, in indicators. I have attached a small snapshot of my browser. The circled purple area should be blue in normal contions.

View 9 Replies View Related

Ubuntu :: Change Menu Colors

Nov 8, 2010

After hours of online searching, I still haven't find a right answer to my question. How can I change the color of the popup menu, the color of the menus that appear when you click on the icons on the right side of the desktop and of the firefox menus.I have a custom theme.

View 2 Replies View Related

Ubuntu :: Pdf Reader Allowing To Set Colors?

Jan 2, 2011

I tried evince, okular and foxit reader for linux and wasn't able to change background and foreground colours with them. I'm able to do this with foxit reader for windows, so unless I find something that runs natively on ubuntu, I'll try running it under wine.

View 1 Replies View Related

Ubuntu :: Firefox 4 Strange PNG Colors Since 11.04?

May 2, 2011

I upgraded to Ubuntu to 11.04, but when I now open firefox and go to localhost, some PNG images have really strange colors. This is not the case when I display the webpage in Google Chrome. I'm not sure if I will have similar problems with all PNG's, but I wouldn't be surprised. For instance, a random PNG in Firefox 4:

And the same image in Chrome: What could be the problem? How do I solve this? This only seems to hapen with alpha transparent images!

View 3 Replies View Related

Ubuntu Multimedia :: How Can I Fix Colors On Firefox

May 12, 2011

i use forefox4 shiped with ubuntu 11.04, performed all updates but i noticed that pages colors are too bright or has more saturation than it is normally displayed.the attached file illustrate an image opened with image viewer on left and firefox on right.How can i fix the colors on firefox.

View 1 Replies View Related

Ubuntu :: Set Colors To Be Editable In Terminal?

Jun 22, 2011

I am trying to use the ncurses library for a little side project and am currently trying to display text with varying colors on the screen. I would like for my program to be able to change the hues of the default colors(e.g. make red a little dark, blue a little lighter, etc).

However, according to the ncurses function can_change_color() my terminal does not allow for colors to be altered. I know how to change the palette of colors that my terminal is using but I was wondering if there was a way to allow my colors to be "editable" in a sense.

My terminal is Gnome 2.30.2 and I'm running Ubuntu 10.04LTS

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved