Thanks a lot. Passing -X flag solves the problem. Regards, Jagpreet
-----Original Message----- From: Tom Purl [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 8:34 PM To: Jagpreet Cc: 'A.J.Mechelynck'; vim@vim.org Subject: RE: startup extremely slow OK, so you tried passing the -X flag when opening the file? If so, and it's still slow, maybe you use use the -V[N] option to see what's going on? On Thu, March 29, 2007 9:48 am, Jagpreet wrote: > Thanks for your quick reply. > > Well I'm not using any X-server nor do I intend to. > > I just find that I logon to server with SSH instead of telnet(as server > doesn't support this). > > All I want to use vim in consol mode because it works very fast, and is > working on other server with the same settings. > After the file gets open it works as expected but its very long time it > takes to open the file. > > So far as display settings are concerned I have that in .bashrc file and > I'm > exporting DISPLAY variable anyways. I tried the same with without setting > that as well but result is the same. > > Not sure whats happening. > > > > -----Original Message----- > From: Tom Purl [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 29, 2007 7:51 PM > To: A.J.Mechelynck > Cc: Jagpreet; vim@vim.org > Subject: Re: startup extremely slow > > On Thu, March 29, 2007 9:16 am, A.J.Mechelynck wrote: >> To avoid trying to connect with an X server in an X-enabled console >> Vim (which could be a console version with clipboard support, or a GUI >> version being run in console mode), use -X on the shell command line >> for Vim, thus: >> >> vim -X foobar.txt > > Thanks a ton Richard and Tony! This is a much easier solution to my > problem than what I'm doing today (setting the DISPLAY var). > > Does this help you Jagpreet? > > Tom Purl > >