Using Vim + Cygwin Xterm

68 views
Skip to first unread message

aja...@gmail.com

unread,
Dec 16, 2008, 8:17:59 AM12/16/08
to vim...@googlegroups.com, no...@noah.org
Hi,

I came across the following on this list:

"You might also want to consider using Cygwin + Xterm instead of putty.
xterm has better terminal emulation than PuTTY."

Could you please tell us how to use Vim here: For instance there is a
Windows cygwin connecting to a linux server.

1) What do we start at Cygwin's end? Probably an xterm? How?

2) What do we start at the server's end?

3) Can we use gvim also, or will we have to use the vim bundled with
cygwin? I personally find that to be unfriendly.

Rgs,
Ajay.

Ian Kelling

unread,
Dec 16, 2008, 1:01:29 PM12/16/08
to vim_use
First off, xterm means terminal. There is no graphical ability
associated with it.

It all depends on what your trying to accomplish. The method you
described is generally used to ssh into a linux box from a cygwin
xterm and run vim in that ssh session on the remote linux box.

1. Google cygwin xterm xwindows to find instructions about how to get
an X server running through cygwin. I've done it before and I do like
it more than putty.

2. you need an ssh deamon setup on the server to accept incoming ssh
connections. The server also needs vim installed. Once you ssh to the
server, you start vim in the ssh.

3. You can start remote X applications over ssh (google it) ie. Gvim,
but unless both sides have very good connections it will be too laggy.
Another option is to use vim/gvim locally and use netrw to open and
save remote files. In my situation this works best. See :h netrw in
vim.

- Ian

Anton Sharonov

unread,
Dec 17, 2008, 5:51:34 AM12/17/08
to vim...@googlegroups.com
Just my .02€

I have given up using X server + xterm + vim under cygwin, and
switched entirely to the PuTTy, due to the bad performance of the
cygwin vim, running in cygwin xterm. Redraw speed was just
unacceptable to me.

--
Anton.

2008/12/16, Ian Kelling <Ian...@gmail.com>:

Tony Mechelynck

unread,
Dec 17, 2008, 7:39:27 AM12/17/08
to vim...@googlegroups.com
On 17/12/08 11:51, Anton Sharonov wrote:
> Just my .02€
>
> I have given up using X server + xterm + vim under cygwin, and
> switched entirely to the PuTTy, due to the bad performance of the
> cygwin vim, running in cygwin xterm. Redraw speed was just
> unacceptable to me.
>
> --
> Anton.

In my experience, Cygwin Vim runs quite fast -- when working locally in
Cygwin bash (in a Windows window or in fullscreen text-mode). Cygwin
xterm + X server on a remote connection, though -- that might be a
different question altogether.

Best regards,
Tony.
--
If the odds are a million to one against something occurring, chances
are 50-50 it will.

yosi izaq

unread,
Dec 17, 2008, 7:55:26 AM12/17/08
to vim...@googlegroups.com
On Wed, Dec 17, 2008 at 2:39 PM, Tony Mechelynck <antoine.m...@gmail.com> wrote:

On 17/12/08 11:51, Anton Sharonov wrote:
> Just my .02€
>
> I have given up using X server + xterm +  vim under cygwin, and
> switched entirely to the PuTTy, due to the bad performance of the
> cygwin vim, running in cygwin xterm. Redraw speed was just
> unacceptable to me.
>
> --
> Anton.

In my experience, Cygwin Vim runs quite fast -- when working locally in
Cygwin bash (in a Windows window or in fullscreen text-mode). Cygwin
xterm + X server on a remote connection, though -- that might be a
different question altogether.

Best regards,
Tony.

In my experience Cygwin+X server+ssh to remote server+ terminal Vim works well, even for slow connections. For faster connections I  replace VIm with Gvim.
Cygwin has additional advantages that make it worth while install on windows machine not related to above method.

BR,
Yosi

Michael Ludwig

unread,
Dec 17, 2008, 7:55:42 PM12/17/08
to vim...@googlegroups.com
aja...@gmail.com schrieb am 16.12.2008 um 18:47:59 (+0530):
>
> "You might also want to consider using Cygwin + Xterm instead of
> putty. xterm has better terminal emulation than PuTTY."

I use rxvt with Cygwin, which works fine and doesn't require an
X-Server.

http://infrablue.tripod.com/cygwin.html

Michael Ludwig

Reply all
Reply to author
Forward
0 new messages