bash status?

2005-03-01 Thread Christopher Faylor
After instructing someone to upgrade to the newer version of bash to
fix the problem with pid reuse, I see that bash-2.05b-17 is still
in test state.

I seem to recall that Pierre may have had more patches for bash beyond
what is in bash-2.05b-17, although I don't see any in the cygwin-apps
archives.

Also what's happening with bash 3.0?

cgf


Re: bash status?

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 08:01:32AM -0500, Christopher Faylor wrote:
After instructing someone to upgrade to the newer version of bash to
fix the problem with pid reuse, I see that bash-2.05b-17 is still
in test state.

I seem to recall that Pierre may have had more patches for bash beyond
what is in bash-2.05b-17, although I don't see any in the cygwin-apps
archives.

Also what's happening with bash 3.0?

Oops.  I didn't complete my thought.

The basic questions are:

1) Can bash-2.05b-17 be moved out of test?

2) Are there more patches in the wings?

3) What's the status of bash 3.0?

and now, a meta question:

4) Do we still have a bash maintainer?  My private email to Ronald bounced.

cgf


Re: Update: perl-Win32-GUI, perl-libwin32

2005-03-01 Thread Reini Urban
Gerrit P. Haase schrieb:
Reini Urban wrote:
Gerrit P. Haase schrieb:
gcc -shared -o  ODBC.dll -Wl,--out-implib=libODBC.dll.a 
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib CMom.o Constant.o CResults.o ODBC.o Odbc.res 
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/lib/w32api -lnetapi32 
-lwininet -lversion -lmpr -lodbc32 -lodbccp32 -lwinmm -lstdc++ 
-lole32 -loleaut32 -luuid -lcomctl32 -lgdi32 -lcomdlg32 -lntdll
Creating library file: libODBC.dll.a
ODBC.o(.text+0x85e6):ODBC.cpp: undefined reference to 
`_SQLGetPrivateProfileString'
ODBC.o(.text+0x8bd2):ODBC.cpp: undefined reference to 
`_SQLGetPrivateProfileString'
ODBC.o(.text+0x1100d):ODBC.cpp: undefined reference to 
`_SQLConfigDataSource'
collect2: ld gab 1 als Ende-Status zuruck
perlld: *** system() failed to execute
gcc -shared -o  ODBC.dll -Wl,--out-implib=libODBC.dll.a 
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib CMom.o Constant.o CResults.o ODBC.o Odbc.res 
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/lib/w32api -lnetapi32 
-lwininet -lversion -lmpr -lodbc32 -lodbccp32 -lwinmm -lstdc++ 
-lole32 -loleaut32 -luuid -lcomctl32 -lgdi32 -lcomdlg32 -lntdll
Hmm, -lodbccp32 (= /lib/w32api/libodbccp32.a) should import those.
Do you miss that? This was last changed 3 years ago. The very first 
w32api version.
http://cvs.sourceforge.net/viewcvs.py/mingw/w32api/lib/

Or maybe you miss ODBCCP32.dll in $WINDIR/System32?

$ nm /lib/libodbccp32.a | grep ' _SQL'
nm: '/lib/libodbccp32.a': No such file
I have the import library in the right place:
$ nm /lib/w32api/libodbccp32.a | grep ' _SQL'
 T [EMAIL PROTECTED]
 T [EMAIL PROTECTED]
So this should be found by the linker.
Maybe the -L/usr/local/lib hurts you?
Is there another -lodbccp32?
Maybe a clash with iodbcunix?
Which version of gcc are you using?
3.3.3
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban
http://phpwiki.org


Re: Startup problems with startx/xinit

2005-03-01 Thread Alexander Gottwald
On Mon, 28 Feb 2005, Steve Horne wrote:

 Hello Alexander,
 
 I have just tried disabling my virus scanner 
 but this has not resolved my problem.
 
 Any other suggestions, please ?

Sorry. I'm broke on it. You might try Xming which uses a
different network library. Maybe this helps

http://wiki.freedesktop.org/wiki/Xming

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: cygwin bughunt (snapshot)

2005-03-01 Thread David Dindorp
Cristopher Faylor wrote:
David Dindorp wrote:
Bash seems to think that it's child has terminated prematurely.
Has anyone experienced something similar?

Being precise is one thing you could do.

I tried my best.

You could also provide cygcheck output as is
suggested by http://cygwin.com/problems.html.

cygcheck from the test box is attached.
I thought it wouldn't be relevant, since I included all version
numbers.  Also, I modify the environment as the first thing
when the script runs:
SET CYGWIN=binmode check_case:relaxed codepage:ansi \
   envcache notitle strip_title notty nontsec
And also set PATH and LD_LIBRARY_PATH to point to the Cygwin 'bin'
directory.

Also, providing simple test cases which reproduce the problem would
help.

I really tried, but so far have not been able to produce a simple test
case.  My best guess right now is that it only occurs when load is
high, or when the right timing conditions apply.

I thought it was obvious that I include test cases for every bug where
I'm able to produce one, especially since I posted one last week.

Actually, I can't find the mail in the mailing list archives right now,
although it is in my 'sent items'.  Nobody replied to it either.

Maybe it got blocked because of the attachments - it was a .sh script
and a .bat script.  Do you by any chance have some really dumb spam
filter in place that blocks anything named eg. .bat ? :-)
Subject of e-mail was testing snapshot, it mentioned 3 other bugs
(something related to 'grep', something with sync_with_child).

I'll try resending it, let me know if you'd rather try and find it
in your (?) spam blocker.

I just wasted some time trying to reproduce your environment
since I assumed that you'd provided a script which could easily
reproduce the problem and that this was a problem which was specific
to the snapshot.

I'm truly sorry.

It is sort of specific to the snapshot, since the problem occurs at a
different rate in older versions.

Anyway, this sounds a lot like the bash problem which has been
discussed here over the last several months (most heavily in the
October time frame).  If you aren't running bash-2.05b-17 then
that's probably your problem.

bash 3.0 is not good enough?

I went through the archives for October (anything related to bash),
but couldn't find anything that seems related to me.  Would you mind
pointing me in the right direction (subject, link, anything)?

Cygwin Configuration Diagnostics
Current System Time: Mon Feb 28 20:27:50 2005

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 4

Path:   C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\PROGRA~1\CHECKP~1\CPShared\R55\bin
C:\PROGRA~1\CHECKP~1\CPShared\R55\lib
C:\PROGRA~1\CHECKP~1\CPShared\R55\util
C:\PROGRA~1\CHECKP~1\cpinfo\R55\bin
C:\WINNT\FW1\R55\lib
C:\WINNT\FW1\R55\bin
`id' program not found
`id' program not found

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

Path = 
`C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\CHECKP~1\CPShared\R55\bin;C:\P
KP~1\CPShared\R55\util;C:\PROGRA~1\CHECKP~1\cpinfo\R55\bin;C:\WINNT\FW1\R55\lib;C:\WINNT\FW1\R55\bin

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
CLIENTNAME = `DUBEX-DDI'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `LOGEXPORT'
ComSpec = `C:\WINNT\system32\cmd.exe'
CPDIR = `C:\Program Files\CheckPoint\CPShared\R55'
CPMDIR = `C:\WINNT\FW1\R55'
FWDIR = `C:\WINNT\FW1\R55'
FW_BOOT_DIR = `C:\WINNT\FW1\R55\boot'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Administrator'
LOGONSERVER = `\\LOGEXPORT'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
Os2LibPath = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `RDP-Tcp#58'
SHARED_LOCAL_PATH = `C:\PROGRA~1\CHECKP~1\CPShared\R55\database'
SUDIR = `C:\WINNT\FW1\R55\sup'
SUROOT = `C:\SUroot'
SystemDrive = `C:'
SystemRoot = `C:\WINNT'
TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2'
TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2'
USERDOMAIN = `LOGEXPORT'
USERNAME = `Administrator'
USERPROFILE = `C:\Documents and Settings\Administrator'
windir = `C:\WINNT'
POSIXLY_CORRECT = `1'

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_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/'
  

Re: how do I know I already havr firewall, and how to set up down

2005-03-01 Thread David Dindorp
First step is to go somewhere else.

This is the wrong place for your issues, and you've already been told.
Persisting to post irrelevant questions here will only make people
ignore you and/or hate your guts.

Trust me.  It's an evil gang in here, and they will make you suffer.

Support for Microsoft products such as the Windows XP firewall usually
takes places on the public Microsoft newsgroups.  Try
microsoft.public.windows.networking.firewalls.

Use Outlook Express or Mozilla Thunderbird or any other newsreader,
and msnews.microsoft.com as your news server.  Don't hesitate to
contact your ISP if you can't make it work.

When you post your first mail, copy/paste the output from
netsh firewall show state and netsh firewall show config.
That should give volunteers enough information to help you.

shih lin wrote:
 in window xp home ed, it have a red heart with white cross on it , it
 seem is firewall is down.  but I do not quite trust that, can I check
 from cygwin(or linux) 

 how do I know I already havr firewall, and how to set up down

 eric


--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread John Morrison (Cygwin)
On Mon, February 28, 2005 9:51 pm, Gerrit P. Haase said:

 The user may want to use a different directory as repository and build
 directory.  It should be done during the initial configuration, however
 I'm not sure if is worth the time to implement it.  Since there are two
 or three rreports about this issue in a year shows that Joe User is
 actually reading the README *or* is not using textmode mounts.

Oh well :)  worth the effort of dropping a line - thanks for replying :).

J.


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



Fwd: testing snapshot

2005-03-01 Thread David Dindorp
Hi

I sent the posting below to the list once, but apparently it was
blocked.  Here it is again.  (test.bat renamed to see if that
will get the message through..)

Pointers, hints or help all graciously accepted :-).


-Forwarded Message-

Anybody have any idea how to pursue the bug quoted at the bottom?


A few other bugs has occurred with 20050221, nothing serious though:

1. 'grep' returns exit code 0 as in found, but doesn't echo
   the found line to stdout.  And in fact, the string that was
   being grepped for doesn't exist in the input, so the exit
   code (0) is an error.  It's a bit hard to reproduce (same as
   the quoted bug) so far, but it seems to happen quite often..

2. 'grep' occasionally returns error 139.  This one is very
   easy to reproduce - let the attached script run for a couple
   of hours and see the output file.  Not sure if this is a bug
   or not?  What does error code 139 mean?

3. This has occurred once in a running script.  Something similar
   often happens when CTRL-C is pressed in an interactive shell
   running some program.  I haven't been able to reproduce it
   outside of the interactive shell yet.

   1488 [main] bash 4428 sync_with_child:
child 3276(0x118) died before initialization with status code 0x80

  30328 [main] bash 4428 sync_with_child:
*** child state waiting for longjmp

  agent.sh: fork: Resource temporarily unavailable


David Dindorp wrote:
 So far a couple of things have popped up in testing.  Only one of them
 is a new item since I started using the 20050221 snapshot.  It has
 occurred 2 times over 2 days so far,so I feel that it is reproducible.
 
 Bash hangs.  Both occurrences have been at the same specific script
 line, and both produce similar gdb output.
 
 Script line:
   lffields[$counter]=`echo $lfline|cut -d'|' -f$fieldno`
 
 Script line - process 592:
   +++ echo
'0007-02-2005-01-29-22-15-24-xferslowevlog.log|0|1107034112|1107034112|1
107034675|1107035470'
   +++ cut '-d|' -f5
 
 Script line - process 3164:
   +++ echo
'0007-02-2005-02-10-06-02-55-xferslowevlog.log|0|1108012113|-1|110801244
7|1108012465'
   +++ cut '-d|' -f1
 
 Backtrace, dumped process 592:
   #0  0x77f8a1eb in ntdll!ZwSetInformationThread ()
   #1  0x7c4fb5bf in SetThreadPriority ()
   #2  0x610035c6 in getprogname ()
   #3  0x6105ad27 in cygwin_split_path ()
   #4  0x61019478 in cygwin_internal ()
   #5  0x6107bc25 in getppid ()
   #6  0x6107ba4d in getppid ()
   #7  0x610723ff in cygwin1!aclcheck ()
   #8  0x0042562a in ?? ()
   #9  0x0005 in ?? ()
   #10 0x0022cf20 in ?? ()
   #11 0x0080 in ?? ()
   #12 0x610749bb in writev ()
 
 Backtrace, dumped process 3163:
   #0  0x77f8a1eb in ntdll!ZwSetInformationThread ()
   #1  0x7c4fb5bf in SetThreadPriority ()
   #2  0x610035c6 in getprogname ()
   #3  0x6105ad27 in cygwin_split_path ()
   #4  0x61019478 in cygwin_internal ()
   #5  0x6107bc25 in getppid ()
   #6  0x6107ba4d in getppid ()
   #7  0x610723ff in cygwin1!aclcheck ()
   #8  0x0042562a in ?? ()
   #9  0x0005 in ?? ()
   #10 0x0022cf20 in ?? ()
   #11 0x0080 in ?? ()
   #12 0x610749bb in writev ()
 
 
 (I'm obviously a n00b with gdb.  The similar output could be a
 side effect from debugging the processes?..)



test.sh
Description: test.sh


test.tab
Description: test.tab
--
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/

system call

2005-03-01 Thread Muzero

hi to all,
i have a problem with C system() call:

When i try to compile and execute a simple program like this:

int main()
{
system(dir);
return 0;
}

On CYGWIN shell it works without problems...but when i try to execute it 
without cygwin enviroment (on dos shell) system call do not work and exit with 
exit code 127.

What i should do? Thanks a lot for any help

Muzero










--
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: system call

2005-03-01 Thread Corinna Vinschen
On Mar  1 09:58, Muzero wrote:
 When i try to compile and execute a simple program like this:
 
 int main()
 {
   system(dir);
   return 0;
 }

dir is a cmd.exe builtin.  Try `system(cmd /c dir);'

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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: system call

