Red Hat :: RHEL5 Gvim Keyword Color Coding?
Mar 19, 2010I'm working on RHEL5 dealing with AS (ActionScript) files in Linux GVIM Editor but everything is in blue color. Can i set color coding for my keywords?
View 3 RepliesI'm working on RHEL5 dealing with AS (ActionScript) files in Linux GVIM Editor but everything is in blue color. Can i set color coding for my keywords?
View 3 RepliesFor gvim :hi Include guifg=#8040f0 Is it possible to get #8040f0 in vim?
View 1 Replies View RelatedYes it's me again, about to ask a foolish question.I've ran man on this commands, but they don't make any reference to their color, nor is it mentioned in the Bible. As I go through such as /sbin what does the color of the commands mean, like arch is green, awk is blue, and then there is those that have a red background such as cgexec?Then I go into /etc and then there's yum.repos.d there is no man for it, so I typed it in and got "command not found", so then I went in SU mode and "vi yum.repos.d and I get "yum.repos.d" is a directory,No such file or directory. So just what is yum.repos.d, I thought this is where I add more repositories.
View 3 Replies View RelatedIn Fedora, I used the ls -l command to see the directory listing. But I noticed that while all .c files were being shown in green , there was one .c file which was being shown in black.How can two files having the same extension be executable /normal?
View 1 Replies View RelatedI use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark
However, gvim has black on white text. How do I do either of the following: Set the background of gvim to black Check in .vimrc if I'm using gvim I tried this: I started up gvim, and typed echo &term. The answer was "builtin_gui". So I wrote the following into .vimrc:
if &term == "builtin_gui"
set background=light
else
set background=dark
endif
Somehow, it didn't work.
I'm doing some shell scripting in nano, but code is much simpler to read when is color coded.... is there a terminal editor that supports color coding?
View 3 Replies View Relatedin my vimrc I am sourcing the following: source $VIMRUNTIME/mswin.vim At first this file was missing, so I downloaded it from: http://ftp.twaren.net/vim/runtime/mswin.vim However when I try and open gvim I get: My first thoughts of the cause are: - version of mswin.vim incorrect? - version of vim incorrect?
Quote:
[09:12:05][root@host:/home]# gvim deploy.sh
Error detected while processing /usr/share/vim/mswin.vim:
line 46:
E121: Undefined variable: paste
E15: Invalid expression: paste#paste_cmd['i']
[Code]...
im using
Code:
scons prefix=/usr qtdir=/opt/qt4
to configure and i get these compilation errors
Code:
scons prefix=/usr qtdir=/opt/qt4
scons: Reading SConscript files ...
Platform: Linux i686
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/mixxx-1.7.2/SConstruct", line 42, in <module>
WE ARE IN: /mixxx-1.7.2/linux_build
QT path: /opt/qt4
Loading qt4 tool...
[code]...
ive been scratching my head at this one for days, i turned on the ubuntu virtual machine and checked what apt wanted to pull, and im suspecting that i need to find the source versions of several packages in regard to qt4 and libqt4 and various libqt4 extensions.
Kernel 2.6.21.5, Slackware 12.0
KDE 3.5.7
(Mozilla) Firefox 2.0.0.4
Do color settings in the desktop environment affect color in the web browser? Thanks.
Can GNOME Color be used to alter this change directory color in Ambiance theme? I'd rather have white.
View 4 Replies View RelatedI am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;
This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.
What is your favorite 256-color color scheme for vim?
View 6 Replies View RelatedI have a multiple txt file in one folder. I would like to remove everything from starting until find string keyword in one folder. Here is the sample of my text:
Code:
5a651a62sf1a54f2a1sf6a4f50a5f4a2f1a2d1sfs11231211f61d021sd1fs1Reassembles21f2sdf122dfs21fs212sdfdsf1s65f1s62f1
So i want to remove everything from starting until reassemble. Here is the sample output:
Code:
s21f2sdf122dfs21fs212sdfdsf1s65f1s62f1
I have multiple file in one folder. So how to use any script to read in one directory folder and do a same task. I prefer using awk, sed or perl.
I am using latest GCC version GCC4.4 in my linux. my code snippet:
auto const char *ostr = ((int *)node)->str;
When i compile this, i get an error as follows:
error: auto will change meaning in C++0x;
I want to list all installed packages by keyword. For example I want to know what packages were installed related to "game". How can I do that in Fedora?
I tried 'yum list installed', 'you search' ... but still can't find a solution. I'm not a yum expert .
This used to work by default in previous versions of FF.
imdb $movie
wiki $some_topic
now they don't.
My personal favorite was
man $page
Open about:config and search for keyword.URL - it should be blank. Double-click to edit and enter
Code:
[URL] This will restore the previous Firefox keyword search behavior. No restart necessary.
I've set up a sandisk usb stick to boot/install 11.04. On two eepc netbooks I get the same issue when I try to boot from the usb: SYSLINUX 3.63 Debian 2008-07-15 EBIOS Copyright 1994-2008 H Peter Anvin Unknown keyword in the configuration file
View 3 Replies View RelatedI have a file and at some point in the file the string "DONE" appears (it's unambiguous). I want to redirect all that is coming starting from the next line to a new file. How do I do that?
View 6 Replies View RelatedI need to write a script that can search up to 3 parameters and find all files containing those words. then display them and the amount of hits it got.if the first parameter exists, then we can assume we are looking for the word supplied.if the second parameter exists, then we are looking for files with both keywords.if third parameter exists test the second parameter for the values ('and', 'or', '-v') and search accordingly. These are the only values accepted as the the second one when 3 parameters are present.
lastly, if there are zero or more than three parameters echo as an error and when 3 parameters have been entered we echo an error when the second parameter is not one of the following: 'and', 'or', '-v'.
recently got this message when USB booting:Unknown keyword in configuration file: gfxbootI used to have the "Unknown keyword in configuration file: ui" problem, which was spread throughout the forum. I know people have fixed it by removing the "ui" in the config file. This is what I did in /syslinux/syslinux.cfg
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
[code]....
The owners manual of my monitor gives me the following informations:
When editing my xorg.conf, do I have to add the automatically 'keyword' ? (saw nothing about it in man xorg.conf or man nv)
I am writing a script that will ping a server and then do a command if it gets a ping that is less than 100ms or more than 100ms. Basically, I need to have a variable for the ms.
Here is an example script.
Code:
Now, all I need to do is get a variable from the ping. I know I can do this:
Code:
But that just sets the whole line, I only want the ping, without "ms" at the end.
So basically, if I ping 25.25.25.25 and get 43.872 ms I want $pingms to equal 43.872.
Also, how can I do this with free, for example:
Code:
I want $ramavail to equal the amount available and I want $ramtotal to equal the total amount.
I want coding of packet sniffer that runs on red hat and use c++ language.
View 2 Replies View RelatedI was asked to do a project on channel coding with different techniques. FEC, ARQ and Hybrid. Does NS2 support such coding?
View 2 Replies View RelatedBelow is my code to create *.bz2 file.
<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression
[Code]....
Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.
I recently downloaded Metasploit framework for ubuntu but i got an error which says could not open <file location>
Saying gedit has not been able to detect the character coding. Check that you are not trying to open a binary file.Select a character coding from the menu and try again
I am trying to see how programs for cdroms use reed-solomon coding. I looked in the site lxr.linux.no , but couldnt get anything there, too much details present.
View 2 Replies View Relatedwriting multi threaded programs in C,C++.
View 3 Replies View RelatedWhat sort of libraries can i use for coding of sniffer program for windows and linux? The sniffer that i want to code is for capturing the list of connected clients to AP wirelessly. I do know that the wireless NIC needs to be in 'monitor' mode in both windows and linux.
View 4 Replies View Related[URL]...In this bug, you'll see that I actually fixed my own problems that surfaced when building GNOME Shell from source.
View 1 Replies View Related