General :: Compile Gvim From Sources?

May 25, 2011

Recently, I've installed vim like so:

hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean

So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:

[Code]...

View 2 Replies


ADVERTISEMENT

General :: Compile Cairo/PyCairo From Sources On Ubuntu Hardy?

Apr 25, 2010

trying to compile latest pixman/cairo/pycairo from sources on ubuntu hardy LTS 8.04. The default versions are pretty older. These are the versions of three packages I am using:1. pixman-0.18.02. cairo-1.8.103. pycairo-1.8.8Please note that I am new to linux with limited skills in c/c++ stuff.First you have to compile pixman and here is the script I am using:

Code:
$wget http://www.cairographics.org/releases/pixman-0.18.0.tar.gz
$tar xvf pixman-0.18.0.tar.gz

[code]....

View 2 Replies View Related

Debian :: Installing Kernel Sources - Compile And List

Apr 5, 2010

I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!

Two things:
dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install

I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz

Then, I wanted to patch this - having found no explanation, I did:
cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff

That seemed to patch the kernel. But I am not sure - there are new files like this now_
[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]

So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...

View 14 Replies View Related

General :: Disabling Cd Sources In Apt/sources.list?

Aug 28, 2009

I am installing a hp officejet pro 8500 all in one printer to knoppix 6.0.1. install hangs saying i need to disable cd sources in etc/apt/source.list. How do i do this?

View 1 Replies View Related

General :: How To Always Start Gvim Maximized

Sep 13, 2011

set lines=999 columns=999

doesn't work, and

au GUIEnter * simalt ~x

only works for Windows.

View 2 Replies View Related

General :: Setting Background Color In Gvim?

May 16, 2010

I 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.

View 1 Replies View Related

General :: GVim Via SSH -X Does Not Copy Paste On Selection

Nov 12, 2010

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box. Is there something I need to install on the remote machine? I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.

View 1 Replies View Related

General :: GVIM Hangs When Saving Through GVFS' FTP

May 8, 2011

I loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I also loved editing text files with GVim.

However, if I double clicked file on Nautilus to open a text file in Gvim, then saving a file will take about 10 seconds and GVim will hang for that amount of time. The major irritant is that I cannot continue editing while the text editor is waiting for the write to finish, this delay interrupted my workflow and thought process and saving becomes a painful process. The other problem is that I don't think simply uploading a file should take that much time.

I'm aware of GVim's internal FTP support, but they are not as well integrated with Nautilus's FTP and it suffers from the same problem.

So a few question:

Is there a way to make GVim or GVFS to save in background while I continue editing?
Why is GVFS so slow? Is there any way to set GVFS to use a single persistent FTP connection instead of creating a new FTP connection each time?

I'm on Gentoo Linux x86-64.

View 1 Replies View Related

General :: Repacing A String At A Specific Location With Another In Vi (gVim)?

Mar 18, 2010

If i have a comma separated string like this one

Code:
aa,bb,cc,dd,ee
11,22,dd,3f,22

[code]....

View 6 Replies View Related

General :: Run A Headless Gvim To Get Syntax Highlighted Code Converted To HTML?

Jul 25, 2011

I want to generate HTML files in batch to show some gvim colorschemes in action. I took my current solution from the script at but this will open open a gvim window for each colorscheme I want to process. So far, the only way I have found to avoid the annoying new windows that pop up every second is to start a VNCserver and set the DISPLAY environment variable to that of the VNCserver so that all gvim windows are sent to the display within the VNC session.However, I would like to know if there is a way I can avoid the whole VNC setup and just run a headless gvim instance that does the conversion and exits, with no windows ever being actually displayed.

View 1 Replies View Related

General :: Error - Can't Open Display - For Xclock Or Gvim On Kubuntu Root Shell Konsole 1.6.6

Oct 8, 2009

I use kubuntu (8.04) which does not have a root account.