2005-03-01 Thread Muzero

Thanks for your reply but it still do not work...
the problem is thant under cygwin the execution of dir works fine but i have 
to run the program in an enviroment WITHOUT cygwin: it's in the DOS shell that 
the system() call do not works and return with code number 127.
In the final application, i'll not use dir command, but another program.

Muzero

 On Mar  1 09:58, Muzero wrote:
  When i try to compile and execute a simple program like this:
  
  int main()
  {
  system(dir);
  return 0;
  }
 
 dir is a cmd.exe builtin.  Try `system(cmd /c dir);'
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send mails regarding Cygwin to
 Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
 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: system call

2005-03-01 Thread Brian Dessent
Muzero wrote:
 
 Thanks for your reply but it still do not work...
 the problem is thant under cygwin the execution of dir works fine but i 
 have to run the program in an enviroment WITHOUT cygwin: it's in the DOS 
 shell that the system() call do not works and return with code number 127.
 In the final application, i'll not use dir command, but another program.

system() calls /bin/sh to process the command (as the posix standards
require), and if you have no mounts there will be no /bin and hence no
/bin/sh to execute.

Brian

--
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: system call

2005-03-01 Thread Ross Boulet
 Thanks for your reply but it still do not work...
 the problem is thant under cygwin the execution of dir
 works fine but i have to run the program in an enviroment
 WITHOUT cygwin: it's in the DOS shell that the system()
 call do not works and return with code number 127.
 In the final application, i'll not use dir command, but
 another program.
 
 Muzero
 
  On Mar  1 09:58, Muzero wrote:
   When i try to compile and execute a simple program
 like this:
  
   int main()
   {
 system(dir);
 return 0;
   }
 
  dir is a cmd.exe builtin.  Try `system(cmd /c dir);'
 
  Corinna
 

