28th October 2008

Vim, GNU Screen and mouse

Tags : ,

Are you using your mouse with Vim ? You know, the little set mouse=a in your ~/.vimrc ? This just work with some terminal emulators (Xterm, RXVT, etc) but not with GNU Screen. The mouse just select text in the term :(

You can easily correct this. Just say to Vim how to handle the mouse for this terminal. Use a set ttymouse=xterm2 and it's done. Tadaaaa, you have a GNU Screen session on /dev/ttyUSB0, another for your code in Vim and another one for make... Happiness...

posted in Unix tools | 0 Comments

18th October 2007

KVM, serial console and screen

Tags : ,

There is no manager with KVM like with Xen. You cannot start virtual machine and attach a console with simple commands like xm. KVM/QEMU use SDL to create a window with a graphical console. You can use VNC too but it's not very practical.

Here is how to get kvm output in GNU Screen.

Read the rest of this entry »

posted in Configuration | 0 Comments