[sudo] password for ts:

However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.

Error: Can't open display: localhost:0.0

Press ENTER or type command to continue

View 2 Replies View Related

Ubuntu Installation :: Can't Update Http://ppa.launchpad.net Natty/main/Sources Sources

May 16, 2011

I've got the following problem: I just noticed that there were just very few notifications about updating the system (usually there are damn many of them in a week) So I opened the update manager and clicked on "refresh list". The following result popped up: p,li{white-space:pre-wrap;}E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found First I thought, it would be just some kind of server problem, but it didn't stop. The next thing was to research the thread and I even found something. However, the solution suggested didn't work at all. (Things, which might have caused this: I installed the default software center |I'm using Kubuntu, but in this case that fact doesn't matter| and used it. To sum up:

- not able to update the system referring to the launchpad main sources for 11.04
- following error: E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found It would be great if this was a common issue and I've been simply too stupid to find a proper solution. So you could just post the link.

View 2 Replies View Related

Ubuntu Installation :: Change The Sources That Aren't In Sources.list?

Apr 21, 2010

I am running Jolicloud on my netbook (which I believe is an Ubuntu derivative) and I am tried to enter the getdeb.net sources in so I can install apps from the website through APT but

1) When I entered the sources into sources.list and then the key into Terminal and then went to the site and tried to install an app it didn't work.

2) I deleted the line of code in the sources.list file and when I opened terminal and entered "sudo apt-get update" it showed the list of sources, but on the list were Getdeb.net sources.

My question is how do I delete sources that aren't in /etc/apt/sources.list ?

View 6 Replies View Related

Slackware :: Get Gvim Color In Vim?

Mar 26, 2010

For gvim :hi Include guifg=#8040f0 Is it possible to get #8040f0 in vim?

View 1 Replies View Related

Debian :: Gvim Does Not Work Anymore

Feb 21, 2011

After upgrading Squeeze, Gvim and Vim seems to be broken. So I went back to 7.2 by compiling from source. However I am failing to compile the gui version under Debian. I tried the configure options, apt-get build-dep vim etc but nothing seems to work. Does anyone know a straight way to make it work? Or even a way to find the previous version of vim gtk?

View 1 Replies View Related

OpenSUSE :: Error - Starting Gvim

May 25, 2010

I get this error when I start gvim:

Code:

View 1 Replies View Related

Programming :: How To Use Gvim Keyboard Shortcuts

Jul 6, 2010

I'm new to vim and gvim, but I feel its power so I want to learn it. I've been searching very long how to use gvim keyboard shortcuts but I simply cannot find out what is for example the vertical splitting command '^Wv'? I've tried (ctrl/super+ a lot of things) (and other combinations, but without success).

View 2 Replies View Related

Ubuntu :: Gvim Installation Editor?

Nov 12, 2010

In ubuntu 9.10 i installed gvim editor..... if i opened that it shows like following and opened editor and also compiled.... wats this? Anything need to install?

View 2 Replies View Related

Software :: Get The 'bash' Or 'csh' Shell From Within Gvim?

Apr 8, 2010

I use ":!shell_command<enter>" OR ":sh<enter>" in gvim to execute shell commands or to get a shell. But I am getting an 'sh' shell. Is there a way to get the 'bash' or 'csh' shell from within gvim?

View 1 Replies View Related

Software :: .rpm To .bin - Share Gvim Binary Over Nfs?

Jan 4, 2011

I have to share gvim binary over the NFS for users on a x64 machine. I can't find it over the internet. Is there anyway I can convert the vim-X11.rpm to .bin? or achieve the same in any other possible way.

View 1 Replies View Related

OpenSUSE :: Gvim Window Auto Shrinks?

Apr 3, 2010

I have a minor problem with gvim. My gvim never maximizes. Whenever I try to maxmize it automatically shrinks from right side and bottom. Don't know if anyone else faces this problem, but I have faced this even after re-installing the system It is not a show stopper but surely an irritant.