Have you tried adding the -mno-cygwin option when you
compile the program.  This should eliminate the need for the
cygwin environment at run time.

Ross



--
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: getopt required_argument (Was Re: regtool - 1.8 - Core dump)

2005-03-01 Thread Alexander Joerg Herrmann
 Well, it's just a matter of adding a check for
 optarg being NULL and
 printing an appropriate message (e.g.,
   if (optarg == NULL) {
 fprintf(stderr, Missing key-value
 separator\n);
 usage();
   }
 ).
Yup looks easy but I may better patch the DLL to use
some kind of fstab file which would it make complete
portable as now I'am sitting in front of a computer
which let's me run bash but not cmd - a. 

 However, the question is what should getopt's
 behavior be if something
 specified as a required_argument is missing? 
It sould do the same thing as the long parameter
arguments imo.
Alex

=
___
http://tahi4x4.felixfrisch.deTake a look :)
[EMAIL PROTECTED]


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

--
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: GUI apps through ssh

2005-03-01 Thread artem_ave
Thanks a lot, X11Forwarding worked just fine. The only thing is that default
DISPLAY value is set 'solaris:10.0' which is not accessible. So I had to
change it manually to 'localhost:10.0'. And it worked finally.
How can I get the proper set by default?

Many thanks indeed,
Artem A. Avetisyan.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Don't forget to enable X11Forwarding at the Target sshd

It must forward X11

in /etc/sshd_config

X11Forwarding yes


defaut is no:

#X11Forwarding no

DISPLAY-Setting is by sshd !!
Result is e.g.

DISPLAY=localhost:11.0


Mit freundlichen Gr??en

Klaus-Peter


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Satish Balay
Sent: Monday, February 28, 2005 5:40 PM
To: cygwin@cygwin.com
Subject: Re: GUI apps through ssh

On Mon, 28 Feb 2005, Satish Balay wrote:

 Also - if invoking ssh from a regular bash-cmd [not xterm] - make sure
 your display variable is properly set.

 i.e
 setenv DISPLAY :0.0

Ah.. I'm mixing bash  tcsh.. [correct command woud be]
export DISPLAY=:0.0

 ssh -Y remotemachine
 xterm


--
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: POSIX compliance of unlink(2)

2005-03-01 Thread Corinna Vinschen
On Feb 28 22:45, Eric Blake wrote:
 1.5.12 and the latest snapshots allow unlinking a file contrary to POSIX 
 rules.  The addition of CYGWIN=traverse was not enough to fix this issue.  
 Unlink is required to fail with EACCES if the file is contained in a 
 directory 
 without write permission.

I've just tested this situation on XP SP2 and it turns out that when
deleting a file, no traverse checking seems to be performed. 

The DeleteFile function even succeeds if the parent folder's ACL
explicitely denies the permission to delete subfolders and files
for owner, group and everyone.

 Furthermore, unlink should touch the ctime of the containing directory, and 
 the 
 ctime of the unlink'd file (if hard links remain after the unlink succeeds).  
 In general, open(O_CREAT), link, rename, mkdir, and rmdir should touch the 
 ctime of the containing directory when the directory's contents change.

If we also touch ctime on the parent directory in all these cases, that
will slow down Cygwin enourmously.  Each of these actions would require
to open the parent dir, set ctime, close parent dir.  That sounds like
a rather bad deal.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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: cygwin bughunt (snapshot)

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 09:08:04AM +0100, David Dindorp wrote:
Cristopher Faylor wrote:

Christopher

Anyway, this sounds a lot like the bash problem which has been
discussed here over the last several months (most heavily in the
October time frame).  If you aren't running bash-2.05b-17 then
that's probably your problem.

bash 3.0 is not good enough?

If you are running your own version of bash, then all bets are off.

I thought that bash-2.05b-17 was the current version but it is actually
a test version designed to handle the problem that you are apparently
describing.  I'll follow up in cygwin-apps to see why this version is
still in test.

I went through the archives for October (anything related to bash),
but couldn't find anything that seems related to me.  Would you mind
pointing me in the right direction (subject, link, anything)?

Sorry, no.  I'm not going to do an archive search for you.  Maybe someone
else will accommodate you.

cgf

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



could you assist please!

2005-03-01 Thread Chang Grant

 Good day

 I am Mr.Chang Grant of Greatvista chemicals.We are a group of businessmen
who deal on raw materials and export into Canada,America/Europe.

 We are searching for representatives who can help us establish a medium of 
getting to our costumers in America/Europe as well as making payments through 
you to us.
  If you are interested in transacting business with us we will be very 
glad.Kindly contact us.

   Subject to your satisfaction you will be given the opportunity to negotiate 
your mode of which we will pay for your services as our representative in 
America/Europe.

 If your interest to this proposal is affirmative forward to us

1.Full names
2.Full postal/mailing address
3.Contact telephone/fax numbers

Thanks you.

Mr.Chang Grant
CHAIRMAN/CEO
GREATVISTA CHEMICALS LIMITED




--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread Yitzchak Scott-Thoennes
On Mon, Feb 28, 2005 at 10:51:44PM +0100, Gerrit P. Haase wrote:
 John Morrison wrote:
 
 On Mon, February 28, 2005 12:19 pm, Stephan Petersen said:
 
 Hi Gerrit,
 
 thanks for your and all the others' replies.
 
 
 - The CPAN repository and build directory *must* reside in a path
  mounted in binmode:
 
mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
mount -u -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
 
 
 Could something along these lines be done in the postinstall for perl? 
 (Only if the mount doesn't exist of cause...)
 
 The user may want to use a different directory as repository and build
 directory.  It should be done during the initial configuration, however
 I'm not sure if is worth the time to implement it.  Since there are two
 or three rreports about this issue in a year shows that Joe User is
 actually reading the README *or* is not using textmode mounts.

If they want a different directory, it still doesn't hurt to force ~/.cpan
to binmode (except in so far as it uses up the AIUI limited number of
mounts).  I'd advocate putting it in a postinstall script.

 Anyway: PTA,
 Gerrit

/me looks around, certain that that *can't* have been addressed to me :)

--
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: system call

2005-03-01 Thread Muzero

It works! thanks a lot!!! :)
Muzero

 
 Have you tried adding the -mno-cygwin option when you
 compile the program.  This should eliminate the need for the
 cygwin environment at run time.
 
 Ross
 
 
 
 --
 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: cygwin bughunt (snapshot)

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 07:58:53AM -0500, Christopher Faylor wrote:
I went through the archives for October (anything related to bash),
but couldn't find anything that seems related to me.  Would you mind
pointing me in the right direction (subject, link, anything)?

Sorry, no.  I'm not going to do an archive search for you.  Maybe
someone else will accommodate you.

Ok.  I was wrong.  It wasn't in the October archives and didn't immediately
see anything obvious.  I assumed that there was a discussion in that month
because that's when the newer version of bash was uploaded.

So, I looked in the archives for the release announcement for the test
version of bash-2.05b-17 and quickly found this:

http://cygwin.com/ml/cygwin/2004-09/threads.html#00781

cgf

--
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 bughunt (snapshot)

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 08:35:30AM -0500, Christopher Faylor wrote:
On Tue, Mar 01, 2005 at 07:58:53AM -0500, Christopher Faylor wrote:
I went through the archives for October (anything related to bash),
but couldn't find anything that seems related to me.  Would you mind
pointing me in the right direction (subject, link, anything)?

Sorry, no.  I'm not going to do an archive search for you.  Maybe
someone else will accommodate you.

