Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cygwin [2018/07/31 17:31]
cygwin [2022/04/16 12:22] (current)
Line 1: Line 1:
 +Cygwin is the full [[GNU]] Suite compiled for [[Microsoft]]'s [[Windows]]
 +
 +http://www.cygwin.com http://cygwinports.dotsrc.org/
 +
 +[[Community]] :
 +  * [[IRC]] : irc://irc.freenode.net/#cygwin
 +  * [[EMail]] :
 +
 +===== INSTALL =====
 +
 +http://cygwin.com/setup.exe
 +
 +Select / InstalL wget (not curl)
 +
 +Open ShelL :
 +
 + 
 +   cd /usr/local/bin && wget -c http://cygwin.com/setup.exe && chmod a+rx *.exe
 +
 +   url=https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
 +   cd /usr/local/bin && wget -c $url && chmod a+rx apt-cyg
 +   
 +   apt-cyg install wget screen psmisc progps-ng
 +    
 +   screen
 +   apt-cyg install wget xinit 
 +   startxwin || startxwin -- -nolock # FAT32 workaround
 +   apt-cyg install mc rsync autossh git-svn emacs xemacs p7zip openssh git
 +
 +   ln -fs /cygdrive /mnt
 +
 +
 +@tag: [[install]] WindowS GnU SoftWare
 +
 +
 +=== Win Xp ===
 +
 +  * https://superuser.com/questions/1132000/is-it-still-possible-to-get-cygwin-for-xp
 +  * http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/setup/snapshots/setup-x86-2.874.exe
 +
 +===== MISC =====
 +
 +  * ftp://www.fruitbat.org/pub/cygwin/circa/index.html
 +
 +
 +==== MESSAGE : child_info_fork::abort: data segment start: parent ====
 +
 +<code>
 +$ xinit
 +      1 [main] xinit 5584 child_info_fork::abort: data segment start: parent(0x2
 +C3000) != child(0x3C3000)
 +xinit: server error
 +</code>
 +
 +==== Debian ====
 +
 +  * ITA: geoip http://bugs.debian.org/411676
 +  * ITA: gnome-libs http://bugs.debian.org/369130
 +  * ITP: chkconfig http://bugs.debian.org/475361
 +  * RFA: t1lib http://bugs.debian.org/430611
 +
 +
 +==== ToDo ====
 +
 +  * https://sourceforge.net/tracker/?func=detail&atid=537004&aid=1792232&group_id=73177# [[Python]] 
 +  * https://sourceforge.net/tracker/?func=detail&atid=537001&aid=1189752&group_id=73177
 +  * http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-mode-changes-chmod# [[git]]
 +  * automatic : ash /usr/bin/rebaseall -v # http://www.heikkitoivonen.net/blog/2008/11/26/cygwin-upgrades-and-rebaseall/
 +  * apt-cyg
 +
 +
 +http://lists-archives.org/git/717906-git-svn-on-cygwin-1-7-git-svn-rebase-b0rks-index-if-not-run-from-top-level-directory.html
 +
 +http://cygwin.com/ml/cygwin/2002-04/msg01021.html
 +
 +
 +==== SMB ====
 +
 +
 +Problem:
 +
 +
 + stat README.txt 
 +  File: `README.txt'
 +  Size: 38794           Blocks: 1024       IO Block: 65536  regular file
 +  Device: 2789092ah/663292202d    Inode: 8817574084799  Links: 1
 +  Access: (0755/-rwxr-xr-x)  Uid: (4294967295/????????)   Gid: (4294967295/????????)
 +  Access: 2011-08-01 10:23:48.000000000 +0200
 +  Modify: 2011-08-01 10:23:38.000000000 +0200
 +  Change: 2011-08-01 10:23:38.000000000 +0200
 +  Birth: 2011-08-01 10:23:38.000000000 +0200
 +
 +
 +Solution? :
 +
 +  mkpasswd -h
 +  mkpasswd -d -u $USER --path-to-home=/cygdrive/c/Users >> /etc/passwd
 +
 +
 +
 +
 +Misc:
 +
 +  * http://cygwin.com/cygwin-ug-net/using.html#mount-table # [[smb]]
 +  * http://www.cygwin.com/cygwin-ug-net/ntsec.html# [[mount]]
 +  * http://ptolemy.berkeley.edu/ptolemyII/ptII4.0/cygwin.htm
 +
 +
 +http://cygwin.com/cygwin-ug-net/using-utils.html getfacl  mount
 +
 +http://sinewalker.wordpress.com/2006/10/27/cygwin-users-and-groups/
 +
 +  net use n: "\\\\192.168.2.54\\maemo" maemo /USER:maemo@192.168.2.54
 +  System error 1219 has occurred.
 +
 +==== MESSAGES ====
 +
 +  * STATUS_ACCESS_VIOLATION http://www.mail-archive.com/cygwin-xfree@cygwin.com/msg20643.html
 +
 +
 +
 +==== MISC ====
 +
 +  * http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permissions-in-windows-vista/# [[chown]]
 +  * http://old.nabble.com/Manage-Cygwin-packages-in-command-line-(without-using-graphical-Setup.exe)-td21509250.html
 +  * http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli
 +  * http://stephenjungels.com/jungels.net/projects/apt-cyg/
 +
 +
 +==== [[RzR]] ====
 +
 +@ http://cygwin.com/ml/cygwin/2005-03/msg00384.html
 +
 +
 +How comes is it impossible to write a STATIC lib using [[MSVC]]'s .LIB
 +format ? while .DLL are possible ?
 +
 +Well actually it works for [[C]] objects (just ar cru lib${PACKAGE}.lib)
 +
 +no sure about [[C++]] ones (see [[nm]])
 +
 +Or at least to transcribe from [[GCC]]'s .a format ?
 +
 +Anyway if it possible or not this should be somewhere in the FAQ.
 +
 +[[Community]] : http://bugzilla.maptools.org/show_bug.cgi?id=1114
 +
 +==== [[GNU]] not [[Windows]] ====
 +
 +To Download / full cygwin on a [[GNU]] system (over 500Mb)
 +  mkdir -p ~/tmp/cygwin && cd ~/tmp/cygwin
 +  wget -r -l0 --no-parent http://planetmirror.com/pub/sourceware/cygwin
 +
 +Then install :
 +  mkdir -p /mnt/c/cygwin &&  cd /mnt/c/cygwin
 +  find ~/tmp/cygwin -name "*.tar.bz2" -exec tar xfjv {} \;
 +  #use -maxdepth 1  for norecursive
 +
 +
 +===[[Shell]]===
 +
 +http://www.cygwin.com
 +
 +  file://~/.inputrc
 +  "\e[[2~": paste-from-clipboard
 +
 +warning sometimes the .dll are not found even if there are in this Path's folders make sure it is the real .dll and not links (.lnk) because this wont work , cyou can workaround this by copying .dll in /usr/local/bin/
 +
 +http://kde-cygwin.sf.net/
 +
 +  /opt/kde3/bin/umbrello.exe
 +  cygqt-mt-3.dll
 +
 +
 +I get an error message
 +  "*** unable to remap ... to same address as parent"
 +What could I do ?
 +  # ash
 +  # /bin/rebaseall [[-v]]
 +
 +QT GPL on Windows http://ariya.pandu.org/blog/archives/monthly/2003-11.html
 +
 +Add unix's 3rd button
 +
 +  run XWin -multiwindow -clipboard -emulate3buttons
 +
 +
 +===INTEROP===
 +
 +[[MSVC]] nmake bug
 +
 +
 +===BUG (or rather regressed functionality)===
 +
 +The way Cygwin performs access control checks seems to have changed over the past year or two, this seems to cause problems when used with smbntsec.
 +Whereas it used to stat a file, call get_nt_attribute, and presumably calculate permissions itself using the mapped uid and gid, it now calls the win32 function AccessCheck using the process token. This is fine for the local machine or another machine on the domain, but doesn't work for machines with a "workgroup" type relationship using network shares. Previously this sort of functionality could be made to work by filling in the additional SIDs/UIDs in /etc/passwd.
 +
 +As a result of this 'test' gives misleading results and 'rm' complains it can't delete a file you've just created. So for example athough ls -l will show the executable bits set for a file, test -x will fail because of the failed AccessCheck.
 +
 +I am using version 1.5.9 of cygwin.
 +
 +
 +=== bug ===
 +
 +"Fichier caché non remis à zéro"
 +
 + attrib -s -h -r C:\WINDOWS\SYSTEM32\cygwin1.dll
 +
 +===== SERVICE =====
 +
 +  * http://www.noah.org/ssh/cygwin-sshd.html
 +  * https://docs.oracle.com/cd/E24628_01/install.121/e22624/preinstall_req_cygwin_ssh.htm#EMBSC281
 +  * http://cygwin.com/ml/cygwin/2003-09/msg01802.html
 +
 +
 +
 +===== MISC =====
 +
 +  * http://serverfault.com/questions/324109/raw-copy-with-sector-precision-on-windows# 
 +
 +  dd of=//./g:
 +
 +  * http://gmgsystemsinc.com/fau/
 +  * https://github.com/ntmoe/CygwinPortable#
 +
 +
 +
 +===== MORE =====
 +
 +@TaG: [[GNU]] [[Software]] [[Windows]] [[MSVC]] [[GCC]]
 +
 +  * Mirrors : http://www.fruitbat.org/Cygwin/#cygwintimemachine
 +
 +{{http://dessent.net/tmp/cyghippo.jpg}}
 +
 +{{http://4.mshcdn.com/wp-content/gallery/top-10/abl5v.gif}}
  
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki