Closed GoogleCodeExporter closed 9 years ago
I don't see why this is meant to be a mintty issue. I'd suspect the '&' in the
address is being interpreted by the shell as the control operator for background
processes.
Original comment by andy.koppe
on 12 Mar 2009 at 10:30
That would explain the truncated URL, but why does MinTTY screen blank out
completely? This doesn't occur when Cygwin is run in a Command Prompt or rxvt.
Original comment by ir0nh...@gmail.com
on 12 Mar 2009 at 7:58
I've escaped the '&' characters, and the URL is no longer truncated, but MinTTY
still
blanks out the screen, where as Cygwin Command Prompt (Cygwin in cmd.exe) and
rxvt do
not.
Original comment by ir0nh...@gmail.com
on 12 Mar 2009 at 8:02
Just tried it with xterm, and it's the same behaviour there, and of course
mintty is
meant to be compatible with xterm. Sorry, but I don't know why executing
cygstart
would have that effect on vim.
Original comment by andy.koppe
on 12 Mar 2009 at 8:17
Thankfully it's easy to workaround by pressing Page-Up or Page-Down, which I
guess in
vim forces a screen refresh.
Original comment by ir0nh...@gmail.com
on 13 Mar 2009 at 2:02
Just as an FYI, in case someone has this issue, I was able to fix it by adding
'normal ^L' in my vim function to force a screen refresh. As a result, it
becomes:
function! MSDNLookup(keyword)
silent execute ':!cygstart
http://www.google.com/microsoft?hl=en\&q='.a:keyword.'\&btnG=Search'
normal ^L
endfunction
nnoremap <F3> :call MSDNLookup(expand("<cword>"))<CR>
Cheers!
Original comment by ir0nh...@gmail.com
on 13 Mar 2009 at 2:24
Original comment by andy.koppe
on 6 Mar 2010 at 5:16
Original issue reported on code.google.com by
ir0nh...@gmail.com
on 12 Mar 2009 at 3:24