Ok.  I was wrong.  It wasn't in the October archives and didn't
immediately see anything obvious.

It is obviously too early for me to be sending email.

What I meant to say above is:

I looked in the October archives and didn't immediately see anything
obvious.

cgf

--
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: Make a Shared Library using Makefile

2005-03-01 Thread Pradip Jadav
hello, I am back here...
In the journey of making SHARED dll's, i have been  lost somewhere in
my path... but during these days i found a post searched in google
like this...
You are using some classes  which are kept in some library. It is not
enough to add h-file with these classes, We need to add also library
file for linker. The way we do it depends on the compiler. So need to
add library name.
Now  question is how  do I come to know that which libraries required
to make shared dll's for my project project??..The error I have listed
already in link below...
http://cygwin.com/ml/cygwin/2005-01/msg01282.html

There we can see that with all  functions [for example
..putlog(int,char*, ...)' which works like a printf statement]  and
all class declarations made by me are showing undefined reference to
 errors while compiling(I mean while ld goes to bind all linking datas
).
This dll creation is  really headache for me but also its MUST do task.
-- 
With Best Regards
Pradip K. Jadav

--
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 do I know I already havr firewall, and how to set up down

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, David Dindorp wrote:

 First step is to go somewhere else.

 This is the wrong place for your issues, and you've already been told.
 Persisting to post irrelevant questions here will only make people
 ignore you and/or hate your guts.

 Trust me.  It's an evil gang in here, and they will make you suffer.

Awww, shucks, we're not evil, we're just mean
(http://cygwin.com/acronyms/#WJM). :-)
Other than that, I agree with the sentiment above.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: getopt required_argument (Was Re: regtool - 1.8 - Core dump)

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Alexander Joerg Herrmann wrote:

  Well, it's just a matter of adding a check for
  optarg being NULL and
  printing an appropriate message (e.g.,
if (optarg == NULL) {
  fprintf(stderr, Missing key-value
  separator\n);
  usage();
}
  ).
 Yup looks easy but I may better patch the DLL to use

FYI, this has been fixed in the snapshots by Christopher Faylor (which
happened between the time I did a cvs update and the time I prepared a
patch -- go figure).

 some kind of fstab file which would it make complete
 portable as now I'am sitting in front of a computer
 which let's me run bash but not cmd - a.

This has been discussed, and, in fact, is a plan for the future.  That was
one of the reasons using mount was suggested -- no matter where the
mounts are stored, mount will be guaranteed to do the right thing.

  However, the question is what should getopt's
  behavior be if something
  specified as a required_argument is missing?
 It sould do the same thing as the long parameter
 arguments imo.

This was my bug -- the long options specified the argument as required,
but the short ones specified it as optional (two colons).  Thanks to CGF
for fixing it.
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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 do I know I already havr firewall, and how to set up down

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 09:18:47AM -0500, Igor Pechtchanski wrote:
On Tue, 1 Mar 2005, David Dindorp wrote:
First step is to go somewhere else.

This is the wrong place for your issues, and you've already been told.
Persisting to post irrelevant questions here will only make people
ignore you and/or hate your guts.

Trust me.  It's an evil gang in here, and they will make you suffer.

Awww, shucks, we're not evil, we're just mean
(http://cygwin.com/acronyms/#WJM).  :-) Other than that, I agree with
the sentiment above.

I dunno.  I agree that this is off-topic but claiming that people will
hate your guts seems a little hyperbolic to me.

There's a huge difference between not worth the effort and hate [your] guts.

cgf

--
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 do I know I already havr firewall, and how to set up down

2005-03-01 Thread David Dindorp
Trust me.  It's an evil gang in here, and they will make you suffer.

Awww, shucks, we're not evil, we're just mean
(http://cygwin.com/acronyms/#WJM).  :-)

I dunno.  I agree that this is off-topic but claiming that people will
hate your guts seems a little hyperbolic to me.

I stand corrected.
Cc'ed shih/eric so he can see that noone hates him per se.

(Also, I've demoted cgf from Evil Gang Leader of the Evil Gang to
merely Mean Gang Leader of the Mean Gang in my address book.  :-))


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



new mirror of cygwin

2005-03-01 Thread julien
Hi,
I represent Helvetic Association for Open Source Developpement and I
would like to let you know I have been setting up a mirror for you is
ready. My mirror is up you can reach it at http://cygwin.mirror.fr
Its location is Neuchatel in Switzerland.
The update of the mirror is daily.
Best regards
julien. FRANCOIS
University of Neufchatel
www.mirror.fr
--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote:

 If they want a different directory, it still doesn't hurt to force ~/.cpan
 to binmode (except in so far as it uses up the AIUI limited number of
 mounts).  I'd advocate putting it in a postinstall script.

Yes, it does sometimes.  There used a problem doing rm when a mount
directory doesn't exist -- the root directory was erased.  I don't have a
spare system available to experiment with it now.
I had this problem when I did rm -rf ~/something, where ~/something
was mounted explicitly, but didn't exist.  At a guess, if the mount point
doesn't exist, the directory resolves to /, and that's what is being
erased.

  Anyway: PTA,
  Gerrit

Adverse Aftereffect of an Abundance of Acronyms (). :-)

 /me looks around, certain that that *can't* have been addressed to me :)

I thought the official acronym for *that* was PITA?  Perhaps it's time
to add it to the OLOCA?  Oh, well, perhaps when I see it actually *used*
rather than hinted upon...
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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 do I know I already havr firewall, and how to set up down

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Christopher Faylor wrote:

 On Tue, Mar 01, 2005 at 09:18:47AM -0500, Igor Pechtchanski wrote:
 On Tue, 1 Mar 2005, David Dindorp wrote:
 First step is to go somewhere else.
 This is the wrong place for your issues, and you've already been told.
 
 Other than that, I agree with the sentiment above.

Perhaps this makes it better.  I *knew* I should've clarified *which*
sentiment I agreed with... :-)
Igor

 I dunno.  I agree that this is off-topic but claiming that people will
 hate your guts seems a little hyperbolic to me.

 There's a huge difference between not worth the effort and hate
 [your] guts.
 cgf

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread John Morrison
On Tue, March 1, 2005 2:47 pm, Igor Pechtchanski said:
 On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote:

 If they want a different directory, it still doesn't hurt to force
 ~/.cpan
 to binmode (except in so far as it uses up the AIUI limited number of
 mounts).  I'd advocate putting it in a postinstall script.

 Yes, it does sometimes.  There used a problem doing rm when a mount
 directory doesn't exist -- the root directory was erased.  I don't have a
 spare system available to experiment with it now.
 I had this problem when I did rm -rf ~/something, where ~/something
 was mounted explicitly, but didn't exist.  At a guess, if the mount point
 doesn't exist, the directory resolves to /, and that's what is being
 erased.

I was thinking more like the perl installer add a .cpan to the skel folder
and a 'post user create' file (to be determined how it gets run ;) which
does the mount then removes itself.

Thing is, it wouldn't help with users which already exist *before* they
install perl.  A different solution would be necessary for them.  Possibly
a profile.d script?

Anyway, just thoughts :)

J.


--
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 bughunt (snapshot)

2005-03-01 Thread David Dindorp
Christopher Faylor wrote (quotes rearranged wildly):
If you are running your own version of bash, then all bets are off.

Just double-checked.  BASH_VERSION='2.05b.0(1)-release'.

I thought I was running 3.00 on Cygwin (I am on all other platforms),
but apparently I was just making an ass of myself on a public mailing
list (again?) stating that I was.  Well, actually, it's first real
embarassing now that I have to admit it.  Well, not have to, but
anyway, there you have it.  *hum*.

Ok.  I was wrong.  It wasn't in the October archives and didn't
immediately see anything obvious.

It is obviously too early for me to be sending email.

