Liferay Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 27 August 2008

cygwin makes like better

Posted on 11:52 by Unknown
I use cygwin a lot and emacs a lot. As I was recovering my machine, I came across this great list of useful ideas which includes:


Useful Tidbits

1. You may want to disable your virus checker when running the Cygwin installer. Don't forget to re-enable it when you're finished installing.
2. If you are planning on installing CERN's Root, I recommend going to the 3.4.4.3 version. Root 5.14 (or later?) should be immediately compatible with this release. You may have to build the earlier versions from sources.
3. Cygwin doesn't like it if there is a space in your Windows username. If you have a space, do the following after installing Cygwin:
* Edit /etc/passwd (using either emacs, vi, or even Windows Wordpad)
* Find your entry (it will start with your windows username)
* Take the space out of your username (1st entry) and your home directory (2nd to last entry).
* Quit all Cygwin
* Use Windows Explorer to rename your home directory (C:\cygwin\home\cplager in my case)
4. Cygwin doesn't like spaces in directories. To have access to my program files, I created a 'mount point':
cygwin> mount -f -s -b "c:/Program Files" "/mount/programfiles"
You only need to run this command once.
5. To make access easier to my documents and the decktop, I made the following soft links in my home directory
cygwin> ln -s 'C:/Documents and Settings/cplager/Desktop' Desktop
cygwin> ln -s 'C:/Documents and Settings/cplager/My Documents' Documents


I also like to use rxvt instead of the standard console. The command line looks like this: C:\cygwin\bin\rxvt.exe -sl 1500 -fn "Lucida Console-12" -bg black -fg grey -sr -e bash --login -i
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Clojure: lazy seq + database = bad
    In my work on topoged-hibernate I naively thought that it would be great to return a lazy-seq of the results of a query like: However, th...
  • Hexlify in Clojure
    Looking at this gist , I have created functionality similar to EMACS hexlify-buffer. In EMACS, it reads a binary file and presents two views...
  • Archiva startup error
    We started seeing this problem in Archiva: SQL Exception: An SQL data change is not permitted for a read-only connection, user or database. ...
  • LISP Cycles
    I admit it, I like LISP. There are a certain set of programming problems that it handles elegantly. I feel the same about AWK, BASH, SQL a...
  • Wicket and Guice
    Are you sick of XML? I sure am. While I really like Spring Framework, I am sick of all the XML. Writing unit tests is hard enough, but ho...
  • Flex, Spring and BlazeDS: the full stack! (Part 1)
    I've decided that it is time for me to learn a new language and I have decided on Flex. This article looks like a good place to start. ...
  • cygwin makes like better
    I use cygwin a lot and emacs a lot. As I was recovering my machine, I came across this great list of useful ideas which includes: Useful T...
  • Felipe Gaucho's Blog: The name is One, JavaONE !
    I came across a JavaOne posting that has tips fo rthis attending and for getting the most out of JavaOne. Here is a sample. Be sure and go...
  • Chapter�16.�Portlet MVC Framework
    Spring Portlet MVC applies the same principles to portlet development as the the Spring Web MVC framework applies to servlet development. F...
  • Square root of x divided by zero: The speed, size and dependability of programming languages
    A friend of mine sent me this. It is a benchmark of a bunch of languages. Turns out Java 1.4 was not so bad after all. Square root of x d...

Categories

  • 1.3.0
  • abiword
  • apache
  • archiva
  • browser
  • clojure
  • ClojureScript
  • derby
  • exception
  • java
  • javaone
  • javascript
  • jdk
  • jquery
  • lein
  • Liferay
  • page background
  • patterns
  • swank
  • watermrk

Blog Archive

  • ►  2013 (3)
    • ►  November (1)
    • ►  July (1)
    • ►  May (1)
  • ►  2012 (5)
    • ►  December (3)
    • ►  February (1)
    • ►  January (1)
  • ►  2011 (5)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (6)
    • ►  September (6)
  • ►  2009 (10)
    • ►  July (2)
    • ►  June (1)
    • ►  April (5)
    • ►  March (1)
    • ►  January (1)
  • ▼  2008 (23)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ▼  August (1)
      • cygwin makes like better
    • ►  July (2)
    • ►  June (3)
    • ►  May (6)
    • ►  April (4)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2007 (45)
    • ►  December (7)
    • ►  October (5)
    • ►  September (1)
    • ►  August (4)
    • ►  June (3)
    • ►  May (15)
    • ►  April (7)
    • ►  March (3)
Powered by Blogger.

About Me

Unknown
View my complete profile