Cscope + Notepad++ Coding nirvana!

Loved Cscope on cygwin, but hated the fact that you anything you select will open up in Vi, and then do some keyboard voodoo to get back to the cscope window?

Or are you one of those fan of notepad++ awesomeness but love the way cscope hunts for stuff for ya?

Fear not, there is a way both your sweethearts can now play with you, all at the same time for an awesome threesome 😉

Just export these lines before you fire up Cscope

export CSCOPE_EDITOR="/cygdrive/c/Program Files/Notepad++/notepad++.exe"
export CSCOPE_LINEFLAG="-n%s"

Please note : Change the CSCOPE_EDITOR path to where your notepad++ is currently residing. For your convenience, I have included the path that is default for Normal install of notepad++.

Better still, put it in a script file (or perhaps bashrc).

Got a better suggestion? Post a comment 🙂

Vista Native vs Windows 7 in Virtualbox

Just out of curiosity I ran Windows assessment of Windows 7 running in virtualbox (with VT-x enabled) and Vista. Here is a screen shot of the comparison.

Vista Native vs 7 on Virtualbox 

What was amazing is the Hard disk Score, Virtualbox HDD is faster than the native disk !! Processor score is not too shabby, but I expected more with VT-x turned on. So how much does VT-x have influence on the Virtualbox performance? I tried to do the same score with VT-x turned “OFF”.

To my surprise, I got the same score! Perhaps, the windows assessment tool does not run any ring-0 code ( as far as I know, VT-x helps better management of ring-0 code).

Anyhow I’m posting the screen shot of the windows 7 on virtualbox with VT-x turned off.

Seven_virtualbox_without vt-x

If Anybody has a better idea as to why VT-x failed to change the scores in windows 7 assessment, please feel free to comment 🙂