Re: 1.5.25: bug in touch statement
Toby Allsopp navman.co.nz> writes: > > On Mon, Mar 28 2011, andre wrote: > > > Hi, > > > > I can't do on cygwin 1.5.25 : > > $ touch -t 201103270200 file > > touch: format de date invalide `201103270200' > > > > nor this equivalent : $touch -t 03270200 file > > > > It's very surprising , but ... > > If I change 27 for 28 it's OK - idem if i change 2011 by 2010... > > I would guess this has something to do with the transition to daylight > saving time, which happened at 0200 on 2011-03-27. This means that the > time you are specifying didn't ever exist (in your local time zone) > because 0200 became 0300. > > Perhaps you can get what you want by specifying the time in UTC? > > Regards, > Toby. > > I've found an interesting behaviour with this command on my Windows 7 64bits system. It seems that there is a bug, or the we should change the documentation... But I can get around with the following date/time format: MMddhhmmyy where MM: Month (01-12) dd: day (01-31) hh: hours (00-23) mm: minutes (00-59) yy: 2 digit year yy is interesting. 00 to 37 yields 2000 to 2037. 70 to 99 yields 1970 to 1999. 38 to 69 leaves the date unchanged, even for new correct time, day or month. hh has another twist. It will change time an hour MORE than what specified on the command line. If you want the file date to be 9AM, you enter 08. Another twist, if you specify 1231235511, the file date will be 2012 dec 31, 00h55, an hour later than the one specified. Philippe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.5.25: bug in touch statement
Philippe gmail.com> writes: > I've found an interesting behaviour with this command on my Windows 7 64bits > system. It seems that there is a bug, or that we should change the > documentation... But I can get around with the following date/time format: > > MMddhhmmyy > > where > > MM: Month (01-12) > dd: day (01-31) > hh: hours (00-23) > mm: minutes (00-59) > yy: 2 digit year > > yy is interesting. 00 to 37 yields 2000 to 2037. 70 to 99 yields 1970 to > 1999. 38 to 69 leaves the date unchanged, even for new correct time, day or > month. > > hh has another twist. It will change time an hour MORE than what specified on > the command line. If you want the file date to be 9AM, you enter 08. Another > twist, if you specify 1231235511, the file date will be 2012 dec 31, 00h55, an > hour later than the one specified. > > Philippe > > Sorry, little mistake. On my previous post, your should read: "Another twist, if you specify 1231235511, the file date will be 2012 jan 01, 00h55, an hour later than the one specified." -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
configure rxvt on cygwin 1.7.5
Hi, after upgrading cygwin, I fail to customize my rxvt terminal. I've changed the files - /cygwin.bat to replace basic console by rxvt with the line rxvt -fn "-*-Courier-medium-r-*-18-*-*-*-*-iso8859-1" -geometry 80x30 -sr -bg "#d5" -fg "black" -sl 2000 -termName xterm -e /usr/bin/bash --login -i - ~/.Xdefault with Rxvt*geometry: 80x30 Rxvt*background: #d5 Rxvt*foreground: black Rxvt*scrollBar: True Rxvt*scrollBar_right: True Rxvt*font: -*-Courier-medium-r-*-18-*-*-*-*-iso8859-1 Rxvt*SaveLines: 2000 - ~/.bashrc with my aliases - and 've added /etc/bashrc with my promt definition : PS1='\e[0m\][\e[32m\]\u\e[0...@\e[31m\]\h\e[0m\]\e[0m\]]\e[34m\]\w\e[0m\]>\n$ ' this last definition seems to be ignored anyway ... so where should i place the /etc/bashrc Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Csaba Raduly a écrit : > On Tue, Jul 6, 2010 at 11:22 PM, philippe wrote: >> so where should i place the /etc/bashrc > > In the file /etc/bash.bashrc the change bashrc->basch.barchrc doesn't solve the problem. Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Andy Koppe a écrit : > > Setting termName to "xterm" in rxvt is a bad idea, because the two > terminals diverge in various ways, for example regarding keycodes for > modifier key combinations. Better stick with TERM=rxvt. ok > > Have a look at > http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files > to see which files are being sourced when bash is invoked with > --login. I've together the contains of /etc/bashrc and ~/.bash into a single file ~/.profile and now it's ok for my prompt and aliases ! But I've still some problems with special characters (é à ç ...), how can I change default encoding to avoid errors like below : [phili...@port78]~/Documents> $ ls cl* clé avast.txt [phili...@port78]~/Documents> $ ls clé* ls: cannot access clé*: No such file or directory Thank's, Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Jeremy Bopp a écrit : > [...] However, if rxvt used to work for you under Cygwin 1.5, you might be > able to make it happy again by changing your LANG setting to LANG=C. No, i don't know where to modify this option LANG :-) > I highly recommend mintty. ok, mintty is distributed with cygwin and seems to be a nice terminal. I've search a little about mintty configuration, i understand that i've to move ~/.profile to ~/.minttyrc, but it's not sufficient to traduce in a "mintty syntax" my ~/.Xdefault or the command below : rxvt -fn "-*-Courier-medium-r-*-18-*-*-*-*-iso8859-1" -geometry 90x30 -sr -bg "#d5" -fg "black" -sl 8000 -termName rxvt -e /usr/bin/bash --login -i Do you know a good tutorial to configure mintty or can you help me! Thank's, Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Andy Koppe a écrit : > On 9 July 2010 00:01 lemkemch wrote: >> If you want to continue with rxvt and want to keep it as close >> as possible to the old behavior set >> >> export LANG=C.ISO-8859-1 >> export LC_TIME=C >> >> in .profile this change modify only output display. > > Setting LANG in .profile is too late for bash itself, because that > will continue to operate in C.UTF-8. That will cause trouble when > entering non-ASCII characters on the command line, for example, try > typing an ä or â. that's exactly what appends. > > Therefore you need to set it before bash is invoked, for example in > cygwin.bat if that's where you're invoking rxvt from. adding export LANG=C.ISO-8859-1 export LC_TIME=C in Cygwin.bat has no effect. Philippe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Csaba Raduly a écrit : > > That's because you need to translate them from bash syntax to cmd.exe syntax: > > set LANG=C.ISO-8859-1 > set LC_CTIME=C OK, it was so simple :-) Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Andy Koppe a écrit : >> >> For your -e option, simply run mintty with a single "-" as the only >> option, i.e. "mintty -". That will tell mintty to run an interactive >> login shell for your user as specified in /etc/passwd. if i add in the Cygwin.bat the line mintty -t myminty - mintty is launched with the good configuration at startup but there is an additional cmd window which doesn't close after the mintty is launched (but i can close it mnually). > > Good advice. Also, it's easiest just to invoke mintty from the start > menu shortcut in the Cygwin folder that's created when mintty is > installed. That already has that '-' argument. just a remark : after the standard cygwin installation I've a single short cut to Cygwin.bat in the start menu cygwin folder nothing else ...??? Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: configure rxvt on cygwin 1.7.5
Andy Koppe a écrit : > > If you invoke it from there, you'll need to precede it with the 'start' > command: > > start mintty -t myminty - OK, thank's for all, Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug in libX11 or something near ?
Hello Cygwin list ! I'm using Cygwin/X and identified a critical bug using some piece of software. I don't really know where to begin, but I'm able to crash some applications via the application's menu, only with Cygwin/X (no crash with Xming, and no crash under any Linux distributions). For information, It goes through VirtualGL. I'll give the example on how to reproduce it with a free software : Paraview (under linux). So you open Paraview, then clic on "View" > show the "Toolbars" submenu, then you move your mouse directly on the "Sources" or "Edit" menu, then it crashes immediately. The only error message in the linux shell (from where it was launched) is "paraview: Fatal IO error: client killed". I got those lines in the XWin.0.log file : SetupSysMenu: GetSystemMenu() failed for HWND 0x130746 winTopLevelWindowProc - WM_DESTROY - WM_WM_KILL I'm on the last available libX11, libxcb1 etc . If you have any idea, thanks :) Philippe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Bug in libX11 or something near ?
Hi Jon, glad to view an answer ! Just for your information, since I posted, I did some others tests, and I can reproduce it with k3b (which use qt4) but NOT with kcalc (which use qt5). Then I tried some little python tests from Envisage for qt5 and wasn't able to reproduce this crash. So I guess there's something wrong with qt4. Tomorrow I'll try your snapshot to confirm or not your fix ! Thanks for your time. On Sun, Jun 23, 2019 at 7:57 PM Jon Turney wrote: > On 18/06/2019 17:07, Philippe wrote: > > I'm using Cygwin/X and identified a critical bug using some piece of > > software. > > I don't really know where to begin, but I'm able to crash some > applications > > via the application's menu, only with Cygwin/X (no crash with Xming, and > no > > crash under any Linux distributions). > > > > For information, It goes through VirtualGL. I'll give the example on how > to > > reproduce it with a free software : Paraview (under linux). > > > > So you open Paraview, then clic on "View" > show the "Toolbars" submenu, > > then you move your mouse directly on the "Sources" or "Edit" menu, then > it > > crashes immediately. The only error message in the linux shell (from > where > > it was launched) is "paraview: Fatal IO error: client killed". > > > > I got those lines in the XWin.0.log file : > > SetupSysMenu: GetSystemMenu() failed for HWND 0x130746 > > winTopLevelWindowProc - WM_DESTROY - WM_WM_KILL > > Thanks for reporting this problem, and the clear reproduction steps. > > This is an interesting bug in the Cygwin X server's multiwindow mode. It > seems that under some circumstances, when removing a WM_TRANSIENT_FOR > window which in turn had a child WM_TRANSIENT_FOR window (e.g. a menu > which has a sub-menu), the X server's integrated WM would get confused > and think that the main window had been closed (so terminating the > application). > > I've has a go at fixing this and uploaded a snapshot at [1]. Perhaps > you could try that and see if it improves things for you? > > (I guessed you are using 64-bit Cygwin. If you need a 32-bit build > instead, please let me know and I'll generate one) > > [1] > > ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20190623-git-210c90b328cf8f18.exe.bz2 > > -- > Jon Turney > Volunteer Cygwin/X X Server maintainer > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Bug in libX11 or something near ?
Hi Jon, I just tested your snapshot on some software (including k3b, paraview and some others), and no more crashes ! Thanks a lot for this fix :) I guess you can release it on cygwin asap ! Thanks again for this fast work. regards, Philippe On Sun, Jun 23, 2019 at 8:41 PM Philippe wrote: > Hi Jon, > glad to view an answer ! > Just for your information, since I posted, I did some others tests, and I > can reproduce it with k3b (which use qt4) but NOT with kcalc (which use > qt5). > Then I tried some little python tests from Envisage for qt5 and wasn't > able to reproduce this crash. > > So I guess there's something wrong with qt4. > > Tomorrow I'll try your snapshot to confirm or not your fix ! > > Thanks for your time. > > On Sun, Jun 23, 2019 at 7:57 PM Jon Turney > wrote: > >> On 18/06/2019 17:07, Philippe wrote: >> > I'm using Cygwin/X and identified a critical bug using some piece of >> > software. >> > I don't really know where to begin, but I'm able to crash some >> applications >> > via the application's menu, only with Cygwin/X (no crash with Xming, >> and no >> > crash under any Linux distributions). >> > >> > For information, It goes through VirtualGL. I'll give the example on >> how to >> > reproduce it with a free software : Paraview (under linux). >> > >> > So you open Paraview, then clic on "View" > show the "Toolbars" submenu, >> > then you move your mouse directly on the "Sources" or "Edit" menu, then >> it >> > crashes immediately. The only error message in the linux shell (from >> where >> > it was launched) is "paraview: Fatal IO error: client killed". >> > >> > I got those lines in the XWin.0.log file : >> > SetupSysMenu: GetSystemMenu() failed for HWND 0x130746 >> > winTopLevelWindowProc - WM_DESTROY - WM_WM_KILL >> >> Thanks for reporting this problem, and the clear reproduction steps. >> >> This is an interesting bug in the Cygwin X server's multiwindow mode. It >> seems that under some circumstances, when removing a WM_TRANSIENT_FOR >> window which in turn had a child WM_TRANSIENT_FOR window (e.g. a menu >> which has a sub-menu), the X server's integrated WM would get confused >> and think that the main window had been closed (so terminating the >> application). >> >> I've has a go at fixing this and uploaded a snapshot at [1]. Perhaps >> you could try that and see if it improves things for you? >> >> (I guessed you are using 64-bit Cygwin. If you need a 32-bit build >> instead, please let me know and I'll generate one) >> >> [1] >> >> ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20190623-git-210c90b328cf8f18.exe.bz2 >> >> -- >> Jon Turney >> Volunteer Cygwin/X X Server maintainer >> > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Installing sshd on Windows 2008 R2 in a domain
Hello, New fresh server. I'm trying to install sshd with all the latest release of cygwin. But when I what to connect as a domain user, I get only this error in the event log : Sshd: PID 3212: fatal: seteuid 10500: Permission denied I have googled all this afternoon, but all tips didn't help me. I tried running the service with a local account, a domain account, giving all the permissions needed with editrights, but still getting the error. Any clue from the list ? Thank you and regards Philippe RITTER -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
ssh from linux to windows - backtick output ended with '\r'
Hi, When setting a variable with the output of a command, the content of variable is not correct when passed through ssh command, but works fine within a ssh session. Looks like remote interactive session with ssh enter Cygwin (uname -s = CYGWIN_NT-5.1), but remote command with ssh does not (uname -s = Windows_NT) And ideas would be appreciated! My tests, executing same command line to highlight problem The following remote ssh command fail ($a ends with '\r'): ssh frgbuild@win32-xp-ps 'echo "`uname -a`" ; set -x ; a=`uname -r` ; b=`uname -rs` ; echo "a=$a=EOA=" ; echo "b=$b=EOB=" ; set +x' Windows_NT WIN32-XP-PS 5 01 586 ++ uname -r + a=$'5\r' ++ uname -rs =EOA= =EOB=dows_NT 5 ' b='Windows_NT 5 + echo $'a=5\r=EOA=' =EOB=' 'b=Windows_NT 5 + set +x The following interactive ssh session is working: ssh frgbuild@win32-xp-ps $ echo "`uname -a`" ; set -x ; a=`uname -r` ; b=`uname -rs` ; echo "a=$a=EOA=" ; echo "b=$b=EOB=" ; set +x CYGWIN_NT-5.1 Win32-XP-PS 1.7.4(0.225/5/3) 2010-04-07 11:02 i686 Cygwin ++ uname -r + a='1.7.4(0.225/5/3)' ++ uname -rs + b='CYGWIN_NT-5.1 1.7.4(0.225/5/3)' + echo 'a=1.7.4(0.225/5/3)=EOA=' a=1.7.4(0.225/5/3)=EOA= + echo 'b=CYGWIN_NT-5.1 1.7.4(0.225/5/3)=EOB=' b=CYGWIN_NT-5.1 1.7.4(0.225/5/3)=EOB= + set +x Philippe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: ssh from linux to windows - backtick output ended with '\r'
I notice path is different between a ssh interactive session and a ssh remote command. When running remote command with ssh, the path does not include path to cygwin Workaround: should manually add path to cygwin at the very beginning e.g. into a shell script: #!/bin/sh PATH="/usr/local/bin:/usr/bin:/bin:$PATH" ; export PATH I have MKS toolkit installed on my windows machine, thinking MKS shell were launched instead of cygwin shell because MKS in the windows system path. Perhaps a sshd server option or configuration setup to define cygwin shell as the default shell for remote commands? Christopher Faylor wrote: On Thu, Mar 10, 2011 at 06:32:00PM +0100, Philippe Scelers wrote: Hi, When setting a variable with the output of a command, the content of variable is not correct when passed through ssh command, but works fine within a ssh session. Looks like remote interactive session with ssh enter Cygwin (uname -s = CYGWIN_NT-5.1), but remote command with ssh does not (uname -s = Windows_NT) And ideas would be appreciated! My tests, executing same command line to highlight problem The following remote ssh command fail ($a ends with '\r'): ssh frgbuild@win32-xp-ps 'echo "`uname -a`" ; set -x ; a=`uname -r` ; b=`uname -rs` ; echo "a=$a=EOA=" ; echo "b=$b=EOB=" ; set +x' Windows_NT WIN32-XP-PS 5 01 586 ++ uname -r + a=$'5\r' ++ uname -rs =EOA= =EOB=dows_NT 5 ' b='Windows_NT 5 + echo $'a=5\r=EOA=' =EOB=' 'b=Windows_NT 5 Sure looks like you're not running the Cygwin version of uname here. That would be consistent with \r\n line endings. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Philippe Scelers -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
.profile not sourced?
Hello, I have a file ~/.profile which contains some alias like alias la='ls -la' and ./bash_profile file containing the lines # source the users profile if it exists if [ -f "${HOME}/.profile" ] ; then source "${HOME}/.profile" fi when i launch the default shell (mintty) from the cygwin.bat short cuts I get : 8<--8<--8<--8<--8<-- first window 8<--8<--8<--8<--8<--8<-- $ la total 33 drwxr-xr-x+ 1 philippe None0 Apr 5 21:37 . drwxrwxrwt+ 1 philippe root0 Apr 5 17:52 .. -rw--- 1 philippe None 2869 Apr 5 22:33 .bash_history -rwxr-xr-x 1 philippe None 1206 Apr 5 22:19 .bash_profile -rwxr-xr-x 1 philippe None 5663 Apr 3 21:33 .bashrc -rwxr-xr-x 1 philippe None 1461 Apr 3 21:34 .inputrc -rwxr-xr-x 1 philippe None 1695 Apr 5 22:18 .profile $ mintty & 8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<-- but in the new mintty window alias are not sourced : 8<--8<--8<--8<-- second window 8<--8<--8<--8<--8<--8<--8<-- $ la bash: la: command not found 8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<-- what should i modify to recover my alias? Philippe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: .profile not sourced?
Le 06/04/2011 00:01, Larry Hall (Cygwin) a écrit : Do what cygwin.bat does - invoke bash as a login shell: run mintty -e /bin/bash --login -i thank you for all explanations, Philippe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Utility installation problem - diff (diffutils)
When we installed Cygwin, we noticed that the "diff" utility wasn't installed by default. We then installed diffutils, and diff crashed when a run was attempted from the Cygwin shell. From the Windows command prompt, it gave an error "missing dll (cygintl-2.dll)". We tried to find cygintl-2.dll in the cygwin web, and it is supposed to be in libintl2 package. We looked in a mirror site, and that package wasn't there. We then installed the Red Hat version, which included that file (cygintl-2.dll), so we copied it to the normal cygwin installation, and diff worked! This would seem to be an installation problem with cygwin --- Begin Message --- Cygwin Configuration Diagnostics Current System Time: Tue Mar 10 12:28:16 2009 Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6001 Service Pack 1 Path: C:\cygwin\bin C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG c:\SqlAny50\win32 c:\SqlAny50\win c:\sybtools\win32 c:\pwrs\im5i32dk C:\Program Files\Sybase\SQL Anywhere 8\win32 C:\Program Files\Sybase\Shared\win32 C:\Program Files\Sybase\SQL Anywhere 8\drivers C:\Program Files\Sybase\Shared\Sybase Central 4.1 C:\Program Files\Sybase\Adaptive Server Anywhere 6.0\win32 C:\Program Files\QuickTime\QTSystem\ C:\Program Files\SQL Anywhere 10\win32 C:\Program Files\SQL Anywhere 10\Sybase Central 5.0.0\win32 C:\Program Files\Sybase\Shared\PowerBuilder C:\Program Files\Sybase\PowerBuilder 11.0 C:\Program Files\Sybase\Shared\Web Targets C:\Windows\Microsoft.NET\Framework\v2.0.50727 C:\WATCOM\BINNT C:\WATCOM\BINW c:\usr\bin c:\pca\exe C:\WATCOM17\BINNT C:\WATCOM17\BINW C:\WATCOM18\BINNT C:\WATCOM18\BINW Output from C:\cygwin\bin\id.exe (nontsec) UID: 1000(Philippe) GID: 513(None) 0(root) 513(None) 544(Administradores) 545(Usuarios) 1002(Usuarios del depurador) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1000(Philippe) GID: 513(None) 0(root) 513(None) 544(Administradores) 545(Usuarios) 1002(Usuarios del depurador) SysDir: C:\Windows\system32 WinDir: C:\Windows HOME = 'C:\Users\Philippe' Path = 'C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;c:\SqlAny50\win32;c:\SqlAny50\win;c:\sybtools\win32;c:\pwrs\im5i32dk;C:\Program Files\Sybase\SQL Anywhere 8\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 8\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.1;C:\Program Files\Sybase\Adaptive Server Anywhere 6.0\win32;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\SQL Anywhere 10\win32;C:\Program Files\SQL Anywhere 10\Sybase Central 5.0.0\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\PowerBuilder 11.0;C:\Program Files\Sybase\Shared\Web Targets;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\WATCOM\BINNT;C:\WATCOM\BINW;c:\usr\bin;c:\pca\exe;C:\WATCOM17\BINNT;C:\WATCOM17\BINW;C:\WATCOM18\BINNT;C:\WATCOM18\BINW' ALLUSERSPROFILE = 'C:\ProgramData' APPDATA = 'C:\Users\Philippe\AppData\Roaming' ASANY8 = 'C:\Program Files\Sybase\SQL Anywhere 8' ASANYSH8 = 'C:\Program Files\Sybase\Shared' CLASSPATH = '.;C:\Program Files\Java\jre1.6.0\lib\ext\QTJava.zip' CommonProgramFiles = 'C:\Program Files\Common Files' COMPUTERNAME = 'PHILIPPETOSHIBA' ComSpec = 'C:\Windows\system32\cmd.exe' DISPLAY = ':0.0' EDPATH = 'C:\WATCOM18\EDDAT' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Users\Philippe' INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\WATCOM\H;C:\WATCOM\H\NT;C:\WATCOM17\H;C:\WATCOM17\H\NT;C:\WATCOM18\H;C:\WATCOM18\H\NT' LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\' LOCALAPPDATA = 'C:\Users\Philippe\AppData\Local' LOGONSERVER = '\\PHILIPPETOSHIBA' MKS_TK_PATH_BACK = 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;c:\SqlAny50\win32;c:\SqlAny50\win;c:\sybtools\win32;c:\pwrs\im5i32dk' NUMBER_OF_PROCESSORS = '2' NUTCROOT = 'C:\PROGRA~1\MKSTOO~1' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' Path_GNU = 'C:\usr\gnu\usr\local\wbin' PATH_MKS = 'C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\x11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;c:\SqlAny50\win32;c:\SqlAny50\win;c:\sybtools\win32;c:\pwrs\im5i32dk;C:\Program Files\Sybase\SQL Anywhere 8\win3
g++ API for video acquisition
Hi! I have developped an application capturing images from a webcam under linux using video4linux in C++. I know that Windows offers an API (Video for Windows) that allows to do roughly the same thing. But is it possible to use this API (or another that allows to do the same thing) with g++ under cygwin? In other words, do we have to buy Visual Net Studio or is it possible to do such a thing under windows using only free components? This may look like a stupid question but I have been developping only under Linux for a long time. Thank you very much! Philippe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Win CE
Hi, What toolchain should one use to get cygwin-like functionality for Win CE? I.e. Posix compatibility layer etc (cygwin-wince.dll). Thanks, -- Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: wince cygwin
Corinna Vinschen wrote: Please check out the project web page for links to available information and ports: http://cygwin.com/ . Especially search the FAQ http://cygwin.com/faq/ and the user's guide http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html If you don't see what you need there, then the cygwin mailing list is the best place to make observations or get questions answered. Before posting a question, search the mailing list archives at http://cygwin.com/ml/cygwin/ whether your question has already been asked and answered. Subscribing and unsubscribing is easy by sending an empty email to mailto:[EMAIL PROTECTED] resp. mailto:[EMAIL PROTECTED] The base list cygwin@cygwin.com is usually a good starting point except for questions about Cygwin/XFree86. In that case, use cygwin-xfree@cygwin.com . If you have problems with the mailing list, read http://cygwin.com/lists.html for more information. Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.com/ . For your convenience I've set the Reply-To to cygwin@cygwin.com . Thanks, Corinna On Jan 19 13:06, Philippe Laporte wrote: Hi, I am very interested in your Cygwin Win CE efforts. Where/How can I learn more? There's no such thing as Cygwin for Win CE. Thanks for your answer How would you go about porting a POSIX app to Win CE? Port the calls in the app to Win CE directly or use a glue layer? Thanks, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: wince cygwin
Marcel Telka wrote: On Thu, Jan 19, 2006 at 02:41:39PM +0100, Philippe Laporte wrote: I am very interested in your Cygwin Win CE efforts. Where/How can I learn more? There's no such thing as Cygwin for Win CE. Thanks for your answer How would you go about porting a POSIX app to Win CE? Port the calls in the app to Win CE directly or use a glue layer? Glue layer is better choice, IMHO. and surely, one already exists...? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Win CE
Hi, Why is there no port for Win CE? Do you know anything that provides similar functionality for Win CE? Thanks, -- Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sshd problems
Hello, I am new to this list, so I apologies if this issue has been addressed before. I just installed cygwin 1.5.9.1 on a windows 2000 machine. Setup sshd with keys (for logon without passwords) as a service. Everything _appears_ to work correctly: I can login to the machine without having to type my password. Most commands work properly (ex: ls, cd, mkdir, etc). For some reason, the output of a single application (pcounter) does not appear to the screen (unless I pass 3 arguments to the command, in which case the command works fine). If I remove the ssh keys and login from/to the same machine (and login by typing my password), then the command works fine. I'm at a loss and don't know what to try to resolve this problem. Thank you for your help, Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd problems
Thanks for the reply. Actually, I have CYGWIN set to "binmode ntea". Also, the command is native to windows and works perfectly with the 3 arguments (even if I pass bogus arguments) and thus I do not think it has to do with authentication of the user. Phil On Mar 22, 2004, at 12:05 PM, Larry Hall wrote: At 10:24 AM 3/22/2004, you wrote: Hello, I am new to this list, so I apologies if this issue has been addressed before. I just installed cygwin 1.5.9.1 on a windows 2000 machine. Setup sshd with keys (for logon without passwords) as a service. Everything _appears_ to work correctly: I can login to the machine without having to type my password. Most commands work properly (ex: ls, cd, mkdir, etc). For some reason, the output of a single application (pcounter) does not appear to the screen (unless I pass 3 arguments to the command, in which case the command works fine). If I remove the ssh keys and login from/to the same machine (and login by typing my password), then the command works fine. I'm at a loss and don't know what to try to resolve this problem. I assume that 'pcounter' is some native Windows application. It almost sounds to me like 'pcounter' requires an authenticated user to work but your note about passing '3 arguments' to make it work casts doubts on that. You might want to try removing 'tty' as a setting for the CYGWIN environment variable that 'sshd' uses when it starts as a service, assuming you specified 'tty' as an option when you configured sshd. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin and X
Don't know, Still seems a valid question for this list to me. It's still a cygwin- question, not so ? Erik can install Exceed on his PC, and use a graphical X11- environment (e.g. kde-cygwin) started from within Cygwin, and running on his Exceed X11- server, can't he ? e.g. (hypothesis shell == bash, PC running X11- server= bbbPC) in Windows: - activate your Exceed X11- server (make sure every user can connect) in Cygwin: - export DISPLAY=bbbPC:0 - kmines & (or some other graphical program) There's a lot of other possible X11- configurations, this is just a (very) simple one. There's a lot more explanation to be found on such X11- issues and configuration in the different Linux HOWTO's, though ... (try www.tldp.org). BUT, Erik, I would by far *not* exclude a WRONG DNS (be it client or server) setup for your computer (/network), as I once had a similar performance issue indeed result in very poor X performance ... (and ... that was with ... Exceed) Kind regards Philippe Brian Ford wrote: Since this is Cygwin/X related, you have chosen the wrong list to post to. Please read http://cygwin.com/lists.html for more information. I have redirected this thread to the cygwin-xfree list. On Mon, 14 Jun 2004, Erik Abrahamsson wrote: Hi all! I have been running Cygwin/X for some time, with very low performance. In the Cygwin/X FAQ this is explained by the fact that I have a personal firewall (in this case it's Zonealarm). It is also the process vsmon.exe that is draining my system while using Cygwin/X. The solution to this problem would be do disable the firewall, which is not an option on Win2000 or XP... Why is this not an option on Win2k or XP? Previously I used F-Secure with Himmingbird Exceed as X-server, without any problems. So my question is: Is it possible to run Cygwin with the X-server of your choice, which in my case is Exceed? What do I need to do? Yes, and nothing but set your DISPLAY variable correctly. You would get much more informative responses if you actually describe a particular problem you have when trying to do this. Also, see http://cygwin.com/problems.html. I am quite familiar with win, but not *nix. Thank you for any help I can get! /Erik -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Openssh Source
Hello I just downloaded OpenSSH 3.8.1p1 Source, but I get this file : openssh-3.8p1-1-src.tar.bz2 Is this really the latest version of the source that build openssh-3.8.1p1 ? Because version.h is #define SSH_VERSION "OpenSSH_3.8p1" and an ssh -v give OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 Thanks Philippe RITTER -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE : Openssh Source
I don't now, because I click in "Src?" on the line 3.8.1p1-1 ? Is there an alternative in cygwin setup ? I will download it manually from my mirror server. Thanks -Message d'origine- De : Corinna Vinschen [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 16. juin 2004 13:05 À : [EMAIL PROTECTED] Objet : Re: Openssh Source On Jun 16 12:19, RITTER, Philippe wrote: > Hello > > I just downloaded OpenSSH 3.8.1p1 Source, but I get this file : > openssh-3.8p1-1-src.tar.bz2 > > Is this really the latest version of the source that build openssh-3.8.1p1 ? > Because version.h is #define SSH_VERSION "OpenSSH_3.8p1" and an ssh -v > give OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 That's the wrong source file. There's also a openssh-3.8.1p1-1-src.tar.bz2 file in the distro. Perhaps you just mis-clicked? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE : RE : Openssh Source
On Jun 16 13:16, RITTER, Philippe wrote: > I don't now, because I click in "Src?" on the line 3.8.1p1-1 ? Is there an > alternative in cygwin setup ? I will download it manually from my mirror > server. Weird, but you're right. The same happens for me. Looks like a bug in setup.exe. OK, Happy to see it is not only by me. > -Message d'origine- > De : Corinna Vinschen Please, don't quote raw email addresses in a reply! http://cygwin.com/acronyms/index.html#PCYMTNQREAIYR Corinna Sorry, I didn't now that. My outlook do that automatically. I will see if I found someting to prevent this. Thanks Philippe RITTER -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: bash closes immediatly (other shells too)
Henrik, In your case, I would re-run cygwin setup. I had a problem like that (actually caused by manually tweaking and copying files to another directory). Re- running cygwin setup did the trick. Who knows it'll also it in your case ... Kind regards, Philippe Henrik Badekow wrote: I just installed cygwin on my computer. I have been using it on other computers since quite a while ago. This time I cant start it after the installation. It just closes after about 2 seconds. This fact cannot be due to a problem with the bash, cause it happens when using a different shell, too. I thought this might be just a simple configuration thing, but as i cant find any information on this topic i guess it is not a common problem. Any kind of help is appriciated. Thanks, Henrik -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Chrooted ssh and SFTP in cygwin
Hello I'm trying to make a chrooted environnment in cygwin with openssh-4.1p1-2 I can ssh with no problem, but sftp-server will not start because it will not find cygwin1.dll in the path. I use the chroot from http://chrootssh.sourceforge.net/download/ I looked in session.c but I don't understand when sshd set the path for the session. I see it copies from windows, but not setting the default Here the command I use to compile openssh : ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir='${sbindir}' \ --localstatedir=/var \ --datadir='${prefix}/share' \ --mandir='${datadir}/man' \ --infodir='${datadir}/info' \ --with-default-path='/usr/bin:/bin:/usr/sbin:/sbin' \ --with-tcp-wrappers I my chrooted home I have : $ ls -lR .: total 0 drwxr-xr-x+ 2 phr Domain Users 0 Aug 11 14:31 bin drwxr-xr-x+ 2 phr Domain Users 0 Aug 11 16:20 etc drwxr-xr-x+ 3 phr Domain Users 0 Aug 11 16:38 home drwxr-xr-x+ 2 phr Domain Users 0 Aug 11 12:07 tmp drwxr-xr-x+ 3 phr Domain Users 0 Aug 11 12:09 usr drwxr-xr-x+ 3 phr Domain Users 0 Aug 11 14:24 var ./bin: total 3792 -rwxr-xr-x 2 phr Domain Users 451072 Aug 11 12:08 bash -rwxr-xr-x 2 phr Domain Users 451072 Aug 11 12:08 bash.exe -rwxr-xr-x 1 phr Domain Users6846 Aug 11 12:12 bashbug -rwxr-xr-x 1 phr Domain Users6656 Aug 11 12:07 cygcrypt-0.dll -rwxr-xr-x 1 phr Domain Users 1015128 Aug 11 12:11 cygiconv-2.dll -rwxr-xr-x 1 phr Domain Users 22016 Aug 11 12:11 cygintl-1.dll -rwxr-xr-x 1 phr Domain Users 37888 Aug 11 12:11 cygintl-2.dll -rwxr-xr-x 1 phr Domain Users 55612 Aug 11 12:11 cygintl-3.dll -rwxr-xr-x 1 phr Domain Users 21504 Aug 11 12:11 cygintl.dll -rwxr-xr-x 1 phr Domain Users 230400 Aug 11 14:12 cygncurses-8.dll -rwxr-xr-x 1 phr Domain Users 147456 Aug 11 14:12 cygreadline6.dll -rwxr-xr-x 1 phr Domain Users 1295582 Aug 11 12:08 cygwin1.dll -rwxr-xr-x 1 phr Domain Users 89600 Aug 11 12:08 ls.exe -rwxr-xr-x 1 phr Domain Users 23552 Aug 11 14:16 strace.exe ./etc: total 8 -rwxr-x--- 1 phr Domain Users 6530 Aug 11 16:20 profile ./home: total 0 ./tmp: total 0 ./usr: total 0 drwxr-xr-x+ 2 phr Domain Users 0 Aug 11 14:31 sbin ./usr/sbin: total 1076 -rwxr-xr-x 1 phr Domain Users 1067008 Aug 11 12:07 cygcrypto-0.9.8.dll -rwxr-xr-x 1 phr Domain Users 29184 Aug 11 12:09 sftp-server.exe ./var: total 0 drwxr-xr-x+ 2 phr Domain Users 0 Aug 11 14:23 run ./var/run: total 0 Can someone help me ? I know I could copy everything from /bin in /usr/sbin, but I would like something else. Thanks Philippe RITTER -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Chrooted ssh and SFTP in cygwin
Hello, My problem is with SFTP server, not with FTP. The environnement seems not to be the same with openssh-4.1. I could make an chroot with openssh 3.8.1. Can I found somewhere the source of this release ? Thanks Philippe RITTER -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Pierre A. Humblet Envoyé : jeudi, 11. août 2005 18:14 À : cygwin@cygwin.com Objet : Re: Chrooted ssh and SFTP in cygwin RITTER, Philippe wrote: > I'm trying to make a chrooted environnment in cygwin with > openssh-4.1p1-2 > I can ssh with no problem, but sftp-server will not start because it > will not find cygwin1.dll in the path. In theory things should be setup so that you don't need to copy any standard dll to your private bin, see http://www.cygwin.com/ml/cygwin-patches/2004-q2/msg00083.html and follow up, but then I don't know exactly what you try to do. Can you ftp as anonymous and do an ls? Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Rsync hang and test with latest snapshots
Hello all cygwinners ! I use rsync to synchronise many server. The most of them are still running with cygwin 1.3.20 and rsync 2.5.5. Everything is running fine in this situation. But I installed cygwin 1.5.5 and rsync 2.5.6 and some problems apairs ! Rsync was hanging and stay running in the task manager. I could only kill it. I remember some mails was about this problems, and I don't remember to see any solution. As a tip from cgf, try snapshots ! So, I tested some of them, and, since the snapshot of 3.12.2003, everything is working again. (CYGWIN_NT-4.0 ara 1.5.6s(0.107/3/2) 20031203 00:23:12 i686 unknown unknown Cygwin) Thanks very much for your great effort to make the best of two worlds (Win and *nix) Regards Philippe RITTER -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Forks/spawn test using ~latest~ CVS source 20031217 10:00AM (GMT+1)
I've tested the CVS source 20031217 10:00AM (GMT+1) to see if fork/spawn works on Multi CPU (4 Xeon) with Windows 2003 Server (see old message about it in the mailing list). Unfortunatly It doesn't ! Below a test script, use it by running run_t.sh. After some time (< 1 minute) one or more of the 5 sub-shell stop. This batch works perfectly using a single P4 cpu on Windows XP ! Thanks in advance, Philippe. PS 1 : 4-5th attempt to send a mail to [EMAIL PROTECTED] using three different mail account, gmane newgroup ! Anti-spam ? :( PS 2 : Vital for me that this works before end of the month ! Scripts cat <<'EOF' > t.sh #!/bin/bash i=0 while true do A=$(basename /bin/sh) last_exec=$? i=$(($i+1)) echo "Instance $1, loop $i, status $last_exec" if [ $last_exec -ne 0 ]; then echo " ERROR " fi done EOF chmod a+rwx t.sh cat <<'EOF' > run_t.sh #!/bin/bash t.sh 1 & t.sh 2 & t.sh 3 & t.sh 4 & t.sh 5 & wait EOF chmod a+rwx run_t.sh ./run_t.sh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Forks/spawn test using ~latest~ CVS source 20031217 10:00AM (GMT+1)
Christopher Faylor wrote: On Fri, Dec 19, 2003 at 12:04:02AM +0100, Philippe Torche wrote: I've tested the CVS source 20031217 10:00AM (GMT+1) to see if fork/spawn works on Multi CPU (4 Xeon) with Windows 2003 Server (see old message about it in the mailing list). Unfortunatly It doesn't ! Below a test script, use it by running run_t.sh. After some time (< 1 minute) one or more of the 5 sub-shell stop. This batch works perfectly using a single P4 cpu on Windows XP ! I don't know how many people out there have Multi CPU Xeons, but I suspect there aren't many. This works fine in my single CPU system, as you note. Thanks in advance, Philippe. PS 1 : 4-5th attempt to send a mail to [EMAIL PROTECTED] using three different mail account, gmane newgroup ! Anti-spam ? :( Yes. ZIP file attachments. PS 2 : Vital for me that this works before end of the month ! Sorry, but why would your urgency have any bearing on a community, volunteer project? Sorry too, We have been surprised by our first test on a multi CPU engine, after one year of development without big problem (only a tee problem and rsync not very usable (now using robocopy instead)). And now we are close to the delivery on 3 Multi CPU Xeon. But probably like you, we have only mono processor PC, Pentium 3, Pentium 4 and Athlon XP. cgf I know that threaded applications are difficult to develop. I think you are our chance to correct this. I can do test for you, but I can't give you access to this system ! I'm going to bed, thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Forks/spawn test using ~latest~ CVS source 20031217 10:00AM (GMT+1)
Christopher Faylor wrote: On Fri, Dec 19, 2003 at 12:32:10AM +0100, Philippe Torche wrote: Sorry, but why would your urgency have any bearing on a community, volunteer project? Sorry too, We have been surprised by our first test on a multi CPU engine, after one year of development without big problem (only a tee problem and rsync not very usable (now using robocopy instead)). And now we are close to the delivery on 3 Multi CPU Xeon. But probably like you, we have only mono processor PC, Pentium 3, Pentium 4 and Athlon XP. I think you really need to read this: http://www.catb.org/~esr/faqs/smart-questions.html The fact that this is really important to you does not make me reorient my priorities. That's how it works. I'm doing this for free so I get to choose what I want to do. Engaging in a laborious "Now try this" testing scenario through the next week and into the Christmas holiday was not how I planned to spend my time. It's Christmas holiday for me too since next wednesday ! And have some nice time with my family. I know that threaded applications are difficult to develop. I think you are our chance to correct this. AFAICT, you are talking about fork, not thread. Just as my usual obligatory aside: You do realize that if/when you release your product it will have to be GPLed right? That means you release the source code of the product and the source code of the cygwin DLL and any utilities you bundle with it. Yes, we will and we do that already ! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Forks/spawn test using ~latest~ CVS source 20031217 10:00AM (GMT+1)
Yitzchak Scott-Thoennes wrote: On Thu, Dec 18, 2003 at 06:09:54PM -0500, Christopher Faylor <[EMAIL PROTECTED]> wrote: On Fri, Dec 19, 2003 at 12:04:02AM +0100, Philippe Torche wrote: I've tested the CVS source 20031217 10:00AM (GMT+1) to see if fork/spawn works on Multi CPU (4 Xeon) with Windows 2003 Server (see old message about it in the mailing list). Unfortunatly It doesn't ! Below a test script, use it by running run_t.sh. After some time (< 1 minute) one or more of the 5 sub-shell stop. This batch works perfectly using a single P4 cpu on Windows XP ! I don't know how many people out there have Multi CPU Xeons, but I suspect there aren't many. This works fine in my single CPU system, as you note. Thanks in advance, Philippe. PS 1 : 4-5th attempt to send a mail to [EMAIL PROTECTED] using three different mail account, gmane newgroup ! Anti-spam ? :( Yes. ZIP file attachments. PS 2 : Vital for me that this works before end of the month ! Sorry, but why would your urgency have any bearing on a community, volunteer project? Maybe he's implying there is funding available for working on this if necessary? Yes, I can (C, C++ is in my knowledge, debug, strace, ...). Thanks a lot, Philippe. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Please try the latest snapshot -- it is close to cygwin 1.5.6
Christopher Faylor wrote: The subject says it all. I'm hoping to release cygwin 1.5.6 shortly after Christmas. cgf I've tested it (CVS version 12:35 GMT + 1) on our 4 Xeon on W2003S and unfortunately my previous test case (run_t.sh and t.sh) always fails. The test suite runs soon happily (except now 3 cases) with my Athlon on WinXP, and I'm preparing to run it tomorrow on our 4 Xeon. Now, I should go, I'll will continue tomorrow. Thanks you very much, Merry Christmas to all of you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Please try the latest snapshot -- it is close to cygwin 1.5.6
Christopher Faylor wrote: On Fri, Dec 26, 2003 at 05:37:36PM +0100, Philippe Torche wrote: Christopher Faylor wrote: The subject says it all. I'm hoping to release cygwin 1.5.6 shortly after Christmas. I've tested it (CVS version 12:35 GMT + 1) on our 4 Xeon on W2003S and unfortunately my previous test case (run_t.sh and t.sh) always fails. I've replace bash with sh and no problem anymore (not have wait enough maybe) ! A bash bug ? Let me be extremely clear about this again: I don't have a 4 Xeon processor running W2003S. I will not be able to test this and I, frankly, don't care much about this corner case -- especially if it is not a regression from previous releases. So, if you were just reporting this as a data point, then thanks. If you are expecting me to do something about it, then, you will, unfortunately, be disappointed. :-( Not you but other maybe ! If you show old threads, I'm not alone with this problem ! I can't give access to a multi CPU computer (client machine), but maybe somebody can ? The test suite runs soon happily (except now 3 cases) with my Athlon on WinXP, and I'm preparing to run it tomorrow on our 4 Xeon. :-) The test case give me the same result I think I will have to give a gold star to the person who figures out why those three cases are "failing". It really isn't that hard. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Latest CVS (2004-01-18 13:00 GMT+1) launch from windows
I'm running the attached sh script from WinXP "Scheduled Tasks" and see that curl launch defunct sh (or bash if used instead of sh). curl can be replace by : ls, ... to see the same problem. Command in the task sheduler (Same effect from the run program dialog) : D:\cygwin\bin\bash.exe -c "/cygdrive/d/DATA/divers/mcafee_dat_update.sh" THEN CURL RUNS : $ procps -ef UIDPID PPID C STIME TTY TIME CMD pto 2624 1 0 14:29 ?00:00:00 /usr/bin/bash --login -i pto 2556 1 1 14:53 ?00:00:00 pto 1884 2556 6 14:53 ?00:00:00 curl -l ftp://ftp.mcafee.com/pu pto 2224 2624 1 14:53 ?00:00:00 procps -ef AFTER CURL RUNS : $ procps -ef UIDPID PPID C STIME TTY TIME CMD pto 2624 1 0 14:29 ?00:00:00 /usr/bin/bash --login -i pto 2556 1 0 14:53 ?00:00:00 pto 3036 2624 1 14:53 ?00:00:00 procps -ef Each day better, thanks. #!/bin/bash TMPFILE=`mktemp -t mcafee_eng_update.sh.XX` || exit 1 echo TMPFILE=$TMPFILE URL='ftp://ftp.mcafee.com/pub/antivirus/datfiles/4.x/' echo URL=$URL curl -l $URL > $TMPFILE if [ $? -ne 0 ]; then echo "Error : curl list fail" exit 1 else echo "File list found" fi lastestFile=`grep -i "dat-\.zip" $TMPFILE` if [ $? -ne 0 ]; then echo "Error : no super date file" exit 1 fi echo lastestFile=$lastestFile if [ -e "$lastestFile" ]; then echo "Nothing to do" exit 0 fi curl --remote-name $URL$lastestFile if [ $? -ne 0 ]; then echo "Error : Curl transfert" exit 1 fi echo "End of transfert" net stop McShield net stop MCVSRte /bin/unzip -o $lastestFile -d /cygdrive/c/Program\ Files/McAfee.com/VSO net start McShield net start MCVSRte Cygwin Win95/NT Configuration Diagnostics Current System Time: Sun Jan 18 14:58:49 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: . D:\cygwin\usr\local\bin D:\cygwin\bin D:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\util d:\Perl\bin\ D:\cygwin\bin d:\Program Files\Microsoft SQL Server\80\Tools\BINN c:\Program Files\Microsoft SQL Server\80\Tools\BINN d:\PROGRA~1\CMake\bin d:\Program Files\doxygen\bin D:\cygwin\home\pto\bin c:\PROGRA~1\HTMLHE~1 Output from D:\cygwin\bin\id.exe (nontsec) UID: 1003(pto) GID: 545(Users) 545(Users) Output from D:\cygwin\bin\id.exe (ntsec) UID: 1003(pto) GID: 545(Users) 513(None) 544(Administrators) 545(Users)1004(Debugger Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `tty' HOME = `D:\cygwin\home\pto' MAKE_MODE = `unix' PWD = `/cygdrive/d/DATA/divers' USER = `pto' ALLUSERSPROFILE = `C:\Documents and Settings\All Users.WINDOWS' APPDATA = `C:\Documents and Settings\pto.PTO1\Application Data' BASH_ENV = `/home/pto/.bashrc' CLIENTNAME = `Console' COLUMNS = `80' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PTO1' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVSROOT = `:ext:[EMAIL PROTECTED]:/jle' CVS_RSH = `ssh' DISPLAY = `:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\pto.PTO1' INCLUDE = `D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;D:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\' LIB = `D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;D:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LINES = `25' LOGONSERVER = `\\PTO1' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PHP' PATH_COPY = `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\util;D:\Perl\bin\;D:\cygwin\bin' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 4, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0404' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\TEMP\pto' TERM = `cygwin' TMP = `c:\TEMP\pto' USERDOMAIN = `PTO1' USERNAME = `pto' USERPROFILE = `C:\Documents and Settings\pto.PTO1' VS71COMNTOOLS = `D:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\' VSCOMNTOOLS = `"D:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Apps\Cygnus Solutions HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Cygnu
Re: snapshot now == 1.5.7 soon, please try
Christopher Faylor wrote: The current cygwin snapshot has fixes for: 1) missing cygserver 2) bash hang 3) vim SEGV If anyone has reported any other problems then please try the snapshot and see if they still exist. 2 and 3 above are particularly nasty bugs which could cause a lot of other mysterious problems. http://cygwin.com/snapshots/ cgf Latest cvs works well for me for problem 2 and 3 ! But why you don't have read my mail "Latest CVS (2004-01-18 13:00 GMT+1) launch from windows" before doing a new release ? My bad english, not complete (yes it contain cygcheck -svr attached, not compressed), or else ... Regards, Philippe. PS It's time to sleep -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: snapshot now == 1.5.7 soon, please try
Christopher Faylor wrote: The current cygwin snapshot has fixes for: 1) missing cygserver 2) bash hang 3) vim SEGV If anyone has reported any other problems then please try the snapshot and see if they still exist. 2 and 3 above are particularly nasty bugs which could cause a lot of other mysterious problems. http://cygwin.com/snapshots/ cgf I'm using CVS compiled version of 2004-01-21 10:00 GMT+1 and I'm experimenting the following problem with pipe ! From a bash script I'm running the following command (after a lot of other's) and bash crash. The first command is a win32 application isql (Sql server 2000 tool), and other are sed and sort from cygwin. If I put these commands in a little script, no problem. Before no problem at all, but now the first command returns 3'768'666 bytes (a little bit more). Info: set -x eval "$ISQL_WITH_TAB" -HEXPED << EOF_SELECT_PTT | \ eval "$ISQL_TRIM_FOR_TAB" | \ sort -t"${TAB}" -k 1,1n -k 41,41 -k 2,2n -k 17,17n -k 3,3n > result_select_ptt$NBPLIS.$extension SET NOCOUNT ON GO SELECT vdi_heure_max_dep= c.vdi_heure_max_dep, -- 01) -- Tournée trq_pos = c.tou_pos, -- 02) ... ... ... EOF_SELECT_PTT ... And the result -- + eval 'isql -s" " -E -SJLE1 -droutage -n -h-1 -b -w 2147483647' -HEXPED ++ isql '-s ' -E -SJLE1 -droutage -n -h-1 -b -w 2147483647 -HEXPED_PTT2_Bao_102 + eval 'sed -e "s/ \{1,\}/ /g;s/ \{1,\} / /g;s/^ \{1,\}//; s/ \{1,\}$//;/^$/d"' ++ sed -e 's/ \{1,\}/ /g;s/ \{1,\} / /g;s/^ \{1,\}//;s/ \{1,\}$//;/^$/d' + sort '-t ' -k 1,1n -k 41,41 -k 2,2n -k 17,17n -k 3,3n in handle_threadlist_exception! ! Second case << _My_added_trace_ in handle_threadlist_exception! ! Second case << _My_added_trace_ Extract of my modified src/winsup/cygwin/cygtls.cc : -- extern "C" DWORD __stdcall RtlUnwind (void *, void *, void *, DWORD); static int handle_threadlist_exception (EXCEPTION_RECORD *e, void *frame, CONTEXT *, void *) { small_printf ("in handle_threadlist_exception!\n"); if (e->ExceptionCode != STATUS_ACCESS_VIOLATION) { small_printf ("! ACCESS VIOLATION\n"); << _My_added_trace_ return 1; } sentry here; if (threadlist_ix != BAD_IX || !here.acquired ()) { small_printf ("! Second case\n"); << _My_added_trace_ return 1; } extern void *threadlist_exception_return; cygheap->threadlist[threadlist_ix]->remove (INFINITE); threadlist_ix = 0; RtlUnwind (frame, threadlist_exception_return, e, 0); small_printf ("return 0\n"); return 0; } $ cat bash.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=610266C2 eax=0A0CD008 ebx=0014 ecx=616601DC edx=0A03 esi=00D3EC0C edi=610E9774 ebp=00D3EBC4 esp=00D3E89C program=C:\cygwin\usr\local\bin\bash.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 00D3EBC4 610266C2 (0734, 00D3EC0C, 00A8, 00D3EBF8) 00D3F0C4 61089888 (610E9774, 02A8, 00D3F0E4, 00D3F11C) 00D3F0E4 61003096 (610E9774, 00D3F11C, 61003030, ) 00D3F114 61003DD4 (, , , ) 00D3FFA4 61003D8A (, , , ) End of stack trace $ echo "610266C2 61089888 61003096 61003DD4 61003D8A" | xargs addr2line -e /bin/cygwin1.dll /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/exceptions.cc:956 /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/sigproc.cc:1182 /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/cygthread.cc:71 /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/cygtls.cc:93 /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/cygtls.cc:82 Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Jan 21 13:32:21 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: . C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\util C:\cygwin\bin c:\Program Files\doxygen\bin c:\PROGRA~1\ATT\Graphviz\bin c:\PROGRA~1\ATT\Graphviz\bin\tools c:\Program Files\CodeProject\NScript c:\Program Files\Microsoft SQL Server\80\Tools\Binn\ c:\Program Files\cvsnt c:\Program Files\OPENXTRA\WinPCap C:\cygwin\usr\sbin c:\PROGRA~1\HTMLHE~1 Output from C:\cygwin\bin\id.exe (nontsec) UID: 4(pto) GID: 545(Users) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 4(pto) GID: 545(Users) 544(Administrators) 545(Users) 10512(Domain Admins) 10513(Domain Users) SysDir: C:\WINDOWS\System32 WinDir:
Re: snapshot now == 1.5.7 soon, please try
Christopher Faylor wrote: On Wed, Jan 21, 2004 at 10:05:21AM -0500, Christopher Faylor wrote: On Wed, Jan 21, 2004 at 10:03:24AM -0500, Christopher Faylor wrote: On Wed, Jan 21, 2004 at 02:08:00PM +0100, Philippe Torche wrote: Christopher Faylor wrote: The current cygwin snapshot has fixes for: 1) missing cygserver 2) bash hang 3) vim SEGV If anyone has reported any other problems then please try the snapshot and see if they still exist. 2 and 3 above are particularly nasty bugs which could cause a lot of other mysterious problems. http://cygwin.com/snapshots/ I'm using CVS compiled version of 2004-01-21 10:00 GMT+1 and I'm experimenting the following problem with pipe ! CVS != snapshot. Please try the snapshot. Yes tested both, but CVS seems better! ...and if you still have a problem then please provide a *small test case* that shows the problem. I've tried, but not found a fail *small test case* ...and in case this is a problem in the snapshot, I've added some better debuggging output. If you are building the DLL from scratch, then maybe you want to debug this with gdb? You can add error_start=gdb to the cygwin environment variable and add some 'try_to_debug()' calls to the function that you identified. cgf Thanks for your changes and your informations. 1) Now the problem as changed : the first process return error 128 (net helpmsg 128 says "There are no child processes to wait for"). 3) Another problem is that ^C don't work (since 1.5.6 maybe) inside a bash prompt (with windows console or rxvt). Ex: [EMAIL PROTECTED] ~$ dsjfajfasjf Typing ^C does nothing Same problem when using read from a bash script. 2) For your info : - Just before some commits, changelog 2004-01-21 19:19, changelog 2004-01-21 20:14, changelog 2004-01-21 20:17, 260 tests passes, and now 255. FAIL: ltp/fstat02.c (execute) FAIL: ltp/fstat04.c (execute) FAIL: ltp/stat01.c (execute) FAIL: ltp/symlink01.c (execute) FAIL: ltp/umask03.c (execute) -- Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /cygdrive/u/src/external/cygwin/src/winsup/testsuite/config/default.exp as tool-and-target-specific inte rface file. Running /cygdrive/u/src/external/cygwin/src/winsup/testsuite/winsup.api/winsup.exp ... FAIL: msgtest.c (execute) FAIL: semtest.c (execute) FAIL: shmtest.c (execute) FAIL: ltp/fstat02.c (execute) FAIL: ltp/fstat04.c (execute) NOTE: error deleting ltp-kill02.exe: error deleting "ltp-kill02.exe": permission denied NOTE: error deleting ltp-kill09.exe: error deleting "ltp-kill09.exe": permission denied NOTE: error deleting ltp-pipe10.exe: error deleting "ltp-pipe10.exe": permission denied FAIL: ltp/stat01.c (execute) FAIL: ltp/symlink01.c (execute) FAIL: ltp/umask03.c (execute) === winsup Summary === # of expected passes255 # of unexpected failures8 # of expected failures 14 Binary file /cygdrive/u/src/external/cygwin/release/i686-pc-cygwin/winsup/testsuite/../cygwin/cygwin0.dll matc hes CYGWIN=smbntsec tty codepage:ansi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cygwin + make 10 time slower than equivalent linux make (same ifc compiler)
I have to build a large project on Windows. Build libraries using Intel compilers needs 12 hours on cygwin when same build needs 1 hour on Linux (same computer : dual boot, same compilers ifc 9.1) Equivalent build using Visual-Studio seems faster (not yet real measures) Is it a known issue with a fix? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
strange problems with bash after cygwin update
Hi, My cygwin installation is pretty old, so I decided to update it. After running the update, bash has a very very strange behaviour. I wrote a test-bash.sh file with: ==[ content of test-bash.sh ] echo this is a test of bash == When I run it: << [EMAIL PROTECTED] ~ $ bash test-bash.sh : command not found1: this is a test of bash [EMAIL PROTECTED] ~ $ . test-bash.sh : command not found this is a test of bash >> Any idea what got broken during the update ? cheers, Philippe Fremy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin for XP Pro ?
Is Cygwin available for Windows XP PRO ? thx for your answers ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin for XP Pro ?
thx very much --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Fri, 6 Jun 2003, philippe guillaume wrote: > > > Is Cygwin available for Windows XP PRO ? > > Yes. > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, > Ph.D. > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between > your mentor and his route > to the bathroom is a major career booster." -- > Patrick Naughton > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
csh on cygwin?
Is there csh on Cygwin ? If yes how can i go from bash t csh ? Thans ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
tcsh on Cygwin and problems in installing cygwin ...
I saw on the cygwin site that there was a package for tcsh ... But : 1- i haven't found a site to download it yet 2- i 've tried to download and install cygwin with the cygwin-site release and the install blocks when choosing the packages... 3- i haven't seen the tcsh package in this install There's a lot of problems !!! lol Could you please answer me some informations ? Thanks a lot in advance Ps: sorry for my bad english ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tcsh on Cygwin and problems in installing cygwin ...
I use the setup.exe that i downloaded on the cygwin web-site ... And i looked for tcsh in the "shells"-category but there's only "ash" , "bash" and "sh-utils" ! I also looked for it in the list in full view and i didn't see it ! --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul 2003, philippe guillaume wrote: > > > I saw on the cygwin site that there was a package > for > > tcsh ... But : > > 1- i haven't found a site to download it yet > > 2- i 've tried to download and install cygwin with > the > > cygwin-site release and the install blocks when > > choosing the packages... > > 3- i haven't seen the tcsh package in this install > > > > There's a lot of problems !!! lol > > Could you please answer me some informations ? > > > > Thanks a lot in advance > > > > Ps: sorry for my bad english > > Use setup.exe, just like you would for any other > package. Try the > "Shells" category, or use the "Full" view -- it > lists packages > alphabetically. > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, > Ph.D. > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between > your mentor and his route > to the bathroom is a major career booster." -- > Patrick Naughton > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tcsh on Cygwin and problems in installing cygwin ...
I've resolved my problem ... i found a ftp that provided me a version of the cygwin setup on which there is tcsh and many others packages ... ! Thanks to everybody --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul 2003, philippe guillaume wrote: > > > I saw on the cygwin site that there was a package > for > > tcsh ... But : > > 1- i haven't found a site to download it yet > > 2- i 've tried to download and install cygwin with > the > > cygwin-site release and the install blocks when > > choosing the packages... > > 3- i haven't seen the tcsh package in this install > > > > There's a lot of problems !!! lol > > Could you please answer me some informations ? > > > > Thanks a lot in advance > > > > Ps: sorry for my bad english > > Use setup.exe, just like you would for any other > package. Try the > "Shells" category, or use the "Full" view -- it > lists packages > alphabetically. > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, > Ph.D. > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between > your mentor and his route > to the bathroom is a major career booster." -- > Patrick Naughton > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tcsh on Cygwin and problems in installing cygwin ...
I've resolved my problem ... i found a ftp that provided me a version of the cygwin setup on which there is tcsh and many others packages ... ! Thanks to everybody --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul 2003, philippe guillaume wrote: > > > I saw on the cygwin site that there was a package > for > > tcsh ... But : > > 1- i haven't found a site to download it yet > > 2- i 've tried to download and install cygwin with > the > > cygwin-site release and the install blocks when > > choosing the packages... > > 3- i haven't seen the tcsh package in this install > > > > There's a lot of problems !!! lol > > Could you please answer me some informations ? > > > > Thanks a lot in advance > > > > Ps: sorry for my bad english > > Use setup.exe, just like you would for any other > package. Try the > "Shells" category, or use the "Full" view -- it > lists packages > alphabetically. > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, > Ph.D. > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between > your mentor and his route > to the bathroom is a major career booster." -- > Patrick Naughton > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Pb including Xm.h
My program contains some include of "Xm/Xm.h" Libraries are defined like this : INC_DIR_XLIB = /usr/X11R6/include and for compilation : -I$(INC_DIR_LIB) I manage to compile it on Linux but not on Cygwin !!! But the pathes for Xm.h are the same ! When i want to compile it the following message appears : " Xm/Xm.h " no such file or directory How do you understand it ? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Pb including Xm.h
But when i installed cygwin, i installed all the packages ... And even if this package was not installed , why the file Xm.h is not found ? I see it in /usr/X11R6/include/Xm/ I'm gonna try your solution Thanks --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > My program contains some include of "Xm/Xm.h" > > > > Libraries are defined like this : > > INC_DIR_XLIB = /usr/X11R6/include > > > > and for compilation : > > -I$(INC_DIR_LIB) > > > > I manage to compile it on Linux but not on Cygwin > !!! > > But the pathes for Xm.h are the same ! > > > > When i want to compile it the following message > > appears : " Xm/Xm.h " no such file or directory > > > > How do you understand it ? > > A search for "Xm.h" on <http://cygwin.com/packages/> > reveals that the package > 'lesstif' contains those headers. So, you need to > install the 'lesstif' package. > > Elfyn > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Pb including Xm.h
yes it is added like i told in the first post ... --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > But when i installed cygwin, i installed all the > > packages ... > > And even if this package was not installed , why > the > > file Xm.h is not found ? > > I see it in /usr/X11R6/include/Xm/ > > > > I'm gonna try your solution > > If it's already there, then the pre-processor is not > being given the directory > `/usr/X11R6/include', it would seem. > > When compiling the file(s) that require this header, > are you adding > `-I/usr/X11R6/include' ? > > Elfyn > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Pb including Xm.h
here it is : gcc -02 -gddb -Iblabla/include -c myprog.c and it produces this error : "In file included from myprog.c: blabla/myprog.h : Xm/Xm.h : No Such File Or Directory" --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > yes it is added like i told in the first post ... > > OK, can you send us the command that's failing? > > Elfyn > > > > > But when i installed cygwin, i installed all > the > > > > packages ... > > > > And even if this package was not installed , > why > > > the > > > > file Xm.h is not found ? > > > > I see it in /usr/X11R6/include/Xm/ > > > > > > > > I'm gonna try your solution > > > > > > If it's already there, then the pre-processor is > not > > > being given the directory > > > `/usr/X11R6/include', it would seem. > > > > > > When compiling the file(s) that require this > header, > > > are you adding > > > `-I/usr/X11R6/include' ? > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Pb including Xm.h
i think i found why it does not work ... there's two same-named files ! Myprog.h and myprog.h !!! Cygwin does not understand that this is two different files apparently ... oh la la la la :-( --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > yes it is added like i told in the first post ... > > OK, can you send us the command that's failing? > > Elfyn > > > > > But when i installed cygwin, i installed all > the > > > > packages ... > > > > And even if this package was not installed , > why > > > the > > > > file Xm.h is not found ? > > > > I see it in /usr/X11R6/include/Xm/ > > > > > > > > I'm gonna try your solution > > > > > > If it's already there, then the pre-processor is > not > > > being given the directory > > > `/usr/X11R6/include', it would seem. > > > > > > When compiling the file(s) that require this > header, > > > are you adding > > > `-I/usr/X11R6/include' ? > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem in compiling : cannot find -ldl
Here is the line for the compilation : " gcc -o wish.exe OBJ/wish.o OBJ/calculPosition.o OBJ/calculVisibiliteCmd.o -L/usr/lib -L/usr/X11R6/lib -ltk -ltcl -ldl -lX11 -lm " and it produces this error : " /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld : cannot find -ldl " There's two things that i don't understand ... 1- Why i can't see the bin directory on windows in c:\cygwin\usr and even when i do " ls -l /usr " ? 2- the option -llibrary ... this error means that dl library isn't on my cygwin ? if it's that how can i get it ? Could you please help me ? Thanks a lot. Philippe ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem in compiling : cannot find -ldl
I manage to access to the directory lib and bin but i can't see it ... [EMAIL PROTECTED] /]$ mount c:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) c:\cygwin\usr\bin on /usr/bin type user (textmode) c:\cygwin\usr\lib on /usr/lib type user (textmode) c:\cygwin on / type user (textmode) c: on /cygdrive/c type user (textmode,noumount) Thanks a lot for helping me ! --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Wed, 9 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > Here is the line for the compilation : > > > > " gcc -o wish.exe OBJ/wish.o OBJ/calculPosition.o > > OBJ/calculVisibiliteCmd.o -L/usr/lib > -L/usr/X11R6/lib > > -ltk -ltcl -ldl -lX11 -lm " > > > > and it produces this error : > > > > " > > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld > > : cannot find -ldl " > > libdl is a linux'ism. You don't need it. We don't > have it :-) Just remove '-ldl' > from the Makefile or link line. > > > There's two things that i don't understand ... > > 1- Why i can't see the bin directory on windows in > > c:\cygwin\usr and even when i do " ls -l /usr " ? > > /usr/bin and /usr/lib are just mount points to > C:\cygwin\bin and C:\cygwin\lib . > You should be able to see bin and lib from `ls -l > /usr', though. What's the > output of `mount' ? > > > 2- the option -llibrary ... this error means that > dl > > library isn't on my cygwin ? if it's that how can > i > > get it ? > > Elfyn > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with TCL , couldn't execute a TCL file
Hi ! There's a new problem in porting my program ... A button of the main window (written in TCL) calls another TCL file. When i click on this button it produces this error: "Error : couldn't execute "C:\cygwin\home\me\THEPROGRAM": no such file or directory But this file really exists !!! it is called like this : "command {exec /home/me/THEPROGRAM &} " Where is the problem ??? Please !!! ;-) ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with TCL , couldn't execute a TCL file
No it does not work ... it is THEPROGRAM and not THEPROGRAM.exe ... and the path is well defined in command{} But when i type "exec THEPROGRAM &" it runs !!! What a mystery ! :-) --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Thu, 10 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > Hi ! > > > > There's a new problem in porting my program ... > > A button of the main window (written in TCL) calls > > another TCL file. > > > > When i click on this button it produces this > error: > > > > "Error : couldn't execute > > "C:\cygwin\home\me\THEPROGRAM": no such file or > > directory > > > > But this file really exists !!! > > > > it is called like this : > > "command {exec /home/me/THEPROGRAM &} " > > Does changing the above to > > command {exec /home/me/THEPROGRAM.exe &} > > work ? > > Elfyn > > -- > Elfyn McBratney, EMCB > http://www.emcb.co.uk > [EMAIL PROTECTED] > > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Pb in running tcl file under cygwin ... the windows is closed immediatly
i've got a problem with a tcl file in my program i manage to compile all the program but when i want to run the tcl file the window appears during 1 millisecond and close immediatly... On unix i don't have this problem ! Do you know what it is ? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with tty
Hi, I have installed cygwin but I am under the impression that the tty setting does not work. Symptoms: $ echo $CYGWIN tty glob notitle When I start python, I do not get any interactive shell. Note that this is python from active state. But it works fine with the windows prompt. When I start gvim (external, not the available with cygwin), I have not ^Z control. Other things seem to be working correctly. Any idea what it could be ? Philippe ps: I am not suscribed, so please include me in any reply. -- In 1492 AD, Colombus reaches what he thinks is India but RMS informs him that it is actually Gnu/India. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with tty
> Setting 'tty' for Cygwin will not have any affect on Windows programs. > Only Cygwin ones. Running a Windows program from a Cygwin shell prompt > can cause output from the Windows program to get "lost" since they don't > understand ptys. Use Cygwin's python and you won't have the particular > problem you mentioned when run from a Cygwin shell prompt with 'tty' set. Thank you for the information. I suppose there is no workaround for this ? Like launching vim inside a bash script ? regards, PHilippe -- The box said it should run Windows 98 or better, so it should run Linux! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Canvas does not appear and the font does not refresh
In my tcl window , there's normally a canvas ... But it does not appear ! ??? And when i open another window upon the tcl one, i see the image of the window at the place of the canvas ! i hear that it was a problem with the XF86CONFIG file but there is no such file in my cygwin directory. How can i generate it please ? thanks and sorry ( i'm french : ) ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Launching cygwin with tcsh
Hello i wanted to know how could i launch tcsh-shell instead of bash-shell when i run cygwin ... If i run tcsh-shell, is there any possibility to create a .tcshrc for configuring path and other environment variables? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
And now a problem with tcl
I've been searching for a long time about this problem. The command runs normally on Unix but not on Cygwin :( The problem concerns a command button which runs a sh-script ... Here is the syntax : button .frPrincipal.thug\ -activebackground "#beccbe" \ -background "#d2e0d2" \ -command {exec scriptsh &} \ -cursor {hand1} \ -font $font \ -height {2} \ -text {run scriptsh} \ -width {22} The directory containing the scriptsh file is defined in the PATH both on Cygwin and Unix. But it runs on Unix and not on Cygwin. Actually, i must type "exec sh /home/.../scriptsh" to run it ... So please, what can i do solve this problem ? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
And now a problem with tcl
I've been searching for a long time about this problem. The command runs normally on Unix but not on Cygwin :( The problem concerns a command button which runs a sh-script ... Here is the syntax : button .frPrincipal.thug\ -activebackground "#beccbe" \ -background "#d2e0d2" \ -command {exec scriptsh &} \ -cursor {hand1} \ -font $font \ -height {2} \ -text {run scriptsh} \ -width {22} The directory containing the scriptsh file is defined in the PATH both on Cygwin and Unix. But it runs on Unix and not on Cygwin. Actually, i must type "exec sh /home/.../scriptsh" to run it ... So please, what can i do solve this problem ? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: And now a problem with tcl
So i can't call a script whose directory is not in the path ...? Damned !!! ;) Thanks a lot Igor --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Tue, 29 Jul 2003, philippe guillaume wrote: > > > I've been searching for a long time about this > > problem. > > The command runs normally on Unix but not on > Cygwin :( > > > > The problem concerns a command button which runs a > > sh-script ... > > Here is the syntax : > > > > button .frPrincipal.thug\ > > -activebackground "#beccbe" \ > > -background "#d2e0d2" \ > > -command {exec scriptsh &} \ > > -cursor {hand1} \ > > -font $font \ > > -height {2} \ > > -text {run scriptsh} \ > > -width {22} > > > > The directory containing the scriptsh file is > defined > > in the PATH both on Cygwin and Unix. > > But it runs on Unix and not on Cygwin. > > Actually, i must type "exec sh /home/.../scriptsh" > to > > run it ... > > > > So please, what can i do solve this problem ? > > IIRC, tcl doesn't understand POSIX paths. So, your > solution (exec sh ...) > is correct (you could also most likely omit the full > path from scriptsh, > i.e, use "exec sh scriptsh", provided scriptsh *is* > in the PATH). > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, > Ph.D. > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between > your mentor and his route > to the bathroom is a major career booster." -- > Patrick Naughton > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with Cygwin.bat
I want to launch the tcsh-shell and not bash-shell at startup... So i modified the Cygwin.bat , replacing "bash --login -i" by "tcsh -l -i" ... But when i run Cygwin, it shuts down immediatly. Why please ??? ;) ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Control the cygwin terminal with escape sequences
Hi Igor, After updating cygwin on my pc, i try again: % perl -e 'system("stty raw -echo") ; print "\e[H\e[J"' which doesn't clear the screen. I use the ActiveState Perl, 5.8.0, bash 2.05b.0(8) and cygwin-1.3.20-1. Can you send me a command line which work? I will try it. Many thanks, Philippe -Message d'origine- De : Igor Pechtchanski [mailto:[EMAIL PROTECTED] Envoye : lundi 3 mars 2003 16:52 A : Philippe Verdret Cc : [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: Control the cygwin terminal with escape sequences Redirecting to the correct list. Please remove from replies. On Mon, 3 Mar 2003, Philippe Verdret wrote: > Hi, > > i want to control the cygwin terminal with escape sequences generated > by a Perl program. > > I can clear the screen with the echo command: > % echo -e "\033[H\033[J" > > but if i write a small inline perl program, i can't: > > % perl -e 'print "\033[H\033[J"' > > This doesn't work even if i put the screen in 'raw mode' without echo > (with system('stty -echo raw') in the perl program). > > Can you help me? > > Philippe And answering: Philippe, Works for me (using cygwin-1.3.20, bash-2.05b-8 and perl-5.6.1)... You might want to report your problem properly, as described in <http://cygwin.com/bugs.html>. Also, check that your perl one-liner outputs exactly the right sequence (by piping it to "od -c", for example). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Re: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)
Hi, > Either actually read the mailing list via email as intended or read it > via news. We can read/write messages via news.gmane.org server... But, IMHO, a group of discussion would be very useful: for the beginners, for 'repeat' questions and problems, ..., for any debat concerning Cygwin! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
BUG: rxvt - menubar
Cygwin v1.3.10 rxvt v2.7.2 (XPM,menubar,.Xdefault) Win XP >From Xfree86 (i.e. twm & fwm2) the 'menu' resource seems ignored :( >From DOS-BASH, rxvt displays my menus... but, fails when i try to click on an item :( Is-it a configuration problem or a bug ? Thanks in advance for your reply... Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
HELP: rxvt configuration
One week ago, i sent a message relating to rxvt... I made new experiments: a/ when I enter 'rxvt -tn rxvt -e /bin/tcsh', rxvt displays no menu Note: I obtain the same effect if i launch rxvt from the startxwin.bat file or from the menus od fvwm2. What do you think about this situation ? b/ when a start rxvt from a terminal, rxvt works properly :) c/ when a start rxvt with '-tn xterm' (or no -tn argument), tcsh replies: 'tcsh: no entry for terminal type "xterm"' Note: my default termcap file contains the entries relating to xterm... Finally, a last question: I set the SHELL environment variable in 'startxwin.bat': is it a right place ? I don't understand why this variable is not properly set by the environment (although tcsh is my default shell) My config: - rxvt v2.7.2 - XFree86 v4.2.0 - WinXP Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: HELP: rxvt configuration
Thanks for your reply :) I think that I understood my error concerning the menus in RXVT: In my .Xdefaults file, I set the '.path' resource to '$HOME'...when, rxvt read this file, the HOME and the USER variables don't seem to be still defined... so, rxvt cannot open my menu :( This explains also why, when I open rxvt from rxvt terminal, the menu is properly displayed: in this case, rxvt can use the current values of theses variables... Now, I set the '.path' resource to '/home/Philippe' and all seems ok... but, I think that it is not the best solution... How you resolved this problem ? a+ Philippe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How to automate the installation of Cygwin?
I'd like to know if there are options in the setup of Cygwin in order to automate the installation of it. I typed "setup.exe /?" in the dos shell but nothing ... Do you know how to automate this installation ? ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: How to automate the installation of Cygwin?
I don't want to do a manual installation. I'd like to launch the setup and i want it to install Cygwin without having to clic on "Next", "Next",... or to clic on "install from local directory", ... Many setup's on Windows allow this. For example, the setup for MSN messenger ... Type "setupdl.exe /?" and a window appear with install-options, like "silent mode" ... ! --- Bill McCormick <[EMAIL PROTECTED]> a écrit : > > I'd like to know if there are options in the setup > of > > Cygwin in order to automate the installation of > it. > > I typed "setup.exe /?" in the dos shell but > nothing > > ... > > Do you know how to automate this installation ? > > > > You didn't search the list archive did you? > > http://sources.redhat.com/ml/cygwin/2002-04/msg01008.html > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.506 / Virus Database: 303 - Release > Date: 8/1/2003 > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to automate the installation of Cygwin?
ok thanks a lot. I hadn't understood this ( i'm french :))) ), sorry ! --- Max Bowsher <[EMAIL PROTECTED]> a écrit : > philippe guillaume wrote: > > I don't want to do a manual installation. > > I'd like to launch the setup and i want it to > install > > Cygwin without having to clic on "Next", > "Next",... > > or to clic on "install from local directory", ... > > > > Many setup's on Windows allow this. > > > > For example, the setup for MSN messenger ... > > Type "setupdl.exe /?" and a window appear with > > install-options, like "silent mode" ... ! > > And, if you did look at the list archives, you would > see that the answer is > no. > > Many people have complained about this, but unless > someone decides to > actually write code to do this, it will not happen. > That is the nature of > open source. > > Unfortunately, it will be a big job, because setups > functional logic is > rather tightly bound to it's display logic. > > > Max. > > > > --- Bill McCormick <[EMAIL PROTECTED]> a > écrit : > >>> I'd like to know if there are options in the > setup > >> of > >>> Cygwin in order to automate the installation of > >> it. > >>> I typed "setup.exe /?" in the dos shell but > >> nothing > >>> ... > >>> Do you know how to automate this installation ? > >>> > >> > >> You didn't search the list archive did you? > >> > >> > > > http://sources.redhat.com/ml/cygwin/2002-04/msg01008.html > >> > >> > >> --- > >> Outgoing mail is certified Virus Free. > >> Checked by AVG anti-virus system > >> (http://www.grisoft.com). > >> Version: 6.0.506 / Virus Database: 303 - Release > >> Date: 8/1/2003 > >> > > > > > ___ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite > et en français ! > > Yahoo! Mail : http://fr.mail.yahoo.com > ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE : Mostly reproducible rsync hangs
I've discovered approximately the same problem, and with scp also. Sometimes my transfert is stopped and stay there until I kill the server or the client. But I've not certified that is then the file is big. Sometimes I've arrived to freeze the transfert simply by typing some caracters when the transfert is in progress. My problem is the same with scp, then why not a ssh problem ? Configuration: rsync client : - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1 - Windows XP english SP1 - through ssh rsync server : - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1 - Windows XP english SP1 - sshd version OpenSSH_3.6.1p1 server from cygwin Thanks, Philippe. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Patrick J. LoPresti Envoyé : mercredi, 20. août 2003 23:47 À : [EMAIL PROTECTED] Objet : Mostly reproducible rsync hangs I am having a problem with Cygwin and rsync. I have reproduced this on multiple systems, all SMP boxes running Windows XP, and on multiple versions of Cygwin (including DLL 1.3.22 and DLL 1.5.2). To reproduce, I just configure sshd on a machine (call it "cygwin-host") and run the following command from any RH9 Linux system: rm -rf /tmp/usr rsync -av -e ssh cygwin-host:/usr /tmp Almost always, the transfer hangs after a few megabytes have been transferred. But it does not hang in exactly the same place. According to "ps", both the rsync and sshd process on cygwin-host are stuck in "O" state, and they stay there until they are killed. This happens for any large rsync from cygwin-host to the Linux machine, provided I initiate the transfer from the Linux machine. If I initiate an rsync from the Cygwin host (in either direction), or if I push a large tree from the Linux host to the Cygwin host, it always works, even for multi-gigabyte transfers. I will attempt to debug this myself, but I am curious whether others are able to reproduce it. Note that I am not sure whether Windows XP is relevant, but I am pretty sure that SMP is. Thanks! - Pat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE : Mostly reproducible rsync hangs
Some news for this (big for me) problem ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Philippe Torche Envoyé : jeudi, 21. août 2003 09:38 À : [EMAIL PROTECTED] Objet : RE : Mostly reproducible rsync hangs I've discovered approximately the same problem, and with scp also. Sometimes my transfert is stopped and stay there until I kill the server or the client. But I've not certified that is then the file is big. Sometimes I've arrived to freeze the transfert simply by typing some caracters when the transfert is in progress. My problem is the same with scp, then why not a ssh problem ? Configuration: rsync client : - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1 - Windows XP english SP1 - through ssh rsync server : - rsync 2.5.6 (prot 26) on cygwin 1.3.22-1 - Windows XP english SP1 - sshd version OpenSSH_3.6.1p1 server from cygwin Thanks, Philippe. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Patrick J. LoPresti Envoyé : mercredi, 20. août 2003 23:47 À : [EMAIL PROTECTED] Objet : Mostly reproducible rsync hangs I am having a problem with Cygwin and rsync. I have reproduced this on multiple systems, all SMP boxes running Windows XP, and on multiple versions of Cygwin (including DLL 1.3.22 and DLL 1.5.2). To reproduce, I just configure sshd on a machine (call it "cygwin-host") and run the following command from any RH9 Linux system: rm -rf /tmp/usr rsync -av -e ssh cygwin-host:/usr /tmp Almost always, the transfer hangs after a few megabytes have been transferred. But it does not hang in exactly the same place. According to "ps", both the rsync and sshd process on cygwin-host are stuck in "O" state, and they stay there until they are killed. This happens for any large rsync from cygwin-host to the Linux machine, provided I initiate the transfer from the Linux machine. If I initiate an rsync from the Cygwin host (in either direction), or if I push a large tree from the Linux host to the Cygwin host, it always works, even for multi-gigabyte transfers. I will attempt to debug this myself, but I am curious whether others are able to reproduce it. Note that I am not sure whether Windows XP is relevant, but I am pretty sure that SMP is. Thanks! - Pat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
tee core dumped
I found a problem with tee (probably), please try this sample code below. I've found the same problem with other tools like gawk, ... echo '#!/usr/bin/bash sleep 10 > /dev/null 2>&1 & transfert_job=$! echo LINENO=$LINENO procps -p $transfert_job -o 'pid,ppid' echo LINENO=$LINENO ' > test.sh chmod +x test.sh # OK test.sh > test.out # KO KO KO KO KO KO KO KO KO KO KO KO KO KO test.sh | tee test.out # Segmentation fault (core dumped) Info: $ cat tee.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=610BA041 eax= ebx=615F1F50 ecx= edx=6F6C5C72 esi=0076FE9C edi=6F6C5C72 ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 0076FE74 610BA041 (6F6C5C72, 0076FEA0, 0004, 0076FE9C) 0076FEB4 6105828B (00A2, , , ) 0076FF04 61077738 (FFFE, 0010, , ) 0076FF84 61077CC8 (610D1B58, , 858A88E0, 804FAB78) 0076FFB4 610053C8 (610D1B58, , 0022FC44, 610D1B58) 3 [sig] tee 2400 handle_exceptions: Error while dumping state (probably corrupted stack) $ /usr/bin/tee --version tee (sh-utils) 2.0.15 Written by Mike Parker, Richard M. Stallman, and David MacKenzie. $ cygcheck -svr Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Aug 27 12:43:46 2003 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: . C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\util C:\cygwin\bin c:\Program Files\doxygen\bin c:\PROGRA~1\ATT\Graphviz\bin c:\PROGRA~1\ATT\Graphviz\bin\tools c:\Program Files\CodeProject\NScript c:\Program Files\Microsoft SQL Server\80\Tools\Binn\ C:\cygwin\home\pto\bin c:\PROGRA~1\HTMLHE~1 C:\cygwin\bin\id.exe output (nontsec) UID: 1003(pto) GID: 547(Power groups=513(None) 544(Administrators) 545(Users) C:\cygwin\bin\id.exe output (ntsec) UID: 1003(pto) GID: 547(Power groups=513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `binmode ntsec codepage:ansi' HOME = `C:\cygwin\home\pto' MAKE_MODE = `unix' PWD = `/home/pto/tmp' USER = `pto' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\pto\Application Data' BASH_ENV = `/home/pto/.bashrc' CLASSPATH = `C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar' COLUMNS = `110' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PC5' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `ssh' DISPLAY = `:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\pto' INCLUDE = `c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\' LIB = `c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LINES = `48' LOGONSERVER = `\\PC5' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/pto' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYBASE = `c:\sybase' SYBASE_JRE = `c:\sybase\shared-1_0\jre1.2.2' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\pto\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\pto\LOCALS~1\Temp' USERDOMAIN = `PC5' USERNAME = `pto' USERPROFILE = `C:\Documents and Settings\pto' VS71COMNTOOLS = `c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\' VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SO
RE : tee core dumped
No body arrived to reproduce this ? Actually I can produce this sometimes using isql from MS, gawk, ... It's for me a very big problem ! Please help me ! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Philippe Torche Envoyé : mercredi, 27. août 2003 13:02 À : [EMAIL PROTECTED] Objet : tee core dumped I found a problem with tee (probably), please try this sample code below. I've found the same problem with other tools like gawk, ... echo '#!/usr/bin/bash sleep 10 > /dev/null 2>&1 & transfert_job=$! echo LINENO=$LINENO procps -p $transfert_job -o 'pid,ppid' echo LINENO=$LINENO ' > test.sh chmod +x test.sh # OK test.sh > test.out # KO KO KO KO KO KO KO KO KO KO KO KO KO KO test.sh | tee test.out # Segmentation fault (core dumped) Info: $ cat tee.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=610BA041 eax= ebx=615F1F50 ecx= edx=6F6C5C72 esi=0076FE9C edi=6F6C5C72 ebp=0076FE74 esp=0076FE70 program=C:\cygwin\bin\tee.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 0076FE74 610BA041 (6F6C5C72, 0076FEA0, 0004, 0076FE9C) 0076FEB4 6105828B (00A2, , , ) 0076FF04 61077738 (FFFE, 0010, , ) 0076FF84 61077CC8 (610D1B58, , 858A88E0, 804FAB78) 0076FFB4 610053C8 (610D1B58, , 0022FC44, 610D1B58) 3 [sig] tee 2400 handle_exceptions: Error while dumping state (probably corrupted stack) $ /usr/bin/tee --version tee (sh-utils) 2.0.15 Written by Mike Parker, Richard M. Stallman, and David MacKenzie. $ cygcheck -svr Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Aug 27 12:43:46 2003 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: . C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\util C:\cygwin\bin c:\Program Files\doxygen\bin c:\PROGRA~1\ATT\Graphviz\bin c:\PROGRA~1\ATT\Graphviz\bin\tools c:\Program Files\CodeProject\NScript c:\Program Files\Microsoft SQL Server\80\Tools\Binn\ C:\cygwin\home\pto\bin c:\PROGRA~1\HTMLHE~1 C:\cygwin\bin\id.exe output (nontsec) UID: 1003(pto) GID: 547(Power groups=513(None) 544(Administrators) 545(Users) C:\cygwin\bin\id.exe output (ntsec) UID: 1003(pto) GID: 547(Power groups=513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `binmode ntsec codepage:ansi' HOME = `C:\cygwin\home\pto' MAKE_MODE = `unix' PWD = `/home/pto/tmp' USER = `pto' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\pto\Application Data' BASH_ENV = `/home/pto/.bashrc' CLASSPATH = `C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar' COLUMNS = `110' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PC5' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `ssh' DISPLAY = `:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\pto' INCLUDE = `c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\' LIB = `c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LINES = `48' LOGONSERVER = `\\PC5' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/pto' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYBASE = `c:\sybase' SYBASE_JRE = `c:\sybase\shared-1_0\jre1.2.2' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\pto\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\pto\LOCALS~1\Temp' USERDOMAIN = `PC5' USERNAME = `pto' USERPROFILE = `C:\Documents and Settings\pto' VS71COMNTOOLS = `c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\' VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
RE : Postinstall script error
Probably your the cygwin1.dll was not unloaded when you've done the setup. Remark : don't forget to stop cygwin services (sshd, ...) > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Tomasz Rojek > Envoyé : mercredi, 3. septembre 2003 10:33 > À : [EMAIL PROTECTED] > Objet : Postinstall script error > > > Hi all, > > I was upgrading my cygwin instalation while during execution > postinstall scripts dozens of error popup windows strated to appear: > > cygpath.exe | sed.exe | basename.exe | rm.exe | ln.exe | > uname.exe | expr.exe - Entry Point Not Found > > The procedure entrypoint __getreent could not be located in > the dynamic library cygwin1.dll. > > After all I got this window: > Instalation incomplete. Please see setup.log for details. > > I found nothing interesting there so I took a look at > setup.full.log, but still no idea what is the reason of my > problem. Should I send it to the grmailing list? It's almost > 1 MB, so maybe I should compress it? > > Moreover none of the cygwin apps work although I get my > normal bash prompt when invoking rxvt. > > Please help. > Greetings > > -- > Tomasz Rojek > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE : tee core dumped
Many thanks, I've tested it successfully with the latest CVS version (Friday 5 oct 10:50 GMT+2) > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Christopher Faylor > Envoyé : vendredi, 5. septembre 2003 03:57 > À : [EMAIL PROTECTED] > Objet : Re: tee core dumped > > > On Fri, Aug 29, 2003 at 12:11:43PM +0200, Philippe Torche wrote: > >No body arrived to reproduce this ? > >Actually I can produce this sometimes using isql from MS, gawk, ... > >It's for me a very big problem ! > > This will be fixed in the next snapshot: > > http://cygwin.com/snapshots/ > > and in the 1.5.4 release, of course. > -- > Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send > > email to [EMAIL PROTECTED] and be permanently blocked from mailing lists at sources.redhat.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problem with make 'undef missing'
Hi, I use a generic makefile on several systems... In the past, this makefile worked fine under Cygwin ! Now, I obtain the following error: 'makefile.def:3: *** missing... See, the following stupid makefile: *** Begin of file *** ifneq ($(strip $(SUBDIRS)),) else define MAKE_SUBDIRS $(MAKE_NOTHING) endef endif .PHONY : all all : depend .PHONY : depend depend depends: $(CCLIST) $(CLIST) $(MAKE_DEPENDS) $(MAKE_SUBDIRS) *** end of file *** Please note: if I replace the character (line 5, before the endef) by blank characters.. make works with no error ! a+ -- Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Is the 'less' module support the Euro symbol ?
Hi, Is the 'less' module support the Euro symbol ? - if i start RXVT from Windows and if I launch 'less', this one display properly the accentuated characters and the Euro symbol... Moreover it seems to to me, that this one does not use the LESSCHARSET and the LC_* variables ! - if i start RXVT from XFree, 'less' do not display the Euro symbol... why ? is-it a configuration problem ? Note: I set the LESSCHARSET variable to latin9... a+ -- Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ls - novice question
Hi, Why need to use the '--show-control-chars' option of the 'ls' module to display the accentuated characters ? -- Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is the 'less' module support the Euro symbol ?
Thanks Igor for your reply, Please Igor could you explain to me how cygwin modules work from Windows: It seems to to me, that 'ls', 'more', 'less' do not use the LESSCHARSET and the LC_* variables ! why ? a+ -- Philippe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
less module: -R option
It seems to me that less does not support the -R option when we start it from RXVT/WindowsXP ! -- Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls - novice question
Hi, Thanks for your reply! > Ask that in any linux/unix/bash/fileutils forum - it's off topic here. > I've been there wondering too, but not bothered to ask. When I read your reply, I understand that my question is off-topic... But, on SunOS & HP-UX, I never used this option! On this 2 platforms, it seems to me that 'ls' manages the accentuated characters without additional option... If I understand, the --show-control-chars option is specific to Cygwin (and maybe Linux)... and, my question does not seem to me off-topic... Thanks again, a+ --- Philippe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ls --color (strange display)
Hi, When i had the --color option to the 'ls c:' command line, i obtain the 2 followings lines: ls: c:/hiberfil.sys: No such file or directory ls: c:/pagefile.sys: No such file or directory Note: c:/hiberfil.sys & c:/pagefile.sys are 2 existing files... displayed when i remove this option! a+ -- Philippe Bastiani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls --color (strange display)
Hi, > My WAG is that with --color, ls is opening files to look at the first > few bytes in an effort to determine what type of file it is. You do not > have permissions to open C:/hiberfil.sys nor c:/pagefile.sys so it fails. Yes, these 2 files are unreadable! But, IMHO, 'ls' should not fails, and displays the unreadable files without color! a+ -- Philippe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Bash in interactive mode receive unexpected ^D
I use "Remote Desktop Connection" from my Windows XP station on my "Windows Server 2003", and start a bash shell. After Minimizing my "Remote Desktop Connection" and restore it, sometimes my bash shell receive multiple ^D (Ctrl-D) when I active it and press a key, so closing it! Other situation produce the same problem like : start a new bash shell and run "ssh localhost" send ^D to the first shell! Unfortunately I can't produce a test case, sometimes the problem occurs systematically, and after that never for 100 times. Thanks in advance, Philippe. Cygwin Win95/NT Configuration Diagnostics Current System Time: Thu Oct 30 11:24:48 2003 Windows .NET Server Ver 5.2 Build 3790 Path: . C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin c:\util c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\cvsnt c:\Program Files\Microsoft SQL Server\80\Tools\BINN C:\cygwin\usr\sbin Output from C:\cygwin\bin\id.exe (nontsec) UID: 500(Administrator) GID: 513(Domain Users) 513(Domain Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 500(Administrator) GID: 513(Domain Users) 513(Domain Users) 544(Administrators) 554(Pre-Windows 2000 Compatible Access) 545(Users) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 10520(Group Policy Creator Owners) 10518(Schema Admins) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS CYGWIN = `smbntsec tty codepage:ansi' HOME = `C:\cygwin\home\Administrator' MAKE_MODE = `unix' PWD = `/home/Administrator' USER = `Administrator' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Administrator\Application Data' CLIENTNAME = `PC5' CLUSTERLOG = `C:\WINDOWS\Cluster\cluster.log' COLUMNS = `110' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `JLE1' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVSROOT = `:ext:[EMAIL PROTECTED]:/jle' CVS_RSH = `ssh' DISPLAY = `:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Administrator' HOSTNAME = `jle1' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LANG = `EN' LINES = `48' LOGONSERVER = `\\JLE1' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0602' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `RDP-Tcp#4' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\cygwin\home\Administrator\tmp' TERM = `cygwin' TMP = `C:\cygwin\home\Administrator\tmp' USERDNSDOMAIN = `JLE.CORP' USERDOMAIN = `JLE' USERNAME = `Administrator' USERPROFILE = `C:\Documents and Settings\Administrator' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 34993Mb 45% CP CS UN PA FC f: hd NTFS 114470Mb 51% CP CS UN PA FC Disque local 1 IDE l: cd N/AN/A n: cd INCDFS 4479Mb 1% CPUN Incremental C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Not Found: cpp (good!) Found: C:\cygwin\bin\fin
RE: Testers for new ssh-*-config scripts wanted!
Script ssh-host-config works for me, but when I've entered the CYGWIN env var, I've do a error and type "ntser", then backspace and then the correct "c" caracters. Thus CYGWIN key in the registry has now "ntser\x08c" instead of "ntsec"! This is caused by the read command! Thanks. PS Wait for a "Windows 2003 Server" version > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Corinna Vinschen > Envoyé : jeudi, 30. octobre 2003 18:11 > À : [EMAIL PROTECTED] > Objet : Testers for new ssh-*-config scripts wanted! > > Hi, > > is anybody here willing to give my new ssh-host-config and > ssh-user-config shell scripts a thorough test? I tested them > by myself but I have this nagging feeling I missed something > important. > > The important changes: > > - On NT, try to set permissions on files and directories to a > useful value. > - On NT, try to set ownership on files and directories to a > useful value. > > Only in ssh-host-config: > > - Write the /etc/services entries for ssh now with CRLF lineendings. > - Remove the code to accomplish old style installations, with "old > being older than roughly 3 years. > - /etc/ssh_config and /etc/sshd_config are not hardcoded here-scripts > in the ssh-host-config script anymore, but they are copied and > modified from ssh_config and sshd_config files in /etc/defaults/etc. > This allows to accomodate changes in the vanilla scripts without > having to change the shh-host-config script. > - On NT, always set ownership of various files to SYSTEM, if sshd > has been installed as service. > > Both scripts are attached. When testing the new "copy config > files from /etc/defaults/etc" functionality, please think of > copying the ssh_config and sshd_config files (if possible the > vanilla versions) to /etc/defaults/etc first. > > Feedback and patches welcome and thanks in advance, Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:[EMAIL PROTECTED] > Red Hat, Inc. > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Testers for new ssh-*-config scripts wanted!
Nope, read from bash don't reconize control caracters without -e parameter: $ read _cygwin Ntser[Backspace]c $ echo $_cygwin | od -t x1 000 6e 74 73 65 72 08 63 0a 010 BUT OK with "-e" $ read -e _cygwin Ntser[Backspace]c $ echo $_cygwin | od -t x1 000 6e 74 73 65 63 0a 006 Thanks, Philippe. > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Corinna Vinschen > Envoyé : vendredi, 31. octobre 2003 12:08 > À : [EMAIL PROTECTED] > Objet : RE: Testers for new ssh-*-config scripts wanted! > > On Fri, Oct 31, 2003 at 09:55:04AM +0100, Philippe Torche wrote: > > Script ssh-host-config works for me, but when I've entered > the CYGWIN > > env var, I've do a error and type "ntser", then backspace > and then the > > correct "c" caracters. > > Thus CYGWIN key in the registry has now "ntser\x08c" > instead of "ntsec"! > > This is caused by the read command! > > Yeah, but that's not a fault of the script but of the shell. > Nothing I can do about in the script. Except if I require > the script to run under bash instead of sh, to allow readline support. > > Would that be acceptable? I have attached a new version of > ssh-host-config to this mail, which requires bash now. If > that's not ok, it's easy to revert again. > > I've also attached the two vanilla files ssh_config and > sshd_config to put into /etc/defaults/etc. This should > simplify testing. > > Changed in this version of ssh-host-config: > > - Require bash. > - Remove annoying backslashes when echoing a bang (!). > - Allow /var/log/lastlog to be a directory (But that can again create > problems with permissions, Pierre!) > > Please don't forget to test ssh-user-config, too. Thanks. > > > PS Wait for a "Windows 2003 Server" version > > You know, PGA and PTC. See wtf ;-) > > Thanks to all testers, > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:[EMAIL PROTECTED] > Red Hat, Inc. > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Bash in interactive mode receive unexpected ^D
Not interesting somebody ? Alone with this bug ? Have a nice week-end, Philippe. > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Philippe Torche > Envoyé : jeudi, 30. octobre 2003 12:30 > À : [EMAIL PROTECTED] > Objet : Bash in interactive mode receive unexpected ^D > > I use "Remote Desktop Connection" from my Windows XP station > on my "Windows Server 2003", and start a bash shell. > After Minimizing my "Remote Desktop Connection" and restore > it, sometimes my bash shell receive multiple ^D (Ctrl-D) when > I active it and press a key, so closing it! Other situation > produce the same problem like : start a new bash shell and > run "ssh localhost" send ^D to the first shell! > Unfortunately I can't produce a test case, sometimes the > problem occurs systematically, and after that never for 100 times. > > Thanks in advance, Philippe. > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Testers for new ssh-*-config scripts wanted!
Sorry but, The doc of bash explains this behavior (help read). You can experiment the same think on Redhat per exemple. And don't forget to use "echo $_cygwin | od -t x1" to show what is stored in the variable. Have a nice cygweek, Philippe. > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Corinna Vinschen > Envoyé : vendredi, 31. octobre 2003 18:24 > À : [EMAIL PROTECTED] > Objet : Re: Testers for new ssh-*-config scripts wanted! > > On Fri, Oct 31, 2003 at 05:07:18PM +0100, Philippe Torche wrote: > > Nope, > > > > read from bash don't reconize control caracters without -e > parameter: > > $ read _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 000 6e 74 73 65 72 08 63 0a > > 010 > > > > BUT OK with "-e" > > > > $ read -e _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 000 6e 74 73 65 63 0a > > 006 > > Erm... when I use bash, read always recognizes the backspace > correctly. > *dig dig dig* > Even better, when using /bin/sh (ash), I don't have your > above problem either. I can change the string and no control > code shows up in the variable's value. What's different on > your machine? Nothing ! > > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:[EMAIL PROTECTED] > Red Hat, Inc. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Take 2: Testers for new ssh-*-config scripts wanted!
Hi, 1. Line 488 (you will hate me !?) : read _cygwin --->>> read -e _cygwin 2. If password complexity is enabled (yes per default) use a more complex password : length of 7 min (max 14 to avoid some warning about W2K), lower case and upper case letters. Good work, Philippe. > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Corinna Vinschen > Envoyé : lundi, 3. novembre 2003 17:22 > À : [EMAIL PROTECTED] > Objet : Take 2: Testers for new ssh-*-config scripts wanted! > > Hi, > > I'd like to ask for more testing of the new ssh-host-config > and ssh-user-config scripts. > > The new thing here is, that the ssh-host-config script now > tries to figure out if the machine is a 2003 Server or newer > system. If so, the script asks, if it should create a new > account "sshd_server" > to use as account to run sshd as service under. If you say > "yes" at this point, a bunch of funny new activities is started: > > - The script creates a sshd_server account > > - It adds that account to the administrators group *iff* it's able > to figure out the name of that group from the /etc/group file. > This means, you must not change the name of the administrators > group in /etc/group and the SID (S-1-5-32-544) must be available > in that entry. > > - It uses the new editrights utility to add the necessary user rights > to the new sshd_server account. > These rights also explicitely deny logon locally and over network > and allow logon only as service for security reasons. > > The ssh-user-config script has also been changed. It tries > to figure out if the machine is a 2003 Server or newer and if > so, it sets the permissions of the users ~/.ssh directory and > the users ~/ssh/authorized_keys file so that the sshd_server > account has read permissions on both. If it's an older > system, it does the same for the SYSTEM account. > > Also on 2003, the sshd_server account is used for ownership > of the important files (/etc/ssh*, /var/empty, /var/log/sshd.log). > > Further changes: > - Require bash for both scripts. > - Use `read -e' in both scripts to enable readline support. > > So, I'd like to ask especially users of a 2003 Server system > to test that script. Users of other systems are of course > also welcome since I want to be sure that I haven't broken > these systems. > > Attached are both scripts plus the vanilla ssh_config and > sshd_config file. The latter two have to be copied to > /etc/defaults/etc. Please not that the "editrights" tool has > to be installed on your system. > You can find it in the Base category when updating with setup.exe. > > Thanks in advance, > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:[EMAIL PROTECTED] > Red Hat, Inc. > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problems getting mysql server working
Hello, I'm trying to run a mysql server (I've test 4.1.18 and 5.0.19) on windows 2000 with cygwin. It compile fine (./configure; make; make install) but when I install the databases I get lots of errors : $ mysql_install_db Installing all prepared tables 060503 16:01:32 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/ is case insensitive 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/help_topic.frm' ERROR: 1033 Incorrect information in file: './mysql/help_topic.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/help_category.frm' ERROR: 1033 Incorrect information in file: './mysql/help_category.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/help_relation.frm' ERROR: 1033 Incorrect information in file: './mysql/help_relation.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/help_keyword.frm' ERROR: 1033 Incorrect information in file: './mysql/help_keyword.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/time_zone_name.frm' ERROR: 1033 Incorrect information in file: './mysql/time_zone_name.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/time_zone.frm' ERROR: 1033 Incorrect information in file: './mysql/time_zone.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/time_zone_transition.frm' ERROR: 1033 Incorrect information in file: './mysql/time_zone_transition.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/time_zone_transition_type.frm' ERROR: 1033 Incorrect information in file: './mysql/time_zone_transition_type.frm' 060503 16:01:32 [ERROR] /usr/local/libexec/mysqld: Incorrect information in file: './mysql/time_zone_leap_second.frm' ERROR: 1033 Incorrect information in file: './mysql/time_zone_leap_second.frm' Fill help tables 060503 16:01:32 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/ is case insensitive ERROR: 1146 Table 'mysql.help_topic' doesn't exist ERROR: 1146 Table 'mysql.help_category' doesn't exist ERROR: 1146 Table 'mysql.help_keyword' doesn't exist ERROR: 1146 Table 'mysql.help_relation' doesn't exist ERROR: 1146 Table 'mysql.help_category' doesn't exist ... ERROR: 1146 Table 'mysql.help_relation' doesn't exist To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/local/bin/mysqladmin -u root password 'new-password' /usr/local/bin/mysqladmin -u root -h idel_xp_cyril password 'new-password' See the manual for more instructions. NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the /usr/local/bin/mysql_fix_privilege_tables. Otherwise you will not be able to use the new GRANT command! You can start the MySQL daemon with: cd /usr/local ; /usr/local/bin/mysqld_safe & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench ; perl run-all-tests Please report any problems with the /usr/local/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com I have read the archives, try to set a user mysql, login as admin or user... but I don't find any solution. Thanks for your help -- Jean-Philippe Braun -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/