*laugh* :-D.
The cygwin list.  It's mean but it's funny =).

So, I looked in the archives for the release announcement for
the test version of bash-2.05b-17 and quickly found this:

http://cygwin.com/ml/cygwin/2004-09/threads.html#00781

Thank you very much!

I thought that bash-2.05b-17 was the current version but it is
actually a test version designed to handle the problem that you are
apparently describing.

Fixed?  Ooh!

I'm currently dancing around like an ogre with a brain disease over
the good news, but once I sober up I'll install it right away and let
the list know if it helps.  Might take a week or so, hope it won't be
a month like the last time.

Once again, thank you very much for your help so far.  Also goes to
the rest of you guys, of course.


--
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 bughunt (snapshot)

2005-03-01 Thread Dave Korn
Original Message
From: David Dindorp
Sent: 01 March 2005 15:17

 Christopher Faylor wrote (quotes rearranged wildly):
 If you are running your own version of bash, then all bets are off.
 
 Just double-checked.  BASH_VERSION='2.05b.0(1)-release'.
 
 I thought I was running 3.00 on Cygwin (I am on all other platforms),
 but apparently I was just making an ass of myself on a public mailing
 list (again?) 


  Welcome to our world!  You're going to fit in just fine!

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



stupid noobquestion(clear)

2005-03-01 Thread Alexander Thurban
Is there a command for clearing the console?
Can't get cls,clr,clear to work :(
/
Acke
--
The surest way to corrupt a youth is to instruct him to hold in
higher esteem those who think alike than those who think differently.
- Friedrich Nietzsche
--
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: mmap and MAP_FIXED

2005-03-01 Thread Corinna Vinschen
On Feb 25 16:18, Corinna Vinschen wrote:
 On Feb 25 06:35, Eric Blake wrote:
  While you are at it, POSIX requires an update to underlying file's ctime
  sometime between mmap(... MAP_SHARED, PROT_WRITE ...) and the
  corresponding munmap() or msync() if the mapped region was written to.  If
  Windows correctly updates mtime on a mapped file, then one possible way to
  do this might be: when munmap()ing, if mtime is newer than ctime (but less
  than or equal to now), adjust ctime to match mtime.
 
 Well... no, not now. [...]

I'm sorry, but it looks like that won't work at all.  I've just tested how
the filetime behaves when changing the mapped area of a file mapped
MAP_SHARED.  Windows does change the file, but it does not change mtime.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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: POSIX compliance of unlink(2)

2005-03-01 Thread Christopher Faylor
On Mon, Feb 28, 2005 at 10:45:59PM +, Eric Blake wrote:
1.5.12 and the latest snapshots allow unlinking a file contrary to POSIX 
rules.  The addition of CYGWIN=traverse was not enough to fix this issue.  
Unlink is required to fail with EACCES if the file is contained in a directory 
without write permission.

$ mkdir a
$ touch a/b
$ chmod a-w a
$ touch a/c# Correctly fails
touch: cannot touch `a/c': Permission denied
$ rm a/b   # Oops, should have failed
$ 

Furthermore, unlink should touch the ctime of the containing directory, and 
the 
ctime of the unlink'd file (if hard links remain after the unlink succeeds).  
In general, open(O_CREAT), link, rename, mkdir, and rmdir should touch the 
ctime of the containing directory when the directory's contents change.

I'm getting a little concerned that we're focusing on a corner case of
the POSIX implementation at the expense of speed.  The reality is that
the ctime setting in NTFS is not really the same thing as what is found
in UNIX and trying to make it be the same thing is going to slow down
cygwin.  And, it might even confuse native windows apps.

Unless there are actual user complaints about ctime handling, I don't think
it makes sense to pursue this any further.  OTOH, if someone wants to
implement a CYGWIN=posixly_correct environment option, that might be ok.

cgf

--
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 bughunt (snapshot)

2005-03-01 Thread David Dindorp
Dave Korn wrote:
 David Dindorp wrote:
 Just double-checked.  BASH_VERSION='2.05b.0(1)-release'.
 
 I thought I was running 3.00 on Cygwin (I am on all other platforms),
 but apparently I was just making an ass of myself on a public mailing
 list (again?) 

 Welcome to our world!

Version number impediment is what keeps us together.

The version number, as reported by bash, on the 2.05b-17 I just
downloaded is:  BASH_VERSION='2.05b.0(1)-release'.

Hum.


--
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: stupid noobquestion(clear)

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Alexander Thurban wrote:

 Is there a command for clearing the console?
 Can't get cls,clr,clear to work :(

Which terminal?  If the regular CMD window, clear works just fine (as
long as it's installed, see http://cygwin.com/packages/).  If you use
bash, you can also try pressing Ctrl-L (which is the default mapping to
readline's clear-screen function and can be changed with bind).

cls is a DOS-ism, and won't work.  I'm not even sure what clr is.
HTH,
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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 bughunt (snapshot)

2005-03-01 Thread Christopher Faylor
On Tue, Mar 01, 2005 at 04:42:52PM +0100, David Dindorp wrote:
Dave Korn wrote:
 David Dindorp wrote:
 Just double-checked.  BASH_VERSION='2.05b.0(1)-release'.
 
 I thought I was running 3.00 on Cygwin (I am on all other platforms),
 but apparently I was just making an ass of myself on a public mailing
 list (again?) 

 Welcome to our world!

Version number impediment is what keeps us together.

The version number, as reported by bash, on the 2.05b-17 I just
downloaded is:  BASH_VERSION='2.05b.0(1)-release'.

Hum.

Oh well.  Time to install U/WIN?

cgf

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



Unison, OpenSSH and Cygwin (with the latest snapshot)

2005-03-01 Thread Karl M
Hi All...
After seeing an e-mail from Corinna in the cygwin patches list on the ssh 
problem on XP, I tried the 20050228 snapshot on an XP SP2 machine.

I am happy to report for the archives that Unison and OpenSSH work together 
with Cygwin on an XP SP2 machine with all of the current MS patches applied.

Thanks,
...Karl

--
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: stupid noobquestion(clear)

2005-03-01 Thread Ross Boulet
 Is there a command for clearing the console?
 Can't get cls,clr,clear to work :(
 
 /
 Acke
 
Did you download and install the clear package?  Its under
Utils.

Ross



--
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 bughunt (snapshot)

2005-03-01 Thread Dave Korn
Original Message
From: Christopher Faylor
Sent: 01 March 2005 15:49

 On Tue, Mar 01, 2005 at 04:42:52PM +0100, David Dindorp wrote:
 Dave Korn wrote:
 David Dindorp wrote:
 Just double-checked.  BASH_VERSION='2.05b.0(1)-release'.
 
 I thought I was running 3.00 on Cygwin (I am on all other platforms),
 but apparently I was just making an ass of myself on a public mailing
 list (again?)
 
 Welcome to our world!
 
 Version number impediment is what keeps us together.
 
 The version number, as reported by bash, on the 2.05b-17 I just
 downloaded is:  BASH_VERSION='2.05b.0(1)-release'.
 
 Hum.
 
 Oh well.  Time to install U/WIN?
 
 cgf


  Micro$fot are thinking of renaming that.

  It's now going to be called THEY/WIN/WE/ALL/LOSE.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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 bughunt (snapshot)

2005-03-01 Thread Corinna Vinschen
On Mar  1 16:02, Dave Korn wrote:
  Oh well.  Time to install U/WIN?
 
   Micro$fot are thinking of renaming that.
 
   It's now going to be called THEY/WIN/WE/ALL/LOSE.

You mean Interix, don't you?  U/Win is from ATT.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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: stupid noobquestion(clear)

2005-03-01 Thread Dave Korn
Original Message
From: Igor Pechtchanski
Sent: 01 March 2005 15:48

 On Tue, 1 Mar 2005, Alexander Thurban wrote:
 
 Is there a command for clearing the console?
 Can't get cls,clr,clear to work :(
 
 Which terminal?  If the regular CMD window, clear works just fine (as
 long as it's installed, see http://cygwin.com/packages/).  If you use
 bash, you can also try pressing Ctrl-L (which is the default mapping to
 readline's clear-screen function and can be changed with bind).
 
 cls is a DOS-ism, and won't work.  

  Well, typing Perl commands or sed scripts at the shell prompt won't work
either, but if you prepend the name of the appropriate command interpreter,
with suitable flags, like this:

cmd /c cls

it does work.  If you wanna get _really_ portable, you can use COMSPEC, like
this:

`cygpath -u ${COMSPEC}` /c cls

and then it'll work on 9xMe as well as Nt2kXp

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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 bughunt (snapshot)

2005-03-01 Thread David Dindorp
In the meanwhile, does anybody have any comments to offer regarding
this?  (Besides stop asking, that is...)

Bash hangs.  Both occurrences have been at the same specific script
line, and both produce similar gdb output.

Script line:
lffields[$counter]=`echo $lfline|cut -d'|' -f$fieldno`

Last executed line - hung script no. 1:
+++ cut '-d|' -f5

Last executed line - hung script no. 2:
+++ cut '-d|' -f1

Backtrace, dumped process 1:
#0  0x77f8a1eb in ntdll!ZwSetInformationThread ()
#1  0x7c4fb5bf in SetThreadPriority ()
#2  0x610035c6 in getprogname ()
#3  0x6105ad27 in cygwin_split_path ()
#4  0x61019478 in cygwin_internal ()
#5  0x6107bc25 in getppid ()
#6  0x6107ba4d in getppid ()
#7  0x610723ff in cygwin1!aclcheck ()
#8  0x0042562a in ?? ()
#9  0x0005 in ?? ()
#10 0x0022cf20 in ?? ()
#11 0x0080 in ?? ()
#12 0x610749bb in writev ()

Backtrace, dumped process 2:
#0  0x77f8a1eb in ntdll!ZwSetInformationThread ()
#1  0x7c4fb5bf in SetThreadPriority ()
#2  0x610035c6 in getprogname ()
#3  0x6105ad27 in cygwin_split_path ()
#4  0x61019478 in cygwin_internal ()
#5  0x6107bc25 in getppid ()
#6  0x6107ba4d in getppid ()
#7  0x610723ff in cygwin1!aclcheck ()
#8  0x0042562a in ?? ()
#9  0x0005 in ?? ()
#10 0x0022cf20 in ?? ()
#11 0x0080 in ?? ()
#12 0x610749bb in writev ()


--
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 running cygrunsrv with non SYSTEM accounts ($HOME problem?)

2005-03-01 Thread Aitken, Sean
See update below...

 I have been fighting a problem with trying to run SSHD on a Windows
 Server 2003 box. I have been able to narow the problem down a 
 bit. I did
 post earlier to day, but have stumbled across what appears to be a
 strong lead on the solution.
 
 Facts:
 - With 'runas', I am able to start sshd with no problems using the
 'sshd_server' account. I can even connect!
 - I have granted all local rights (RunAsService, Token,.. Etc.) These
 seemed to be configured already by the ssh-host-config program
 - Running the service under the local SYSTEM account produces 
 output in
 /var/log/sshd.log
 - Running the service under any other account produces NO log file!
 - Permissions against sshd and required Cygwin libs aren't a problem
 (since I could runas 'sshd_server' and it works fine)
 - When I invoke the sshd process with RunAs, it's after establishing a
 bash shell
 - Permissions in /var/log allow users to write (tested with runas)
 
 With a little (actually a LOT) experimentation, it seems as though the
 'sshd_server' user is having a hard time starting things up.  
 When I run
 as SYSTEM, I get output in the log folder..

I just found new info today that may help pinpoint the problem.  I did a
test using the same service account 'sshd_server'. I created a service
that ran cygcheck and ran the same using a login session.  The most
significant thing I found was a few of the environment variables were
different. Namely:

When run via a login session:
CYGWIN = `nontsec'
HOME = `C:\cygwin\var\empty'
MAKE_MODE = `unix'
PWD = `/var/empty'
USER = `sshd_server'