I am using openSUSE 11.2, KDE 4.3.5.

View 2 Replies View Related

Ubuntu :: Open Files In Gvim In Tabs?

Jun 10, 2010

Is it possible to open text files in gvim in tabs not opening anothe rgvim window for every text file? Just like it is done in gedit: open a file the open another file and it opens in a tab.

View 2 Replies View Related

Ubuntu :: Getting GVim To Play Nice With Unity

May 24, 2011

my idea is to have gvim working like gedit in ubuntu 11.04: when you open a file thru unity's dash, and if there's already an open editor, it opens the file in a new tab.To make nautilus open more than one selected files in gvim's tabs, i used to change the exec line in /usr/share/applications/gvim.desktop to "Exec=gvim -p --remote-tab-silent %F". This trick is working ok in nautilus and also in unity, just like the way I was planning.

However, when i try to open gvim itself without specifying any files (from unity's dash or a launcher set) it fails. Can anyone please help me with this ?

View 1 Replies View Related

Red Hat :: RHEL5 Gvim Keyword Color Coding?

Mar 19, 2010

I'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 Replies View Related

Slackware :: Gvim Autostarting -as The KDE Desktop Shows?

Mar 25, 2010

Running Slackware current and KDE4. Every time I start up, gvim autostarts as soon as the KDE desktop shows. There is no command in .kde/Autostart for this. I have ticked always start with an empty session in the session manager. I cannot see why gvim is starting every time. How can I stop this?

View 5 Replies View Related

Software :: RHEL5 (Centos): Getting Gvim To Work With Mswin.vim?

May 10, 2011

in 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]...

View 1 Replies View Related

General :: Sources.list: What Is A Deb-src

Apr 8, 2011

In a typical sources.list in a Debian-based distro, I see a line that begins with "deb," and right below it, the same repo preceded by "deb-src." I can figure out that that means "Debian source," but what's the difference between a "deb" and a "deb-src"?

My current sources.list has almost all the deb-src lines removed; I believe I did that at some point because Synaptic was giving me error messages over there being too many entries in my sources.list, and I must have thought the deb-src lines were redundant. I assume I was wrong, eh? The deb-src lines must be there for a reason. I might not have been certain the error messages were due to having too many sources, either; maybe that was only my guess.

View 3 Replies View Related

General :: How To Uninstall Sources

May 18, 2011

I usually use portage(a type of package manager for Gentoo). It's easy to install and unistall programs.

However, I sometimes install programs from source for various reasons. The installation is fine but how do I remove them?

Do I just delete all the files or is there more to it?

View 3 Replies View Related

Slackware :: When Load Gvim (through Vimperatorr Other Means) The Text Is Unreadable?

Feb 20, 2010

I'm having a strange problem with gvim. I've installed Slackware on 4 computers now, and this latest one is the first I've seen this issue on. I use the command line for almost everything, and only use gvim in Firefox with Vimperator. So it isn't something I use all the time, but when I need it I really need it. Using textboxes (like, you know, on LQ) is starting to drive me up the wall Anyway, when I load gvim (through Vimperatorr other means) the text is unreadable. It does seem to become readable after it gets covered by another window, but as I type, the new text is unreadable again. Attached is a screenshot, of this post. And, actually, I'm seeing similar behaviour in Gimp.Attached is a second screenshot. The weird lines seem to appear and disappear when the mouse rolls over the area. I don't use very many GUI programs, just Firefox for the most part (which isn't displaying this behaviour). So, this could be a general X issue, or perhaps a WM issue.

View 1 Replies View Related

General :: Yast Sources For Suse EL 10.2?

Mar 17, 2010

I am using Suse EL 10.2 on IBM cloud, and need to install basic packages such as gcc, zlib, etc. Is there any official Suse 10 sources that I can use?

View 1 Replies View Related







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