1

Re: Remote Desktop madness with ViEmu and visual studio

I have just remote desktoped into two different machines, and got some serious madness with visual studio 2005 and resharper 2 and 2.5.

dd worked but
p did a mixture of mad things
chucked it on start of line
navigated to line 1 or end

Ended up having to go into insert mode to get anything done.

Also got some madness with

SQL management studio

yy
p  just put in blank lines

However things worked fine under Word.

I have been retesting SQL Management studio and it seems to be OK now?

Is this a known issue??

2

Re: Remote Desktop madness with ViEmu and visual studio

Hello Ronald,

I actually use RemoteDesktop very often myself, remoting from my Vista laptop into my XP desktop. I used to use VNC and have now switched to RD for the much better usability and performance.

I am not aware of interactions, and all of the ViEmus work fine for me. Thus, it must be some problem of ViEmu with your specific setup.

By your description, it seems it's mostly related to the clipboard. It's quite likely that there might be a problem with the way ViEmu uses the clipboard and the way RDT handles it to make copy/pasting along the host and guest transparent. We can try to investigate that.

I'm not a power user of RD, but maybe you are. Is there some specific setting related to the clipboard? Looking into that would help.

Is there any difference when the yank is done on the remote computer using ViEmu and the past is done in a local non-ViEmu app? Or in a non-local non-ViEmu app? Using notepad on each could help understand the issue.

ViEmu/Word&Outlook, by default, uses Word's "Copy()" and "Paste()" extensibility methods, to allow formatted copy-pasting. This can be turned off on the settings panel. Copying to and pasting from named registers ("a, "b, etc...) doesn't use the system clipboard at all, although it's raw-text only, but that shouldn't show the symptoms if my hypothesis is right.

Can you investigate a little bit and provide more information? Apart from specific behavior, there are some general things that could help: OS used on both machines, the contents of Visual Studio's Help|About screen (which you can paste back here easily), other system software you might be using, especially if related to the clipboard, etc...

Regards,

  -- Jon

3

Re: Remote Desktop madness with ViEmu and visual studio

Nothing strange in my remote desktop config as far as I am aware, Word worked fine, but not Visual studio.

AAH!! It may be that I have Synergy running.  In the office I have two machines, and one keyboard and mouse shared, so that I can use 4 screens, and with the one keyboard.  I do have a problem sometimes with remote desktop, where I go off the screen into the other machine, and it is a pain to get the mouse back.  The version of Synergy I have has got a bug where it converts characters to lower case when you try to login to remote desktop on the remote synergy client.  Could be some weirdness their, next time I am home I will test this.

In the meantime, the following is the information from visual studio on the two machines

My primary machine.
Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: Professional

Microsoft Visual Basic 2005   77626-009-0000007-41242
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77626-009-0000007-41242
Microsoft Visual C# 2005

Microsoft Visual C++ 2005   77626-009-0000007-41242
Microsoft Visual C++ 2005

Microsoft Visual J# 2005   77626-009-0000007-41242
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005   77626-009-0000007-41242
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005   77626-009-0000007-41242
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Crystal Reports    AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)   
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

NGEDIT Software's ViEmu   v2.2.6
ViEmu 2.2 - vi/vim editor emulation for Microsoft(TM) Visual Studio(TM)
(c) 2005-2008 NGEDIT Software (www.ngedit.com)

ReSharper 2.0   (build #259)
ReSharper add-in for Microsoft Visual Studio. For more information about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper. Copyright (c) 2003-2006 JetBrains, Inc

Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)   
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061

SQL Server Analysis Services   
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00

SQL Server Reporting Services   
Microsoft SQL Server Reporting Services Designers
Version 9.00.3042.00

GhostDoc
For more information about GhostDoc, see the GhostDoc website
at http://www.roland-weigelt.de/ghostdoc
Copyright © 2003-2005 Roland Weigelt.

TestDriven.NET 2.0.1761 Personal
For more information, see the TestDriven.NET website at http://www.testdriven.net/. Development by Jamie Cansdale <jamie@mutantdesign.co.uk>.  Copyright (c) 2002-2006 Mutant Design.

My secondary machine
Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: Professional

Microsoft Visual Basic 2005   77626-009-0000007-41120
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77626-009-0000007-41120
Microsoft Visual C# 2005

Microsoft Visual C++ 2005   77626-009-0000007-41120
Microsoft Visual C++ 2005

Microsoft Visual J# 2005   77626-009-0000007-41120
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005   77626-009-0000007-41120
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005   77626-009-0000007-41120
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Crystal Reports    AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Extensions for Windows WF   
Windows Workflow Foundation Tools for Visual Studio

Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)   
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

NGEDIT Software's ViEmu   v2.2.6
ViEmu 2.2 - vi/vim editor emulation for Microsoft(TM) Visual Studio(TM)
(c) 2005-2008 NGEDIT Software (www.ngedit.com)

Orcas Technology Preview - .NET Framework 3.0 Development Tools   1.0
Microsoft Visual Studio Code Name Orcas Community Technology Preview - Development Tools for WinFX

ReSharper 2.5   (build #326)
ReSharper add-in for Microsoft Visual Studio. For more information about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper. Copyright (c) 2003-2006 JetBrains, Inc

Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)   
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061

SQL Server Analysis Services   
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00

SQL Server Reporting Services   
Microsoft SQL Server Reporting Services Designers
Version 9.00.3042.00

4

Re: Remote Desktop madness with ViEmu and visual studio

It has not re-occurred again, my suspicion is that synergy had messed up the clipboard.  The machines had been running a long time and copy and paste between machines was no longer working.

I will test if it occurs again.

5

Re: Remote Desktop madness with ViEmu and visual studio

Glad to hear it's now working fine. It's quite likely it may have been some temporary condition with the clipboard & synergy. I sometimes get a non-functional clipboard myself too (just not so weird).

Just post here or drop me a line if it acts up again.

Regards,

  -- Jon