When run as a service (installed via. Cygrunsrv -I):
CYGWIN = `nontsec'
HOME = `C:\cygwin'

So, I see a couple things funny here:
- $HOME is wrong when logged in via cygrunsrv (It's set to /var/empty in
passwd)
- MAKE_MODE, PWD, and USER are missing!

So, if anyone has any suggestions for correcting the environment under
cygrunsrv, I would love to hear them! I have a hunch that this may be
the root cause of my problem! (aka. We'd love to get this working soon!)
:)

Best regards,
-Sean

--
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: GUI apps through ssh

2005-03-01 Thread Satish Balay
On Tue, 1 Mar 2005, artem_ave wrote:

 Thanks a lot, X11Forwarding worked just fine. The only thing is that default
 DISPLAY value is set 'solaris:10.0' which is not accessible. So I had to
 change it manually to 'localhost:10.0'. And it worked finally.
 How can I get the proper set by default?

ssh sets a DISPLAY variable on your solaris box [once the ssh
connection is established]. Mostlikely DISPLAY variable is modified
through some init file. [~/.cshrc or ~/.bashrc]

grep DISPLAY ~/.*

Satish

--
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; Problem running xgettext after compiling gettext 0.14.1 with gcc 3.3.3

2005-03-01 Thread Peter Rehley
On Feb 25, 2005, at 2:04 PM, Danny Smith wrote:
From: Peter Rehley
Hi,
I am working on a project where I had to recompile gettext using gcc
3.3.3. I'm using cygwin 1.5.12. It compiled without issues but when I
went to run some of the programs, a windows dialog box pops up showing
the following message:
The application failed to initialize properly (0xc005). Click on 
OK
to terminate the application.

see thread starting here:
 http://sourceware.org/ml/cygwin/2004-09/msg01101.html
heh, I actually had that thread bookmarked.
Anyway I took the suggestion and modified the libtool files.  And it 
didn't work.  I still got the same error message.  What I did next was 
look for occurrences of const struct, and noticed some in the 
programs that I had problems with.  xgettext was one program and the 
long options struct was defined with static const struct.  When I 
removed the const from there and recompiled, the program worked.

I tried this with the other programs that I was having problems with, 
and they all started working.  I'm still baffled but I have the 
programs working now.

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

Enjoy,
Peter
---
A Møøse once bit my sister
--
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/


[ANNOUNCEMENT] Updated: cygwin-1.5.13-1

2005-03-01 Thread Christopher Faylor
I've made a new version of the Cygwin DLL and associated utilities
available for download.  As usual, a list of what has changed is below.

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Christopher Faylor
TimeSys, Inc.

Changes since 1.5.12-1:

- Properly load registry hive for seteuid.  (Pierre Humblet)

- Rework process creation framework to eliminate reparenting and to
  improve security.  (Christopher Faylor with original concept/idea and *huge*
  assist from Pierre Humblet)

- Properly deal with quoted first argument in main().  (Christopher Faylor)

- Fix console scrolling problems. (Thomas Wolff)

- Fix race in tty handling.  (Corinna Vinschen)

- Implement pututline, setutxent, endutxent, getutxent, getutxid, getutxline,
  pututxline. (Corinna Vinschen)

- Fix console problem where reverse output is unreadable when nonreversed text
  is bright.  (Thomas Wolff)

- Regularize handling of trailing spaces and dots in path names.
  (Christopher Faylor, Pierre Humblet)

- Fix some cygthread races, some of which were the cause of at least one
  hyperthreading problem.  (Christopher Faylor)

- Fix problems with changing protection of on-disk device files.
  (Christopher Faylor)

- Fix startup problems when attempts to allocate shared memory fail to
  find standard region for specific shared memory.  (Christopher Faylor)

- Clarify multiple cygwin problem messages slightly. (Christopher Faylor)

- Disallow empty strings and strings starting with '=' in Win32 environment.
  (Corinna Vinschen)

- Fix MapViewOfFileEx errors that sometimes showed up on startup.
  (Christopher Faylor)

- Change system() to use /bin/sh, as per linux.  (Christopher Faylor)

- Fix some problems with serial I/O.  (Corinna Vinschen)

- Try to consistently set ctime as per SuSv3.  (Corinna Vinschen)

- Allow cygwin shortcuts to be viewed as windows shortcuts.  (Corinna Vinschen)

- Implement getpriority() and setpriority().  (Corinna Vinschen)

- Properly return ENOTDIR rather than ENOENT when a program attempts to
  use a file like a directory.  (Pierre Humblet)

- Avoid a handle leak when select is used in a thread that exits.
  (Christopher Faylor)

- Implement /proc/self. (Chris January, Corinna Vinschen)

- Implement /proc/pid/maps, /proc/pid/root, /proc/pid/exe,
  /proc/pid/cwd. (Corinna Vinschen)

- Implement /proc/pid/fd/...  (Corinna Vinschen)

- Implement CYGWIN environment variable setting traverse/notraverse.  (Corinna 
Vinschen)

- Use device numbers rather than device names internally to cygwin as a prelude 
towards
  removing special handling of /dev.  (Christopher Faylor)

- Fix handling of /proc/partitions so that more partitions are displayed.
  (Christopher Faylor)

- Don't be fooled by address strings that begin with digits in gethostbyname.
  (Yitzchak Scott-Thoennes)

- Make second parameter to utimes() and utime() const as per SuSv3.  (Corinna 
Vinschen)

- Don't be confused by junction points.  (Corinna Vinschen)

- Implement fdatasync.  (Corinna Vinschen)

- Implement /dev/full.  (Corinna Vinschen)

- Implement getpeereid() and getsockopt(..., SO_PEERCRED, ...).
  (Corinna Vinschen)

- Implement basename() and dirname(). (Corinna Vinschen)

- Add missing strftime flags. (Eric Blake)

- Rework page alignment handling in anonymus mmap. (Corinna Vinschen)

- Don't treat a standalone '//' as a windows UNC introducer.  Works around bash 
bug
  where '//' is used when attempting to tab expand files in the root directory.
  (Christopher Faylor)

- Fix thread synchronization in cygserver. (Corinna Vinschen)

- Fix opening and renaming directories. (Corinna Vinschen)

- Implement statvfs() and fstatvfs(). (Corinna Vinschen)


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



[ANNOUNCEMENT] Updated: grep-2.5.1a-2

2005-03-01 Thread Christopher Faylor
I've made a new version of 'grep' available for download.  This updates
the package to the latest version available from ftp.gnu.org.

The previous (inexplicably unannounced) 2.5.1a-1 release did not allow
grep -P.  This version corrects that mistake.

For a brief description of this package, and a listing of the files that
it contains, see http://cygwin.com/packages/ .

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Christopher Faylor
TimeSys, 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: [ANNOUNCEMENT] Updated: cygwin-1.5.13-1

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Christopher Faylor wrote:

 I've made a new version of the Cygwin DLL and associated utilities
 available for download.  As usual, a list of what has changed is below.

 To update your installation, click on the Install Cygwin now link on
 the http://cygwin.com/ web page.  This downloads setup.exe to your
 system.  Then, run setup and answer all of the questions.

 If you have questions or comments, please send them to the Cygwin
 mailing list at: cygwin@cygwin.com .

 [snip]

 Changes since 1.5.12-1:

BTW, the regtool bug reported in
http://cygwin.com/ml/cygwin/2005-02/msg00711.html is also fixed in this
release (by CGF).
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.13-1

2005-03-01 Thread Brian Dessent
Igor Pechtchanski wrote:

  I've made a new version of the Cygwin DLL and associated utilities
  available for download.  As usual, a list of what has changed is below.
 
  To update your installation, click on the Install Cygwin now link on
  the http://cygwin.com/ web page.  This downloads setup.exe to your
  system.  Then, run setup and answer all of the questions.
 
  If you have questions or comments, please send them to the Cygwin
  mailing list at: cygwin@cygwin.com .
 
  [snip]
 
  Changes since 1.5.12-1:
 
 BTW, the regtool bug reported in
 http://cygwin.com/ml/cygwin/2005-02/msg00711.html is also fixed in this
 release (by CGF).

Another thing that some people seem to have been interested in that I
didn't see mentioned was the reverting of the pipe select() code to the
old method, which I think fixed hangs in network copy programs like
unison.  http://cygwin.com/ml/cygwin-cvs/2005-q1/msg00130.html

Brian

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



fontconfig segfault

2005-03-01 Thread Bertalan Fodor
In /etc/fonts/local.conf I set:
dir/usr/share/ghostscript/fonts/dir
When I start fc-list, I get
Program received signal SIGSEGV, Segmentation fault.
0x610b4b68 in random () from /bin/cygwin1.dll
I've attached (trimmed) strace of it.
If I left only some fonts there, it runned without error, so I suppose 
it is a bug somewhere.

Bert

   48 4407293 [main] fc-list 3652 readv: readv (4, 0x22EB10, 1) blocking, 
sigcatchers 0
   66 4407359 [main] fc-list 3652 readv: no need to call ready_for_read
   51 4407410 [main] fc-list 3652 fhandler_base::read: returning 1024, binary 
mode
   44 4407454 [main] fc-list 3652 readv: 1024 = readv (4, 0x22EB10, 1), errno 0
   63 4407517 [main] fc-list 3652 readv: readv (4, 0x22EB10, 1) blocking, 
sigcatchers 0
   45 4407562 [main] fc-list 3652 readv: no need to call ready_for_read
   52 4407614 [main] fc-list 3652 fhandler_base::read: returning 932, binary 
mode
   45 4407659 [main] fc-list 3652 readv: 932 = readv (4, 0x22EB10, 1), errno 0
   49 4407708 [main] fc-list 3652 readv: readv (4, 0x22EB10, 1) blocking, 
sigcatchers 0
   44 4407752 [main] fc-list 3652 readv: no need to call ready_for_read
   47 4407799 [main] fc-list 3652 fhandler_base::read: returning 0, binary mode
   43 4407842 [main] fc-list 3652 readv: 0 = readv (4, 0x22EB10, 1), errno 0
   46 4407888 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
  294 4408182 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   51 4408233 [main] fc-list 3652 fhandler_base::lseek: lseek 
(/usr/share/ghostscript/fonts/hrger.pfa, 0, 0)
   47 4408280 [main] fc-list 3652 fhandler_base::lseek: setting file pointer to 
0 (high), 0 (low)
   48 4408328 [main] fc-list 3652 lseek64: 0 = lseek (4, 0, 0)
   44 4408372 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   51 4408423 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   46 4408469 [main] fc-list 3652 fhandler_base::lseek: lseek 
(/usr/share/ghostscript/fonts/hrger.pfa, 0, 0)
   58 4408527 [main] fc-list 3652 fhandler_base::lseek: setting file pointer to 
0 (high), 0 (low)
   45 4408572 [main] fc-list 3652 lseek64: 0 = lseek (4, 0, 0)
   44 4408616 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   46 4408662 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   45 4408707 [main] fc-list 3652 readv: readv (4, 0x22EB90, 1) blocking, 
sigcatchers 0
   44 4408751 [main] fc-list 3652 readv: no need to call ready_for_read
   50 4408801 [main] fc-list 3652 fhandler_base::read: returning 1024, binary 
