Re: [Package Update] zsh-4.0.7-2

2003-09-07 Thread Corinna Vinschen
On Sat, Sep 06, 2003 at 05:08:50PM -0700, Peter A. Castro wrote:
   http://www.fruitbat.org/Cygwin/zsh/setup.hint
   http://www.fruitbat.org/Cygwin/zsh/zsh-4.0.7-2.tar.bz2
   http://www.fruitbat.org/Cygwin/zsh/zsh-4.0.7-2-src.tar.bz2

Uploaded.

 Done!  Same URLs apply.  Anything else?

Besides announcing?  No.

Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: Updated: pinfo-0.6.8-1

2003-09-07 Thread Corinna Vinschen
On Sat, Sep 06, 2003 at 01:37:19PM -0700, Joshua Daniel Franklin wrote:
 http://ns1.iocc.com/~joshua/cygwin/pinfo-0.6.8-1.tar.bz2
 http://ns1.iocc.com/~joshua/cygwin/pinfo-0.6.8-1-src.tar.bz2
 http://ns1.iocc.com/~joshua/cygwin/setup.hint

Uploaded.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


RE: new package proposal: CLISP

2003-09-07 Thread Billinghurst, David (CALCRTS)
 From: Sam Steingold
 Sent: Saturday, 6 September 2003 6:58 AM
 To: [EMAIL PROTECTED]
 Subject: new package proposal: CLISP

 I created a new package: CLISP (http://clisp.cons.org)

I would like to see this included.  I use clisp compiled maxima
under cygwin.

BTW: Does it pass it's regression tests?  I built clisp-2.31 with 
cygwin-1.5.3 last night, and had a testsuite failure.


RE: new package proposal: CLISP

2003-09-07 Thread Billinghurst, David (CALCRTS)
 From: Sam Steingold
 Sent: Saturday, 6 September 2003 6:58 AM
 To: [EMAIL PROTECTED]
 Subject: new package proposal: CLISP

 I created a new package: CLISP (http://clisp.cons.org)
 
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-1.tar.bz2
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-1-src.tar.bz2
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/setup.hint

I have installed this (by untarring the tarball in /) and tested it by building
maxima-5.9.0.  maxima passes its testsuite.


Re: Xwin stackdump while logging into RH8 with KDE as window manager

2003-09-07 Thread Alexander Gottwald
Harold L Hunt II wrote:

 Program received signal SIGSEGV, Segmentation fault.
 0x0050b588 in ProcXkbGetKbdByName (client=0x10709ff8) at xkb.c:6022

 Does this indicate any problems to you?

I was hunting the problem with textmode /tmp and xkb today. The fix I've
submitted long ago never got into the xfree cvs, so the problem is still
there. I'll check it into xoncygwin cvs after a few tests. Maybe this will
fix this segfault too.

I think the functions reading the keymap fail at a bogus newline and return
an improper filled structure with some pointers set to NULL or random data.

bye
ago

NP: Lacrimosa - Fassade-3. Satz
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Xwin stackdump while logging into RH8 with KDE as window manager

2003-09-07 Thread Alexander Gottwald
Alexander Gottwald wrote:

 I think the functions reading the keymap fail at a bogus newline and return
 an improper filled structure with some pointers set to NULL or random data.

To verify if this is the problem, please check the output of mount
if an entry for /tmp exists and if this entry (or the entry for /)
has a marking (binmode) or (textmode). If it's marked textmode,
please run

mount -buf $(cygpath -m /tmp) /tmp

and check if XWin still segfaults.

NP: Lacrimosa - No blind eyes can see
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Xwin stackdump while logging into RH8 with KDE as window manager

2003-09-07 Thread Alexander Gottwald
Alexander Gottwald wrote:

 I was hunting the problem with textmode /tmp and xkb today. The fix I've
 submitted long ago never got into the xfree cvs, so the problem is still
 there. I'll check it into xoncygwin cvs after a few tests.

The change for the server is submitted. I'm not sure if xkbcomp is already
patched in the last 4.3 release.

Harold, can you please check if the attached patch is applied to your
buildtree? (file is xc/programs/xkbcomp/xkbcomp.c)

bye
ago

NP: Lacrimosa - Schakal
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Xwin stackdump while logging into RH8 with KDE as window manager

2003-09-07 Thread Alexander Gottwald
Missing attachment :)

NP: Lacrimosa - Schakal
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723Index: xkbcomp.c
===
RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v
retrieving revision 3.19
diff -u -u -r3.19 xkbcomp.c
--- xkbcomp.c   27 May 2003 22:27:07 -  3.19
+++ xkbcomp.c   7 Sep 2003 18:56:18 -
@@ -871,16 +871,30 @@
 * -- Branden Robinson
 */
int outputFileFd;
+int binMode = 0;
+const char *openMode = w;
unlink(outputFile);
+#ifdef O_BINARY
+switch (outputFormat) {
+case WANT_XKM_FILE:
+binMode = O_BINARY;
+openMode = wb;
+break;
+default:
+binMode = 0;
+break;
+}
+#endif
outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL,
-   S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
+   S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode);
if (outputFileFd0) {
ERROR1(Cannot open \%s\ to write keyboard description\n,
outputFile);
ACTION(Exiting\n);
exit(1);
}
-   out= fdopen(outputFileFd, w);
+
+   out= fdopen(outputFileFd, openMode);
/* end BR */
if (out==NULL) {
ERROR1(Cannot open \%s\ to write keyboard description\n,


two small problems with kde-cygwin

2003-09-07 Thread Gene C. Ruzicka
i recently installed kde 3.1.1 on my w2k pc. overall,
it works well aside from somewhat sluggish response --
i guess it's time to upgrade to a faster processor.

two small software-related problems:

1.  when i request for help from the toolbar icon, each item
 in the contents panel of the help window is
 repeated; i.e., the first few items read: 
  Welcome to KDE
  Welcome to KDE
  KDE user's manual
  KDE user's manual
  Application Manuals
  Application Manuals
   etc.


2.  when i invoke the maximal Desktop,
 an xterm window doesn't work properly
 when invoked using xterm  from
 a Konsole window; specifically, no text
 gets displayed in the xterm, either when typed
 from the keyboard or output from the OS. all
 i see in the xterm is the cursor (without prompt),
 which responds appropriately to line feeds.  

strangely, this probem does NOT occur when
i emply the minimal Desktop;  in other words,
an xterm invoked from a Konsole window works
fine. is buying more memory the cure?

gene



Re: two small problems with kde-cygwin

2003-09-07 Thread Alexander Gottwald
Gene C. Ruzicka wrote:

 i recently installed kde 3.1.1 on my w2k pc. overall,
 it works well aside from somewhat sluggish response --
 i guess it's time to upgrade to a faster processor.

 two small software-related problems:

Your questions are very closely bound to KDE. The [EMAIL PROTECTED]
mailinglist is the correct place for your questions.

This reply will be cc'ed to this list.


 1.  when i request for help from the toolbar icon, each item
  in the contents panel of the help window is
  repeated; i.e., the first few items read:
   Welcome to KDE
   Welcome to KDE
   KDE user's manual
   KDE user's manual
   Application Manuals
   Application Manuals
etc.


 2.  when i invoke the maximal Desktop,
  an xterm window doesn't work properly
  when invoked using xterm  from
  a Konsole window; specifically, no text
  gets displayed in the xterm, either when typed
  from the keyboard or output from the OS. all
  i see in the xterm is the cursor (without prompt),
  which responds appropriately to line feeds.

 strangely, this probem does NOT occur when
 i emply the minimal Desktop;  in other words,
 an xterm invoked from a Konsole window works
 fine. is buying more memory the cure?

 gene


NP: Lacrimosa - Copycat
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


src/winsup/cygwin ChangeLog cygheap.cc fhandle ...

2003-09-07 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-07 18:27:54

Modified files:
winsup/cygwin  : ChangeLog cygheap.cc fhandler_tty.cc 
 fhandler_windows.cc heap.cc 

Log message:
* cygheap.cc (_csbrk): More left coercion cleanup.
* fhandler_tty.cc (fhandler_tty_slave::read): Ditto.
(fhandler_tty_slave::write): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* heap.cc (sbrk): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2042r2=1.2043
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=srcr1=1.82r2=1.83
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=srcr1=1.103r2=1.104
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_windows.cc.diff?cvsroot=srcr1=1.20r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/heap.cc.diff?cvsroot=srcr1=1.35r2=1.36



src/winsup/cygwin ChangeLog include/cygwin/in.h

2003-09-07 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-08 00:26:26

Modified files:
winsup/cygwin  : ChangeLog 
winsup/cygwin/include/cygwin: in.h 

Log message:
* include/cygwin/in.h: Don't define ipv6 stuff unless we call for it
specifically since it isn't really implemented yet.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2043r2=1.2044
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/in.h.diff?cvsroot=srcr1=1.8r2=1.9



src/winsup/cygwin ChangeLog dir.cc fhandler_di ...

2003-09-07 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-08 04:04:19

Modified files:
winsup/cygwin  : ChangeLog dir.cc fhandler_disk_file.cc 
 fhandler_registry.cc fhandler_virtual.cc 
winsup/cygwin/include/sys: dirent.h 

Log message:
Throughout, remove __d_u.__d_data fields from DIR structure.
* include/sys/dirent.h (dirent): Remvoe old_d_ino.
(DIR): Make __d_dirhash a 64 bit value.  Remove __d_data and __d_u.  Add
__flags.
* dir.cc (opendir_states): New enum.
(opendir): Clear new DIR __flags field.
(readdir): Fill in '.' and '..' entries if we hit EOF and we haven't seen them
already.  Nuke setting of old_d_ino.
(rewinddir): Reset DIR __flags field.
(seekdir64): Ditto.
* fhandler_disk_file.cc (fhandler_cygdrive::fhandler_cygdrive): Remove special
handling of . and .. since they are now handled automatically.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2044r2=1.2045
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=srcr1=1.71r2=1.72
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srcr1=1.59r2=1.60
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=srcr1=1.20r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_virtual.cc.diff?cvsroot=srcr1=1.18r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/dirent.h.diff?cvsroot=srcr1=1.1r2=1.2



winsup/utils ChangeLog

2003-09-07 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2003-09-08 05:09:13

Modified files:
utils  : ChangeLog 

Log message:
fix typo

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.229r2=1.230



Re: cygcheck status: incomplete

2003-09-07 Thread Igor Pechtchanski
On Sat, 6 Sep 2003, Sam Steingold wrote:

 I am at a loss: since I upgraded to 1.5.3, some of my configure scripts
 fail with invalid package name: module message (obviously, module is
 a valid name); I traced this to an expr call; if I add any `expr'
 call right before the failing one, everything works just fine. _WEIRD!_

 now, I decided to check my installation, and cygcheck reported that
 some packages are incomplete:

 diff1.0-1  Incomplete
 newlib-man  20020801   Incomplete
 XFree86-base4.3.0-1Incomplete

 what do I do about it?

 I tried reinstalling.  didn't help.
 tried removing diff (why is it there anyway?), but it re-appeared again.

 what is going on?
 am I missing something trivial?

Sorry, mea culpa.  Basically, cygcheck failed package integrity check if
the manifest (file list) for that file was missing.  At the time I wrote
the code, I thought that an abnormal situation.  Turns out that no
manifest exists for empty packages (compatibility, like diff and
newlib-man, and dummy ones, like XFree86-base), so this is perfectly
normal.  This should be fixed by
http://cygwin.com/ml/cygwin-cvs/2003-q3/msg00217.html, and will appear
in the next snapshot, whenever that's generated (and, of course, in
1.5.4).
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

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



gcc simple program crashing

2003-09-07 Thread Gerry Reno
  I wrote, compiled and ran a very simple program today that is
producing the weirdest results.  I began googling the errors and came
across multiple accounts of people experiencing the exact same
behavior. The program is just a simple dos/unix line termination
converter:

#include stdio.h

int main (int argc, char *argv[])
{
  int ch;
  while ( (ch = getc(stdin))  ! feof(stdin) ) {
if (ch == '\n') {
  putc('\n',stdout);
  putc('\r',stdout);
} else putc(ch,stdout);
  }
}

gcc -o filter.exe -c filter.c

The errors:
./filter.exe 8: Syntax error: EOF in backquote substitution

and sometimes:
--
16-bit MS-DOS Subsystem
--
~/dev
The NTVDM has encountered an illegal instruction.
CS: IP:0077 OP:f0 37 05 0e 02 Choose 'Close' to terminate the
application.
--

Also, when I run the program from a DOS box the cursor starts jumping
all over the screen and you have to kill the DOS box to stop it.

I've tried this under Cygwin and MinGW with same result.

I'm using gcc 3.2 series in both cases:

gcc --version
gcc.exe (GCC) 3.2.3 (mingw special 20030504-1)

gcc --version
gcc (GCC) 3.2 20020927 (prerelease)

  Anyone know what is causing this behavior?  Another poster with this
problem was using g++ (GCC) 3.1.1 20020718 (prerelease):
http://www.cygwin.com/ml/cygwin/2002-07/msg01598.html


thx,
Gerry Reno


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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: [ANNOUNCEMENT] Updated: cvs-1.11.6-3 [Requires cygwin-1.5.3+]

2003-09-07 Thread Charles Wilson
Reini Urban wrote:

What about an official Exp package of the current cvs-1.12 sources?
I prefer that and built it by myself.
I don't have time to maintain two parallel lines of development for cvs. 
 As far as I'm concerned, when 1.11.7 (stable) is released by cvs home, 
then cygwin's test distribution will be 1.11.7-1 for a while.  Not 1.12.x.

Sorry.

--
Chuck
--
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 patch 2.5.8-7

2003-09-07 Thread Corinna Vinschen
On Sat, Sep 06, 2003 at 10:56:19PM +0200, Volker Quetschke wrote:
 $ patch -i dos_lineends.patch -b -p2
 fails.
 vc_common.mak is in: ./STLport-4.0/src/vc_common.mak
 
 So it fails.  Interesting.  I wonder *how* it fails though. 
 http://cygwin.com/problems.html
 Ok, I stepped into the usual trap. If it fails for me, it has to fail for
 you also :-(

It fails for me as well *iff* I change your two attached files to
having CRLF line endings.  Grr.  Thanks for the report, though.

I've uploaded a patched patch (2.5.8-8).

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[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: bug in libintl2 0.12.1-3

2003-09-07 Thread Charles Wilson
Uwe Stöhr wrote:

I just updated to libintl2 to 0.12.1-3 and now german umlauts in the menus
and windows are no longer displayed correct. For example geändert it is
displayed geandert.
I'm using libintl2 under the latest cygwin and the latest gettext.
Which *application* are you seeing this behavior in?  Has it been 
recompiled against the new libintl2 or not (I thought that there would 
be no upgrading issues, butjust covering all the bases, here).

Try recompiling your app with the new gettext/libiconv packages 
installed (and don't forget to install the -devel packages).

When I reinstall the old libintl2 0.11.5.1 (also withe the actual cygwin and
gettext) all works fine.
I'm stumped.  The new versions of libiconv/gettext pass just as many of 
the internal self-tests as the old versions did...my testing showed the 
new versions to be no worse than the old.  But then, I never ever use an 
alternate character set; high-school spanish was a long time ago.  I've 
often said that perhaps I'm not the best person to maintain these two 
packages...

--
Chuck


--
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] NEW: mingw-zlib-1.1.4-4

2003-09-07 Thread Charles Wilson
I've made a new package available on sourceware: mingw-zlib contains the 
zlib distribution compiled using 'gcc -mno-cygwin' and installed into 
/usr/include/mingw/ and /usr/lib/mingw.

It includes:

usr/bin/mgwz.dll
usr/include/mingw/zconf.h
usr/include/mingw/zlib.h
usr/lib/mingw/libz.a
usr/lib/mingw/libz.dll.a

and documentation.  (Note that the dll is named 'mgwz.dll' to prevent 
conflicts with 'cygz.dll')

The idea is for this library to be used by binaries that are part of the 
cygwin distribution, but which cannot use the cygwin kernel services -- 
such as setup.exe or cygcheck.exe, among others.

I'd bet that most of those applications would probably want to link 
directly to libz.a or use 'ld  -Bstatic -lz -Bdynamic' rather than 
link to dynamically, but we'll play that by ear.

--
Chuck

P.S. Yes, I know this didn't go thru the official process, but I got the 
impression that cgf wanted to include this functionality (e.g. the 
speedup of cygcheck via zlib library calls instead of zcat.exe) in the 
imminent release of cygwin-1.5.4, and I figured this would be fairly 
non-controversial.




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.

   *** 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 the above URL.





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

2003-09-07 Thread Fermin Sanchez
Hello Corinna 

  I added/uncommented PrintLastLog yes in /etc/sshd_config and 
  restarted
 PrintLastLog defaults to yes so that shouldn't be necessary.

Yes, I just wanted to be sure.

  Any hints where I should start looking (rtfm didn't bring 
  any results, 
  neither did a quick google).
 I'm using 3.6.1p2, too, obviously and I'm getting the last 
 log message.
 Any chance you have a problem with /var/log/lastlog?  Did you 
 delete it after starting sshd?  Permissions?

ls -l /var/log/lastlog shows:
-rw-r--r--1 Administ Domain U0 Sep  6 17:52 lastlog

I did a chmod 664 on /var/log/lastlog, now it works. Thank you again!
One good side effect: I'm going to put all this information into a how
to install and run cygwin and sshd on a Windows Server 2003 Domain
Controller ;-)

Cheers
Fermin

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



OT? Legacy code and constants / good and portable coding (RE: Compiling Wine in Cygwin)

2003-09-07 Thread Hannu E K Nevalainen \(garbage mail\)
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Marcel Telka

 On 05.09.2003 22:06, Gregory Nutt wrote:
  Trying to compile wine-20030813 in the first release of the 1.5.x
  series.
 
  I discovered that shader.c is looking for -HUGE which is apparently
  supposed to be defined in math.h.  I was able to make it compile by
  changing the shader.c to look for -HUGE_VAL which is defined in
  cygwin's math.h.  However, I'd like to know if this is a bug to report
  to Wine or a bug to report to Cygwin.  Since Wine compiles on Linux
  without a problem, I thought I'd start with Cygwin.

 IMHO, that is wine-related problem.
 http://www.opengroup.org/onlinepubs/007904975/basedefs/math.h.html

--

Ughhh... I wonder who it was that wrote:

 On Fri, 5 Sep 2003, Igor Pechtchanski wrote:

  HUGE is a SVID-specific value that is equal to MAXFLOAT on my RedHat 7.3
  box.  That is *not* the same as HUGE_VAL, BTW, so I'd use MAXFLOAT
  instead.
 

 MAXFLOAT is outdated.  I would suggest FLT_MAX in float.h.

As there seems to some confusion regarding this: Thus I wonder;

 Is there ANY good reading on what is legacy/outdated - and what isn't!?

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
--END OF MESSAGE--


--
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: latest cygcheck -c is expensive

2003-09-07 Thread Hannu E K Nevalainen \(garbage mail\)
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Christopher Faylor

 On Fri, Sep 05, 2003 at 08:42:49PM -0400, Jason Tishler wrote:
 On Fri, Sep 05, 2003 at 03:01:27PM -0400, Christopher Faylor wrote:
  If the only concern is that cygcheck takes a long time, now, then,
  like I said, that is something that can be rectified.
 
 Yes, the above is my real concern.
 
 I just hacked cygcheck to avoid calling gzip and use a mingw libz.a
 (courtesy of Chuck Wilson) and it takes 26 seconds to complete on my
 dual PIII 733MHZ WinXP system.  I have most packages installed.
 
 Is that still too slow?

 I should add that the previous version took 1 minute, 9 seconds.

 cgf

 A good enhancement IMO... though;

 I can imagine a situation where someone is trying to automate a thing or
two in cygwin (likely to be postinstall/preremove only?), using cygcheck...
[Workaround: Create output of cygcheck and 'grep' it instead?]

Already two calls, an extra minute (or two, read below), might tend to
enfuriate an impatient user (e.g. me! ;-).

NOTE:
 This would undoubtedly lead to questions like cygwin install froze! Why?
on this list.

[ cygcheck -c   on W2K 450MHz PII - about 1 minute]

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


--
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: setup.hint / ldesc

2003-09-07 Thread Hannu E K Nevalainen \(garbage mail\)
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of Sam Steingold

  Whats so hard in just following the recipe provided?
 
 why should I maintain two identical texts in two separate files?

$ ln --help

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE-- 

--
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: bug in libintl2 0.12.1-3

2003-09-07 Thread Uwe Stöhr
 Which *application* are you seeing this  behavior in? Has it been
recompiled
 against the new libintl2 or not (I
 thought that there would be no
 upgrading issues, butjust covering  all the bases, here).
 Try recompiling your app with the new
 gettext/libiconv packages installed (and
 don'tforget to install the -devel packages).

I use LyX under cygwin/XFree86. It's at the moment not recompiled under the
actual gettext/libiconv. I'll wait until the developers of cygwin/xfree86
release a version compiled with the actual cygwin.

When I reinstall the old libintl2 0.11.5.1 (also withe the actual cygwin and
gettext) all works fine.
 I'm stumped. The new versions of libiconv/gettext  pass just as many of
the internal self-tests as
 the old versions did...my testing showed the new
 versions to be no worse than the old. But then, I  never ever use an
alternate character set; high-
 school spanish was a long time ago. I've often
 said that perhaps I'm not the best person to
 maintain these two packages...

I use at the moment the new gettext, libintl, libintl1 and libgettextpo0
versions and the old libintl2 version and all works fine.

I'm stumped too, because I thaught testing means to test it with all
character sets. If you use an internationalized application like LyX, you
can adjust the language so that you can see the menues and button names in
slovakian, spanish etc.

regards Uwe



--
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: gcc simple program crashing

2003-09-07 Thread Hartmut Welpmann
On Sun, 7 Sep 2003 01:00:17 -0700 (PDT), you wrote:

  I wrote, compiled and ran a very simple program today that is
producing the weirdest results.  I began googling the errors and came
across multiple accounts of people experiencing the exact same
behavior. The program is just a simple dos/unix line termination
converter:

#include stdio.h

int main (int argc, char *argv[])
{
  int ch;
  while ( (ch = getc(stdin))  ! feof(stdin) ) {
if (ch == '\n') {
  putc('\n',stdout);
  putc('\r',stdout);
} else putc(ch,stdout);
  }
}

gcc -o filter.exe -c filter.c

The errors:
./filter.exe 8: Syntax error: EOF in backquote substitution

[...]

Anyone know what is causing this behavior?  

You try to execute an object file, just remove the -c switch.

Another poster with this
problem was using g++ (GCC) 3.1.1 20020718 (prerelease):
http://www.cygwin.com/ml/cygwin/2002-07/msg01598.html

If you had read the whole thread, you might have found the answer
yourself...

Regards,
Hartmut

-- 
Hartmut Welpmann

--
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] NEW: mingw-zlib-1.1.4-4

2003-09-07 Thread Christopher Faylor
On Sun, Sep 07, 2003 at 04:48:32AM -0400, Charles Wilson wrote:
I've made a new package available on sourceware: mingw-zlib contains the 
zlib distribution compiled using 'gcc -mno-cygwin' and installed into 
/usr/include/mingw/ and /usr/lib/mingw.

[snip]

P.S. Yes, I know this didn't go thru the official process, but I got the 
impression that cgf wanted to include this functionality (e.g. the 
speedup of cygcheck via zlib library calls instead of zcat.exe) in the 
imminent release of cygwin-1.5.4, and I figured this would be fairly 
non-controversial.

That's ok.  Process is intact since I used my super rubber stamp authority
to preapprove the package.

Thanks *very* much for providing this, Chuck.  This is incredible
service considering that I only mentioned this to you on Friday.

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/



File Not Found Problem on Install

2003-09-07 Thread Mark Andrew Weldin
I am trying to install cygwin on my computer(I have Windows ME) and every
time I try to do so, the install program locks up at the screen
where I am suppossed to choose the packages to install unless I hit next
immediately when that screen appears.  The lock up stil occurs even though
I have turned off my anti-virus software.  Secondly, when I am able to get
past the choose package screen, I keep getting the error saying:
 Can't open
C:\/ftp%3a%2f%2fcygwin.mirrors.pair.com/release/ash/ash-20020731-3.tar.bz2.tmp
for writing. No such file or directory.

So I was wondering how I can get around these two problems?  Thanks

--
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: gcc simple program crashing

2003-09-07 Thread Gerry Reno
Hartmut,
  Yes, thanks.  This is what I get for working too late :-)

rgds,
Gerry Reno

  
--- Hartmut Welpmann [EMAIL PROTECTED] wrote:
 On Sun, 7 Sep 2003 01:00:17 -0700 (PDT), you wrote:
 
   I wrote, compiled and ran a very simple program today that is
 producing the weirdest results.  I began googling the errors and
 came
 across multiple accounts of people experiencing the exact same
 behavior. The program is just a simple dos/unix line termination
 converter:
 
 #include stdio.h
 
 int main (int argc, char *argv[])
 {
   int ch;
   while ( (ch = getc(stdin))  ! feof(stdin) ) {
 if (ch == '\n') {
   putc('\n',stdout);
   putc('\r',stdout);
 } else putc(ch,stdout);
   }
 }
 
 gcc -o filter.exe -c filter.c
 
 The errors:
 ./filter.exe 8: Syntax error: EOF in backquote substitution
 
 [...]
 
 Anyone know what is causing this behavior?  
 
 You try to execute an object file, just remove the -c switch.
 
 Another poster with this
 problem was using g++ (GCC) 3.1.1 20020718 (prerelease):
 http://www.cygwin.com/ml/cygwin/2002-07/msg01598.html
 
 If you had read the whole thread, you might have found the answer
 yourself...
 
 Regards,
 Hartmut
 
 -- 
 Hartmut Welpmann


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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: setup.hint / ldesc

2003-09-07 Thread Christopher Faylor
On Sun, Sep 07, 2003 at 01:40:47PM -0400, Sam Steingold wrote:
 * In message [EMAIL PROTECTED]
 * On the subject of RE: setup.hint / ldesc
 * Sent on Sun, 7 Sep 2003 12:25:09 +0200
 * Honorable Hannu E K Nevalainen \(garbage mail\) [EMAIL PROTECTED] writes:

  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
  Of Sam Steingold
 
   Whats so hard in just following the recipe provided?
  
  why should I maintain two identical texts in two separate files?
 
 $ ln --help

vow! who could have thought about it?!
could you please enlighten me how can ln help me with two files one of
which contains the other and almost nothing else??

How about if, instead, we stop talking about this?  Your requirements
for keeping setup.hint information in another file are really not very
interesting.  Just for some repeated clarification: the setup.hint files
live on sources.redhat.com along with the package tar.bz2 files.  We're
not going to make an exception and allow you to upload a separate
included file for your proposed release.  If you want to use setup.hint
files for something other than the cygwin release, then you can invent
your own syntax and do whatever you like with setup.exe (assuming that
you're using it), this being free software and all.

And, as long as things are being repeated, this:

http://cygwin.com/ml/cygwin/2003-09/msg00396.html

is a perfectly workable plan.  I don't know why you haven't responded
to this suggestion or to this:

http://cygwin.com/ml/cygwin/2003-09/msg00402.html

where you are being asked to stop quoting email addresses in your text.

But, please, there's no need for clarification on why you continue
to respond to those suggestions which you think won't work but are
silent on the suggestion that really should do what you want.  Lets
just stop this now.
--
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/



Re: cron: can't switch user context

2003-09-07 Thread Igor Pechtchanski
On Sun, 7 Sep 2003, René Haber wrote:

 Hello

 I've got Cygwin runnig on Windows 2003 and wanted to use the cron
 daemon. I installed it via

cygrunsrv -I CYGWIN crond -p /usr/sbin/cron.exe -a -D

 as a NT-Service. Then I added a cronjob via crontab -e (I was logged
 in as Administrator)

5 * * * * echo test  test.txt

 after that, I started the cron-service and waited for the test-job to
 complete. But instead of doing the job cron complaind in the Syslog
 about

  Ereignisinformationen: /USR/SBIN/CRON : PID 228 : (CRON) error (can't switch 
 user context).

 I checked my install via a shellscript (cron_diagnose.sh) I found in
 the Mailing-List Archiv, but it didn't find a problem.

 Is there a solution to this Problem or a work-around?

 Thanks.

 Rene Haber

Do you Google?
http://www.google.com/search?q=%22windows+2003%22++switch+user+context+site%3Acygwin.com
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

--
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: setup.hint / ldesc

2003-09-07 Thread Christopher Faylor
On Sun, Sep 07, 2003 at 02:07:09PM -0400, Christopher Faylor wrote:
where you are being asked to stop quoting email addresses in your text.

Oops.  I did the same thing in my reply.  Sorry about that.  I meant to
edit the email addresses away before responding.

--
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: [PATCH] gcc3/ld patch for direct-linking-to-dll and auto-import support

2003-09-07 Thread Nick Clifton
Hi Ralf,

 while compiling trolltechs qt/xfree library with gcc3 (3.2x) on
 cygwin I recognized, that the auto-import stuff in combination of
 recent ld does not work in case of const variables in a dll when
 using direct linking to a dll, because gcc put those variables into
 a readonly, that means the .text section.

 The patch and a testcase is appended. A documentation could be found
 in the patch file.

Are you sure that the current linker does not work ?

When I tried it, using the test case you supplied, but without the
patch applied, I got this:

  % make
  ../gcc/g++ -B ../gcc/ -g  -save-temps -c -o dll.o dll.cc
  ../gcc/g++ -B ../gcc/ -g  --shared -L ../i686-pc-cygwin/newlib -L 
../i686-pc-cygwin/libstdc++-v3/src/.libs dll.o -o dll.dll
  ../gcc/g++ -B ../gcc/ -g  -save-temps -c -o client.o client.cc
  ../gcc/g++ -B ../gcc/ -g  -o client client.o -L ../i686-pc-cygwin/newlib -L 
../i686-pc-cygwin/libstdc++-v3/src/.libs -L. -ldll
  Info: resolving _var by linking to __imp__var (auto-import)
  Info: resolving test::var  by linking to __imp___ZN4test3varE (auto-import)

Cheers
Nick



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

2003-09-07 Thread Larry Hall
At 05:30 AM 9/7/2003, Fermin Sanchez you wrote:
Hello Corinna 

  I added/uncommented PrintLastLog yes in /etc/sshd_config and 
  restarted
 PrintLastLog defaults to yes so that shouldn't be necessary.

Yes, I just wanted to be sure.

  Any hints where I should start looking (rtfm didn't bring 
  any results, 
  neither did a quick google).
 I'm using 3.6.1p2, too, obviously and I'm getting the last 
 log message.
 Any chance you have a problem with /var/log/lastlog?  Did you 
 delete it after starting sshd?  Permissions?

ls -l /var/log/lastlog shows:
-rw-r--r--1 Administ Domain U0 Sep  6 17:52 lastlog

I did a chmod 664 on /var/log/lastlog, now it works. Thank you again!
One good side effect: I'm going to put all this information into a how
to install and run cygwin and sshd on a Windows Server 2003 Domain
Controller ;-)


It would be great to see this as an addition to the Cygwin docs and/or
automated by the post-install script too.  Just a thought.



--
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: sshd PrintLastLog yes

2003-09-07 Thread Igor Pechtchanski
On Sun, 7 Sep 2003, Larry Hall wrote:

 At 05:30 AM 9/7/2003, Fermin Sanchez you wrote:
 Hello Corinna
 
   I added/uncommented PrintLastLog yes in /etc/sshd_config and
   restarted
  PrintLastLog defaults to yes so that shouldn't be necessary.
 
 Yes, I just wanted to be sure.
 
   Any hints where I should start looking (rtfm didn't bring
   any results,
   neither did a quick google).
  I'm using 3.6.1p2, too, obviously and I'm getting the last
  log message.
  Any chance you have a problem with /var/log/lastlog?  Did you
  delete it after starting sshd?  Permissions?
 
 ls -l /var/log/lastlog shows:
 -rw-r--r--1 Administ Domain U0 Sep  6 17:52 lastlog
 
 I did a chmod 664 on /var/log/lastlog, now it works. Thank you again!
 One good side effect: I'm going to put all this information into a how
 to install and run cygwin and sshd on a Windows Server 2003 Domain
 Controller ;-)

 It would be great to see this as an addition to the Cygwin docs and/or
 automated by the post-install script too.  Just a thought.

 Larry Hall

Please, please, please don't put this in a postinstall script.  I, for
one, would not want any postinstall script to muck around with my
directory and file permissions (as I don't have any control over whether
that script runs).  I'd suggest putting it into ssh-host-config instead
(and, of course, the README file for those who prefer to configure sshd
manually).
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

--
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: strange cut and paste between windows and xemacs after upgrade to 1.5.3

2003-09-07 Thread David Rothenberger
Thomas Pfaff wrote:

After upgrading my cygwin release box from 1.33.2 to 1.5.3 i see a 
strange cut and paste probleme between xemacs 21.4.13 and windows.

Cut and paste from and to windows works as long as xemacs does not fork 
a child process. After a fork of a shell, gdb or gnuserv the actual 
clipboard content is lost and cut and paste works only inside xemacs.
It looks like this is fixed in 21.4.14.  I just compiled it myself from 
CVS sources (with X support enabled) and copy-paste works fine even with 
process-connection-type set to t (use ptys).

Hooray!

Dave



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


Pondering on cygcheck -c output; Some Incomplete packages + multiple versions of libxerces

2003-09-07 Thread Hannu E K Nevalainen \(garbage mail\)

 Hmm... should I be concerned about these?

I've seen diff and XFree86-base mentioned - and disregarded as important
in previous messages here. But not the others.

$ uname -a
CYGWIN_NT-5.0 P450 1.5.3(0.90/3/2) 2003-09-01 13:15 i686 unknown unknown
Cygwin
$ cygcheck -c ~/c_c.txt

gzip: stdout: Bad file descriptor
$ grep -i incomplete ~/c_c.txt
diff1.0-1  Incomplete
mod_auth_mysql  1.11-1 Incomplete
mod_auth_ntsec  1.7-1  Incomplete
mod_dav 1.0.3-1.3.6-1  Incomplete
mod_php44.2.0-2Incomplete
mod_ssl 2.8.8-1.3.24-1 Incomplete
newlib-man  20020801   Incomplete
tetex-base  2.0.2-1Incomplete
tetex-beta  20020911-1 Incomplete
tetex-tiny  2.0.2-1Incomplete
texmf   20020911-1 Incomplete
texmf-base  20020911-1 Incomplete
texmf-doc   20020911-1 Incomplete
texmf-extra 20020911-1 Incomplete
texmf-tiny  20020911-1 Incomplete
XFree86-base4.3.0-1Incomplete

I tried a re-install of the above packages, but that doesn't seem to change
anything...

$ cygcheck -c c_c-reinstalled.txt

gzip: stdout: Bad file descriptor
$ grep -i incomplete c_c-reinstalled.txt
diff1.0-1  Incomplete
mod_auth_mysql  1.11-1 Incomplete
mod_auth_ntsec  1.7-1  Incomplete
mod_dav 1.0.3-1.3.6-1  Incomplete
mod_php44.2.0-2Incomplete
mod_ssl 2.8.8-1.3.24-1 Incomplete
newlib-man  20020801   Incomplete
tetex-beta  20020911-1 Incomplete
texmf   20020911-1 Incomplete
texmf-base  20020911-1 Incomplete
texmf-doc   20020911-1 Incomplete
texmf-extra 20020911-1 Incomplete
texmf-tiny  20020911-1 Incomplete
XFree86-base4.3.0-1Incomplete


Additionally, there seems to be multiple versions of libxerces installed.
I'm not worried as I don't use it (at least currently), but others
might...

$ grep -i libxe c_c-reinstalled.txt
libxerces-c21   2.1.0-1OK
libxerces-c22   2.2.0-1OK
libxerces-c23   2.3.0-2OK

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
--END OF MESSAGE--


--
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: pinfo-0.6.8-1

2003-09-07 Thread Joshua Daniel Franklin
A updated version of pinfo is now available. This brings the
package into conformance with the Filesystem Heirarchy Standard (FHS),
with docs now in /usr/share/doc/, info files in /usr/share/info/,
and so on. 

Pinfo is a lynx-like man and texinfo file viewer. It has fully
configurable keyboard shortcuts and supports launching external
viewers for URLs.

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.  Once you've downloaded setup.exe, run it and click Next madly 
until you get to the end of the updating process.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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 COM1 port from with GDB 5.3 under Cygwin 1.5.3-1

2003-09-07 Thread Rolf Campbell
Creighton MacDonnell wrote:

Can other people use the COM1 port OK with the new Cygwin?
I did notice a difference.  Specifically, opening COM1 no longer opens 
 the com port.  You must use /dev/com1 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/


Re: Problem with COM1 port from with GDB 5.3 under Cygwin 1.5.3-1

2003-09-07 Thread Creighton MacDonnell
This will not work for me either. Nor does /dev/ttyS0.

Rolf Campbell wrote:

I did notice a difference.  Specifically, opening COM1 no longer 
opens  the com port.  You must use /dev/com1 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/


RE: Newby: setting up SSH

2003-09-07 Thread Larry Hall
You're best bet is to enable verbose mode for ssh (-v -v -v) and see what 
the client thinks it's finding.  My WAG is that it's actually failing 
public key authentication and asking you for a password for authentication
instead.  But the output of the above will indicate whether my WAG is 
true or not.

Larry


At 03:49 PM 9/3/2003, Nadia Kunkov you wrote:
Thank you so much.  It of course worked!
Now I have another problem.  I've set up public/private keys and since I need to set 
up an automated file transfer I didn't enter a passphrase.
When it asked for passphrase while creating keys I pressed enter.
Now, when I try to connect and specify the identity file it keeps asking me for a 
passphrase.  What did I do wrong?  I need to do away with all the prompts.
Thanks for your advice.
N.K.

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 8:40 PM
To: Nadia Kunkov; [EMAIL PROTECTED]
Subject: Re: Newby: setting up SSH


At 09:04 AM 9/2/2003, Nadia Kunkov you wrote:
Hi, I'm new to SSH.  I've just installed Cygwin on my Win2000 workstation.
My goal is to connect to it from Linux box and copy files from Linux to
Win2000.  I can connect to my windows box from Linux and browse the
directories.  But I need to set up and automated file transfer and therefore public 
and private keys.
I think my set up is not complete/correct.
When I run ssh localhost on my win2k  I see a message:
Cannot create directory /cygdrive/h/username: no such file or dir
Well it's looking at h drive and I need it to look at c drive.  Where do I change 
that?  Also, the authorized_keys file should reside in my home
directory, will that be /cygdirve/c/username/.ssh?
It also says that user name or group hasn't been setup correctly.  What
should I do to set it all up?
Thanks in advance.
N.K.


Change your home directory in /etc/passwd to be '/cygdirve/c/username'.
You're obviously working with a domain user account.  See 'man mkpasswd'
and 'man mkgroup' for information on how to setup up these files for
domain users.  

You can find allot of answers to questions like these by searching the
email archives (from the Cygwin site or via Google).


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


--
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 doesn't show .. in all directories

2003-09-07 Thread Larry Hall
I don't see it when I just mount to a directory (i.e. ls -al /usr/bin 
shows . and ..).  I do see it if I mount a drive and then ls -al
the newly mounted directory, regardless of the format (well NTFS or FAT,
don't know about FAT32).  Looks to me like the problem occurs if the 
Win32 path contains the drive specification.  But that's just the result
of some quick checking.


HTH,

Larry

At 10:28 PM 9/7/2003, David O'Shea you wrote:
Hi all,

I didn't see a response to this query.  Can someone at least confirm
that this appears to be a valid bug (just mount some directories and
take a look I guess!)?  Once that happens I can look at how to fix it.
I had a quick look at the code a month ago and thought it would
probably be hard to fix but I guess a challenge would be good :)

Regards,
David

- Original Message - 
From: David O'Shea [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 5:26 PM
Subject: Cygwin doesn't show .. in all directories


 Hi all,

 Apologies if this is old news, but I couldn't find mention of it in
 the FAQ or mailing list archives.

 I have my F: mounted at /backup under Cygwin.  When I 'ls -al
/backup'
 there is no '.' or '..' entry in /backup, I guess because they are
not
 there physically and hence not reported by Windows (FAT filesystems
 never have a '.' or '..' in the root directory as far as I know).
On
 Linux, every directory, including the root directory '/', has a '.'
 and '..' entry, so I guess for consistency they ought to be there.

 This is an issue for me because in MToolsFM, which allows you to
 graphically browse your directories (plus browse directories via
 'mtools'), you go up a directory by double-clicking on a '..' entry
in
 the list of directory contents.  I imagine that if MToolsFM was
hacked
 to show a '..' entry even if it didn't see one in the filesystem,
 things would work, since 'cd ..' works fine when I am in the /backup
 directory (I guess Cygwin doesn't actually look for the directory
 entry '..', it just goes up a directory).

 Of course I don't know if it might be the case that applications
 shouldn't assume that all *nix-ish platforms have a directory entry
 pointing to the parent directory.  Either way, please let me know!

 Thanks in advance,
 David


--
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: Pondering on cygcheck -c output; Some Incomplete packages + multiple versions of libxerces

2003-09-07 Thread Christopher Faylor
On Sun, Sep 07, 2003 at 09:45:39PM -0400, Igor Pechtchanski wrote:
 gzip: stdout: Bad file descriptor
  ^
Hmm, I'm not sure I like this.  I'll investigate.

gzip is gone from cygcheck now, after Chuck's submission of a mingw
version of libz.a, so this should no longer be an issue.

--
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 doesn't show .. in all directories

2003-09-07 Thread Christopher Faylor
On Mon, Sep 08, 2003 at 12:28:20PM +1000, David O'Shea wrote:
I didn't see a response to this query.  Can someone at least confirm
that this appears to be a valid bug (just mount some directories and
take a look I guess!)?  Once that happens I can look at how to fix it.
I had a quick look at the code a month ago and thought it would
probably be hard to fix but I guess a challenge would be good :)

Do a dir c: and then, say, a dir c:\tmp and note the difference.
Windows doesn't put a '.' and '..' in the root directories of drives.
Cygwin uses whatever windows provides.

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/



[ANNOUNCEMENT] Updated: zsh-4.0.7-2

2003-09-07 Thread Peter A. Castro
An updated version of zsh has been released and should be at a mirror
near you real soon.

This version has a few fixes from the Zsh team.  It is also the last of
the 4.0 version tree of zsh.

Note: this release of zsh 4.0.7 has been compiled with cygwin 1.5.3 -
therefore you should be using a version no older then this version of
cygwin if you want it to work.

Other changes include:

- files are now installed according to the Filesystem Heirachy Standard
(FHS) (meaning documentation is under /usr/share)


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.  Once
you've downloaded setup.exe, run it and select Editors  and then click on
the appropriate field until the above
announced version number appears if it is not displayed already.

If you have questions or comments, please send them to the Cygwin mailing
list at:  cygwin at cygwin dot com .  I would appreciate it 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 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:

cygwin-announce-unsubscribe-you=yourdomain dot com at cygwin dot com

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.

I implore you to READ this information before sending email about how you
tried everything to unsubscribe.  In 100% of the cases where people were
unable to unsubscribe, the problem was that they hadn't actually read and
comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing list,
reading the instructions at the above URL is guaranteed to provide you with
the info that you need.

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood


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



how to use inetd under cygwin

2003-09-07 Thread Magic Fang
Hi, can anybocy tell me how to setup the cygwin inetd? such as sshd, telnet server and 
proftpd?

thank you.

Magic




--
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 doesn't show .. in all directories

2003-09-07 Thread Christopher Faylor
On Sun, Sep 07, 2003 at 10:58:22PM -0400, Christopher Faylor wrote:
Do a dir c: and then, say, a dir c:\tmp and note the difference.
Windows doesn't put a '.' and '..' in the root directories of drives.
Cygwin uses whatever windows provides.

FWIW, after six years, it suddenly occurred to me how to easily work
around this Windows limitation in cygwin.  So, I have checked in some
code to rectify this behavior.

I'm trying to generate a snapshot but I just updated my gcc to 3.3.1
and it is not a given that it will work right.  I should have something
up eventually.  Any snapshot greater than or equal to 2003-08-08 should
have this fix in it.

http://cygwin.com/snapshots/
--
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/



Updated: pinfo-0.6.8-1

2003-09-07 Thread Joshua Daniel Franklin
A updated version of pinfo is now available. This brings the
package into conformance with the Filesystem Heirarchy Standard (FHS),
with docs now in /usr/share/doc/, info files in /usr/share/info/,
and so on. 

Pinfo is a lynx-like man and texinfo file viewer. It has fully
configurable keyboard shortcuts and supports launching external
viewers for URLs.

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.  Once you've downloaded setup.exe, run it and click Next madly 
until you get to the end of the updating process.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


NEW: mingw-zlib-1.1.4-4

2003-09-07 Thread Charles Wilson
I've made a new package available on sourceware: mingw-zlib contains the 
zlib distribution compiled using 'gcc -mno-cygwin' and installed into 
/usr/include/mingw/ and /usr/lib/mingw.

It includes:

usr/bin/mgwz.dll
usr/include/mingw/zconf.h
usr/include/mingw/zlib.h
usr/lib/mingw/libz.a
usr/lib/mingw/libz.dll.a
and documentation.  (Note that the dll is named 'mgwz.dll' to prevent 
conflicts with 'cygz.dll')

The idea is for this library to be used by binaries that are part of the 
cygwin distribution, but which cannot use the cygwin kernel services -- 
such as setup.exe or cygcheck.exe, among others.

I'd bet that most of those applications would probably want to link 
directly to libz.a or use 'ld  -Bstatic -lz -Bdynamic' rather than 
link to dynamically, but we'll play that by ear.

--
Chuck
P.S. Yes, I know this didn't go thru the official process, but I got the 
impression that cgf wanted to include this functionality (e.g. the 
speedup of cygcheck via zlib library calls instead of zcat.exe) in the 
imminent release of cygwin-1.5.4, and I figured this would be fairly 
non-controversial.



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.
  *** 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 the above URL.