Log in / create account Page Discussion Edit History Go to the site toolbox

CygwinTips

From BluWiki

(Edit This Page)

Contents

[edit] Cygwin Tips

[edit] CygWin is...

...a Unix shell and tools for Windows XP (or Win2k, Win98, WinME etc.)

[edit] FAQ: How do I just get everything?

[edit] Don't want everything

To Look-up the package for a missing file you would like to install

[edit] Where is apt-get for cygwin

[edit] Known Issues

[edit] Lose the DOS-BOX...

[edit] PuTTYCyg

  • (I have started using PuTTYcyg more than rxvt)
  • PuTTYCyg - Another XTerm workalike. This is a version of Putty capable of running Cygwin bash without sshd OR an X-Server
    • puttycyg - http://gecko.gc.maricopa.edu/%7Emedgar/puttycyg/
      • Download putty first. Then download and unpack PuTTYCyg into the same folder as your PuTTY executables to get it to work
      • Example: Create saved session "PuttyCygwin" with Connection Type of Cygwin and a Short Cut to:
 "C:\Program Files\PuTTY\putty.exe" -load PuttyCygwin 

[edit] rxvt

  • http://www.khngai.com/emacs/bash.php
    • It Suggests : D:\Programs\Cygwin\bin\rxvt.exe -sl 500 -fn courier -bg wheat -sr -title "Bash Sailor" -e bash --rcfile C:\documents\config\.bashrc
    • I Use : C:\cygwin\bin\rxvt.exe -g 124x48 -e /bin/bash
    • 20000 Lines of Scroll Back : C:\cygwin\bin\rxvt.exe -sl 20000 -g 124x45 -e /bin/bash
    • More Options http://www.nmt.edu/tcc/swinv/rxvt/2.6.PRE1/man/rxvt.1.html
  • No X-Server Required, the cygwin rxvt will use MS Windows to fake it if you don't have an X-Server
    • Left-Drag will Mark and Copy
    • Shift-Insert or Shift-Leftclick or Middleclick (for three button mouse) will Paste (Shift-Insert is old-stile MS Windows key for paste - copying, cutting and pasting text - Ctrl+Insert, Shift+Delete and Shift+Insert)
      • If you want Rightclick to also Paste with your two-button mouse (like putty): Download a Windows Mouse Driver that allows Per-Application event-mapping (i.e. mouse-click mapping) and map Rightclick to Shift-Insert for application rxvt.exe. I downloaded the driver for my microsoft wheel mouse from microsoft.com and use the control panel to configure it... it worked great. - http://www.microsoft.com/hardware/mouse/download.asp


[edit] MinTTY - Built into Cygwin

[edit] Cygwin X Window Server

[edit] Where can I find lsof for Windows / Win32?

Combine these . . .

[edit] Where is mail or mailx ?

[edit] sshd - The Secure SHell Deamon

  • The CYGWIN environment variable (set it to "binmode ntsec tty")
  • http://www.google.com/search?query
  • Old versions of cygwin needed you to create an entry for root in the /etc/passwd
  • sshd (server side) config files - /etc/hosts.allow /etc/hosts.deny /etc/hosts.equiv /etc/moduli /etc/motd /etc/nologin /etc/primes /etc/shosts.equiv /etc/ssh_host_dsa_key /etc/ssh_host_key /etc/ssh_host_rsa_key /etc/ssh_known_hosts /etc/ssh_known_hosts2 /etc/sshd_config /etc/sshrc
  • ssh (client side) debugging - ssh -v -v -v -v -l username hostname

[edit] Cygwin Built-ins...

...make your bash shell a happy place

[edit] Windows NT and XP...

...have many handy utilities that can be used through the command line

[edit] Cygwin Rosetta Stone

Cygwin Rosetta Stone

hahaha testing

[edit] Other Handy Cygwin Ports

[edit] Not Cygwin

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified on 1 July 2010, at 15:58. - This page has been accessed 11,724 times.
Disclaimers - About BluWiki