Linux-like tools and environment for Win32

http://www.physionet.org/physiotools/cygwin/
Wikipedia:Cygwin
http://x.cygwin.com/
http://www.cygwin.com/
a CygWin FAQ, and another Cygwin FAQ
using Perl with Cygwin
Stack Overflow: resources for becoming a Cygwin “power user”?

 

MinTTY is a more windows-friendly interface

 

Installation and setup

Run http://www.cygwin.com/setup.exe any time you want to update or install a Cygwin package.

 

I’ve been getting a lot of updates (?) every time, even when all I want is one small package.

 

Note that, when installing packages for the first time, setup.exe does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default. Clicking on categories and packages in the setup.exe package installation screen will provide you with the ability to control what is installed or updated. Clicking on the “Default” field next to the “All” category will provide you with the opportunity to install every Cygwin package. Be advised that this will download and install hundreds of megabytes to your computer. The best plan is probably to click on individual categories and install either entire categories or packages from the categories themselves.

 

execute /usr/bin/makewhatis to allow the apropos command to work (source)

 

my .baschrc

Okay, there’s not much there, there. And possibly even bad practices....

 

export TERM=xterm
export PATH=.:$PATH
PS1=$
pwd

 

 

Emacs and Cygwin

EmacsWiki:NTEmacsWithCygwin
EmacsWiki:setup-cygwin.el
Steve Yegges doc-emacs file - scroll down for cygwin notes
WebSailor on Emacs and Cygwin

 

 

clipboard

enable copy-n-paste

 

 

rxvt

http://www.soe.ucsc.edu/~you/notes/cygwin-install.html#mozTocId333576
some rxvt shortcut notes
lots of rxvt notes
c2 on Cygwin terminals, like rxvt
Xdefaults info
colors for shells

 

rxvt and the windows clipboard, more notes

 

 

zsh z-shell as alternative to rxvt

cygwin notes, plus z-shell perspective

 

 

Putty or Mintty

http://stackoverflow.com/questions/1943288/use-putty-as-a-local-terminal-emulator

 

 

ssh

works from standard bash shell, but terminal send/response can be wonky. pine on server2.cs.uof is wonky; from an x-server window bash prompt works just fine

 

using rxvt with export TERM=xterm in .bashrc - emacs (F-keys), pine, etc all work and display fine

 

ssh login issue

solving pesky ssh issues in cygwin

 

First locate the file called ‘passwd’ in your C:\path\to\cygwin\etc directory and edit it

 

Second, replace the text
/home/<YOUR_NAME>
with
/cygdrive/c/Documents and Settings/<YOUR_NAME>

 

 

Screen

see GnuScreen

 

Perl and Cygwin

had to add Wild.pm to c:/cygwin/lib/Perl5/5.10/i686-cygwin/
see example contents

 

General thing tips

ten command-line one-liners - these are Linux specific, but most work in cygwin’s shells, as well

 

 

Uninstalling Cygwin

Cygwin does not have an automatic uninstall capability. To uninstall Cygwin, perform the following manual steps.

 

  1. Delete the Cygwin shortcuts on the Desktop and Start Menu.
  2. Delete the registry node Software\Cygnus Solutions under HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER.
  3. Delete the Cygwin directory (typically C:\cygwin).
  4. Delete any files created in the setup temporary directory.
  5. Delete C:\cygwin\bin from the PATH environment variable if you have it.

 

http://digifer.com/blog/?page_id=8

 

See Also

Emacs
Linux?
Shell

 

 

Category tags

Programming Unix Productivity Shell Emacs


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: