1.   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

 

 

2.   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.

 

 

3.   Emacs and Cygwin

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

 

 

4.   clipboard

enable copy-n-paste

 

 

5.   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

 

6.   zsh z-shell as alternative to rxvt

cygwin notes, plus z-shell perspective

 

7.   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

 

7.1   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>

 

 

8.   Screen

a terminal multiplexer and window manager that runs several separate ‘screens’ on a single physical character-based terminal.

The package ‘screen’ is now available in the Cygwin distribution. - mailing list announcement, plus usage details

 

Bill Clementsen (of course) has something to say about Emacs and Screen, as well.

 

Emacs and Screen - see comments for work-around on the C-a issue

 

add the following to ~/.screenrc (in your $HOME dir)

escape ^pp

 

Now Ctrl-p is the escape key and screen and emacs lives happily for ever.

 

 

Except now I’m not getting F1..F4 sent over. F5 works. haven’t checked the others. hrm....
the terminal is treating them as escape codes??
something to do with TERMCAP

 

unset TERMCAP does remove the definition, but the problem persists.

 

manually changing TERM=xterm seems to help....

 

Giorgos Keramidas’ Emacs config keys mentions problems with screen....

 

 

9.   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

 

10.    See Also

Emacs
Linux
Shell

 

 

11.    Category tags

Programming Unix Productivity Shell Emacs


 

12.   Comments

No comments yet.

 

 

13.   Add Comment

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