Annotated edit history of
CygwinNotes version 2 showing authors affecting page license.
View with all changes included.
| Rev |
Author |
# |
Line |
| 1 |
JamesSpooner |
1 |
If you must, or prefer to use Windows, here's a few tips to get decent unix integration with [Cygwin]. |
| |
|
2 |
|
| |
|
3 |
|
| |
|
4 |
!!Shell: |
| |
|
5 |
|
| |
|
6 |
The standard Cygwin shell is a bit boring, I prefer using the native Win32 rxvt as follows. |
| |
|
7 |
|
| |
|
8 |
Create a shortcut with: |
| |
|
9 |
|
| |
|
10 |
<pre> |
| |
|
11 |
C:\cygwin\bin\rxvt.exe -sl 10000 -fn 14 -fg '#F8F8F8' -bg black -e /bin/bash -l |
| |
|
12 |
</pre> |
| |
|
13 |
|
| |
|
14 |
This will give you 10000 lines of scrollback, grey on black and a decent shell setup properly. |
| |
|
15 |
|
| |
|
16 |
!!UTF-8: |
| |
|
17 |
|
| |
|
18 |
Good question, I don't know how to use this without using the X (non native windows) version of RXVT. |
| |
|
19 |
|
| |
|
20 |
|
| |
|
21 |
!!SSH: |
| |
|
22 |
|
| |
|
23 |
Just use the openssh install, down with putty and it's confusing setting dialog and funny fonts. |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
!!X Server: |
| |
|
27 |
|
| |
|
28 |
[Xming|http://sourceforge.net/projects/xming] is a nicer version of the X server that comes with cygwin, it's free and integrates nicely with the systray etc. |
| |
|
29 |
|
| |
|
30 |
The key I found when using Cygwin SSH X-Forwarding, is that it will try to use a unix socket, if the DISPLAY variable doesn't have a hostname in it. |
| |
|
31 |
|
| |
|
32 |
The fix is simple: |
| |
|
33 |
<start Xming> |
| |
|
34 |
|
| |
|
35 |
<pre> |
| |
|
36 |
DISPLAY=localhost:0 ssh -X some.server.org |
| |
|
37 |
</pre> |
| |
|
38 |
|
| |
|
39 |
If you don't, it'll fail with something like: |
| |
|
40 |
|
| |
|
41 |
<pre> |
| |
|
42 |
~[you@someserver~~~]$ xeyes |
| |
|
43 |
connect /tmp/.X11-unix/X0: Connection refused |
| |
|
44 |
X connection to localhost:10.0 broken (explicit kill or server shutdown). |
| |
|
45 |
</pre> |
| |
|
46 |
|
| |
|
47 |
!!Apt-get: |
| |
|
48 |
|
| |
|
49 |
There are a couple of tools to do this, cyg-apt and apt-cyg. Both have different bugs and seem to be relatively unmaintained .. shame. |