edeca.net logo
  • rss
  • Home
  • Graphics
  • Electronics
    • PCB0002 – LED matrix
  • Computing
    • ROT Util
    • MOTD maker
    • GNU screen config
    • VB6 reverse DNS
    • VB6 RichTextBox control
  • About

Fixing vim from macports

David | December 3, 2011

After installing vim from MacPorts I noticed that neither the arrow keys or backspace work as expected.

The solution is simple, create a ~/.vimrc file with the following contents:

set nocompatible
set bs=2

Reload vim and voila, insert mode behaves as I’d expect it to.

Note that you don’t really need to set nocompatible, simply having a .vimrc file in your home directory does this automatically. I’ve left it in to remember the solution in future.

Thanks to the linux-journal blog and the vim tips wiki for the answers.

Comments
No Comments »
Categories
Uncategorized
Tags
macbook, ports
Comments rss Comments rss

dban on a USB stick

David | November 10, 2011

After a number of unsuccessful attempts to get dban on a USB stick using unetbootin, I found the Universal USB Installer instead. This appears to do a better job, making a bootable installation from the latest preview build of dban.

It helps to remove the USB stick after boot, during the “Waiting for USB devices to register” stage. This is an issue with how dban recognises mass storage on some motherboards, rather than a problem with the USB boot. Unfortunately it doesn’t work properly in WINE right now, presumably because it can’t find the right drives.

Further instructions are available on the pendrivelinux.com homepage, but it is simple enough that you wont need them.

Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Updated Eagle library posted

David | February 12, 2011

I have just uploaded the latest version of my Eagle library, containing a bunch of new parts.  These include:

  • Maxim DS1337 RTC
  • RFM12 radio module (with pins)
  • Keystone CR123A battery holder
  • Memsic MXC6202 I2C accelerometer
  • ON Semi CAT6219 500mA LDO regulator
  • Texas Instruments TSL2560 / TSL2561 light-to-digital converter
  • Maxim DS620 Low-Voltage, ±0.5°C Accuracy thermometer

The library can be found on the Electronics page.

Comments
2 Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Categories

  • Computing
  • Electronics
  • General
  • Perl
  • Photography
  • Uncategorized

Archives

  • February 2012
  • December 2011
  • November 2011
  • July 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • November 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009

Links

  • My photo gallery
  • Pookey's site

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox