Re: [update] base-files (2.2-1)

2003-08-21 Thread Elfyn McBratney
John Morrison [EMAIL PROTECTED] wrote:
 Last update (fingers crossed!) for a while.

Uploaded.

Would you also accept the following patch for your next release? It
elliminates an annoying warning when /etc/profile.d/ doesn't exist.

--- profile.default 2003-08-21 08:22:12.0 +0100
+++ profile 2003-08-21 08:23:34.0 +0100
@@ -47,0 +47,0 @@ fi

 # Run all of the profile.d scripts
 # Note that these are supplied by separate packages
-/bin/find /etc/profile.d/*.sh -type f | while read f; do
-  if [ -f $f ]; then
-. $f
-  fi
-done
+if test -d /etc/profile.d; then
+  /bin/find /etc/profile.d/*.sh -type f | while read f; do
+if [ -f $f ]; then
+  . $f
+fi
+  done
+fi

 # Default to unix make mode
 MAKE_MODE=unix

Thanks,

-- Elfyn


RE: 2.3-1 (was [update] base-files (2.2-1))

2003-08-21 Thread Morrison, John
Elfyn McBratney wrote:
 John Morrison [EMAIL PROTECTED] wrote:
 Last update (fingers crossed!) for a while.

Oh well, not to be :)

 Uploaded.
 
 Would you also accept the following patch for your next release? It
 elliminates an annoying warning when /etc/profile.d/ doesn't exist.

snip what=patch/

 Thanks,
 
 -- Elfyn

Patch applied Elfyn, thanks.  I changed it slightly to match
the format of the rest (if [ -d /etc/profile.d ] ;...) of the file

Also changed the /etc/[passwd|group] message based on feedback from
Pierre (Pierre; if it's still not right, feel free to email!)

Any more for any more? *GRIN*

I *really* hope all these changes will make it easier for
new users...

J.

Files:
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum

9667a6f22ce9e1241fd9ec8c6479462f
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-fil
es-2.3-1.tar.bz2

9b2695ab19b83cc2eb27e346801a114c
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hi
nt

PS, are the md5sums useful in the email?


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF



[Ready for test/1.5.2] a2ps-4.13-1

2003-08-21 Thread David_Hudson




Hello all,

I have uploaded a2ps-4.13-1 package which is compiled against cygwin-1.5.2.
This package contains the latest version of the a2ps program. I also added
a C# style sheet to the standard package.


# a2ps-4.13 setup.hint
sdesc: Formats files for printing on a PostScript printer.
ldesc: Formats files for printing on a PostScript printer.

The format used is nice and compact: normally two pages on each physical
page, borders surrounding pages, headers with useful information (page
number, printing date, file name or supplied header), line numbering,
pretty-printing, symbol substitution etc. This is very useful for making
archive listings of programs or just to check your code on the bus.
curr: 4.12-1
test: 4.13-1
category: Text
requires: cygwin groff man psutils

http://mysite.verizon.net/res1xzsj/cygwin/a2ps-4.13-1.tar.bz2
http://mysite.verizon.net/res1xzsj/cygwin/a2ps-4.13-1-src.tar.bz2
http://mysite.verizon.net/res1xzsj/cygwin/setup.hint



Thanks
Dave


David Hudson | The Capital Group Companies |
  Location: BRO | Extension: 51887  
 Outside: 714-672-1887 | E-mail: [EMAIL PROTECTED]  
   [ Mailing: 135 S State College Blvd.  Brea, CA   
  92821-5704 USA ]  






Test packages, or lack thereof (was It's a snapshot)

2003-08-21 Thread Elfyn McBratney
Christopher Faylor [EMAIL PROTECTED] wrote:
 If there are no serious issues with this version then I will probably
 flip the switch and make 1.5.3 the latest, current version of cygwin,
 switching all of the test versions of packages to be current at that
 time.

What's the plan regarding packages that haven't gone into a 'test' phase?
I haven't even started (well, I'm configuring now) mine.

Just curious,

-- Elfyn


Re: a2ps compile problem against 1.5.2

2003-08-21 Thread Christopher Faylor
On Mon, Aug 18, 2003 at 08:32:05AM -0700, [EMAIL PROTECTED] wrote:
Hi,

I had no problems compiling a2ps against 1.5.1 but against 1.5.2 I get this
error.

/bin/sh ../libtool --mode=link gcc  -O2 -g   -o a2ps.exe  main.o read.o
sshread.o ssheet.o select.o generate.o delegate.o regex.o buffer.o
versions.o ffaces.o parsessh.o lexssh.o lexps.o ../lib/liba2ps.la  -lfl
-lm -lintl
gcc -O2 -g -o a2ps.exe main.o read.o sshread.o ssheet.o select.o generate.o
delegate.o  regex.o buffer.o versions.o ffaces.o parsessh.o lexssh.o
lexps.o ../lib/.libs/liba2ps.a  -lintl -lfl -lm -lintl
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
final link failed: File truncated
collect2: ld returned 1 exit status
make[2]: *** [a2ps.exe] Error 1

Any ideas on what I should do?

Are these problems now rectified in the latest snapshot?

I know that removing -lm from the link line solves the problem but I
want to make sure that -lm is now working correctly.  It does for me, when
linking a2ps, but I want to make sure...

cgf


[Ready for test/1.5.2] coreutils-5.0.1-2

2003-08-21 Thread Matthew Smith
I've recompiled coreutils 5.0.1 against cygwin 1.5.2, and fixed some
packaging/documentation.  The new files may be grabbed here:

http://www.bluesguitar.org/coreutils/setup.hint
http://www.bluesguitar.org/coreutils/coreutils-5.0.1-2.tar.bz2
http://www.bluesguitar.org/coreutils/coreutils-5.0.1-2-src.tar.bz2

cheers,
-Matt




Re: Test packages, or lack thereof (was It's a snapshot)

2003-08-21 Thread Gareth Pearce
nano i'll update to 1.2.2 when 1.5.* goes live
aspell is ready and waiting for 1.5 - or was last time i remember...

Gareth
- Original Message - 
From: Elfyn McBratney [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 12:52 PM
Subject: Test packages, or lack thereof (was It's a snapshot)


 Christopher Faylor [EMAIL PROTECTED] wrote:
  If there are no serious issues with this version then I will probably
  flip the switch and make 1.5.3 the latest, current version of cygwin,
  switching all of the test versions of packages to be current at that
  time.
 
 What's the plan regarding packages that haven't gone into a 'test' phase?
 I haven't even started (well, I'm configuring now) mine.
 
 Just curious,
 
 -- Elfyn
 


Mitre eManager mail warning notification! (Attachment Removal)

2003-08-21 Thread interscan
 eManager Notification *

The following mail was blocked since it contains sensitive content.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]
Policy: Attachment Removal
Attachment file name: application.pif - application/octet-stream
Action: Replaced with text

The attachment has been removed from your message in accordance with MITRE's e-mail 
policy.  The remainder of this email has been delivered to the recipient. If you need 
to send this attachment you must first zip or compress the file prior to re-send it.

*** End of message *
Received: from FRAZZE (as10-4-5.lk.bonet.se [217.215.66.212])
by smtpproxy1.mitre.org (8.12.9/8.12.8) with ESMTP id h7LCRVLL000873
for [EMAIL PROTECTED]; Thu, 21 Aug 2003 08:27:32 -0400 (EDT)
Message-Id: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Wicked screensaver
Date: Thu, 21 Aug 2003 14:27:30 +0200
X-MailScanner: Found to be clean
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=_NextPart_000_0177F2EB


How to Contact Bob Keller

2003-08-21 Thread bkeller

From: rockhounds.com autoresponder

Due to receiving unmanageable amounts of spam, the former address for Bob Keller you 
have emailed is no longer operational and now black holes all email sent to it.

Bob Keller's current email address is published on his home page at:

http://www.rockhounds.com/bkeller

Please note that you cannot email Bob by replying to this autoresponder generated 
message - only email sent to the address published on his home page at the above given 
URL is monitored.


Network Associates Webshield - e-mail Content Alert

2003-08-21 Thread netadmin
Network Associates WebShield SMTP V4.5 MR1a on ovweb04w intercepted a mail from
[EMAIL PROTECTED] which caused the Content Filter Ficheros Scr to be
triggered.


Win32-XFree project status ?

2003-08-21 Thread temp201
Hi.

I was just wondering, what is the current status of the Win32-XFree project
? When looking at the website at http://sources.redhat.com/win32-x11/, it
appears that the web site was last updated in 2001. Does this mean that the
project is dead ? Is there any effort going on ? What is the current
usability of the code ?




Sincerely,

John Smith



src/winsup/cygwin ChangeLog sigproc.cc

2003-08-21 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-08-22 03:40:49

Modified files:
winsup/cygwin  : ChangeLog sigproc.cc 

Log message:
* sigproc.cc (wait_sig): Remove redundant test in do/while.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2009r2=1.2010
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srcr1=1.143r2=1.144



Core dumps : gij (GNU libgcj) version 3.2 20020927 (prerelease)

2003-08-21 Thread jurgen . defurne
Hello,

I am writing some code using the following directory structure,
like it should be in java

./source
./source/classes

putting into ./source the application, and in ./source/classes
the libraries, where one of the libraries is programmed to
throw an exception at a certain moment. When I execute
this code using gij, I get a core dump. When I compile this
code to an executable, it works fine.

I have tested my code under Linux, with gij-3.0 and gij-3.3,
there it executes fine, so the problem lies probably in the
cygwin implementation.

I have narrowed the problem down to a small main file, and
a single class in the subdirectory which throws an exception.
The problem persists.

If anyone likes to investigate, I can send him my example
code and a core dump as a tar file.

Regards,

Jurgen Defurne

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE : Mostly reproducible rsync hangs

2003-08-21 Thread Philippe Torche
I've discovered approximately the same problem, and with scp also.
Sometimes my transfert is stopped and stay there until I kill the server
or the client. But I've not certified that is then the file is big.
Sometimes I've arrived to freeze the transfert simply by typing some
caracters when the transfert is in progress.
My problem is the same with scp, then why not a ssh problem ?

Configuration:
  rsync client : 
- rsync 2.5.6 (prot 26) on cygwin 1.3.22-1
- Windows XP english SP1
- through ssh
  rsync server :
- rsync 2.5.6 (prot 26) on cygwin 1.3.22-1
- Windows XP english SP1
- sshd version OpenSSH_3.6.1p1 server from cygwin

Thanks, Philippe.

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part
de Patrick J. LoPresti Envoyé : mercredi, 20. août 2003 23:47 À :
[EMAIL PROTECTED] Objet : Mostly reproducible rsync hangs


I am having a problem with Cygwin and rsync.

I have reproduced this on multiple systems, all SMP boxes running
Windows XP, and on multiple versions of Cygwin (including DLL 1.3.22 and
DLL 1.5.2).

To reproduce, I just configure sshd on a machine (call it
cygwin-host) and run the following command from any RH9 Linux
system:

rm -rf /tmp/usr
rsync -av -e ssh cygwin-host:/usr /tmp

Almost always, the transfer hangs after a few megabytes have been
transferred.  But it does not hang in exactly the same place. According
to ps, both the rsync and sshd process on cygwin-host are stuck in O
state, and they stay there until they are killed.

This happens for any large rsync from cygwin-host to the Linux machine,
provided I initiate the transfer from the Linux machine.  If I initiate
an rsync from the Cygwin host (in either direction), or if I push a
large tree from the Linux host to the Cygwin host, it always works, even
for multi-gigabyte transfers.

I will attempt to debug this myself, but I am curious whether others are
able to reproduce it.  Note that I am not sure whether Windows XP is
relevant, but I am pretty sure that SMP is.

Thanks!

 - Pat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: init and xinetd woes

2003-08-21 Thread Vince Hoffman
 
 
 hello all,
 
 I've been messing around with xinetd and init and I can't 
 seem to get them
 to play nicely together.
 
 I've checked the archives and have reinstalled xinetd, sysvinit,
 initscripts, etc., run the appropriate config files 
 (overwriting existing

 /etc/*config files) and I still can't get init to start xinetd.
^
Er this could have been a problem, do you mean you ran init-config and said
yes overwrite the /etc/rc and /etc/inittab ?
if so try reinstalling init-scripts, as the defaults created by init-config
are very basic defaults.


 
 /var/log/init.log is empty
 
 
 net start init produces the following output:
 
 INIT: version 2.84 booting
 INIT: Entering runlevel: 3
 INIT: no more processes left in this runlevel
 
 
 
 $ ps -e |grep init
  291634322916816?   18 04:41:05 /sbin/init
 
 $ ps -e |grep xinetd
 blank
 
 
 i tried doing chkconfig --level 12345 xinetd on but it 
 seemed to have no
 effect
 
 $ chkconfig --list
 
 sshd0:off   1:off   2:off   3:off   4:off   5:off   6:off
 xinetd  0:off   1:on2:on3:on4:on5:on6:off
 xinetd based services:
 chargen:on
 chargen-udp:on
 daytime:on
 daytime-udp:on
 echo:   on
 echo-udp:   on
 ftpd:   on
 imap:   on
 rexec:  on
 rlogin: on
 rsh:off
 rsync:  off
 servers:on
 services:   on
 talk:   on
 telnet: on
 time:   off
 time-udp:   off
 
 there are no init errors in the Event Viewer  Application logs.
 
 
 if i start xinetd /etc/rc.d/init.d/xinetd start it starts 
 up alright, but
 as soon as i try to connect (for example, to imap) I get:
 
 setuid failed. Permission denied (errno=13)
 
 I understand this is because I'm starting the xinetd process 
 under the local
 user account and it needs to be started under the SYSTEM 
 account in order to
 setuid.
 
 
 if it makes any difference, my /var/lock/subsys dir is empty
 
 
 I've really done the best I can searching google and the archives for
 answers as to how to resolve this problem. I've spent about 3 
 hours trying
 to get it to work to no avail. I know this list's attitude towards the
 asking of RTFM questions, or repeating questions easily answered by
 searching the archives, but I'm really stuck with this one. 
 Please help.
 
 -Jonathan Simms
 
 
 
 --
 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/



Broken pipe in bison 20030307-1

2003-08-21 Thread Pavel Kudrna
Hello,
I received Broken pipe error when compiling evaluator.y (in the
attachment of this message) file with bison 20030307-1:
$ bison evaluator.y
evaluator.y: conflicts: 14 shift/reduce
Broken pipe
With bison 1.875-1 it is OK, i.e. there is no error and file
seems to be translated to evaluator.tab.c correctly.
With greetings
Pavel Kudrna.
/*  This is the evaluator */

 %{
 #include math.h  /* For math functions, cos(), sin(), etc. */
 #include evaluator.h  /* Contains definition of `symrec'*/
 %}
 %union {
 float val;  /* For returning numbers.   */
 symrec  *tptr;   /* For returning symbol-table pointers  */
  float *indirect_val;  /* For using external data */
 }
 
 %token val  NUM/* Simple float precision number   */
 %token tptr VAR FNCT IVAR   /* Variable and Function*/
 %type  val  exp
 
 %right '='
 %left '-' '+'
 %left '*' '/'
 %left NEG /* Negation--unary minus */
 %right '^'/* Exponentiation*/
 
 /* Grammar follows */
 
 %%
 input:   /* empty */
 | input line
 ;
 
 line:
   '\n'
 | exp '\n'   { EVAL_RESULT=$1; }
 | error '\n' { yyerrok;  }
 ;
 
 exp:  NUM{ $$ = $1; }
 | VAR{ $$ = $1-value.var;  }
 | IVAR   { $$ = *($1-value.ivar);  } 
 | VAR '=' exp{ $$ = $3; $1-value.var = $3; }
 | IVAR '=' exp   { $$ = *($1-value.ivar) = $3; } 
 | FNCT '(' exp ')'   { $$ = (*($1-value.fnctptr))($3); }
 | FNCT '(' exp ',' exp ')'   { $$ = (*($1-value.fnctptr))($3,$5); }
 | FNCT '(' exp ',' exp ',' exp ')'   { $$ = 
(*($1-value.fnctptr))($3,$5,$7); } 
 | FNCT '(' exp ',' exp ',' exp ',' exp ')'   { $$ = 
(*($1-value.fnctptr))($3,$5,$7,$9); } 
 | FNCT '(' exp ',' exp ',' exp ',' exp ',' exp')'   { $$ = 
(*($1-value.fnctptr))($3,$5,$7,$9,$11); } 
 | FNCT '(' exp ',' exp ',' exp ',' exp ',' exp ',' exp')'   { $$ = 
(*($1-value.fnctptr))($3,$5,$7,$9,$11,$13); } 
 | exp '+' exp{ $$ = $1 + $3;}
 | exp '-' exp{ $$ = $1 - $3;}
 | exp '*' exp{ $$ = $1 * $3;}
 | exp '/' exp{ $$ = $1 / $3;}
 | exp '%' exp{ $$ = fmod($1,$3);}
 | '-' exp  %prec NEG { $$ = -$2;}
 | exp '^' exp{ $$ = pow ($1, $3);   }
 | '(' exp ')'{ $$ = $2; }
 ;
 /* End of grammar */
 %%
/*  HERE BEGINS THE CODE FOR THE SYMOL TABLE  */

#include string.h
 struct init_func
 {
   char *fname;
   float (*fnct)();
 };
 struct init_var
 {
   char *vname;
   float value;
 };

 struct init_func arith_fncts[]
   = {
   sin, SINW,
   cos, COSW,
   atan, ATANW,
   ln, LOGW,
   exp, EXPW,
   sqrt, SQRTW,
 pow, POWW,
 step,step,
 pulse,pulse,
 ramp,ramp,
   0, 0
 };

 struct init_var init_vars[] = {
  PI, 3.141592654,
/*e, 2.18281828,   ! bad constant */
  e, 2.718281828,
0,0
  };
 /* The symbol table: a chain of `struct symrec'.  */

symrec *init_table (symrec *symbol_table)  /* puts arithmetic functions in table. */
 {
   int i;
   for (i = 0; arith_fncts[i].fname != 0; i++)
 {
   symbol_table = putsym (symbol_table,arith_fncts[i].fname, FNCT);
   symbol_table-value.fnctptr = arith_fncts[i].fnct;
 }
 for (i = 0; init_vars[i].vname !=0; i++)
 {
 symbol_table = putsym (symbol_table, 
init_vars[i].vname,VAR);
 symbol_table-value.var = init_vars[i].value;
 }
 return symbol_table;

 }

void delete_table (symrec *symbol_table)  /* puts arithmetic functions in table. */
 {
   int i;
   symrec *ptr,*old;
 for(ptr=symbol_table;ptr!=(symrec *)0; 
  old=ptr,ptr=(symrec *) ptr-next,free(old-name),free(old));

 }

 symrec *
 putsym (symrec *sym_table,char *sym_name,int sym_type)
 {
   symrec *ptr;
   ptr = (symrec *) malloc (sizeof (symrec));
   ptr-name = (char *) malloc (strlen (sym_name) + 1);
   strcpy (ptr-name,sym_name);
   

Re: mod_auth_mysql : HELP!!!

2003-08-21 Thread Gerrit P. Haase
Bill schrieb:

 Try moving `-lz' to the beginning of the link line (before
 `-lmysqlclient' as
 zlib is a dependency, AFAIK).

[...]

 my_compress.c: undefined reference to `_uncompress'

 Still no joy :O

Looks better with libz.a at the end like in your previous mail, or
did you removed errors from the first message?

Gerrit
-- 
=^..^=


--
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: ssh does not find the config file?

2003-08-21 Thread Bursian Achim

Bursian Achim wrote:
 
  Using 'ssh utah' does not work, I get prompted for the password 
for
  [EMAIL PROTECTED] But strange enough, 'ssh -F $HOME/.ssh/config utah' 
does
  work. $HOME/.ssh/config should be the default for the config file, 
but
  obviousely it isn't???
 
 You shouldn't have to specify IdentityFile in the config, since
 $HOME/.ssh/id_rsa is the default (and the path /home/.ssh you have 
above
 probably doesn't exist, unless your home directory is really 
/home/.)
 
 Actually, it is /home, I mounted it that way because I'm the only 
user on the system.

Hmm, that does sound odd.  I would suggest running either 'ssh -vvv' 
(or
whatever it is that enables the max debug spew) or even 'strace ssh' 
and
see what all files it's trying to look for.  Is your home directory
correct in /etc/passwd?


Thanks, Brian, that was the right hint:
In /etc/passwd the homedirectory was /cygdrive/h. I guess this is what 
cygwin setup does automatically, because H:\ is what my homedir on the 
NT domain is.

Almost all other apps honor my setting in $HOME, but ssh seems to look 
into /etc/passwd only, not to $HOME. Although it claims to do so in the 
manpage:

 -F configfile
  Specifies an alternative per-user  configuration  file.
  If  a  configuration file is given on the command line,
  thesystem-wideconfigurationfile
  (/etc/ssh_config) will be ignored.  The default
  fortheper-userconfiguration file is
  $HOME/.ssh/config.

Fixing my entry in passwd and everything goes as expected.

Thanks for the help!
-Achim


--
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: accept() doesn't block while running as NT service

2003-08-21 Thread Nedko Arnaudov
Corinna Vinschen [EMAIL PROTECTED] writes:

 On Wed, Aug 20, 2003 at 06:10:06PM +0300, Nedko Arnaudov wrote:
 Corinna Vinschen [EMAIL PROTECTED] writes:
 
  On Wed, Aug 20, 2003 at 11:23:01AM +0300, Nedko Arnaudov wrote:
  Process that is run under local system credentials cannot use
  network. This is why ot is called *local*. Don't know if this WinNT
  behaviour can be customized.
 
  That's wrong.  How should eg. sshd work then?
 
 Actually i don't know how sshd is implemented but i guess that it logs
 the user into LSA or impersonates him.

 And before authentication?  What about the parent process which is
 running under SYSTEM account and which is listening for incoming
 connections on port 22?


Ok, your are right. But using windows redirector functions (netbios
shares) is impossible from local system account or at least it was
some years ago. Of course this is not directly realted to the subject
of this thread. I just wanted to help.


--
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: Map Backspace to ASCII DEL?

2003-08-21 Thread Gerrit P. Haase
Ian schrieb:


 Hi,

 I've searched through the mailing list and have seen many posts related
 to backspace and delete behavior, so my apologies in advance for yet 
 another one, but I can't seem to find the answer I'm looking for in the
 archives.

 Currently it seems that the cygwin terminal sends ^H (ASCII BS, 0x08) 
 for backspace, and the VT220 Remove escape sequence (\E[3~, 0x1B5B337E)
 for Delete.  I'd like it to send ^? (ASCII DEL, 0x7F) so that ^H can be
 used by applications (e.g. emacs).  This is how I've always configured
 other terminal emulators that I've used, and it has worked well.

 I believe Cygwin just repeats what it gets from Windows.  Typically for
 the console this would changed via keymaps, but I don't see that Cygwin
 uses this.  I don't want to change my mapping in Windows as obviously 
 that would mess up my native environment.  Is there a low level way to
 change the keymap for Cygwin?  If not is there a source hack I could 
 implement (and if so where in the source should I look)?

I believe that this is already included in the FAQ, anyway:
put a file called .inputrc into your home directory and add these lines:

# This file is read by the 'readline' library
# (the library which bash uses for its command-
# line editing facility)

# Make Home work
\e[7~: beginning-of-line
# Make End work
\e[8~: end-of-line
# Make Delete work
\e[3~: delete-char
# make Insert work
\e[2~: paste-from-clipboard

# \C-h: backward-delete-char
# \C-?: backward-delete-char

Backspace works for me out of thebox, so I cannot say which one will
work for you.

This works for bash and probably other shells that use readline.


Gerrit
-- 
=^..^=


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



Inbound attachment usage restricted by BP policy (Replaced with text)

2003-08-21 Thread BP . Content
* eManager Notification **

BP Security Policy restricts the transmission of certain attachment types. If you are 
sending a legitimate file please resend this in a ZIP file.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]
Policy: Replaced with text
Attachment file name: thank_you.pif - application/octet-stream
Action: Attachment Removal

*** 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: Map Backspace to ASCII DEL?

2003-08-21 Thread Dr.D.J.Picton
 From: Elfyn McBratney elfyn at cygwin dot com 
 To: cygwin at cygwin dot com 
 Date: Thu, 21 Aug 2003 06:01:54 +0100 
 Subject: Re: Map Backspace to ASCII DEL? 
 References: [EMAIL PROTECTED] 
 Reply-to: cygwin at cygwin dot com 



 Ian Brandt [EMAIL PROTECTED] wrote:
  I've searched through the mailing list and have seen many posts related 
  to backspace and delete behavior, so my apologies in advance for yet 
  another one, but I can't seem to find the answer I'm looking for in the 
  archives.
  
  Currently it seems that the cygwin terminal sends ^H (ASCII BS, 0x08) 
  for backspace, and the VT220 Remove escape sequence (\E[3~, 0x1B5B337E) 
  for Delete.  I'd like it to send ^? (ASCII DEL, 0x7F) so that ^H can be 
  used by applications (e.g. emacs).  This is how I've always configured 
  other terminal emulators that I've used, and it has worked well.
  
  I believe Cygwin just repeats what it gets from Windows.  Typically for 
  the console this would changed via keymaps, but I don't see that Cygwin 
  uses this.  I don't want to change my mapping in Windows as obviously 
  that would mess up my native environment.  Is there a low level way to 
  change the keymap for Cygwin?  If not is there a source hack I could 
  implement (and if so where in the source should I look)?

 `stty erase ^?', IIRC.
-- Elfyn

No! Stty settings don't change keyboard mappings.  All the 'stty erase'
setting does is to select the 'character delete' code for use in 'simple'
terminal input (e.g. from applications like ftp as opposed to shells which
handle line editing themselves).  Setting stty erase ^? achieves nothing
useful with the default key mappings, because you can't actually generate
a delete character!

I think that rxvt has the functionality which you require.  For example:

rxvt -backspacekey ^? -deletekey ^h 

will give you a session in which the backspace key generates ^h and the
delete key generates ^?.  (It might then be useful to issue stty -erase ^?
so that you can use the backspace key to delete characters in simple
terminal input.)

In the case of emacs, have you tried running it under X11?  In this mode it
can distinguish between the backspace key (which it interprets as a
'delete last character' function) and ^h (which calls the help command).


--
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: mod_auth_mysql (2nd request)

2003-08-21 Thread Bill McCormick
Thanks Stipe:

[snip]
 
  Auth_MySQL_Info host user password
  Auth_MySQL_Encryption_Types Plaintext, Crypt_DES, MySQL
 
  Directory /var/www/htdocs/*/admin
  AuthType Basic
  AuthName Password Required
  Auth_MySQL_DB *
  Auth_MySQL_Password_Table http_auth
  Auth_MySQL_Group_Table http_auth
  Auth_MySQL_Empty_Passwords  Off
  Require Group admins
  /Directory

 I didn't get the point what you want to do here?!


I would like to be able to use the [Auth_MySQL_DB *] directive in httpd.conf
to avoid having a .htaccess in each of my users admin directory. (see
example directive above)

 now, I guess you are building apache statically, right? In that case
 you will have to provide the libmysqlclient.a and libz.a as LDFLAGS to
 the build process.

 Another option is to rebuild apache in shared dynamic mode, which will
 create .dll files for each module (even the core).


I expected shared dynamic mode. This is how it comes with the cygwin disto,
right? So I followed the cygwin/apache docs:


I used the recommended configure from the cygwin/apache docs ...

$ ./configure \
--with-layout=Cygwin \
--with-port=80 \
--enable-rule=EAPI\
--enable-module=most\
--enable-shared=max\
--activate-module=src/modules/auth_mysql/libauth_mysql.a\
--with-perl=/bin/perl.exe\
--disable-module=src/modules/standard/mod_auth_dbm

... and added the last three parameters.

Which produced:
---
##
##  Inherited Makefile options from Configure script
##  (Begin of automatically generated section)
##
SRCDIR=.
EXTRA_CFLAGS=`$(SRCDIR)/apaci`
EXTRA_LDFLAGS=
EXTRA_LIBS=
EXTRA_INCLUDES=
EXTRA_DEPS=
OSDIR=$(SRCDIR)/os/cygwin
INCDIR=$(SRCDIR)/include
INCLUDES0=-I$(OSDIR) -I$(INCDIR)
SHELL=/bin/sh
OS=Cygwin
CC=gcc
CPP=gcc -E
TARGET=httpd
OPTIM=
CFLAGS1=-I/usr/local/mysql/include/mysql  -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEE
DED
INCLUDES1=
LIBS_SHLIB=
LDFLAGS1=
MFLAGS_STATIC=--no-print-directory
REGLIB=regex/libregex.a
EXPATLIB=
RANLIB=ranlib
LIBS1= -L/usr/local/mysql/lib/mysql -L/lib -lz -lmysqlclient -lcrypt -lgdbm 
-lexpat
---

I then made minor changes to LIBS1 section. At the time I wasn't aware that
the libs need to be in LDFLAGS for dynamic build. So did I leave something
out during configure? For dynamic build, should the lib flags be in LDFLAGS1
or EXTRA_LDFLAGS, or it doesn't matter?

 Then you can tweak /usr/local/apache/bin/apxs as it is in the cygwin
 net distribution (this can't be done automatically from the apache
 build process for cygwin unfortunately).

 After you 'make' and 'make install' simply copy the apxs from the
 orginal distribution tree into your build install tree and then use
 apxs to compile the mysql_auth module like

   $ ./apxc -c mod_auth_mysql.c

 in case you need to add LDFLAGS you can pass apxs the -L and -l
 options for the gcc.

 Hope I gave you a good roadmap.

Yes, very helpful, thank you :)


 BTW, why is the recompiling of mysql_auth necessary?


No it's not. However, in the latest ver (2.20), Zeev has changed the apache
directives. He's kindly providing a script to update .htaccess files but I'd
rather avoid that whole mess and go with all the latest as I just now begin
to add password security to my application. Furthermore, in 2.20 there have
been a number of fixes relating to crypt'ing that I'd like to get out of the
way.

Is the versioning the same between the cygwin distro and disto from Zeev?
i.e. does cygwin mod_auth_myslq 1.11-1 == mod_auth_myslq 1.11-1. I didn't
find a 1.11-1 in Zeev's rev history?


Thanks,

Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


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

2003-08-21 Thread Bill McCormick
 Hmm, which version of mysql are you using, and is there any version
 recommended for httpd?

I'm not sure ... to both questions. I can't (quickly) locate the ver  number
in the source. BTW, I'm *running* the Win32 and *using* the Linux source
(fresh d/l) to link against.


 $ nm libmysqlclient.a | grep _mysql_connect
 2db0 T _mysql_connect

 This is version 3.23.43

 In version 4.1.0-alpha I just find:
 $ nm libmysqlclient.a | grep connect
  T _mysql_real_connect
  T _mysql_manager_connect
  T _my_connect


What is nm? I'm not finding that.


Thanks,

Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


--
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: Map Backspace to ASCII DEL?

2003-08-21 Thread Gerrit P. Haase
Hello Ian,

my apologies, I'm still learning english;)

 Currently it seems that the cygwin terminal sends ^H (ASCII BS, 0x08)
 for backspace, and the VT220 Remove escape sequence (\E[3~, 0x1B5B337E)
 for Delete.  I'd like it to send ^? (ASCII DEL, 0x7F) so that ^H can be
 used by applications (e.g. emacs).  This is how I've always configured

 # \C-h: backward-delete-char
 # \C-?: backward-delete-char

At least I found the Bash builtin bind:
bind -u backward-delete-char
removes all bindings for the Backspace key so you can define ^H yourself
with another Function.


Gerrit
-- 
=^..^=


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

2003-08-21 Thread Gerrit P. Haase
Bill schrieb:

 Hmm, which version of mysql are you using, and is there any version
 recommended for httpd?

 I'm not sure ... to both questions. I can't (quickly) locate the ver  number
 in the source. BTW, I'm *running* the Win32 and *using* the Linux source
 (fresh d/l) to link against.


 $ nm libmysqlclient.a | grep _mysql_connect
 2db0 T _mysql_connect

 This is version 3.23.43

 In version 4.1.0-alpha I just find:
 $ nm libmysqlclient.a | grep connect
  T _mysql_real_connect
  T _mysql_manager_connect
  T _my_connect


 What is nm? I'm not finding that.

nm.exe is in the binutils package which you need to link, so you should
find it in /usr/bin.


Gerrit
-- 
=^..^=


--
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: init and xinetd woes

2003-08-21 Thread Brian . Kelly




 hello all,

 I've been messing around with xinetd and init and I can't seem to get
them
 to play nicely together.

 I've checked the archives and have reinstalled xinetd, sysvinit,
 initscripts, etc., run the appropriate config files (overwriting existing
 /etc/*config files) and I still can't get init to start xinetd.

 /var/log/init.log is empty


 net start init produces the following output:

 INIT: version 2.84 booting
 INIT: Entering runlevel: 3
 INIT: no more processes left in this runlevel


init is HYPER sensitive to the owner and group settings on the /var
directory.

To *just* get it working, try this:

  chown -R SYSTEM:None /var

Better security can be had with this depending on the group membership of
the
SYSTEM user:

  chown -R SYSTEM:Administrators /var

Or - if you've created a custom user, like root:

  chown -R root:Administrators /var

Make sure that the *user* init is configured to use has write permissions:

  chmod -R 755 /var

If you want the group to have write permissions as well:

  chmod -R 775 /var

Also, consult the archives for previous discussions (like this one)

  http://sources.redhat.com/ml/cygwin/2003-08/msg00440.html


Enjoy,

Brian Kelly

(Oh - and yes - the error messages *SUCK* - obviously created for the
developers use and *not* end-users. A big PET PEEVE of mine - the
developer's ultimate revenge against the dreaded demanding and *ungrateful*
user. Actually, it's a sin of omission - but a sin nevertheless. Of
course they'll all cry overworked, underpaid (or not paid as the case
certainly is here - unless you work for Red Hat), don't like it - do it
yourself, *%$ YOU!:

  http://sources.redhat.com/ml/cygwin/2003-08/msg00454.html

etc etc. But alas - it is what it is ... I've always found the notion that
complaints == ungrateful and that I or anyone else should thankfully
accept whatever is created - even if takes 10 wasted hours from our lives
that could have been prevented with ten or fifteen minutes worth of effort
by the developer - *without complaint* to be a bunch of HOOEY! Add up your
ten hours, my ten hours, and the ten hours of all those before and after
and this *sin of omission* becomes quite glaring)





WellChoice, Inc. made the following
 annotations on 08/21/2003 07:30:48 AM
--
Attention!  This electronic message contains information that may be legally
confidential and/or privileged.  The information is intended solely for the
individual or entity named above and access by anyone else is unauthorized.
If you are not the intended recipient, any disclosure, copying, distribution,
or use of the contents of this information is prohibited and may be unlawful.
If you have received this electronic transmission in error, please reply
immediately to the sender that you have received the message in error, and
delete it. Release/Disclosure Statement


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

2003-08-21 Thread Bill McCormick
 $ nm libmysqlclient.a | grep _mysql_connect
 2db0 T _mysql_connect

 This is version 3.23.43

 In version 4.1.0-alpha I just find:
 $ nm libmysqlclient.a | grep connect
  T _mysql_real_connect
  T _mysql_manager_connect
  T _my_connect


I downloaded the 4.0 production release; looks like it's not lining up with
mod_auth_mysql:

$ nm libmysqlclient.a | grep connect
 U _connect
 T _my_connect
0ae0 T _mysql_real_connect
1940 t _mysql_reconnect
 U _my_connect
00f0 T _mysql_manager_connect


I don't find any documentation fro Zeev that indicates which version of
MySQL it supports.


Bill


P.S. is nm a POSIX program or a strictly a cygwin-izm?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


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



automated response

2003-08-21 Thread junk spam
Please stop spamming.. This is an automated reply..

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



mod_auth_mysql link problems

2003-08-21 Thread Bill McCormick
Zeev,

I'm having problems linking with the MySQL 4.0 libmysqlclient under cygwin.
It appears that the lib does not have mysql_connect() but instead has
my_connect(). Does mod_auth_mysql need to be updated? Am I doing something
wrong? Is there a work-around?

Additionally, I would like *not* to have an .htaccess file in each of many
user/admin directories for a project I'm working on. I would like to be able
to use the directive [Auth_MySQL_DB] in httpd.conf as follows:

Directory /var/www/htdocs/*/admin
AuthType Basic
AuthName Password Required
Auth_MySQL_DB *
Auth_MySQL_Password_Table http_auth
Auth_MySQL_Group_Table http_auth
Auth_MySQL_Empty_Passwords  Off
Require Group admins
/Directory

Each of my users will have there own db and further be able to apply access
privileges to additional users for their db. How much trouble would it be to
make this change? Or does it now exist in some form or another?


Thanks,


Bill McCormick
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


--
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: 1.3.22-1 on XP: malloc returns overlapping buffers

2003-08-21 Thread roconnor
On Wed, Aug 20, 2003 at 11:12:27PM -0400, Larry Hall wrote:
 
 This works OK for me on W2K SP1 with cygwin 1.5.x.  Maybe you want to
 upgrade to this (i.e. the test version) and see if you still see the
 problem.
 

I still see the problem on both XP and W2K with cygwin 1.5.2-1.  Maybe
it's related to the size of physical memory?  I have 512M on the XP
and W2K systems and 256M on the NT4.0 system (which doesn't see the
problem).

One person has emailed my privately to say that he gets similar
behavior on his W2K machine, but he doesn't say which version of
Cygwin he is running.  I will encourage him to post to the list.

-- 
Russell O'Connor
[EMAIL PROTECTED]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Map Backspace to ASCII DEL?

2003-08-21 Thread Ian Brandt
Gerrit P. Haase wrote:
I believe that this is already included in the FAQ, anyway:
put a file called .inputrc into your home directory and add these lines:
# This file is read by the 'readline' library
# (the library which bash uses for its command-
# line editing facility)
# Make Home work
\e[7~: beginning-of-line
# Make End work
\e[8~: end-of-line
# Make Delete work
\e[3~: delete-char
# make Insert work
\e[2~: paste-from-clipboard
# \C-h: backward-delete-char
# \C-?: backward-delete-char
Backspace works for me out of thebox, so I cannot say which one will
work for you.
This works for bash and probably other shells that use readline.
Hi Gerrit,

Thanks, but like stty this is too high level.  This only tells 
applications that use the readline library what to do when they receive 
a certain character or string from the terminal.  Readline, 
termcap/terminfo, and stty settings only change how the applications 
that use them react to a certain character/string.  I'm looking to 
change the character/string that is sent to them for a particular 
keycode.  In general it is a lot easier and there is a lot less to 
configure if the ASCII DEL character is sent for the Backspace keycode, 
and this also frees ASCII BS, or ^H, to be used by applications such as 
emacs.  I would like to use Cygwin as my terminal and via ssh access 
several different machines, so minimizing the configuration required at 
each system is important.  If I was on a Linux box I would accomplish 
this locally by changing the keymap using loadkeys, but this doesn't 
appear to be a part of the Cygwin port (and for all I know it may not be 
sensible on account of the Cygwin/Windows low-level details?).

Just FYI for more info see:

http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-2.html

Thanks,

Ian

--
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: Map Backspace to ASCII DEL?

2003-08-21 Thread Ian Brandt


Dr.D.J.Picton wrote:
[snip]
I think that rxvt has the functionality which you require.  For example:

rxvt -backspacekey ^? -deletekey ^h 

will give you a session in which the backspace key generates ^h and the
delete key generates ^?.  (It might then be useful to issue stty -erase ^?
so that you can use the backspace key to delete characters in simple
terminal input.)
In the case of emacs, have you tried running it under X11?  In this mode it
can distinguish between the backspace key (which it interprets as a
'delete last character' function) and ^h (which calls the help command).
rxvt is purely an X application though, no?  I'm trying to get this 
going under the Cygwin console.  For X I could use xmodmap which would 
change the binding before it got to rxvt, xterm, emacs, etc.

I in fact often do use X by ssh'ing to a remote system with port 
forwarding.  I use Exceed as my local X server and it has a xmodmap 
equivalent.  It's nice because I can use the mouse for cut/copy/paste, 
but it is somewhat slow.  For a quick session the cygwin terminal would 
be much more efficient, if I could get it to function properly! 
(Besides the backspace problem I'm having issues with running full 
screen applications such as less and emacs -nw. (It seems that some 
terminal capability is not performing as advertised as the screen ends 
up garbled on occasion.  This is my next challenge.)

Regards,

Ian

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

2003-08-21 Thread Gerrit P. Haase
Bill schrieb:

 $ nm libmysqlclient.a | grep _mysql_connect
 2db0 T _mysql_connect

 This is version 3.23.43

 In version 4.1.0-alpha I just find:
 $ nm libmysqlclient.a | grep connect
  T _mysql_real_connect
  T _mysql_manager_connect
  T _my_connect


 I downloaded the 4.0 production release; looks like it's not lining up with
 mod_auth_mysql:

 $ nm libmysqlclient.a | grep connect
  U _connect
  T _my_connect
 0ae0 T _mysql_real_connect
 1940 t _mysql_reconnect
  U _my_connect
 00f0 T _mysql_manager_connect


 I don't find any documentation fro Zeev that indicates which version of
 MySQL it supports.

Probably 3.4x.xx series it seems.


 P.S. is nm a POSIX program or a strictly a cygwin-izm?

It is in the binutils package like ld, should be available for every
platform, I don't know if this has s.th. to do with POSIX, but it is not
Cygwin specific.


Gerrit
-- 
=^..^=


--
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: change wallpaper periodly by cron?

2003-08-21 Thread Ehud Karni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 21 Aug 2003 04:15:29 +0100, Elfyn McBratney [EMAIL PROTECTED] wrote:

 Lucifer [EMAIL PROTECTED] wrote:
  On Wed, 20 Aug 2003 10:20:10 +0200
  Corinna Vinschen [EMAIL PROTECTED] wrote:
 
  CV
  CV It's a limitation of service processes.  You can only change it by setting
  CV the Allow service to interact with desktop property of the service.
  CV
 
  I enabled the Allow service to interact with desktop and it works now,
  thank you.  However, a DOS window titled as c:\cygwin\bin\cygrunsrv.exe
  popped out.  It's ugly.  Can that be avoided?

 AFAIK, it cannot. It's the ugly side effect of interactive service(s) on
 Windows.

Try to compile your program with -mwindows (without changing your
main function). I use this trick when I want a program without a
window (or console). If you run it from bash (or sh/csh) you wont
notice any change, but if you run it under command or cmd, it will
run without a (console) window.

Ehud.


- --
 Ehud Karni   Tel: +972-3-7966-561  /\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:[EMAIL PROTECTED]  Better  Safe  Than  Sorry
-BEGIN PGP SIGNATURE-
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE/RMnHLFvTvpjqOY0RAvbKAJ9/NisvO2AiJpdQOdUBA4dVymz5SACeJka1
qt/n45d0M2boTdaGlKIbso8=
=uhKZ
-END PGP SIGNATURE-

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

2003-08-21 Thread Bill McCormick
 It is in the binutils package like ld, should be available for every
 platform, I don't know if this has s.th. to do with POSIX, but it is not

Right, I found it (obviously)

I guess what I meant to say was: I don't see this command in Linux (that
is - it's not listed in the index of my Linux admin book under nm.) Does
it go by another name under Linux?


Thanks,


Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


--
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: 1.3.22-1 on XP: malloc returns overlapping buffers

2003-08-21 Thread Corinna Vinschen
On Thu, Aug 21, 2003 at 08:45:12AM -0400, roconnor wrote:
 On Wed, Aug 20, 2003 at 11:12:27PM -0400, Larry Hall wrote:
  
  This works OK for me on W2K SP1 with cygwin 1.5.x.  Maybe you want to
  upgrade to this (i.e. the test version) and see if you still see the
  problem.
  
 
 I still see the problem on both XP and W2K with cygwin 1.5.2-1.  Maybe
 it's related to the size of physical memory?  I have 512M on the XP
 and W2K systems and 256M on the NT4.0 system (which doesn't see the
 problem).
 
 One person has emailed my privately to say that he gets similar
 behavior on his W2K machine, but he doesn't say which version of
 Cygwin he is running.  I will encourage him to post to the list.

No need for me too's.  I can reproduce the problem and will have a
look as soon as my schedule allows.

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

2003-08-21 Thread Gerrit P. Haase
Bill schrieb:

 It is in the binutils package like ld, should be available for every
 platform, I don't know if this has s.th. to do with POSIX, but it is not

 Right, I found it (obviously)

 I guess what I meant to say was: I don't see this command in Linux (that
 is - it's not listed in the index of my Linux admin book under nm.) Does
 it go by another name under Linux?

Not that I'm aware of, it should be the same there.  It is use to
extract the symbol names from archives eg. from Perl's Configure script
if nm is available which runs on pretty mcuh platforms.

Maybe it is in the Linux devel book;)


Gerrit
-- 
=^..^=


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



Email error

2003-08-21 Thread response

++

Your message wasn't delivered to Washington Mutual because it didn't
originate from the Washington Mutual secure website.  To send a message
to Washington Mutual, go to
http://www.wamu.com/servlet/wamu/public/eng/pages/ecare/contact.html,
select a topic from the drop-down menu and type in your question or
concern.  Washington Mutual can usually get an answer to you within 24
hours.  

If your email seeks account-related information, you'll first need to
provide a valid logon ID and password before you can receive a
response.  To get a logon ID, go to
http://www.wamu.com/servlet/wamu/public/eng/pages/logon.html.  

If you want to report a lost or stolen card, or any unauthorized
activity on your account, please call Washington Mutual directly at
(800)-788-7000.

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: ssh does not find the config file?

2003-08-21 Thread Bill C. Riemers
Check the permissions on your directories.  'ssh' will ignore a .ssh
directory if anybody else has write permissions to the containing directory.
i.e. Both /home and /home/.ssh should have permissions 755 or something even
more restrictive.  It bypasses this check when you explicitly provide the
path on the command line because otherwise you could not place temporary
configuration files in /tmp or another common scratch directory.

  Bill


- Original Message - 
From: Bursian Achim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 3:46 AM
Subject: Re: ssh does not find the config file?


  Using 'ssh utah' does not work, I get prompted for the password for
  [EMAIL PROTECTED] But strange enough, 'ssh -F $HOME/.ssh/config utah' does
  work. $HOME/.ssh/config should be the default for the config file, but
  obviousely it isn't???
 
 You shouldn't have to specify IdentityFile in the config, since
 $HOME/.ssh/id_rsa is the default (and the path /home/.ssh you have above
 probably doesn't exist, unless your home directory is really /home/.)

 Actually, it is /home, I mounted it that way because I'm the only user on
the system.

 % echo $HOME
 /home
 % ls -l $HOME/.ssh
 total 10
 -rw-r--r--1 BA3759   mkgroup_ 1787 Aug 21 09:34 authorized_keys
 -rw-r--r--1 BA3759   mkgroup_ 1152 Aug 21 09:38 config
 -rw---1 BA3759   mkgroup_  887 Aug 20 17:00 id_rsa
 -rw-r--r--1 BA3759   mkgroup_  218 Aug 21 09:34 id_rsa.pub
 -rw-r--r--1 BA3759   mkgroup_  230 Aug 20 20:39 known_hosts
 -rw---1 BA3759   mkgroup_ 1024 Aug 21 09:34 prng_seed
 -rw---1 BA3759   mkgroup_  512 Aug 21 09:34 random_seed

 And it only works with the IdentityFile line in the config. That's the
same strange thing: It should
 default to $HOME/.ssh/id_rsa, but it does not. Just like the default
$HOME/.ssh/config does not work.

 Also, why don't you have a id_rsa.pub file?  When you created the public
 key you should have created a pair of keys, the public id_rsa.pub (which
 you added to ~/.ssh/authorized_keys on the remote host, yes?) and the
 private id_rsa.
 They are all there, this was no complete directory listing, just to show
that the necessary files are
 present.

 Still stuck...
   -Achim


 --
 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: init and xinetd woes

2003-08-21 Thread Bill C. Riemers
Hi Jonathan,

I found I had to write a custom /usr/sbin/init.sh script to get init to work
properly.  It seems like the sysvinit has nothing in it that actually
controls setting the runlevels during startup and shutdown.   So I installed
the script as the service instead of the init program:

cygrunsrv -I init -p /usr/sbin/init.sh -c /tmp -d 'CYGWIN init' -t auto -s
INT -o

I find about once every few days, my services stop working for now apparent
reason.  In most cases I can restart them with:
/sbin/telinit 0;sleep 60;/sbin/telinit 3

However, occasionally, that does not work.  Then I do:
   cygrunsrv -E init
kill -9 each of the surviving daemons
   cygrunsrv -S init

I suspect the main cause of the failure, is execve() does not work the same
under Windows and Unix.  For Unix, the new program invoked by the execve()
command has the same process id as the original.  For Windows, the process
ID can be different from the original.  Consequently any script that
does something like:
echo $$  newProgram.id
exec newProgram
might not have the newProgram's PID in the newProgram.id file.  This raises
havoc with scripts that try to automatically stop and restart daemons.

   Bill


- Original Message - 
From: Jonathan Simms [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 4:51 AM
Subject: init and xinetd woes


 hello all,

 I've been messing around with xinetd and init and I can't seem to get them
 to play nicely together.

 I've checked the archives and have reinstalled xinetd, sysvinit,
 initscripts, etc., run the appropriate config files (overwriting existing
 /etc/*config files) and I still can't get init to start xinetd.

 /var/log/init.log is empty


 net start init produces the following output:

 INIT: version 2.84 booting
 INIT: Entering runlevel: 3
 INIT: no more processes left in this runlevel



 $ ps -e |grep init
  291634322916816?   18 04:41:05 /sbin/init

 $ ps -e |grep xinetd
 blank


 i tried doing chkconfig --level 12345 xinetd on but it seemed to have no
 effect

 $ chkconfig --list

 sshd0:off   1:off   2:off   3:off   4:off   5:off   6:off
 xinetd  0:off   1:on2:on3:on4:on5:on6:off
 xinetd based services:
 chargen:on
 chargen-udp:on
 daytime:on
 daytime-udp:on
 echo:   on
 echo-udp:   on
 ftpd:   on
 imap:   on
 rexec:  on
 rlogin: on
 rsh:off
 rsync:  off
 servers:on
 services:   on
 talk:   on
 telnet: on
 time:   off
 time-udp:   off

 there are no init errors in the Event Viewer  Application logs.


 if i start xinetd /etc/rc.d/init.d/xinetd start it starts up alright,
but
 as soon as i try to connect (for example, to imap) I get:

 setuid failed. Permission denied (errno=13)

 I understand this is because I'm starting the xinetd process under the
local
 user account and it needs to be started under the SYSTEM account in order
to
 setuid.


 if it makes any difference, my /var/lock/subsys dir is empty


 I've really done the best I can searching google and the archives for
 answers as to how to resolve this problem. I've spent about 3 hours trying
 to get it to work to no avail. I know this list's attitude towards the
 asking of RTFM questions, or repeating questions easily answered by
 searching the archives, but I'm really stuck with this one. Please help.

 -Jonathan Simms



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



xinetd.conf
Description: Binary data


init.sh
Description: Binary data


inittab
Description: Binary data
--
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: change wallpaper periodly by cron?

2003-08-21 Thread Bill C. Riemers
There is a solution for programs which you don't compile.  That is simply to
reposition the console window off screen.  i.e.

Right click on the title bar of the window and select properties.  Then go
to layout.  Unselect Let system position window.  Adjust the window so the
position is off screen.  Click OK.  Finally, select Save properties for
future windows with the same title and click OK.

Now your window still opens, but it doesn't clutter the screen.

If you want to avoid even having the icon, I find the successful approach
for that is to invoke your program via rxvt.  For example, for my Cygwin
icon I use a short cut of with a target of: d:\bin\rxvt.exe -e
/bin/bash --login.  You can use the -geometry option on your rxvt windows
to hide those.

Indeed a console window still opens, but it is off screen, and closes so
quickly that most of the time I never see the icon on my task bar for it.

For crontab jobs, I found the same type of trick works if you install the
program as a service.  i.e.

cygrunsrv -I pcphone -a -w -p /usr/local/bin/pcphone -s QUIT -o -t
manual

Next under Windows Services, check the allowed to interact with desktop
button.

Now whenever I run /usr/local/bin/pcphone either interactively, or from a
crontab job, it simply starts calls cygrunsrv -S pcphone which in turn
invokes:

/usr/local/bin/pcphone -w

Finally, the pcphone script when invoked as a service starts the real
pcphone.exe via a nohup call to rxvt, sleeps for five seconds and then
exits.  So the CONSOLE window icon exists on my task bar for no more than
five seconds.  Once the CONSOLE window is closed, the rxvt window is
also killed, however the children of rxvt, pcphone.exe are not killed.
So pcphone.exe is left running as an orphaned process.  The reason for the
five second delay is just to give rxvt enough time to invoke the
pcphone.exe program.

Bill







- Original Message - 
From: Ehud Karni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 9:31 AM
Subject: Re: change wallpaper periodly by cron?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thu, 21 Aug 2003 04:15:29 +0100, Elfyn McBratney [EMAIL PROTECTED]
wrote:
 
  Lucifer [EMAIL PROTECTED] wrote:
   On Wed, 20 Aug 2003 10:20:10 +0200
   Corinna Vinschen [EMAIL PROTECTED] wrote:
  
   CV
   CV It's a limitation of service processes.  You can only change it by
setting
   CV the Allow service to interact with desktop property of the
service.
   CV
  
   I enabled the Allow service to interact with desktop and it works
now,
   thank you.  However, a DOS window titled as
c:\cygwin\bin\cygrunsrv.exe
   popped out.  It's ugly.  Can that be avoided?
 
  AFAIK, it cannot. It's the ugly side effect of interactive service(s) on
  Windows.

 Try to compile your program with -mwindows (without changing your
 main function). I use this trick when I want a program without a
 window (or console). If you run it from bash (or sh/csh) you wont
 notice any change, but if you run it under command or cmd, it will
 run without a (console) window.

 Ehud.


 - --
  Ehud Karni   Tel: +972-3-7966-561  /\
  Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
  Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
  http://www.mvs.co.il  FAX:  1-815-5509341  / \
  mailto:[EMAIL PROTECTED]  Better  Safe  Than  Sorry
 -BEGIN PGP SIGNATURE-
 Comment: use http://www.keyserver.net/ to get my key (and others)

 iD8DBQE/RMnHLFvTvpjqOY0RAvbKAJ9/NisvO2AiJpdQOdUBA4dVymz5SACeJka1
 qt/n45d0M2boTdaGlKIbso8=
 =uhKZ
 -END PGP SIGNATURE-

 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



Cygwin.lnk
Description: Binary data


pcphone
Description: Binary data
--
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: HLDS and Cygwin

2003-08-21 Thread GDN_Cygwin

Elfyn,

Thanks for taking some time to help with this.  I am sorry I did not 
provide enough information on the problem.  Let me answer your questions 
below:

On Mon, 18 Aug 2003, Elfyn McBratney wrote:

 GDN_Cygwin wrote:
  
  There seems to be a problem running HLDS (half-life dedicated server) for 
  windows and Cygwin and possible other similar apps.
  
  The setup:
  
  1) Full install of HLDS, lets call it hlds1
  2) Second complete install of HLDS in separate directory, call hlds2
  
  I have no problem executing the hlds1 or hlds2 by themselves.  But when I 
  try to run both at the same time the 2nd one does not run at all.
 
 Sorry, I do not know what HLDS is or what it does, apart from it being of the
 server variety of applications. Is HLDS a free software project, an open source
 project, a commercial thing?

HLDS stands for Half Life Dedicated Server.  Half Life is a game that is 
very popular in the online multiplayer community.  There are many mods 
people have put out that use the HL engine to run including Counter 
Strike, Day of Defeat, etc.  The game is developed by valvesoftware.com.

  If I kill hlds1 and run hlds2 it starts right up.
  
  If I run either hlds1 or hlds2 and try to even execute the other one from 
  file explorer I get an error Unable to load engine, image is corrupt.
  
  Although if I run hlds1 and hlds2 from file explorer they both run fine.
 
 This doesn't really sound like a Cygwin issue. Is HLDS a Cygwin app or Mingw
 app [read: native windows app] ?

This version of it is compiled for windows however the dedicated server 
has a linux port that I run just fine on native linux boxes no problem.  I 
could not run the linux executable on the Win2000 box under cygwin, should 
I have been able to?

  I have seen on the net claims that cygwin has:
  
  NOTE: There are issues with the cygwin.dll and separating simultaneous 
  user space. Use with caution! 
 
 There *are* issues when running multiple versions of the Cygwin dll
 (cygwin1.dll), but not when running two Cygwin programs on a single
 installation.

I see.  Then perhaps that issue I found digging around on the net does not 
apply.

  They suggest using SSH.COM's SSH solution for this issue.
 
 Who does? And if this entity suggests using ssh.com's solution for this problem
 then perhaps you should goto ssh.com for help.

It was a thread about an application that ran under cygwin.

  Has anyone else run into this? 
  
  I tried to even run firedaemon from cygwin but cannot do it without admin 
  so thats out.  I also tried to run psexec but it does not work under 
  cygwin either apprently.  This approach was to try and get cygwin to start 
  hlds as services by a non Admin user to get around the problem.
  
  The main thing I am trying to do is have a normal (non Admin) user run 
  hlds.exe and have multiple copies of it run on the same machine.  
  
  Any help would be greatly appreciated.
 
 I'm sorry but, although you have provided a lot of information, it's not really
 useful. You seem to have a problem with a *Windows* program, and I'm not too sure
 how Cygwin fits into this at all.
 
 Please take a gander at http://cygwin.com/problems.html, if you think this
 really is a Cygwin issue.

So let me give a little more information about this HLDS.exe application.  
Basically the application is a windows compiled application.  If I execute 
the application run windows explorer it fires up no problem.  I also dont 
have any problems running one copy of the hlds.exe program from within 
cygwin.  

Where the problem comes into play is when I try to run a second copy of 
hlds.exe (where I copied the entire directory to a second location on the 
HD) from cygwin.  What happens is the 2nd copy does not load it just sits 
there and does nothing unless I hit control-c to stop execution.

The odd thing about it also and what makes me belive it is a cygwin 
problem is that if I run the hlds.exe and the 2nd copy of it from windows 
explorer they run no problem.  

However if I run just one copy from cygwin then both windows explorer and 
cygwin are unable to run the second copy. 

Thanks,
Russell


 -- Elfyn
 
 --
 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: HLDS and Cygwin

2003-08-21 Thread GDN_Cygwin

Well it does not depend on cygwin to run.  The only reason I am trying to 
get multiple copies to run using cygwin is that I need a way for a user to 
authenticate to the windows box and run their own copy of the program.  
Without cygwin that is not easy to do that I am aware of.

The HLDS server is free by the developer valvesoftware.com.

Thanks,
Russell

On Tue, 19 Aug 2003, Jörg Schaible wrote:

 Hi Russel,
 
  1) Full install of HLDS, lets call it hlds1
  2) Second complete install of HLDS in separate directory, call hlds2
  
  I have no problem executing the hlds1 or hlds2 by themselves. 
   But when I 
  try to run both at the same time the 2nd one does not run at all.
 
 Guess, they both install a local cygwin1.dll. This won't work.
 See archives.
 
 OTOH I am asking myself, what kind of license this software is, since
 it obviously is depending on Cygwin.
 
 Regrads,
 Jörg
 
 --
 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: Map Backspace to ASCII DEL?

2003-08-21 Thread Dr.D.J.Picton
 From: Ian Brandt ian at ianbrandt dot com 
 To: Cygwin cygwin at cygwin dot com 
 Date: Thu, 21 Aug 2003 09:16:44 -0400 
 Subject: Re: Map Backspace to ASCII DEL? 
 References: [EMAIL PROTECTED] 


Dr.D.J.Picton wrote:
[snip]

I think that rxvt has the functionality which you require. For example:

rxvt -backspacekey ^? -deletekey ^h 

[snip]

 rxvt is purely an X application though, no? I'm trying to get this going under 
 the Cygwin
 console. For X I could use xmodmap which would change the binding before 
 it got to rxvt, xterm, emacs, etc.

Actually, rxvt has a native Windows mode (which will run if DISPLAY is unset),
although it probably requires some of the X11R6 .dll files to run.  So you
could try using rxvt in place of a standard console by changing cygwin.bat
to do:

rxvt -backspacekey ^? -deletekey ^h -e bash --login 

The only problem I noticed was the small font (which you can change by pressing
the '+' key on the keypad in conjunction with the shift key) and the
fact that the DISPLAY variable is set (which could be fixed with an /etc/profile
hack.)

hack). 


--
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: HLDS and cygwin

2003-08-21 Thread GDN_Cygwin

HLDS (Half Life Dedicated Server)

Here are URL's for this software:

Creator:

http://www.valvesoftware.com
http://games.sierra.com/games/half-life/

Thanks,
Russell


On Tue, 19 Aug 2003, Christopher Faylor wrote:

 On Tue, Aug 19, 2003 at 08:21:19AM +0200, J?rg Schaible wrote:
 Hi Russel,
 
  1) Full install of HLDS, lets call it hlds1
  2) Second complete install of HLDS in separate directory, call hlds2
  
  I have no problem executing the hlds1 or hlds2 by themselves. 
   But when I 
  try to run both at the same time the 2nd one does not run at all.
 
 Guess, they both install a local cygwin1.dll. This won't work.
 See archives.
 
 OTOH I am asking myself, what kind of license this software is, since
 it obviously is depending on Cygwin.
 
 Anyone have a URL?  Google doesn't seem to unearth anything interesting.
 
 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/
 


--
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: HLDS and Cygwin

2003-08-21 Thread GDN_Cygwin

What I am trying to do is run multiple copies of the hlds server under 
cygwin.  Now granted the server was NOT compiled under cygwin. Is that 
going to be a problem?  Keep in mind the server does not have any GUI, 
just text output but the network stack I assume is designed to use the 
windows stack.

I have no problem running the executable from cygwin as long as it is one 
copy.  Just any more is where the problem comes about even if I copy the 
executable to different directories.

Thanks,
Russell

On Tue, 19 Aug 2003, Vince Hoffman wrote:

 I'm not quite sure what you are trying to do here. have you got a version of
 the Half Life dedicated server compiled for cygwin ? (didnt know the source
 was available so a link would be interesting since it doesnt seem to be
 available from valve.) Otherwise your problem is with a windows executable
 and not cygwin related.
 
 admittedly this confuses me
 
  If I run either hlds1 or hlds2 and try to even execute the 
  other one from 
  file explorer I get an error Unable to load engine, image is 
  corrupt.
  
  Although if I run hlds1 and hlds2 from file explorer they 
  both run fine.
 
 as it seemingly contradicts itself. 
 but in essence, you can run one fine or the other fine but not both ? 
 check they are configured to run on different ports, and if it is a cygwin
 port then a) post the url ;) and b) remove cygwin1.dll from their respective
 directorys and add the results output of cygpath -w /bin at a cygwin
 prompt to your windows path so they arent trying to use 2 instances of the
 cygwin dll.
 
 Vince
 
  -Original Message-
  From: GDN_Cygwin [mailto:[EMAIL PROTECTED]
  Sent: 17 August 2003 02:12
  To: [EMAIL PROTECTED]
  Subject: HLDS and Cygwin
  
  
  
  There seems to be a problem running HLDS (half-life dedicated 
  server) for 
  windows and Cygwin and possible other similar apps.
  
  The setup:
  
  1) Full install of HLDS, lets call it hlds1
  2) Second complete install of HLDS in separate directory, call hlds2
  
  I have no problem executing the hlds1 or hlds2 by themselves. 
   But when I 
  try to run both at the same time the 2nd one does not run at all.
  
  If I kill hlds1 and run hlds2 it starts right up.
  
  If I run either hlds1 or hlds2 and try to even execute the 
  other one from 
  file explorer I get an error Unable to load engine, image is 
  corrupt.
  
  Although if I run hlds1 and hlds2 from file explorer they 
  both run fine.
  
  I have seen on the net claims that cygwin has:
  
  NOTE: There are issues with the cygwin.dll and separating 
  simultaneous 
  user space. Use with caution! 
  
  They suggest using SSH.COM's SSH solution for this issue.
  
  Has anyone else run into this? 
  
  I tried to even run firedaemon from cygwin but cannot do it 
  without admin 
  so thats out.  I also tried to run psexec but it does not work under 
  cygwin either apprently.  This approach was to try and get 
  cygwin to start 
  hlds as services by a non Admin user to get around the problem.
  
  The main thing I am trying to do is have a normal (non Admin) 
  user run 
  hlds.exe and have multiple copies of it run on the same machine.  
  
  Any help would be greatly appreciated.
  
  Thanks,
  Russell
  
  
  
  --
  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: HLDS and cygwin

2003-08-21 Thread GDN_Cygwin

Here is directly where you can get the latest Win32 or Linux distro of 
HLDS:

ftp.valvesoftware.com
login: hlserver pass: hlserver

Win32 dir.

Russell

On Wed, 20 Aug 2003, Christopher Faylor wrote:

 On Wed, Aug 20, 2003 at 01:55:34PM +0100, David Postill wrote:
 On Tue, 19 Aug 2003 11:18:42 -0400, you wrote:
 
 | On Tue, Aug 19, 2003 at 08:21:19AM +0200, J?rg Schaible wrote:
 | Hi Russel,
 | 
 |  1) Full install of HLDS, lets call it hlds1
 |  2) Second complete install of HLDS in separate directory, call hlds2
 |  
 |  I have no problem executing the hlds1 or hlds2 by themselves. 
 |   But when I 
 |  try to run both at the same time the 2nd one does not run at all.
 | 
 | Guess, they both install a local cygwin1.dll. This won't work.
 | See archives.
 | 
 | OTOH I am asking myself, what kind of license this software is, since
 | it obviously is depending on Cygwin.
 | 
 | Anyone have a URL?  Google doesn't seem to unearth anything interesting.
 
 http://www.fileplanet.com/files/5/59236.shtml ??
 
 Have you tried downloading from this site?
 
 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/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



cygwin verssion

2003-08-21 Thread Lee, Robert C.
How can I tell what version of cygwin I currently have? 

Robert

--
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: 1.3.22-1 on XP: malloc returns overlapping buffers

2003-08-21 Thread Ljubomir Josifovski
On Wed, Aug 20, 2003 at 04:07:11PM -0400, roconnor wrote:
 I am finding that under some circumstances a buffer returned by malloc
 will overlap with a buffer returned by a previous call to malloc that
 has not been freed.  I was able to reduce it to the following test
 case.  Running under cygwin 1.3.22-1 on Windows XP Professional
 Version 2002 SP1 it reports an overlap of 4824 bytes on two different
 machines, as well as on a third machine running Windows 2000 5.00.2195
 SP4.  On Windows NT 4.0.1381, it finds no overlap.
 
 Am I doing something wrong or is there a bug in malloc or XP?  More
 details below.
 
 
 
 #include stdio.h
 #include stdlib.h
 
 int
 main (int argc, char **argv)
 {
   char *mm = 0, *p;
   int size = 8000, overlap;
 
   p = malloc (1);
 
   while (mm  p) {
 mm = malloc (16777216);
 if (mm == 0) {
   printf (not enough memory to run test\n);
   exit (0);
 }
 printf (malloc (16777216) = %d\n, (int)mm);
   }
 
   while ((p = malloc (size))) {
 overlap = (int)p + size - (int)mm;
 if (p  mm  overlap  0) {
   printf (overlap = %d\n, overlap);
   exit (1);
 }
   }
   return 0;
 }
 
 

[EMAIL PROTECTED]:/tmp/q
$ gcc test.c -o test.exe
[EMAIL PROTECTED]:/tmp/q
$ gcc -mno-cygwin test.c -o test_no-cygwin.exe
[EMAIL PROTECTED]:/tmp/q
$ ./test.exe
malloc (16777216) = 6553608
malloc (16777216) = 23396360
malloc (16777216) = 40239112
malloc (16777216) = 57081864
malloc (16777216) = 73924616
malloc (16777216) = 90767368
malloc (16777216) = 107610120
malloc (16777216) = 124452872
malloc (16777216) = 141295624
malloc (16777216) = 570687496
overlap = 4920
[EMAIL PROTECTED]:/tmp/q
$ ./test_no-cygwin.exe
malloc (16777216) = 4456480
[EMAIL PROTECTED]:/tmp/q

Win2K, 512MB RAM, cygwin 1.3.22.

-- 
Ljubomir Josifovski

--
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: 1.3.22-1 on XP: malloc returns overlapping buffers

2003-08-21 Thread Hannu E K Nevalainen \(garbage mail\)
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of roconnor

 I am finding that under some circumstances a buffer returned by malloc
 will overlap with a buffer returned by a previous call to malloc that
 has not been freed.  I was able to reduce it to the following test
 case.  Running under cygwin 1.3.22-1 on Windows XP Professional
 Version 2002 SP1 it reports an overlap of 4824 bytes on two different
 machines, as well as on a third machine running Windows 2000 5.00.2195
 SP4.  On Windows NT 4.0.1381, it finds no overlap.

 Am I doing something wrong or is there a bug in malloc or XP?  More
 details below.
--8--

-- Win98SE --
$ gcc -o test test.c
$ ./test
malloc (16777216) = -2074415096
overlap = 2084322112
$ uname -a
CYGWIN_98-4.10 Annika 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown
Cygwin
$ cygcheck -svr ~/c_svr98.txt


Conclusion: Don't use int


-- Win2000 --

$ gcc -o test test.c
$ ./test
malloc (16777216) = 6881288
malloc (16777216) = 23724040
malloc (16777216) = 40566792
malloc (16777216) = 57409544
malloc (16777216) = 74252296
malloc (16777216) = 91095048
malloc (16777216) = 107937800
malloc (16777216) = 124780552
malloc (16777216) = 141623304
malloc (16777216) = 570687496
overlap = 4928
$ uname -a
CYGWIN_NT-5.0 P450 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown
Cygwin

 The machine is  a P2/450 w 256MB RAM

 As I can run this Cygwin installation from W98SE i have done the test there
too...
I'll report on that in another mail.

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

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Aug 16 21:04:06 2003

Windows 2000 Advanced Server Ver 5.0 Build 2195 Service Pack 4

Path:   C:\Program\cygwin\usr\local\bin
C:\Program\cygwin\bin
f:\WINNT\system32
f:\WINNT
f:\WINNT\System32\Wbem
C:\Program\cygwin\usr\X11R6\bin

C:\Program\cygwin\bin\id.exe output (nontsec)
UID: 500(Hannu)  GID: 513(user)
544(Administrators)  513(user)
545(Users)

C:\Program\cygwin\bin\id.exe output (ntsec)
UID: 500(Hannu)  GID: 513(user)
544(Administrators)  513(user)
545(Users)

SysDir: F:\WINNT\system32
WinDir: F:\WINNT

CYGWIN = `notitle glob check_case:strict'
HOME = `C:\Program\cygwin\home\Hannu'
MAKE_MODE = `unix'
USER = `Hannu'

ALLUSERSPROFILE = `F:\Documents and Settings\All Users'
APPDATA = `F:\Documents and Settings\Administrator\Application Data'
CLASSPATH = `C:\WINDOWS\SYSTEM\QTJava.zip;'
COLORFGBG = `default;default;0'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `F:\Program Files\Common Files'
COMPUTERNAME = `P450'
COMSPEC = `F:\WINNT\system32\cmd.exe'
DISPLAY = `:0'
DOS = `c:\windows\command'
HOMEDRIVE = `F:'
HOMEPATH = `\'
LESSCHARSET = `latin1'
LOGONSERVER = `\\P450'
MANPATH = `:/usr/ssl/man:/cygdrive/e/Amiga/GG/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/Hannu'
OS2LIBPATH = `F:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERLIO = `raw'
PRINTER = `//P450/DJ720C'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `F:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;[EMAIL PROTECTED] \[\033[33m\w\033[0m\] \s\n$ '
QTJAVA = `C:\WINDOWS\SYSTEM\QTJava.zip'
SHLVL = `2'
SYSTEMDRIVE = `F:'
SYSTEMROOT = `F:\WINNT'
TEMP = `d:\TEMP'
TERM = `xterm'
TEXMF = `{/usr/share/lilypond/1.6.11,/usr/share/texmf}'
TMP = `d:\TEMP'
TMPDIR = `d:\TEMP'
USERDOMAIN = `P450'
USERNAME = `Administrator'
USERPROFILE = `F:\Documents and Settings\Administrator'
WINDIR = `F:\WINNT'
WINDOWID = `168042688'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\Program\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/F1
  (default) = `\\FUJITSU1'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/F2
  (default) = `\\FUJITSU2'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\Program\cygwin\bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\Program\cygwin\lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\Program\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus 

Re: Map Backspace to ASCII DEL?

2003-08-21 Thread Andrew DeFaria
Ian Brandt wrote:

Dr.D.J.Picton wrote:
[snip]
I think that rxvt has the functionality which you require.  For example:

rxvt -backspacekey ^? -deletekey ^h
will give you a session in which the backspace key generates ^h and the
delete key generates ^?.  (It might then be useful to issue stty 
-erase ^?
so that you can use the backspace key to delete characters in simple
terminal input.)

In the case of emacs, have you tried running it under X11?  In this 
mode it
can distinguish between the backspace key (which it interprets as a
'delete last character' function) and ^h (which calls the help command).
rxvt is purely an X application though, no?  
No. It's not a purely X only application. If you do not give it a 
-display nor have DISPLAY set then it works quite well with Windows - in 
fact better than the Cygwin console mode (with the exception of some 
programs that do not understand ptys like cleartool!).



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

2003-08-21 Thread Elfyn McBratney
Lee, Robert C. [EMAIL PROTECTED] wrote:
 How can I tell what version of cygwin I currently have? 

`uname -r' (you'll need sh-utils installed, which provides uname).

-- Elfyn

--
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: Map Backspace to ASCII DEL?

2003-08-21 Thread Ian Brandt


Dr.D.J.Picton wrote:
Actually, rxvt has a native Windows mode (which will run if DISPLAY is unset),
although it probably requires some of the X11R6 .dll files to run.  So you
could try using rxvt in place of a standard console by changing cygwin.bat
to do:
rxvt -backspacekey ^? -deletekey ^h -e bash --login 
Wow, go figure, it does run in a native window.  That is pretty darn 
cool.  Well, so far so good.  I've got the keys mapped the way I want 
them.  I like the way Cut/Copy/Paste works.  I like that selections are 
line by line, as opposed to rectangular.  Scroll wheel works.  So far no 
problem with full screen apps such as emacs and less.

The only problem I noticed was the small font (which you can change by pressing
the '+' key on the keypad in conjunction with the shift key) and the
fact that the DISPLAY variable is set (which could be fixed with an /etc/profile
hack.)
Good tips.  I used to use xterm so rxvt seems pretty straight forward. 
I just had no idea it would run native like that.

Many Thanks!

Ian

--
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: Map Backspace to ASCII DEL?

2003-08-21 Thread Andrew DeFaria
Ian Brandt wrote:

Wow, go figure, it does run in a native window.  That is pretty darn 
cool.  Well, so far so good.  I've got the keys mapped the way I want 
them.  I like the way Cut/Copy/Paste works.  I like that selections 
are line by line, as opposed to rectangular.  Scroll wheel works.  So 
far no problem with full screen apps such as emacs and less. 
Yes very cool. I use it all the time. Here's another tip: Instead of 
wildly long invocation lines use ~/.Xdefaults to specify things that are 
common and possibly to create term types then use rxvt -name... For 
example, instead of

$ rxvt -fn Lucida Console-*-15 -sl 500 -backspacekey ^? -deletekey ^? \
 -bg # -fg Whtie -colorBD Blue -colorUL Red -cursor Red
You can just do rxvt for your default rxvt. If you want different colors 
(or other things) then you can use rxvt -name hostb or rxvt -name hostc, 
etc, given the following ~/.XDefaults file. This allows you to keep all 
your terminal types or schemes neatly defined in one place.

! Rxvt defaults

! Global Settings
*font:  Lucida Console-*-15
*saveLines: 500
*termName:  cygwin
*scrollBar_right:   True
*geometry:  80x24
*loginShell:True
*backspacekey:  ^?
*deletekey: ^h
! Default color scheme (when no -name is used):
Rxvt.background:#
Rxvt.foreground:White
Rxvt.colorBD:   Blue
Rxvt.colorUL:   Red
Rxvt.cursorColor:   Red
! Color scheme for hostb
hostb.background:  Slateblue
hostb.foreground:  White
hostb.colorBD: Yellow
hostb.colorUL: Red
hostb.cursorColor: Yellow
! Color scheme for hostc
hostc.background:  Black
hostc.foreground:  White
hostc.colorBD: Green
hostc.colorUL: Orang
hostc.cursorColor: Cyan


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


Setup without a mouse

2003-08-21 Thread Mike Meadway
Hi!

   After reading the questions about using setup without a mouse, and 
the subsequent replies about requiring a redo of setup, I'm willing to 
give that a stab.  I'm doing a project that requires the use of netpbm 
under Cygwin (I refuse to pay for tools that don't work as well as 
freely available stuff), and I'm facing the issue of automating the 
installation.  The current setup makes that difficult, to say the least.

I guess this means I'm volunteering some effort to do an update.  
Where's the setup program in the source tree?  I've not contributed code 
to an open-source development project, so bear with me as I ask a few 
clueless questions, but I'm happy to help out.

Mike Meadway

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


library vis export library

2003-08-21 Thread Lee, Robert C.
I apologize in advance if this is a stupid question. In the Cygwin User's
Guide, it shows how to create a dll with gcc with the -shared switch in much
the way you create a shareable library, but it also shows how to create a
export library with gcc. In one case you end up with a dll; in the other,
you have a dll and a .a file. Why would I use one over the other? And what's
the difference?

Thanks,
Robert

--
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: named pipes

2003-08-21 Thread Igor Pechtchanski
Gerry,

Please don't confuse a quick response and a mean one.  The information I
meant was at least the version of Cygwin you were trying out.  From what I
recall, there is some implementation of the mkfifo() system call in Cygwin
1.5.* (the test release) -- search the list archives.  If you're not
using the latest version, your question is irrelevant.  If you *are* using
it, please indicate the exact version you have installed (as suggested in
the link I posted earlier) and the way in which the mkfifo() system call
fails.  Please note that the console mkfifo command may not have been
recompiled for the latest Cygwin release, and thus may not work still.

HTH,
Igor

On Tue, 19 Aug 2003, Gerry Reno wrote:

 Igor,
   Lighten up will you.  I don't really have any more information.  The
 mkfifo command is Cygwin does not work.  You can't create a named pipe.
  I understand that Microsoft provides named pipes to Windows through
 its Microsoft Platform SDK.  I don't have this kit.  I was hoping that
 maybe someone did and could comment on the named pipe issue and whether
 there might be a way to get them to work under Cygwin.

 Gerry Reno


 --- Igor Pechtchanski [EMAIL PROTECTED] wrote:
  On Sat, 16 Aug 2003, Gerry Reno wrote:
 
 The mkfifo command still reports that the function is not
   implemented.  I believe that named pipes are available for windows
   through the Microsoft Platform SDK.  Does anyone know if these
  named
   pipes can be made to work under Cygwin?
  
   thx,
   Gerry Reno
 
  Not nearly enough information for any reasonable response.  Please
  read http://cygwin.com/problems.html for guidelines on effective
  posting.
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: Directory Path Problem

2003-08-21 Thread Igor Pechtchanski
Ifti,

Add check_case:relaxed to your CYGWIN environment variable and reboot.
See http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for details.
Igor

On Wed, 20 Aug 2003, iftequar mohammed wrote:

 Hi Bill,
 Thanks for the response. The problem is all my
 filenames are in lowercase. And my application is
 referring to them in UPPERCASE. Since unix is case
 sensitive, it is unable to find them and erroring out.
 This is not a problem with Windows as it is case
 insensitive.
 Now I have to figure out whether to change the case of
 the files or if there is another option.
 Thanks.
 Ifti.


 --- Bill McCormick [EMAIL PROTECTED] wrote:
   My problem would be solved if i can replace
  /cygwin/c
   by c:
  
   Is there anyway I can do it?
 
  That should work ... that is it works for me:
 
  If I enter 'cd c:' I go to /cygwin/c.
 
  If I enter 'ls c:\winnt' I see the corrent dir
  listing.
 
  What to you see?
 
  What to you see if you type 'mount' ?
 
  Bill
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system
  (http://www.grisoft.com).
  Version: 6.0.512 / Virus Database: 309 - Release
  Date: 8/19/2003
 


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


-- 
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: change wallpaper periodly by cron?

2003-08-21 Thread Igor Pechtchanski
FYI, you can use the run command that comes with XFree86-bin (or get it
from Chuck Wilson's Cygwin tools page) to avoid seeing the window at all.
Also, cygrunsrv has the -i flag that sets the interactive bit for the
service.
Igor

On Thu, 21 Aug 2003, Bill C. Riemers wrote:

 There is a solution for programs which you don't compile.  That is simply to
 reposition the console window off screen.  i.e.

 Right click on the title bar of the window and select properties.  Then go
 to layout.  Unselect Let system position window.  Adjust the window so the
 position is off screen.  Click OK.  Finally, select Save properties for
 future windows with the same title and click OK.

 Now your window still opens, but it doesn't clutter the screen.

 If you want to avoid even having the icon, I find the successful approach
 for that is to invoke your program via rxvt.  For example, for my Cygwin
 icon I use a short cut of with a target of: d:\bin\rxvt.exe -e
 /bin/bash --login.  You can use the -geometry option on your rxvt windows
 to hide those.

 Indeed a console window still opens, but it is off screen, and closes so
 quickly that most of the time I never see the icon on my task bar for it.

 For crontab jobs, I found the same type of trick works if you install the
 program as a service.  i.e.

 cygrunsrv -I pcphone -a -w -p /usr/local/bin/pcphone -s QUIT -o -t
 manual

 Next under Windows Services, check the allowed to interact with desktop
 button.

 Now whenever I run /usr/local/bin/pcphone either interactively, or from a
 crontab job, it simply starts calls cygrunsrv -S pcphone which in turn
 invokes:

 /usr/local/bin/pcphone -w

 Finally, the pcphone script when invoked as a service starts the real
 pcphone.exe via a nohup call to rxvt, sleeps for five seconds and then
 exits.  So the CONSOLE window icon exists on my task bar for no more than
 five seconds.  Once the CONSOLE window is closed, the rxvt window is
 also killed, however the children of rxvt, pcphone.exe are not killed.
 So pcphone.exe is left running as an orphaned process.  The reason for the
 five second delay is just to give rxvt enough time to invoke the
 pcphone.exe program.

 Bill







 - Original Message -
 From: Ehud Karni [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, August 21, 2003 9:31 AM
 Subject: Re: change wallpaper periodly by cron?


  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 21 Aug 2003 04:15:29 +0100, Elfyn McBratney [EMAIL PROTECTED]
 wrote:
  
   Lucifer [EMAIL PROTECTED] wrote:
On Wed, 20 Aug 2003 10:20:10 +0200
Corinna Vinschen [EMAIL PROTECTED] wrote:
   
CV
CV It's a limitation of service processes.  You can only change it by
 setting
CV the Allow service to interact with desktop property of the
 service.
CV
   
I enabled the Allow service to interact with desktop and it works
 now,
thank you.  However, a DOS window titled as
 c:\cygwin\bin\cygrunsrv.exe
popped out.  It's ugly.  Can that be avoided?
  
   AFAIK, it cannot. It's the ugly side effect of interactive service(s) on
   Windows.
 
  Try to compile your program with -mwindows (without changing your
  main function). I use this trick when I want a program without a
  window (or console). If you run it from bash (or sh/csh) you wont
  notice any change, but if you run it under command or cmd, it will
  run without a (console) window.
 
  Ehud.
 
 
  - --
   Ehud Karni   Tel: +972-3-7966-561  /\
   Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
   Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
   http://www.mvs.co.il  FAX:  1-815-5509341  / \
   mailto:[EMAIL PROTECTED]  Better  Safe  Than  Sorry
  -BEGIN PGP SIGNATURE-
  Comment: use http://www.keyserver.net/ to get my key (and others)
 
  iD8DBQE/RMnHLFvTvpjqOY0RAvbKAJ9/NisvO2AiJpdQOdUBA4dVymz5SACeJka1
  qt/n45d0M2boTdaGlKIbso8=
  =uhKZ
  -END PGP SIGNATURE-
 
  --
  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/
 


-- 
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: library vis export library

2003-08-21 Thread Martin Gainty
A DLL is a DLL
Whether you
create a DLL by compiling a source file and linking to the correct DLL
format
or assemble precompiled objects and create the DLL which creates the headers
for the exported functions and variables (essentially identifying the exact
signature needed by the linker)
really doesnt matter

Have you ever tried to execute a binary and it croaked because of memory or
resource limitations?
Have you had a common piece of functionality that you would want multiple
developers to Link and Free when they need it...then a DLL will be the
answer
Exporting objects out of a library and relink it with aforementioned gcc
exportlibrary
gcc -shared -o cyg${module}.dll \
-Wl,--out-implib=lib${module}.dll.a \
-Wl,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--whole-archive ${old_lib} \
-Wl,--no-whole-archive ${dependency_libs}

will create a DLL for you
A dll can be shared by everyone and can be dynamically loaded and unloaded
leaving a smaller resource footprint
than their weightier static library cousins who are usually bound into huge
weighyy binaries
Hth,
Martin
- Original Message -
From: Lee, Robert C. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 1:40 PM
Subject: library vis export library


 I apologize in advance if this is a stupid question. In the Cygwin User's
 Guide, it shows how to create a dll with gcc with the -shared switch in
much
 the way you create a shareable library, but it also shows how to create a
 export library with gcc. In one case you end up with a dll; in the other,
 you have a dll and a .a file. Why would I use one over the other? And
what's
 the difference?

 Thanks,
 Robert

 --
 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: Setup without a mouse

2003-08-21 Thread Igor Pechtchanski
On Thu, 21 Aug 2003, Mike Meadway wrote:

 Hi!

 After reading the questions about using setup without a mouse, and
 the subsequent replies about requiring a redo of setup, I'm willing to
 give that a stab.  I'm doing a project that requires the use of netpbm
 under Cygwin (I refuse to pay for tools that don't work as well as
 freely available stuff), and I'm facing the issue of automating the
 installation.  The current setup makes that difficult, to say the least.

 I guess this means I'm volunteering some effort to do an update.
 Where's the setup program in the source tree?  I've not contributed code
 to an open-source development project, so bear with me as I ask a few
 clueless questions, but I'm happy to help out.

 Mike Meadway

Mike,

See http://sources.redhat.com/cygwin-apps/setup.html.  You might want to
subscribe to cygwin-apps at cygwin dot com.  Feel free to ask
setup-related questions there.  Searching the archives of that list might
also be informative.
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 without a mouse

2003-08-21 Thread Mike Meadway
Igor --

   Thanks for the pointers...I've subscribed and I'll start perusing 
the code in the next few days.  This should be interesting!

Mike

Igor Pechtchanski wrote:

On Thu, 21 Aug 2003, Mike Meadway wrote:

 

Hi!

   After reading the questions about using setup without a mouse, and
the subsequent replies about requiring a redo of setup, I'm willing to
give that a stab.  I'm doing a project that requires the use of netpbm
under Cygwin (I refuse to pay for tools that don't work as well as
freely available stuff), and I'm facing the issue of automating the
installation.  The current setup makes that difficult, to say the least.
I guess this means I'm volunteering some effort to do an update.
Where's the setup program in the source tree?  I've not contributed code
to an open-source development project, so bear with me as I ask a few
clueless questions, but I'm happy to help out.
Mike Meadway
   

Mike,

See http://sources.redhat.com/cygwin-apps/setup.html.  You might want to
subscribe to cygwin-apps at cygwin dot com.  Feel free to ask
setup-related questions there.  Searching the archives of that list might
also be informative.
	Igor
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Problems with cron: extrange info log to XP log and can't exec thecrontabs

2003-08-21 Thread Alberto Sáez
 Hello. I've been usgin cygwin for a while, but when I've tried to 
install the cron system I've got a bad error.

 1- I've installed without problems cron as a service.
  (with and without the -e CYGWIN=tty ntsec param)
 2- I've created the crontabs (very simple crontabs: echos to a file)

 3. Nothing happends.

 I've search the process and cron is one of them (so the service is 
working)
 Looking in the NT log I found a buch of erros of the form:

  Event Type :  Info
  Event Source: crontab
  Event Ctegory: None
  Event Id:   0
  (...)
  Description:
The description for Event ID ( 0 ) in Source ( cron ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
cron : PID 4780 : (myWinXpuser) REPLACE (myWinXPuser).
I've found three differen messages:

PID ... (myWinXpuser) BEGIN EDIT (myWinXPuser).
PID ... (myWinXpuser) REPLACE (myWinXPuser).
PID ... (myWinXpuser) END EDIT (myWinXPuser).
This messages are created each time I edit the crontab.

¿Why? ¿Why me? ¿How can I solve this problem? ¿How can I get more Info?

I'm using an XP profesional,  and the cron-3.0.1-10 distro.

 Thanks a lot for your help

--
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: init and xinetd woes

2003-08-21 Thread Jonathan Simms
Thank you so much!

that really did the trick.

-Jonathan

- Original Message -
From: Bill C. Riemers [EMAIL PROTECTED]
To: Jonathan Simms [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 11:26 AM
Subject: Re: init and xinetd woes


 Hi Jonathan,

 I found I had to write a custom /usr/sbin/init.sh script to get init to
work
 properly.  It seems like the sysvinit has nothing in it that actually
 controls setting the runlevels during startup and shutdown.   So I
installed
 the script as the service instead of the init program:

 cygrunsrv -I init -p /usr/sbin/init.sh -c /tmp -d 'CYGWIN init' -t auto -s
 INT -o

 I find about once every few days, my services stop working for now
apparent
 reason.  In most cases I can restart them with:
 /sbin/telinit 0;sleep 60;/sbin/telinit 3

 However, occasionally, that does not work.  Then I do:
cygrunsrv -E init
 kill -9 each of the surviving daemons
cygrunsrv -S init

 I suspect the main cause of the failure, is execve() does not work the
same
 under Windows and Unix.  For Unix, the new program invoked by the execve()
 command has the same process id as the original.  For Windows, the process
 ID can be different from the original.  Consequently any script that
 does something like:
 echo $$  newProgram.id
 exec newProgram
 might not have the newProgram's PID in the newProgram.id file.  This
raises
 havoc with scripts that try to automatically stop and restart daemons.

Bill


 - Original Message -
 From: Jonathan Simms [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 21, 2003 4:51 AM
 Subject: init and xinetd woes


  hello all,
 
  I've been messing around with xinetd and init and I can't seem to get
them
  to play nicely together.
 
  I've checked the archives and have reinstalled xinetd, sysvinit,
  initscripts, etc., run the appropriate config files (overwriting
existing
  /etc/*config files) and I still can't get init to start xinetd.
 
  /var/log/init.log is empty
 
 
  net start init produces the following output:
 
  INIT: version 2.84 booting
  INIT: Entering runlevel: 3
  INIT: no more processes left in this runlevel
 
 
 
  $ ps -e |grep init
   291634322916816?   18 04:41:05 /sbin/init
 
  $ ps -e |grep xinetd
  blank
 
 
  i tried doing chkconfig --level 12345 xinetd on but it seemed to have
no
  effect
 
  $ chkconfig --list
 
  sshd0:off   1:off   2:off   3:off   4:off   5:off   6:off
  xinetd  0:off   1:on2:on3:on4:on5:on6:off
  xinetd based services:
  chargen:on
  chargen-udp:on
  daytime:on
  daytime-udp:on
  echo:   on
  echo-udp:   on
  ftpd:   on
  imap:   on
  rexec:  on
  rlogin: on
  rsh:off
  rsync:  off
  servers:on
  services:   on
  talk:   on
  telnet: on
  time:   off
  time-udp:   off
 
  there are no init errors in the Event Viewer  Application logs.
 
 
  if i start xinetd /etc/rc.d/init.d/xinetd start it starts up alright,
 but
  as soon as i try to connect (for example, to imap) I get:
 
  setuid failed. Permission denied (errno=13)
 
  I understand this is because I'm starting the xinetd process under the
 local
  user account and it needs to be started under the SYSTEM account in
order
 to
  setuid.
 
 
  if it makes any difference, my /var/lock/subsys dir is empty
 
 
  I've really done the best I can searching google and the archives for
  answers as to how to resolve this problem. I've spent about 3 hours
trying
  to get it to work to no avail. I know this list's attitude towards the
  asking of RTFM questions, or repeating questions easily answered by
  searching the archives, but I'm really stuck with this one. Please help.
 
  -Jonathan Simms
 
 
 
  --
  Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
  Problem reports:   http://cygwin.com/problems.html
  Documentation: http://cygwin.com/docs.html
  FAQ:   http://cygwin.com/faq/
 







 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: named pipes

2003-08-21 Thread Christopher Faylor
On Thu, Aug 21, 2003 at 04:57:57PM -0400, Igor Pechtchanski wrote:
Please don't confuse a quick response and a mean one.  The information
I meant was at least the version of Cygwin you were trying out.  From
what I recall, there is some implementation of the mkfifo() system call
in Cygwin 1.5.* (the test release) -- search the list archives.

This is still waiting in the wings, actually.  It is not available for
1.5.x.  The implementation was flawed, too, since it relied on a flawed
assumption about global atoms.

Sometime this year, though...

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/



Licensing for academic computer labs at a university

2003-08-21 Thread Scott Copus
Hi,

Would it be possible to incorporate Cygwin into computer lab images for 
computer labs at an educational institution for academic use by students?

Would the source have to be included too if it was included on each hard 
drive of a lab workstation?  (I'm talking about a pre-installed 
package--not a setup that students must run first.)

The FAQ mentions the full package itself is approximately 800MB--NOT 
INCLUDING the source code.  If I were required to include the source 
code (even if it's still tarred and g-zipped), then does anyone know how 
much space would that require?

Does anyone have any recommendations?   Is anyone currently doing this?

P.S.  If anyone knows about other pre-packaged Cygwin installations out 
there that is geared toward academic institution use (pre-selected 
packages, etc), then please let me know.  thanks.

--
Scott Copus
Student Technology
Laboratory Systems Specialist
Western Kentucky University
http://stech.wku.edu
[EMAIL PROTECTED]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


It's a snapshot

2003-08-21 Thread Christopher Faylor
Tonight's snapshot is nearly 1.5.3-ready.

I'd appreciate it if people would test the snapshot and report failures
or successes here.

If there are no serious issues with this version then I will probably
flip the switch and make 1.5.3 the latest, current version of cygwin,
switching all of the test versions of packages to be current at that
time.

Then, at that point, we'll hear from all of you who haven't been testing
1.5.x and its packages, of course...

Btw, I know that Corinna has at least one mmap patch to add before this
goes gold.

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: Licensing for academic computer labs at a university

2003-08-21 Thread Elfyn McBratney
Scott Copus [EMAIL PROTECTED] wrote:
 Hi,
 
 Would it be possible to incorporate Cygwin into computer lab images for 
 computer labs at an educational institution for academic use by students?
 
 Would the source have to be included too if it was included on each hard 
 drive of a lab workstation?  (I'm talking about a pre-installed 
 package--not a setup that students must run first.)

IANAL, but you'll need to give them source, too. If your distributing this
(binary) package to your students, you need to give them the source code
for the corresponding binaries (in one way or another).

You should aquaint yourself with the GPL FAQ (available one GNU's website
here http://www.gnu.org/licenses/gpl-faq.html).

 The FAQ mentions the full package itself is approximately 800MB--NOT 
 INCLUDING the source code.  If I were required to include the source 
 code (even if it's still tarred and g-zipped), then does anyone know how 
 much space would that require?

Binary ~400MB, source ~500MB. Something like that anyway.

-- Elfyn

--
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: It's a snapshot

2003-08-21 Thread Elfyn McBratney
Christopher Faylor [EMAIL PROTECTED] wrote:
 Tonight's snapshot is nearly 1.5.3-ready.
 
 I'd appreciate it if people would test the snapshot and report failures
 or successes here.

 If there are no serious issues with this version then I will probably
 flip the switch and make 1.5.3 the latest, current version of cygwin,
 switching all of the test versions of packages to be current at that
 time.
 
 Then, at that point, we'll hear from all of you who haven't been testing
 1.5.x and its packages, of course...

I would have joined in earlier looking for the ld problem, but nowadays life
without Windows is pure bliss. :-)

-- Elfyn

--
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: Licensing for academic computer labs at a university

2003-08-21 Thread Igor Pechtchanski
On Fri, 22 Aug 2003, Elfyn McBratney wrote:

 Scott Copus [EMAIL PROTECTED] wrote:
  Hi,
 
  Would it be possible to incorporate Cygwin into computer lab images for
  computer labs at an educational institution for academic use by students?
 
  Would the source have to be included too if it was included on each hard
  drive of a lab workstation?  (I'm talking about a pre-installed
  package--not a setup that students must run first.)

 IANAL, but you'll need to give them source, too. If your distributing this
 (binary) package to your students, you need to give them the source code
 for the corresponding binaries (in one way or another).

 You should aquaint yourself with the GPL FAQ (available one GNU's website
 here http://www.gnu.org/licenses/gpl-faq.html).

  The FAQ mentions the full package itself is approximately 800MB--NOT
  INCLUDING the source code.  If I were required to include the source
  code (even if it's still tarred and g-zipped), then does anyone know how
  much space would that require?

 Binary ~400MB, source ~500MB. Something like that anyway.
 -- Elfyn

Scott,

Note that the GPL only requires you to provide the source for the binaries
you distribute.  So, if you set up a shared network drive with the sources
that were pre-installed on the hard-drives, that should be quite enough to
satisfy the GPL (however, IANAL, so please consult a lawyer if you are
worried about licensing).  If the students update their installations,
they should be able to get the new sources from wherever they got the
binaries anyway.

Also note that not all the packages available from Cygwin mirrors are used
by (or useful to) the general public -- some are highly specialized, and
thus don't have to be included into your distribution (e.g., lilypond or
xinetd or rsync, unless your students typeset sheet music, or administer
their Windows services through Cygwin, or maintain mirrors, respectively).
Some also have similar functionality, e.g., pdksh and astksh, so there's a
tradeoff between functionality and code size, since you won't need both
packages.
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/



1.5 is coming... please test away!

2003-08-21 Thread Elfyn McBratney
As some of you probably already know, volunteers and package maintainers
have been working away getting everything ready for the transition to
Cygwin 1.5 (though I've left it all to the last minute g). It's been
tough, much spilt coffee I'm sure.

Now what would be nice(tm), is if users of these packages could test them
out[1] as much as possible before they go current, so as to make sure they're
working OK (for you, at least).

Happy testing,

-- Elfyn

[1] To be able to test the functionality of available 'test' packages you
need to have Cygwin 1.5 installed (a snapshot at one's own risk, or the
version available via setup.exe). Once you've upgraded the 'cygwin' package
(available in the 'Exp' category; where all other available 'test' packages
will also be) all you need to do is install the package in the same way you
would install any other 'current' (stable) package.

--
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: It's a snapshot

2003-08-21 Thread Christopher Faylor
On Fri, Aug 22, 2003 at 03:25:54AM +0100, Elfyn McBratney wrote:
Christopher Faylor [EMAIL PROTECTED] wrote:
Tonight's snapshot is nearly 1.5.3-ready.

I'd appreciate it if people would test the snapshot and report failures
or successes here.

If there are no serious issues with this version then I will probably
flip the switch and make 1.5.3 the latest, current version of cygwin,
switching all of the test versions of packages to be current at that
time.

Then, at that point, we'll hear from all of you who haven't been
testing 1.5.x and its packages, of course...

I would have joined in earlier looking for the ld problem, but nowadays
life without Windows is pure bliss.  :-)

Um.  Ok.  I have no idea what this means or why you wanted to share this
with us.  I assume you've moved off Windows to linux, maybe.

Is anyone *else* interested in trying snapshots?  We really need to get this,
and the rest of 1.5.2 tested.

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: Licensing for academic computer labs at a university

2003-08-21 Thread Robb, Sam
  The FAQ mentions the full package itself is approximately 
 800MB--NOT 
  INCLUDING the source code.  If I were required to include 
 the source 
  code (even if it's still tarred and g-zipped), then does 
 anyone know how 
  much space would that require?
 
 Binary ~400MB, source ~500MB. Something like that anyway.

For the record - if you're willing to do a custom setup.ini
and remove versions of binaries/source you're not interested
in (ie, all prev and test packages), you can put together
a full set of packages, binaries + source, in ~ 600 MB.

-Samrobb

--
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: Licensing for academic computer labs at a university

2003-08-21 Thread Christopher Faylor
On Thu, Aug 21, 2003 at 10:39:41PM -0400, Igor Pechtchanski wrote:
On Fri, 22 Aug 2003, Elfyn McBratney wrote:
Scott Copus [EMAIL PROTECTED] wrote:
Hi,

Would it be possible to incorporate Cygwin into computer lab images for
computer labs at an educational institution for academic use by
students?

Would the source have to be included too if it was included on each
hard drive of a lab workstation?  (I'm talking about a pre-installed
package--not a setup that students must run first.)

IANAL, but you'll need to give them source, too.  If your distributing
this (binary) package to your students, you need to give them the
source code for the corresponding binaries (in one way or another).

You should aquaint yourself with the GPL FAQ (available one GNU's
website here http://www.gnu.org/licenses/gpl-faq.html).

The FAQ mentions the full package itself is approximately 800MB--NOT
INCLUDING the source code.  If I were required to include the source
code (even if it's still tarred and g-zipped), then does anyone know
how much space would that require?

Binary ~400MB, source ~500MB.  Something like that anyway.  -- Elfyn

Scott,

Note that the GPL only requires you to provide the source for the
binaries you distribute.  So, if you set up a shared network drive with
the sources that were pre-installed on the hard-drives, that should be
quite enough to satisfy the GPL (however, IANAL, so please consult a
lawyer if you are worried about licensing).  If the students update
their installations, they should be able to get the new sources from
wherever they got the binaries anyway.

I know that in a commercial organization it is ok to deploy GPLed
programs all over the company without offering sources to each employee.
I don't know if the equivalent is true for a university.

So, the usual two pieces of advice:  1) Check the GPL FAQ at
http://www.gnu.org/licenses/gpl-faq.html, and 2) Consult your lawyer to
make sure that you are using the software appropriately.  It doesn't make
a lot of sense to put a university at risk on the advice of faceless
voices in a mailing list.

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/



how to install without internet connection?

2003-08-21 Thread [EMAIL PROTECTED]
Hi -


The proxy server at work is really fussy and no matter what I try, I
can't get the setup.exe that I pulled of the cygwin website to
successfully connect.

Is there a way to install without having the installer be able to
connect to the internet?  For example, can I download all the packages I
need, then fire up the installer, and then point it at that directory?

How do I do that?


Thanks in advance.

--
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: 1.5 is coming... please test away!

2003-08-21 Thread linda w \(cyg\)
Is there a changelog?...(good example from kernel at end of message (long/detailed)

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Elfyn McBratney
 Sent: Thu, Aug 21, 2003 7:41p
 To: [EMAIL PROTECTED]
 Subject: 1.5 is coming... please test away!
final:

- 2.4.21-rc8 was released as 2.4.21 with no changes.


Summary of changes from v2.4.21-rc7 to v2.4.21-rc8


Geert Uytterhoeven [EMAIL PROTECTED]:
  o Fix ext2fs warning

Hugh Dickins [EMAIL PROTECTED]:
  o Fix shmctl(SHM_LOCK/UNLOCK) deadlock

Marcelo Tosatti [EMAIL PROTECTED]:
  o Backout erroneous kiobuf dcache flush changes Cset exclude: [EMAIL 
PROTECTED]|ChangeSet|20030425203656|60956
  o Changed EXTRAVERSION to -pre8
  o Cset exclude: [EMAIL PROTECTED]|ChangeSet|20030609201637|12385
  o Cset exclude: [EMAIL PROTECTED]|ChangeSet|20030609201907|11405
  o Remove bogus license for Rocket driver and change it to GPL


Summary of changes from v2.4.21-rc6 to v2.4.21-rc7


[EMAIL PROTECTED]:
  o [SPARC]: Export phys_base on sparc32

[EMAIL PROTECTED]:
  o fix olympic driver build

[EMAIL PROTECTED]:
  o Fix Solution Engine 7751 Build
  o Define VM_DATA_DEFAULT_FLAGS for SH

[EMAIL PROTECTED]:
  o [sparc]: Attempt mul/div emulation handling on all cpus

David S. Miller [EMAIL PROTECTED]:
  o [SPARC]: Fix sys_ipc to return ENOSYS instead of EINVAL as appropriate
  o [SPARC64]: Implement dump_stack in 2.4.x
  o [SPARC64]: Only use power interrupt when button property exists
  o [IPV4/IPV6]: Use Jenkins hash for fragment reassembly handling
  o [IPV6]: Input full addresses into TCP_SYNQ hash function
  o [IPV4]: Add sysctl to control ipfrag_secret_interval
  o [SPARC64]: Fix probe error handling in envctrl.c driver
  o [SPARC64]: Fix probe error handling in bbc_{envctrl,i2c}.c driver
  o [SPARC64]: Fix exploitable holes and bugs in ioctl32 translations

Douglas Gilbert [EMAIL PROTECTED]:
  o sg: Fix side effect introduced by last off by one fix

Eric Brower [EMAIL PROTECTED]:
  o [SPARC]: Refactor AUXIO support

Marcelo Tosatti [EMAIL PROTECTED]:
  o Changed EXTRAVERSION to -rc7

Pete Zaitcev [EMAIL PROTECTED]:
  o [sparc] Force type in __put_user
  o [SPARC]: Fix gcc-3.x builds

Rob Radez [EMAIL PROTECTED]:
  o [sparc]: Fix uninitialized spinlock in SRMMU code
  o [SPARC]: Kill initialize_secondary, unused




Summary of changes from v2.4.21-rc5 to v2.4.21-rc6


[EMAIL PROTECTED]:
  o IDE config.in correctness

Andi Kleen [EMAIL PROTECTED]:
  o x86-64 fix for the ioport problem

Andrew Morton [EMAIL PROTECTED]:
  o Fix IO stalls and deadlocks

Marcelo Tosatti [EMAIL PROTECTED]:
  o Add missing via82xxx PCI ID
  o Backout erroneous fsync on last opener at close()
  o Changed EXTRAVERSION to -rc6



Summary of changes from v2.4.21-rc4 to v2.4.21-rc5


Alan Cox [EMAIL PROTECTED]:
  o 1: (trivial) Fix the formatting of your ide hack
  o 2: =scsi option fails in some cases
  o 3: IDE DMA
  o add the via ide ident
  o fix the siimage mmio stuff

Andi Kleen [EMAIL PROTECTED]:
  o Fix 32bit ioctl holes
  o Fix context switch bug on x86-64
  o Prefetch workaround for csum-copy

Benjamin Herrenschmidt [EMAIL PROTECTED]:
  o PPC Documentation/Configure.help fix

Marcelo Tosatti [EMAIL PROTECTED]:
  o Changed EXTRAVERSION to -rc5



Summary of changes from v2.4.21-rc3 to v2.4.21-rc4


[EMAIL PROTECTED]:
  o IPMI fixes

[EMAIL PROTECTED]:
  o Fix writing to /dev/console

Barry K. Nathan [EMAIL PROTECTED]:
  o Correctly fix the ioperm issue

Benjamin Herrenschmidt [EMAIL PROTECTED]:
  o Update ide/ppc/pmac.c
  o Fix controlfb build with gcc3.3
  o PPC32 Fix warning with ndelay (with patch !)

Marcelo Tosatti [EMAIL PROTECTED]:
  o Changed EXTRAVERSION to -rc4
  o Cset exclude: [EMAIL PROTECTED]|ChangeSet|20030526190224|33683
  o Really fix xconfig breakage


Summary of changes from v2.4.21-rc2 to v2.4.21-rc3


[EMAIL PROTECTED]:
  o fix unresolved symbol rtnetlink_rcv_skb with gcc-3.3

[EMAIL PROTECTED]:
  o mm/mmap.c address overflow fix

[EMAIL PROTECTED]:
  o TIOCCONS fix

Adrian Bunk [EMAIL PROTECTED]:
  o fix sound/kahlua.c .text.exit error
  o fix ips.c .text.exit error
  o Configure.help updates from -ac

Alan Cox [EMAIL PROTECTED]:
  o fix ipmi screwup
  o IDE config fixes
  o allow rw_disk in IDE to be hooked
  o clean up the pdc4030 to use the new hooks not ifdefs
  o fix modular ide build and other makefile bug
  o correct ALi doc
  o hpt37x
  o add Intel ICH5 Serial ATA
  o fix wrong clocking selection on CMD680/SII3112
  o ensure we dont turn DMA on by accident on early sl82c05
  o fix missing wakeup on hisax pci (breaks v.110)
  o mpt fusion assorted small fixes
  o fix config error
  o resync lasi id (somehow out of sync)
  o vrify_area fix
  o pci id