mode
   46 4408847 [main] fc-list 3652 readv: 1024 = readv (4, 0x22EB90, 1), errno 0
   46 4408893 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   86 4408979 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   44 4409023 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   44 4409067 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   46 4409113 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   86 4409199 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   43 4409242 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   82 4409324 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   44 4409368 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   44 4409412 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   43 4409455 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
  248 4409703 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   46 4409749 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   86 4409835 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   43 4409878 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   45 4409923 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   46 4409969 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   95 4410064 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   44 4410108 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
  183 4410291 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   47 4410338 [main] fc-list 3652 __cygwin_lock_unlock: threadcount 1.  not 
unlocking
   45 4410383 [main] fc-list 3652 __cygwin_lock_lock: threadcount 1.  not 
locking
   66 4410449 [main] fc-list 3652 readv: readv (4, 0x22E960, 1) blocking, 
sigcatchers 0
   48 4410497 [main] fc-list 3652 readv: no need to call ready_for_read
  261 4410758 [main] fc-list 3652 fhandler_base::read: returning 1024, binary 
mode
   47 4410805 [main] fc-list 3652 readv: 1024 = readv (4, 0x22E960, 1), errno 0
   48 4410853 [main] fc-list 3652 readv: readv (4, 0x22E960, 1) blocking, 
sigcatchers 0
   45 4410898 [main] fc-list 3652 

[ANNOUNCEMENT] Updated: cygrunsrv-1.0.1-1

2005-03-01 Thread Corinna Vinschen
I have updated cygrunsrv to version 1.0.1-1.

This is a bugfix release.  Thanks to Chris Faylor for fixing a problem
which could result in an unexpected premature stopping of the service
thread when stopping the service.


If you have questions or comments, please send them to the Cygwin 
mailing list at:  cygwin@cygwin.com .  I would appreciate
if you would use this mailing list rather than emailing me directly.
This includes ideas and comments about the setup utility or Cygwin
in general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:cygwin@cygwin.com
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/



emacs and network

2005-03-01 Thread shih lin
when I tried emacs, it response
cygungif-4.dll was not found, reinstall may solve the problem
so I reinstall
it still is the same thing
my emacs is 21.3.50-2

any one know download which package , can install lsof commnad?

many tries but fail to using aol's public ip, first, what is filtered mean in 
nmap?  

this link will show my tries and please help on this
http://geocities.com/fsshl/firewalle10.htm








http://Game.37.com/  --- Free Games
http://newJoke.com/   ---  J O K E S  ! ! !


Re: emacs and network

2005-03-01 Thread Brian Dessent
shih lin wrote:

 when I tried emacs, it response
 cygungif-4.dll was not found, reinstall may solve the problem
 so I reinstall
 it still is the same thing
 my emacs is 21.3.50-2

The cygwin package search page is http://cygwin.com/packages/. Use
it.  If you type cygungif and press search you'll see that you need
the libungif package.

 any one know download which package , can install lsof commnad?

Use the package search page.

(no, there is no lsof that has been ported to Cygwin.  You can get
similar functionality from some of the tools at sysinternals.com but
don't ask about using them here as they have nothing to do with the
Cygwin project.)

 many tries but fail to using aol's public ip, first, what is filtered mean in
 nmap?
 
 this link will show my tries and please help on this
 http://geocities.com/fsshl/firewalle10.htm

For the last time, this is not a general Windows support list.  These
questions have nothing to do with Cygwin so stop asking.

Brian

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



Updated: cygwin-1.5.13-1

2005-03-01 Thread Christopher Faylor
I've made a new version of the Cygwin DLL and associated utilities
available for download.  As usual, a list of what has changed is below.

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Christopher Faylor
TimeSys, Inc.

Changes since 1.5.12-1:

- Properly load registry hive for seteuid.  (Pierre Humblet)

- Rework process creation framework to eliminate reparenting and to
  improve security.  (Christopher Faylor with original concept/idea and *huge*
  assist from Pierre Humblet)

- Properly deal with quoted first argument in main().  (Christopher Faylor)

- Fix console scrolling problems. (Thomas Wolff)

- Fix race in tty handling.  (Corinna Vinschen)

- Implement pututline, setutxent, endutxent, getutxent, getutxid, getutxline,
  pututxline. (Corinna Vinschen)

- Fix console problem where reverse output is unreadable when nonreversed text
  is bright.  (Thomas Wolff)

- Regularize handling of trailing spaces and dots in path names.
  (Christopher Faylor, Pierre Humblet)

- Fix some cygthread races, some of which were the cause of at least one
  hyperthreading problem.  (Christopher Faylor)

- Fix problems with changing protection of on-disk device files.
  (Christopher Faylor)

- Fix startup problems when attempts to allocate shared memory fail to
  find standard region for specific shared memory.  (Christopher Faylor)

- Clarify multiple cygwin problem messages slightly. (Christopher Faylor)

- Disallow empty strings and strings starting with '=' in Win32 environment.
  (Corinna Vinschen)

- Fix MapViewOfFileEx errors that sometimes showed up on startup.
  (Christopher Faylor)

- Change system() to use /bin/sh, as per linux.  (Christopher Faylor)

- Fix some problems with serial I/O.  (Corinna Vinschen)

- Try to consistently set ctime as per SuSv3.  (Corinna Vinschen)

- Allow cygwin shortcuts to be viewed as windows shortcuts.  (Corinna Vinschen)

- Implement getpriority() and setpriority().  (Corinna Vinschen)

- Properly return ENOTDIR rather than ENOENT when a program attempts to
  use a file like a directory.  (Pierre Humblet)

- Avoid a handle leak when select is used in a thread that exits.
  (Christopher Faylor)

- Implement /proc/self. (Chris January, Corinna Vinschen)

- Implement /proc/pid/maps, /proc/pid/root, /proc/pid/exe,
  /proc/pid/cwd. (Corinna Vinschen)

- Implement /proc/pid/fd/...  (Corinna Vinschen)

- Implement CYGWIN environment variable setting traverse/notraverse.  (Corinna 
Vinschen)

- Use device numbers rather than device names internally to cygwin as a prelude 
towards
  removing special handling of /dev.  (Christopher Faylor)

- Fix handling of /proc/partitions so that more partitions are displayed.
  (Christopher Faylor)

- Don't be fooled by address strings that begin with digits in gethostbyname.
  (Yitzchak Scott-Thoennes)

- Make second parameter to utimes() and utime() const as per SuSv3.  (Corinna 
Vinschen)

- Don't be confused by junction points.  (Corinna Vinschen)

- Implement fdatasync.  (Corinna Vinschen)

- Implement /dev/full.  (Corinna Vinschen)

- Implement getpeereid() and getsockopt(..., SO_PEERCRED, ...).
  (Corinna Vinschen)

- Implement basename() and dirname(). (Corinna Vinschen)

- Add missing strftime flags. (Eric Blake)

- Rework page alignment handling in anonymus mmap. (Corinna Vinschen)

- Don't treat a standalone '//' as a windows UNC introducer.  Works around bash 
bug
  where '//' is used when attempting to tab expand files in the root directory.
  (Christopher Faylor)

- Fix thread synchronization in cygserver. (Corinna Vinschen)

- Fix opening and renaming directories. (Corinna Vinschen)

- Implement statvfs() and fstatvfs(). (Corinna Vinschen)



Updated: grep-2.5.1a-2

2005-03-01 Thread Christopher Faylor
I've made a new version of 'grep' available for download.  This updates
the package to the latest version available from ftp.gnu.org.

The previous (inexplicably unannounced) 2.5.1a-1 release did not allow
grep -P.  This version corrects that mistake.

For a brief description of this package, and a listing of the files that
it contains, see http://cygwin.com/packages/ .

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Christopher Faylor
TimeSys, Inc.