Software :: Any Way To Update Vim Syntax Highlighter Manually?
Mar 25, 2010
Is there a method or way to "update" Vim's syntax highlighter manually? I appear to have a very updated version of Vim on both Debian & Arch Linux but I notice that on both servers on the identical configuration file for Postfix MTA (main.cf) I have a parameter that shows up in 'white' which usually means 1 or 2 things:
1. I have a typo somewhere in my parameter.
2. The parameter is not recognized by Postfix and useless
However in this case it is neither of the two above however it stands out in the configuration file because it's not in color. It's the only one that is white text. I verified the command / parameter is valid: Link
The parameter is:
Code:
smtpd_tls_security_level = may
Is there a way to update Vim to highlight the " smtpd_tls_security_level" parameter in the configuration file when opened with Vim? Do I need to update the syntax highlighter for this to have the desired effect? I know this issue is purely cosmetic but as an administrator I find it annoyong to have to waste time and research if a configuration parameter is valid or not. I rely on Vim's color syntax highlighting to tell me when I make a overlooked mistake. I do know that Postfix is happy with the current configuration as I can see it being executed in the program:
Code:
postconf -n | grep "smtpd_tls_security_level"
smtpd_tls_security_level = may
View 2 Replies
ADVERTISEMENT
Jan 19, 2011
Is there any free PDF highlighter for Ubuntu? I just want to be able to highlight text in pdf files.
View 14 Replies
View Related
Jun 14, 2010
I just installed BURG and the installationguide told med to run sudo update-burg. When I do that, I get this message: /etc/default/burg: 7: Syntax error: "(" unexpected
On another page, in the comments, I found out that deleting a line in the /etc/default/burg can fix it. But my problem is that I don't now which line.
My guess is about line number seven, but as I'm saying, I'm not sure.
Here are the document:
View 3 Replies
View Related
Apr 8, 2011
I recently converted my old laptop to Ubuntu a couple days ago and I'm loving it! This is my first post, but I've been reading the Ubuntu forums which have been helpful for tweaking little things and I'd say I've graduated from "absolute" Ubuntu/Linux noob to "almost total" noob in the last couple days (at least I know what the terminal is now!). On my regular PC, I'm a big fan of the Google Chrome browser, but for my Ubuntu machine, I was hoping to stay as true to the open source theme as possible, so while I do have Chrome installed too, I'd love to use Chromium as my primary browser.
The one drawback for me with Chromium vs. Chrome is that there are not automatic updates, but I wasn't able to find a clear, noob-friendly walk-through to set up a means to regularly update Chromium manually (either using the terminal or using the GUI). From what I understand, it would involve finding and installing Chromium build repositories, then checking and updating from those periodically.
The problem is that I don't really know how to go about doing any of this. How exactly does one add repositories? After they're added, how does one update from the Chromium builds located there? Are there any Chromium repositories for relatively stable builds versus the uber-newest test builds?
Am I completely off track and there's an easier way to set up a means to update Chromium?
View 6 Replies
View Related
Jun 22, 2011
My ISP is blocking medibuntu.org so that hasn't been updated on my machines since the end of April. I can still access it via proxy sites so is it possible to download certain files and place them on the right spots in my Ubuntu installation and have it tell me if something is out of date or not?
View 6 Replies
View Related
Jul 1, 2010
I recently installed Firefox 3.6 on Debian Squeeze. Everything went smoothly, but Firefox looks weird. The interface reminds me of Windows 98 and anytime I scroll through the menus the highlighter is grey and it makes things awfully hard to read. I'm not sure what could be wrong but I'm hoping someone here I'm not sure how to insert small images as url links so I'll just post links to screenshots I took for reference.[URL]Oh, and one other problem I recently discovered, flash doesn't seem to work. It works just fine in Iceweasel but I am told I have to install it in Firefox. I installed libflashplayer.so in /usr/lib/firefox/plugins but that doesn't seem to have helped. Come to think of it, it probably wouldn't since it's probably the 32-bit version I got from their site, I run on 64 bit.
View 13 Replies
View Related
Mar 7, 2011
When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.
Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.
But still i keep getting the same error. I am not too sure where this file is mentioned.
Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.
View 1 Replies
View Related
Jan 23, 2010
I have a directory in the /var/www folder. I have access to this directory from my windows machine through samba.
Everytime i add new files to the folder where the webpage is locate i need to go to my centos server a type chmod -R 777 /var/www/name
It can't be right that i need to do this everytime i add new files to the folder??
If i dont run this command i can't access this files when I access the webpage throug a browser...
UPDATE: I think It has something to do with the samba user, because if i create the files as root directly on the centos server i dont got the problem ... ?
View 5 Replies
View Related
Jul 19, 2011
I have the following problem since yesterday.
Trying to update manually provides the following error message
I can't access fedora.project.org any more!
All other web access runs fine as usual.
View 7 Replies
View Related
Jul 14, 2010
Some while ago I decided to add Firefox repository directly through terminal. (Idea born when I saw in one old page (yes, never look for info in old pages ) "tutorial" how to do it.) The whole idea was simple: just add one line in terminal.The line was like this:sudo add-apt-repository ppa:mozillateam/firefox-stableBut since that, when I try to update through update manager I get errors:Quote:
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E
W: GPG error: http://archive.canonical.com lucid Release: The following signatures couldn't
[code]....
View 6 Replies
View Related
Apr 20, 2011
I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:
filter f_local4debug { level(debug) and facility(local4); };
When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.
View 1 Replies
View Related
Dec 13, 2009
how to update my system online (for example my firefox 3.0 to 3.5) but i can't figure out how this possibly works. I tried the "online update" using Yast2 but apparently (according to Yast) there is nothing at all to be patched on my system. I tried to click on the Firefox-3.5.5 rpm in the repository web-interface and open it using "install software" but the process aborts because of unresolved dependencies. Is there an easy way to update software without having to download/install every dependency manually?
View 1 Replies
View Related
Jul 31, 2010
Occasionally a dialog pops up with the title "Update Manager". It offers me to update system components. However this popup occurs automatically. I wonder how I can call/start this "Upate manager" (dialog)manually? I found no menu entry. When I click on menu Application->Add/remove Software then a "Package Manager" is shown which is different from the "Update Manager". So again the question: How can I start manually (from terminal or menu) the "Update Manager"?
View 1 Replies
View Related
Sep 1, 2011
I'm trying to update Kubuntu 11.04 here is my error: p, li {white-space: pre-wrap;} E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. here is what i have tried to fix it:
[Code]....
View 2 Replies
View Related
Sep 24, 2010
I cannot find how to set VIM so that it higlight syntax (for exapmle bash scripts). I installed VIM package by using aptitude, but I dont have file .vimrc in my home directory. I found out that settings have to be written in this file. I can use command in VIM :"syntax on" but VIM shows syntax terrible. I think that is cause by some color setting.
View 12 Replies
View Related
Jun 24, 2010
syntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?
View 3 Replies
View Related
Mar 10, 2010
I have a project directory that contains source code and subdirectories of source code. I want to use the Unix program find to search recursively for the names of files of certain extensions. The versions of find on Linux and Mac OS X behave differently.
# Works in Linux
find . -type f -regex ".*.(py|html)$"
# Neither of these works in Mac OS X
find . -type f -regex ".*.(py|html)$"
find . -type f -regex ".*.(py|html)$"
How do I write this command so that it will run on Mac OS X (and hopefully on Linux too)?
View 2 Replies
View Related
Mar 13, 2011
I'm trying to sanitize this output from it's metadata to plug this output into GreekTools, but I am getting stuck on sed.
View 2 Replies
View Related
Mar 7, 2011
I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.
Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la
[code]....
View 1 Replies
View Related
Apr 3, 2011
In Windows Server 2008, I can configure a static IP address with the following syntax:Code:
netsh interface ipv4 set address="Local Area Connection" source=stati.10.10.11 55.255.255.0 10.10.10.1Besides editing a text file, is there a syntax I can run from terminal?
View 1 Replies
View Related
Jan 23, 2011
I have a couple of files which follow this syntax:
*_yyyy-mm-dd_hhhmmm.*
Example:
*_2010-01-01_00h10m.*
*_2010-01-01_01h10m.*
*_2010-01-01_02h10m.*
[Code].....
and delete the others. or maybe move them to a subdirectory to be safe...
View 2 Replies
View Related
Feb 27, 2010
With this sqlite query ? I have these tables:
what is the query to list all cities and its neighboring cities like this?
View 5 Replies
View Related
Jul 4, 2010
I wanted to add/modify a syntax highlight for g
View 1 Replies
View Related
Feb 7, 2011
I pride myself on at least trying to help myself before I ask, but I've been staring at this a long time, I'm just not getting any traction.I've literally got 3 linux references on my desk right now that say that I should be able to use if conditionals, for example
[ -d FILE ]True if FILE exists and is a directory.
[ -e FILE ]True if FILE exists.
[ -f FILE ]True if FILE exists and is a regular file.
[code]....
View 7 Replies
View Related
Jun 1, 2011
I am trying to delete a dir (with the CLI), that contains many sub dirs and files:
Hello - DE Important Files Stuff (0000-0001)
I am using the command:
PHP Code:
sudo rm -rf Hello - DE Important Files Stuff (0000-0001)/
But I keep getting this error:
PHP Code:
-sh: Syntax error: "(" unexpected
The between the spaces in the file name isn't showing in the PHP code?!?
View 7 Replies
View Related
Feb 12, 2010
exec, a option of find command, takes a odd format as followsfind ... -exec command {} ;Is there any explaination about why it takes this kind of format, orsome obscure implication?
View 3 Replies
View Related
Nov 28, 2010
I have returned the below mentioned lines of code however I am receiving error "Syntax Error On Done Statement".
while:
do
clear
echo "-------------------------------------------------------------------"
echo "Main Menu"
echo "-------------------------------------------------------------------"
echo "[1] Today's Date"
echo "[2] Show files in the current Directory"
read yourch
case $yourch in
1) echo "Today is `date`,press a key ........";read;;
2) echo ls -l;read;;
*) echo "Select the yourch as 1 or 2";
View 3 Replies
View Related
Jun 18, 2011
For some commands the command synopsis (syntax) is given like this:
command [a|b] [args ...]
I take mplayer (perhaps not GNU) to illustrate the point:
mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
mplayer [dvd|dvdnav]://[title|[start_title]-end_title] [options]
An item inside square brackets is optional. The pipe sign is the 'or' logical connective (disjunction). But then, what is [cdda|cddb]?
If optional, I can omit it: it makes no sense because there are more the one possible synopsis for the command line.
View 7 Replies
View Related
Apr 29, 2011
What is wrong with the following ldif file :
Code:
dn: dc=mydomain
objectclass: dcObject
objectclass: organization
o: My Ldap
dc: mydomain
dn: cn=Manager,dc=mydomain
objectclass: organizationalRole
cn: Manager
Because I get following output :
Code:
[root@1 ~]# /usr/bin/ldapadd -x -D "cn=Manager,dc=mydomain" -W -f /etc/openldap/basic.ldif
Enter LDAP Password:
adding new entry "dc=mydomain"
ldapadd: Invalid syntax (21)
additional info: objectclass: value #0 invalid per syntax
View 1 Replies
View Related
Jun 9, 2010
how would the syntax of reverse find be..i want to type a name and then find it and delete it from a file i have?
View 2 Replies
View Related