Difference: CygwinNotes (1 vs. 11)

Revision 1130 Aug 2011 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.
Line: 30 to 30
  http://en.poderosa.org/index.html is a tabbed terminal emulator that supports cygwin.
Changed:
<
<
GNOME makes it easy to change the caps lock key so that it works as another ctrl key, which is great if you're an emacs user. Here's a blog entry that shows how to do this in Windows: http://www.arunrocks.com/blog/archives/2008/02/20/5-indespensible-tips-for-emacs-on-windows/
>
>
GNOME makes it easy to change the caps lock key so that it works as another ctrl key, which is great if you're an emacs user. Here's a blog entry that shows how to do this in Windows: http://www.arunrocks.com/blog/archives/2008/02/20/5-indespensible-tips-for-emacs-on-windows/ . Here's an article that has a zip file with some registry modification files that make it easy to apply: http://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/
 
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .bashrc" date="1166736531" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .inputrc" date="1166736531" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"

Revision 1021 Feb 2008 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.
Line: 30 to 30
  http://en.poderosa.org/index.html is a tabbed terminal emulator that supports cygwin.
Added:
>
>
GNOME makes it easy to change the caps lock key so that it works as another ctrl key, which is great if you're an emacs user. Here's a blog entry that shows how to do this in Windows: http://www.arunrocks.com/blog/archives/2008/02/20/5-indespensible-tips-for-emacs-on-windows/
 
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .bashrc" date="1166736531" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .inputrc" date="1166736531" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"

Revision 917 Aug 2007 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.
Line: 28 to 28
  Cygwin doesn't have a /etc/fstab - its mount points are stored in the Windows registry. See http://cygwin.com/cygwin-ug-net/using.html#mount-table
Added:
>
>
http://en.poderosa.org/index.html is a tabbed terminal emulator that supports cygwin.
 
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .bashrc" date="1166736531" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .inputrc" date="1166736531" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"
META TOPICMOVED by="guest" date="1079376875" from="Tech.CygwinTips" to="Tech.CygwinNotes"

Revision 813 Feb 2007 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
Deleted:
<
<
 Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

http://www.cygwin.com/

Line: 27 to 26
  For a more in-depth treatment of backspace and delete see http://www.tldp.org/HOWTO/BackspaceDelete/.
Changed:
<
<
META FILEATTACHMENT attr="" comment="example cygwin .bashrc" date="1079371626" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" comment="example cygwin .inputrc" date="1079371686" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"
>
>
Cygwin doesn't have a /etc/fstab - its mount points are stored in the Windows registry. See http://cygwin.com/cygwin-ug-net/using.html#mount-table

META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .bashrc" date="1166736531" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" autoattached="1" comment="example cygwin .inputrc" date="1166736531" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"
 
META TOPICMOVED by="guest" date="1079376875" from="Tech.CygwinTips" to="Tech.CygwinNotes"

Revision 715 Mar 2004 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"

Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Line: 29 to 29
 
META FILEATTACHMENT attr="" comment="example cygwin .bashrc" date="1079371626" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" comment="example cygwin .inputrc" date="1079371686" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"
Added:
>
>
META TOPICMOVED by="guest" date="1079376875" from="Tech.CygwinTips" to="Tech.CygwinNotes"

Revision 615 Mar 2004 - TobyCabot

Line: 1 to 1
Changed:
<
<
(back to ProgrammingNotes)
>
>
META TOPICPARENT name="ProgrammingNotes"
  Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Revision 515 Mar 2004 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Line: 17 to 17
  this opens a white-on-black bash login shell.
Changed:
<
<
-- TobyCabot - 27 Jan 2003 - 07 Apr 2003
>
>
Cygwin's rxvt seems to use ^H as the backspace character which seems to disagree with most Linux custom and practice, so it's a good idea to stty erase ^? in your .bashrc. Then backspace will work in bash and emacs.

http://www.khngai.com/emacs/bash.php - this page explains how to set up rxvt so that the delete key works as expected and so the "home" and "end" keys go to the beginning and end of the command line.

For a more in-depth treatment of backspace and delete see http://www.tldp.org/HOWTO/BackspaceDelete/.

META FILEATTACHMENT attr="" comment="example cygwin .bashrc" date="1079371626" name="bashrc-cygwin" path="bashrc-cygwin" size="1034" user="tobyc" version="1.1"
META FILEATTACHMENT attr="" comment="example cygwin .inputrc" date="1079371686" name="inputrc-cygwin" path="inputrc-cygwin" size="110" user="tobyc" version="1.1"

Revision 417 Feb 2004 - TWikiGuest

Line: 1 to 1
Changed:
<
<
(back to ProgrammingTips)
>
>
(back to ProgrammingNotes)
  Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Revision 307 Apr 2003 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)

Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Line: 13 to 13
  rxvt can run both as a Windows program and as an X program, depending on where you run it from. You can make an icon for it by dragging the executable c:\cygwin\bin\rxvt.exe onto the little tray next to the Start menu. A useful set of properties for the "Target" field is
Changed:
<
<
C:\cygwin\bin\rxvt.exe --loginShell -bg black -fg white -e /bin/bash --login
>
>
C:\cygwin\bin\rxvt.exe --loginShell -bg black -fg white -sl 1000 -e /bin/bash --login
  this opens a white-on-black bash login shell.

Revision 207 Apr 2003 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)

Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

Line: 11 to 11
  C:\cygwin\usr\X11R6\bin\startxwin.bat is a good way to start X. I hacked it to run rxvt instead of xterm - it seems to be more consistent with the terminals that I use on unix machines. There appear to be two solutions to cutting and pasting back and forth - download xwinclip and run it in startxwin.bat or add the -clipboard command-line parameter to X. I've used the command-line xwinclip but not the X feature.
Changed:
<
<
-- TobyCabot - 27 Jan 2003
>
>
rxvt can run both as a Windows program and as an X program, depending on where you run it from. You can make an icon for it by dragging the executable c:\cygwin\bin\rxvt.exe onto the little tray next to the Start menu. A useful set of properties for the "Target" field is

C:\cygwin\bin\rxvt.exe --loginShell -bg black -fg white -e /bin/bash --login

this opens a white-on-black bash login shell.

-- TobyCabot - 27 Jan 2003 - 07 Apr 2003

Revision 127 Jan 2003 - TobyCabot

Line: 1 to 1
Added:
>
>
(back to ProgrammingTips)

Cygwin is a unix emulation environment for Windows. If you must use a Windows machine to write code then Cygwin will help.

http://www.cygwin.com/

After installing Cygwin, you'll want to set up logins and passwords. You can use mkpasswd and mkgroup for this purpose, and take a look at the -d flag if you're running in a Windows domain.

See also http://xfree86.cygwin.com/ if you're planning on running X with Cygwin. You can run X in either single-window mode (with X inside one big Windows window) or multi-window mode where there is no X root window and X windows "float" along with Windows windows.

C:\cygwin\usr\X11R6\bin\startxwin.bat is a good way to start X. I hacked it to run rxvt instead of xterm - it seems to be more consistent with the terminals that I use on unix machines. There appear to be two solutions to cutting and pasting back and forth - download xwinclip and run it in startxwin.bat or add the -clipboard command-line parameter to X. I've used the command-line xwinclip but not the X feature.

-- TobyCabot - 27 Jan 2003

View topic | History: r11 < r10 < r9 < r8 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback