General :: Viminfo - Get Cygwin Vim To Act Like CentOS Vim And Prior Cursor Position
Oct 27, 2010
In my CentOS configuration, when I use vim6.3 to edit a file, then close it, and re-open it, my cursor starts out at the line where I last left off. In my cygwin (on Windows) configuration, when I use vim7.3, I don't get this behavior. The viminfo does exist and does seem to get read (because if I type '0 it will go to my last cursor location - but that is globally and could change the file being edited). I've also looked at the .viminfo file and see it getting updated as expected. In my .vimrc file, I have this:
Quote: set viminfo='100,<50,f1,"500,/100,:100
Note that on the CentOS side if I open foo, then I open bar, then I open foo again, my cursor is in the right place for foo, whereas on cygwin if I do this, my cursor would be at the 1st line of foo.. If I were to type '0, it would actually switch to editing bar and put the cursor where I last left off. Anyhow, this all boils down to asking how I get my cygwin vim to act like my CentOS vim.
View 3 Replies
ADVERTISEMENT
Mar 28, 2010
Suppose the cursor position line at bottom or top. What's the vim command to get the cursor position line at the mid of the windows in vim?
View 5 Replies
View Related
Aug 30, 2010
When I save txt document in "gedit", it also saves cursor's position. How do I disable this feature?
View 1 Replies
View Related
May 17, 2009
I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.
I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).
View 1 Replies
View Related
Jul 31, 2010
CentOS 5.4 Cygwin CYGWIN_NT-6.0-WOW64 1.7.5(0.225/5/3) I'm trying to setup password-less login from my CnetOS server to Win 2008 Server via ssh. I have followed the fab walk-through here and many others. When i try to connect I get this msg after a few seconds delay...
Code:
Connection closed by 10.8.0.6 When ran with ssh -vv...
Code:
[smegadmin@s ~]$ ssh -vv 10.8.0.6
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[code]....
View 9 Replies
View Related
Mar 22, 2010
I have a Canon MX320 printer/scanner/copier/fax to install on Sabayon 5.1. I have a choice of downloading a .deb file, a .rpm file, or a tar.gz source file from Canon Inc. Where do I have to put the file prior to install, will the files automatically end up in the correct place? (I haven't done this on Sabayon before, bet you couldn't tell!)
View 4 Replies
View Related
Feb 3, 2010
It was always why did You switch from there or that. I wonder are there (or better yet here actually) Linux users, that where never 'tainted' with the proprietary infamous operating system? I mean those who never *switched*, but had either both or saw Linux first (before MS Windows).
How do they perceive Linux? We , the ones coming from <put whatever You come from here> , are inevitably biased, carry a background noise and a "whistle" fading in our ears. I know computers from the days they came without operating system (just mere interpreters upon a BIOS stack) and really do appreciate the ways of *NIX. But I see my kids growing and exploring all kinds of "solutions" and OS-es and they have mixed feelings:
1. They are not bothered if software "looks" alike if it is functional
2. They like certain features on either sides and miss where they lack
3. They, above all, appreciate functionality
4. They miss gaming support on Linux a lot (big names hesitating)
View 14 Replies
View Related
Sep 13, 2010
I'm about to wipe my linux installation and start fresh (switching to Arch). Before doing so I'm trying to think ahead of everything I'm going to want to backup before doing so. Here's what I've got so far:
[Code]...
View 1 Replies
View Related
Jul 28, 2010
As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:
System1@system ~
$
MY DOUBT IS :
I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.
View 3 Replies
View Related
Apr 15, 2011
I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible
View 1 Replies
View Related
Mar 19, 2010
I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?
g++ - the version 4.4
graphviz
gnuplot
plotdrop
[Code].....
View 1 Replies
View Related
May 7, 2010
I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
View 7 Replies
View Related
Jan 25, 2011
I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.
View 4 Replies
View Related
Oct 14, 2010
New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:
Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2
Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.
View 14 Replies
View Related
Aug 16, 2010
I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.
make gives me an error saying:
make install works
make clean works
I am not able to compile but install works I do not know if it is installed and as to where it is installed
when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.
View 5 Replies
View Related
Jun 6, 2010
I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: perl-5.10.1-3.tar.bz2?(or maybe can I get the sources and compile? can someone tell me please how?)
View 1 Replies
View Related
Oct 18, 2010
ould recommend for a console hex editor under windows/cygwin/linux?
View 3 Replies
View Related
Nov 8, 2009
But I just downloaded cygwin to my xp machine. Tried my first experimental script and created it one level directly below where cygwin put me by default. The script, named show two says:
#!/bin/bash
echo $1
echo $2
But bash apparently can't find it. The name of the script is showtwo, but I also tried naming it showtwo.sh; no dice.
View 8 Replies
View Related
May 21, 2010
I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?
View 2 Replies
View Related
May 13, 2009
I have installed cygwin to my windows xp machine. I typed the commmand in cygwin shell it shows "command not found". How can i install make command in cygwin
View 2 Replies
View Related
Jan 21, 2010
Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.
I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.
View 2 Replies
View Related
Jan 21, 2010
I recently installed Cygwin on my windows vista to practice on Linuxunix commands.I am unable to do a simple task of declaring variables on the command prompt I am trying:
$ vech=Bus
$ echo $vech
bash: vech : command not found
What am I missing? Do i need to add something to .bashrc? Also, I remember right click on the shell command gives the ability to copy or paste text from the shell. I am using Bash, how do I copy n paste text on shell window?
View 4 Replies
View Related
Oct 13, 2010
I am very new to Linux. I want to work on GTK. As I came from VB background, I want to use Anjuta IDE to start my design. I installed CYGWIN. When I am trying to install anjuta , I am getting error saying GLIB and Unique1.0 not found :
[Code]...
View 3 Replies
View Related
Nov 22, 2010
I'm hoping that someone can help me, I need to remove spaces (not replace with underscores) from several thousand files on a system with cygwin.
Can I do this from the shell using rename or mv somehow?
View 4 Replies
View Related
Jul 13, 2011
I am running programs remotely but they are terribly slow. I'm on a windows machine which may be my first problem. I have killer ping and download speed so they should run fine. What can I do to resolve this.
View 2 Replies
View Related
Aug 4, 2009
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).
I run the following command from a batch file:
Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.
The same command works perfect on another computer (XP machine; source and dest both on XP machine).
View 1 Replies
View Related
Feb 23, 2011
I installed C ygwin (full installation) on my PC with WinXP on it.
Then I downloaded "SendIP" at: [URL].
/flin@JKPZV2X /cygdrive/d/software/sendip
$ rpm -ivh sendip-2.5-1.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by sendip-2.5-1
libc.so.6(GLIBC_2.0) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.1) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.1.3) is needed by sendip-2.5-1
libc.so.6(GLIBC_2.3) is needed by sendip-2.5-1
libdl.so.2 is needed by sendip-2.5-1
libdl.so.2(GLIBC_2.0) is needed by sendip-2.5-1
libdl.so.2(GLIBC_2.1) is needed by sendip-2.5-1
libm.so.6 is needed by sendip-2.5-1
flin@JKPZV2X /cygdrive/d/software/send/
View 2 Replies
View Related
Sep 2, 2010
I would like to secure my dhcp server against mac spoofing. I have two nics:eth0 -10.10.10.1/24 LANeth1 - WAN (dynamic from dhcp)I have setup /etc/etheresSERWER.MYDOMAIN.PL 00:01:02:03:04:05comp1 00:1f:d0:27:d1:beetc.
View 3 Replies
View Related
Apr 5, 2011
compiler problem (f77) which arises when I try to execute a bash script ("compile" see [1] below) running under Cygwin on WinXP. The script finds the correct file(s) but the compiler does not recognize them as fortran source files. If the script is executed sequentially from the command line then there is no problem.
The directory structure of flh971da contains two subdirectories flh971da/scripts and flh971da/source. The compile script [1] is shown (in part) below. The script changes directory to flh971da/source, and compiles source from subdirectories flh971da/source/n where n=a,b,c etc and places the object files in flh971da/source/nobj n=a,b,c... etc. The response to flh971da/scripts/compile script is given below [2]. It is clear that the compiler (f77) locates the correct source file [4] (flh971da/source/a/a00aaft.f) but does not recognize it as a fortran source file. All relevant files have been processed with d2u. I suspect the problem is with the script, but I have no idea how to fix it.
[Code]....
View 3 Replies
View Related
Jul 1, 2011
I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.
View 2 Replies
View Related