Monday, June 30, 2008

Cygwin Copy and Paste

Can't copy to and paste from the Cygwin window? I had the problem also until I enabled copy and pasting from the Cygwin window:
  1. Open Cygwin
  2. Right click on the Cygwin icon in upper left of window frame
  3. Check 'QuickEdit Mode' from the properties menu
Windows will prompt to see if this should be the default. You can say 'Ok' to make it the default. Now copy and paste to your hearts content!

Tuesday, June 10, 2008

Building Valgrind Without Root

Word on the street is that support for debugging Wine using Valgrind has continued to increase over the past year. I decided to give Valgrind another whirl and see what I can find. I'm currently working away from home on a computer that I don't have admin privileges on and that made the Valgrind build a little more exciting.

$ sh autogen.sh

aclocal: configure.in: 58: macro `AM_PROG_CC_C_O' not found in library

Bummer. Valgrind requires a recent version of autotools. The distribution that I'm running on uses a default of automake-1.4 and aclocal-1.4 as specified in /etc/alternatives. Fortunately, 1.9 versions of both tools are installed. Some quick symbolic links to a ~/local/bin and a redefine of my path cleared up those problems and I was good to go.

Setting Up New Workstations

You get a new job, the dog eats your laptop, or it is time for the annual wipe and reinstall (although I've not done the past for a few years now). Either way you need to recreate a working environment that works. Here's the short list of what I typically do:

Dot files

  • bashrc
  • vimrc
  • vim (directory)
  • irssi (directory)

Firefox Add-ons

  • Add Block Plus
  • Flash Block
  • It's All Text
  • Session Manager
  • Tabbrowser Preferences

Programs

  • Ion
  • Vim (with all the good stuff)
  • Git
Over the next week or two we'll see what all I've forgotten.