On 2007-05-04, Albie Janse van Rensburg <[EMAIL PROTECTED]> wrote:
>  A.J.Mechelynck wrote:
> > sun wrote:
> >>> I'm using cygwin and rxvt. It works quite well, since you don't need to
> >>> start an X server for the application - it just runs.
> >>>
> >>> Put the following in your cygwin launcher (cygwin_rxvt.bat for me):
> >>>
> >>>  > @echo off
> >>>  > C:
> >>>  > chdir C:\cygwin\bin
> >>>  > set SHELL=/bin/bash
> >>>  > rxvt -ls -sr -sl 1500 -fn "Lucida ConsoleP-12" -bg black -fg grey
> >>>
> >>> and in your .bashrc:
> >>>
> >>>  > export TERM="rxvt-cygwin-native"
> >>>
> >>> your mouse should work fine with rxvt (mine does!)
> >>>
> >>> Cheers
> >>
> >> Now I can use mouse to jump from one split window to another under
> >> rxvx, but how to resize one? I can't do it by mouse in my case, can
> >> you?

> > You should be able to drag the status lines and vertical dividers to resize 
> > the split windows.

>  I can confirm that this seems to not work, using the cygwin Vim version when 
>  run in rxvt.  Tab-switching and window selection does work, however.

First, thank you to Yakov for the "set mouse=a" suggestion.  I've 
had that in my Unix .vimrc for so long and didn't need in it in my 
Windows _vimrc for gvim that I forgot about needing it when the 
mouse didn't work in my Cygwin vim.

That fixed the problem completely for the case where I run an xterm 
on a Linux machine, ssh to my Windows machine, and run Cygwin vim on 
that Windows machine through that xterm.  However, as Sun and Albie 
have reported, it doesn't fix the whole problem when running Cywin 
vim in a non-X rxvt running on the Windows machine:  I can split a 
window and select the active window with the mouse, but I still 
cannot drag the status line.

Regards,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Mobile Broadband Division
                             | Spokane, Washington, USA

Reply via email to