Cygwin is the full GNU Suite compiled for Microsoft's Windows

http://www.cygwin.com http://cygwinports.dotsrc.org/

Community :

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

MISC

MESSAGE : child_info_fork::abort: data segment start: parent

$ xinit
      1 [main] xinit 5584 child_info_fork::abort: data segment start: parent(0x2
C3000) != child(0x3C3000)
xinit: server error

Debian

ToDo

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

MISC

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

MISC

MORE

cygwin.txt · Last modified: 2022/04/16 12:22 (external edit)
 
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