Sunday, June 20, 2010

VNC tunneling

To tunnel local port 5901 to the 1st port for VNC sessions on the host you are sshing into:

ssh -L5901:localhost:5901 <hostname>

For viewing this, xvnc4viewer is closest approach to RealVNC ...

xvnc4viewer localhost:5901

(enter password and you should be in)

Friday, June 11, 2010

Thursday, June 3, 2010

Emacs VHDL mode reg exp switch for error lines in compilation

VHDL | Options | Compiler | Untick "Use Local Error Regexp"

NB: The 'Options' is hidden @ the bottom of the Options submenu if the display is too short

Wednesday, June 2, 2010

$US149 logic analyser 'Logic'

Doulos VHDL Designer's Guide

Very Useful indeed

Swapping Caps Lock and Control (Left) keys in X Window

Temporarily, from the shell commandline:

xmodmap -e "remove lock = Caps_Lock"
xmodmap -e "remove control = Control_L"
xmodmap -e "add control = Caps_Lock"
xmodmap -e "add lock = Control_L"

Permanantly, in (Debian) xorg.conf:

Add the Section:

Section "InputDevice"
Option "XkbOptions" "ctrl:swapcaps"

(You'll need to restart X for this to take effect)