Eccsohotpw journal news: does the fountain of youth exist

2004-07-21 Thread fredrick jolie
navlooit~paleitje.pandingen


US.~A Ph^`arm & Ne~-xtday De_liver


RnouI http://yosh.wh.harmonious682pi11s.us/f74/


The Focsani court declined to comment on the report in the newspaper. Lala,
the object of Gurguiatu's affection, told the paper she was "stunned."
Investigators said they connected James D. Perry, 34, to the cases after he
allegedly tried to abduct a girl at gunpoint from a  el in February.
bojedal2aparejado06algaliera,algecire\a amodorrante. 


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



perl threads problems using 20040720 snapshot

2004-07-21 Thread Yitzchak Scott-Thoennes
When using recent snapshots, perl threads have some problems.  For example:

$ perl -we'use threads; threads->new( sub { print "go" } )->join(); <>; print "done"';

Here, when the thread exits (after printing go), the whole process
also exits, instead of waiting for terminal input and printing done.

The perl being run is from the cygwin perl package.

All seems fine using 1.5.10-3.

(Note: in getting the cygcheck output below, I got this message to stderr:
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1231)
Cygwin Configuration Diagnostics
Current System Time: Wed Jul 21 00:00:55 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Adaptec Shared\System
c:\Program Files\Rational\common

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(sthoenna) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(sthoenna) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `tty ntsec title server'
HOME = `C:\cygwin\home\sthoenna'
MAKE_MODE = `unix'
PWD = `/home/sthoenna'
USER = `sthoenna'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\sthoenna\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DHX98431'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\sthoenna'
HOSTNAME = `DHX98431'
INFOPATH = 
`/usr/info:/usr/local/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LESS = `-isrR'
LOGONSERVER = `\\DHX98431'
MANPATH = `/usr/man:/usr/local/man:/usr/share/man:/usr/autotool/devel/man:'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/sthoenna'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\sthoenna\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\sthoenna\LOCALS~1\Temp'
USERDOMAIN = `DHX98431'
USERNAME = `sthoenna'
USERPROFILE = `C:\Documents and Settings\sthoenna'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dl/tmp/perl-4.036
  (default) = `c:\cygwin\dl\tmp\perl-4.036'
  flags = 0x080a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\/home/sthoenna/pbed/managed
  (default) = `c:\cygwin\home\sthoenna\pbed\managed'
  flags = 0x080a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\/home/sthoenna/pbed/textmount
  (default) = `c:\cygwin\home\sthoenna\pbed\textmount'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS   28568Mb  62% CP CS UN PA FC 
d:  cd   N/AN/A
w:  net  N/AN/A

.   /cygdrive  user
binmode,cygdrive
C:\cygwin   /  system  binmode
c:\cygwin\dl\tmp\perl-4.036 /dl/tmp/perl-4.036 system  binmode
c:\cygwin\home\sthoenna\pbed\managed/home/sthoenna/pbed/managedsystem  binmode
c:\cygwin\home\sthoenna\pbed\textmount  /home/sthoenna/pbed/textmount  system  textmode
C:\cygwin/bin   /usr/bin   system  binmode
C:\cygwin/lib   /usr/lib

chown -R expanding / to //bin etc.

2004-07-21 Thread luke . kendall
I've noticed that if I do (*) a 

chown -R administrator.SYSTEM /

then chown goes out onto the network and tries to access shares called
//bin, //var, //usr etc., and can block for long periods, too.

Now, I do understand that really I should be doing (**)

chown -R administrator.SYSTEM `cygpath -w / | sed 's|\\|/|g'`

to restrict the chown to only affect Cygwin files anyway, but I'm still
interested in how the spurious //bin etc. names are generated.  (I.e.
whether that's actually a bug?)

Regards,

luke
-
(*)
I'm trying to work around permission problems resulting from the Cygwin
*user* not being the same person as the cygwin *installer* on a machine.

(**)
Typically this would evaluate to:
chown -R administrator.SYSTEM C:/Cygwin


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



To cygwin postgresql maintainer: tutorial RFC

2004-07-21 Thread Carlo Florendo
To the cygwin postgresql maintainer, Jason Tishler,
I've written some documentation regarding the configuration of 
PostgreSQL on Cygwin.  Most of the actual commands specified on the 
tutorial have been copied from the README which you wrote on the cygwin 
documentation.However, I would like to get some of your comments 
before I post about its existence on some postgresql mailing lists. 

The link to the doc is this:
http://www.geocities.com/cfflorendo/postgresql-cygwin.html
The source is posted there too.  I wouldn't mind patches or diffs for 
corrections.

Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph




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

2004-07-21 Thread Corinna Vinschen
On Jul 20 22:06, George wrote:
> The 'stat' utility doesn't seem to be part of my Cygwin distribution.  
> Is this an error I've made during the installation or is it simply not 
> included?

It's not included since nobody volunteered to maintain coreutils so far.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: chown -R expanding / to //bin etc.

2004-07-21 Thread Corinna Vinschen
On Jul 21 17:39, [EMAIL PROTECTED] wrote:
> I've noticed that if I do (*) a 
> 
> chown -R administrator.SYSTEM /
> 
> then chown goes out onto the network and tries to access shares called
> //bin, //var, //usr etc., and can block for long periods, too.
> 
> Now, I do understand that really I should be doing (**)
> 
> chown -R administrator.SYSTEM `cygpath -w / | sed 's|\\|/|g'`
> 
> to restrict the chown to only affect Cygwin files anyway, but I'm still
> interested in how the spurious //bin etc. names are generated.  (I.e.
> whether that's actually a bug?)

It's a bug in the current chown implementation in that it doesn't
know that leading double slashes has a special meaning on some operating
systems.  I don't know if that's fixed in newer versions of chown.
Since chown is part of coreutils today, it would be nice if we could
find a volunteer to maintain coreutils.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: BUG: ssh.exe ProtocolKeepAlives option broken

2004-07-21 Thread Corinna Vinschen
On Jul 28 07:51, Float wrote:
> |>Summary: Cygwin ssh.exe doesn't accept the 'ProtocolKeepAlives' option
> |>
> |>Example:
> |>C:\sshclient>ssh -o ProtocolKeepAlives=180 example.com
> |>command-line: line 0: Bad configuration option: ProtocolKeepAlives
> |
> |AFAICT, ProtocolKeepAlives is not mentioned in the manpage for ssh.
> |So, this isn't a bug.
> 
> Indeed, it seems that it is not mentioned in the Cygwin ssh_config manpage.
> 
> However, that option should be supported according to the following 
> Corinna Vinschen mail:
> http://sources.redhat.com/ml/cygwin/2002-01/msg00323.html
> 
> Btw, the ProtocolKeepAlives is a must for using ssh for port forwarding
> behind a firewall that drops inactive connections.

ProtocolKeepAlives has been dropped a couple of OpenSSH versions before.
See `man sshd_config' for ClientAliveInterval and ClientAliveCountMax,
`man ssh_config' for ServerAliveInterval and ServerAliveCountMax, or
both for TCPKeepAlive.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: MapViewOfFileEx errors with cygwin1-20040716 snapshot

2004-07-21 Thread Corinna Vinschen
On Jul 20 21:03, Igor Pechtchanski wrote:
> On Tue, 20 Jul 2004, Corinna Vinschen wrote:
> 
> > On Jul 20 15:53, Dr. Volker Zell wrote:
> > > Well my MapViewOfFileEx errors are still there, but that seems to be a
> > > different problem.
> >
> > I tried to reproduce that problem with my shm test application which
> > forks twice, but to no avail.
> >
> > A simple testcase(tm) would be helpful.
> >
> > Corinna
> 
> Corinna,
> 
> FWIW, I just saw this error for the first time with the above snapshot
> (Win2k SP3).  The command that triggered it was a "cvs diff" run from vim
> (":!cvs diff"), if it makes any difference.  No idea what caused it, since

It makes a difference.  FWIW, Volker's message is printed from a function
which only runs in case a process is using XSI shared memory and forks.
cvs doesn't use XSI shared memory so the message you saw is very likely
emitted by open_shared.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Cygwin can run with windows XP?

2004-07-21 Thread Amy Yap
Hello,
May I know if Cygwin can run under windows XP? Please
advise. 

Regards,
Amy

__
Do You Yahoo!?
Download the latest ringtones, games, and more!
http://sg.mobile.yahoo.com

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



Re: Cygwin can run with windows XP?

2004-07-21 Thread Corinna Vinschen
On Jul 21 18:14, Amy Yap wrote:
> Hello,
> May I know if Cygwin can run under windows XP? Please
> advise. 

See http://cygwin.com, second paragraph.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: Make not found

2004-07-21 Thread Ken Dibble
It would be helpful if you would read
http://cygwin.com/problems.html
and follow the directions therein.
michael conrad wrote:
Im trying to find/run make, I did a complete install of everthing, but make
is not there.
What am I doing wrong, how do I get it?
mike conrad
408-395-6500 work
408-910-3438 cell 

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


Memory exhaustion with cp

2004-07-21 Thread Jan Engelhardt
Hello,


in trying to recursively copy a directory, /bin/cp fails with memory exhaustion:

$ mkdir src
$ mkdir dest
$ cp -r src dest
cp: memory exhausted

I am using cp(fileutils) 4.1, downloaded this morning.
Does anybody have seen similar and/or have a fix for it?
The "machine" it runs on is normally equipped with 96 MB, and raising it to 192
MB did not solve the problem.


-Jan Engelhardt


--
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: setting windows environment variables

2004-07-21 Thread Morche Matthias
...to set environmental variables for windows you can use regtool...
But in that case they get persistent...

...and the simplest equivalent to start is using & to background the command...

  matthias

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf
> Of Larry Hall
> Sent: Tuesday, July 20, 2004 10:38 PM
> To: Jason Joines; [EMAIL PROTECTED]
> Subject: Re: setting windows environment variables
> 
> 
> At 04:18 PM 7/20/2004, you wrote:
> >I have a Cygwin BASH script which takes user input, uses 
> ldapsearch, etc., to set a bunch of environment variables.  I 
> can then use these from bash with no problem.  I would also 
> like to make these environment variables available to the 
> windows command interpreter.
> >Is there anyway to do this?
> 
> 
> Only if the windows command interpreter is a child of the 
> bash process you
> run from.  Otherwise, your best bet is to export the variables as some
> batch file and run that in the windows command interpreter.
> 
> 
> >Also, is there a BASH equivalent of the windows cmd 
> start command that lets you start many processes without 
> having to wait on each to finish?
> 
> 
> How about 'cygstart'?
> 
> 
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746 
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 

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



Re: rsync and file ownership

2004-07-21 Thread Robert Pendell
Don't use the -a option if you don't want to preserve the permissions.

>From the man page:

-a, --archive   archive mode, equivalent to -rlptgoD

And now a breakdown of each option from the man page (you can use what
you need then)

-r, --recursive recurse into directories
-l, --links copy symlinks as symlinks
-p, --perms preserve permissions
-t, --times preserve times
-g, --group preserve group
-o, --owner preserve owner (root only)
-D, --devices   preserve devices (root only)

HTH.

On Wed, 21 Jul 2004 17:02:35 +1200, Matthew Dwyer wrote:
> I've been struggling with rsync over ssh for a month.  I'm syncing files
> between windows boxes and I have rsync working except that its setting
> read only to the groups Administrators and Everyone.
> 
> Is there any way I can stop rsync or ssh setting permissions/ownership
> that wasn't already present in the originating files?  I've tried rsync
> -a... but thats not achieving what I want.
> 
> Matt.
> 
> 
> --
> 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/
> 
> 


-- 
Robert Pendell
[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: setting windows environment variables

2004-07-21 Thread Robert Pendell
And it is compatible for use on *bsd, linux, and unix.  So if you are
writing a script to be used on a real *nix or *bsd system then that
would be the one to use.

On Wed, 21 Jul 2004 15:00:26 +0200, Morche Matthias wrote:
> ...to set environmental variables for windows you can use regtool...
> But in that case they get persistent...
> 
> ...and the simplest equivalent to start is using & to background the command...
> 
>   matthias
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf
> > Of Larry Hall
> > Sent: Tuesday, July 20, 2004 10:38 PM
> > To: Jason Joines; [EMAIL PROTECTED]
> > Subject: Re: setting windows environment variables
> >
> >
> > At 04:18 PM 7/20/2004, you wrote:
> > >I have a Cygwin BASH script which takes user input, uses
> > ldapsearch, etc., to set a bunch of environment variables.  I
> > can then use these from bash with no problem.  I would also
> > like to make these environment variables available to the
> > windows command interpreter.
> > >Is there anyway to do this?
> >
> >
> > Only if the windows command interpreter is a child of the
> > bash process you
> > run from.  Otherwise, your best bet is to export the variables as some
> > batch file and run that in the windows command interpreter.
> >
> >
> > >Also, is there a BASH equivalent of the windows cmd
> > start command that lets you start many processes without
> > having to wait on each to finish?
> >
> >
> > How about 'cygstart'?
> >
> >
> > --
> > Larry Hall  http://www.rfk.com
> > RFK Partners, Inc.  (508) 893-9779 - RFK Office
> > 838 Washington Street   (508) 893-9889 - FAX
> > Holliston, MA 01746
> >
> >
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Problem reports:   http://cygwin.com/problems.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/
> >
> >
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 


-- 
Robert Pendell
[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: rsync and file ownership

2004-07-21 Thread Bakken, Luke
> On Wed, 21 Jul 2004 17:02:35 +1200, Matthew Dwyer wrote:
> > I've been struggling with rsync over ssh for a month.  I'm 
> syncing files
> > between windows boxes and I have rsync working except that 
> its setting
> > read only to the groups Administrators and Everyone.
> > 
> > Is there any way I can stop rsync or ssh setting 
> permissions/ownership
> > that wasn't already present in the originating files?  I've 
> tried rsync
> > -a... but thats not achieving what I want.
> > 
> > Matt.

What I ended up having to do is set CYGWIN=nontsec for my rsync server
and client before any transfers. If your directories are set to inherit
permissions then the permissions will be set OK based on the parent
permissions.

For example:

$ CYGWIN=nontsec rsync -rtvz server::share /c/foo

You can set that variable in your cygrunsrv setup for the rsync daemon.

Luke

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



Help. MySQL doesn't respond anymore. After I re-installed Cygwin

2004-07-21 Thread William Martell

Hello All,

Thank you for reading this email.

I am trying to figure this problem out, but I need some help.

I am working on a Windows 2000 Server.  I have used MySQL for the past 2 years on this 
system.

I recently installed the DEFAULT version of CYGWIN on my machine.  

Everyone was wonderful and I was able to connect to mysql from the bash shell by 
typing mysql.  No problems at All.

I wanted to install ALL the packages available for CYGWIN so that I can start to learn 
the environment and tools.

After I installed all the packages under CYGWIN, I noticed that I am no longer able to 
type mysql at the bash
prompt and get access to mysql.  

I changed directory into the mysql/bin directory and typed mysql and nothing happened.

I no longer can access mysql from the BASH prompt by typing mysql.

The funny thing is...

If I type a select statement with the -e flag at the bash prompt, MySQL responds with
rows.  So I know MySQL works and is there, but I can't connect interactively.

Could someone please help me with this. Does anyone know how I can troubleshoot either 
MySQL or Cygwin to see what the problem is...

Thanks In Advance.
William Martell
Dallas Texas


--
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: Help. MySQL doesn't respond anymore. After I re-installed Cygwin

2004-07-21 Thread Robert Pendell
Did you try typing the full path posix path in?  See if that work.  Or
you can navigate to where it is stored and try ./mysql and see if that
works.

On Wed, 21 Jul 2004 09:14:23 -0500, William Martell
<[EMAIL PROTECTED]> wrote:
> 
> Hello All,
> 
> Thank you for reading this email.
> 
> I am trying to figure this problem out, but I need some help.
> 
> I am working on a Windows 2000 Server.  I have used MySQL for the past 2 years on 
> this system.
> 
> I recently installed the DEFAULT version of CYGWIN on my machine.  
> 
> Everyone was wonderful and I was able to connect to mysql from the bash shell by 
> typing mysql.  No problems at All.
> 
> I wanted to install ALL the packages available for CYGWIN so that I can start to 
> learn the environment and tools.
> 
> After I installed all the packages under CYGWIN, I noticed that I am no longer able 
> to type mysql at the bash
> prompt and get access to mysql.  
> 
> I changed directory into the mysql/bin directory and typed mysql and nothing 
> happened.
> 
> I no longer can access mysql from the BASH prompt by typing mysql.
> 
> The funny thing is...
> 
> If I type a select statement with the -e flag at the bash prompt, MySQL responds with
> rows.  So I know MySQL works and is there, but I can't connect interactively.
> 
> Could someone please help me with this. Does anyone know how I can troubleshoot 
> either MySQL or Cygwin to see what the problem is...
> 
> Thanks In Advance.
> William Martell
> Dallas Texas
> 
> 
> --
> 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/
> 
> 


-- 
Robert Pendell
[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/



cron and ssh with homeshare variable

2004-07-21 Thread gurkan

i call ssh via a cron job :

1 * * * * /usr/bin/ssh -vi /home/gurkan/.ssh/key2 [EMAIL PROTECTED]


OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
Pseudo-terminal will not be allocated because stdin is not a terminal.
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 10.48.56.21 [10.48.56.21] port 22.
debug1: Connection established.
Could not create directory '//ALISANDRE/homes/.ssh'.
debug1: identity file /home/gurkan/.ssh/key2 type 2
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.8.1p1
debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
Host key verification failed.

My problem is that the system try to create a directory
'//ALISANDRE/homes/.ssh'.  and '//ALISANDRE/homes/ this is the value for
HOMESHARE  , the system chearch to write in know_hosts file , so i want
change this value by /home/gurkan definitively (even if a reboot ) but i
can't find it .





--
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: setting windows environment variables

2004-07-21 Thread Jason Joines
	Unfortunately, it won't be used on a real operating system, just 
windows.  I write BASH scripts for Linux daily and have tried to use the 
& in this situation but the behavior doesn't seem to be the same.
	We have an odd situation with some user's in one directory with one 
username and another with a different username and some in just one or 
the other.  Long story...
	I needed a way to obtain drive mappings from a directory based on user 
input on a standalone PC.  Being familiar with BASH on Linux I stuck 
Cygwin BASH on windows 2000.
	The script prompts the user for their username and password, then uses 
ldapsearch to get their home directory path, then uses windows "net use" 
to map H: to that path and a few other drives.  The shares are on a very 
unstable active directory/windows 2003 setup.  Again, long story...  If 
I just call the four "net use" commands one at a time waiting for each 
to complete before it attempts the next, it will at times take over 5 
minutes.  Using the & after the "net use" commands does what I want with 
starting all the mappings without waiting on completion but my BASH 
window wont' go away until they have all completed.
	On Linux, something simple like:
#!/bin/bash
smbmount //srv1/share1 ~/share1 &
smbmount //srv1/share2 ~/share2 &
smbmount //srv1/share3 ~/share3 &
smbmount //srv2/share4 ~/share4 &
exit

would work just fine.  Any ideas on how to accomplish the same thing here?
Thanks,
Jason Joines
===
Robert Pendell wrote:
And it is compatible for use on *bsd, linux, and unix.  So if you are
writing a script to be used on a real *nix or *bsd system then that
would be the one to use.
On Wed, 21 Jul 2004 15:00:26 +0200, Morche Matthias wrote:
...to set environmental variables for windows you can use regtool...
But in that case they get persistent...
...and the simplest equivalent to start is using & to background the command...
 matthias


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Larry Hall
Sent: Tuesday, July 20, 2004 10:38 PM
To: Jason Joines; [EMAIL PROTECTED]
Subject: Re: setting windows environment variables
At 04:18 PM 7/20/2004, you wrote:
  I have a Cygwin BASH script which takes user input, uses
ldapsearch, etc., to set a bunch of environment variables.  I
can then use these from bash with no problem.  I would also
like to make these environment variables available to the
windows command interpreter.
  Is there anyway to do this?

Only if the windows command interpreter is a child of the
bash process you
run from.  Otherwise, your best bet is to export the variables as some
batch file and run that in the windows command interpreter.

  Also, is there a BASH equivalent of the windows cmd
start command that lets you start many processes without
having to wait on each to finish?
How about 'cygstart'?
--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

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

--
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 tips&tricks] Shortcut to vim in "Send to" folder

2004-07-21 Thread Andrew DeFaria
Joshua Daniel Franklin wrote:
While I also prefer ~/.Xdefaults, there are other reasons why he might 
have those settings in the shortcut. Perhaps a different color scheme 
or font for the "Send to..." invocation (which I find very cool, by 
the way, I had forgotten about
that trick).
But that's *exactly* why I *do* use ~/.Xdefaults! As I said, give your 
resource a "class" name then use the class. For example:

! Global
*background:Blue
*foreground:Yellow
*font:  "Lucida Console-*-16"
*saveLines: 500
*colorBD:   Blue
*colorUL:   Red
*cursorColor:   Yellow
! Local Term
Local.background:   SteelBlue
Local.foreground:   White
! Remote term
Remote.background:  Maroon
Remote.foreground:  Yellow
! Editor window
EditWin.background: Black
EditWin.foreground: White
Then an rxvt with no opts specified will be yellow on blue, an rxvt 
-name Local will be white on steelblue, an rxvt -name Remote will be 
yellow on maroon and an rxvt -name EditWin will be white on black. All 
rxvt terminals inherit the font, saveLines, colorBD, etc attributes - 
only the background and foreground attributes are overridden in this 
example, though you could add additional resources to size, shape, 
change the font, etc - anything you can set via an option - and group 
them into classes. For example, you could define a "ConsoleLine" sort of 
window that say is wide and skinny (say 10x90) that you use to monitor a 
file via tail -f or to type in short command lines into, color it oddly 
or use a special small font, or even perhaps change the titlebar, 
placement, etc. Give this all a "class" name of "ConsoleLine" and 
specify it to rxvt's (or xterm's for that matter) -name option and off 
you go. Later on you could change the, say color scheme or font settings 
of what you want Remote to be and you don't have to change all your 
shortcuts - any ones that said -name Remote will automagically change.

Or,  if you deal with many servers  you might want to employ a scheme 
where you have a script starting a terminal and using  -name 
$(hostname). Then for resource classes that you've defined a color 
scheme for it would come up in that color scheme (and for ones that you 
haven't it would come out in the default (global) foreground and 
background that you choose).

--
You never really learn to swear until you learn to drive.
--
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: setting windows environment variables

2004-07-21 Thread Jason Joines
	Just found cygstart was in cygutils and used it.  The --hide option was 
just what I needed.

Thanks,
Jason Joines
=
Larry Hall wrote:
At 04:18 PM 7/20/2004, you wrote:
  I have a Cygwin BASH script which takes user input, uses ldapsearch, etc., to set a 
bunch of environment variables.  I can then use these from bash with no problem.  I 
would also like to make these environment variables available to the windows command 
interpreter.
  Is there anyway to do this?

Only if the windows command interpreter is a child of the bash process you
run from.  Otherwise, your best bet is to export the variables as some
batch file and run that in the windows command interpreter.

  Also, is there a BASH equivalent of the windows cmd start command that lets you start many processes without having to wait on each to finish?

How about 'cygstart'?
--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 



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


RE: setting windows environment variables

2004-07-21 Thread Morche Matthias
so, maybe

nohup smbmount //whatever /whereever > /dev/null 2>&1 &

should do, still in an portable way...

  matthias



...
> starting all the mappings without waiting on completion but my BASH 
> window wont' go away until they have all completed.
>   On Linux, something simple like:
> #!/bin/bash
> smbmount //srv1/share1 ~/share1 &
> smbmount //srv1/share2 ~/share2 &
> smbmount //srv1/share3 ~/share3 &
> smbmount //srv2/share4 ~/share4 &
> exit
...

--
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 : commands not echoed back to terminal

2004-07-21 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Song Ken Vern-E11804
> Sent: 21 July 2004 03:51

> I find that whenever I keep a ssh session for long time 
> (overnight), and come back to it the next morning, I cannot 
> seem to see anything I type.
> 
> I am using rxvt, with bash.
> 
> Everything runs as normal, just that whatever I type is not 
> seen on screen.
> 
> When I exit the session (local cygwin), it goes back to normal. 
> 
> Then I ssh into the same server, and everything is OK again, 
> for a while. 

  I have no idea why this might be happening, but what happens if, when it
goes invisible, you try entering the command "stty sane"?  Does that restore
your display?


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


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



Re: Stat

2004-07-21 Thread George
Corinna Vinschen wrote:
On Jul 20 22:06, George wrote:
 

The 'stat' utility doesn't seem to be part of my Cygwin distribution.  
Is this an error I've made during the installation or is it simply not 
included?
   

It's not included since nobody volunteered to maintain coreutils so far.
Corinna
 

Thanks for the info.  Guess there's always sed, awk and cut. ;-)
--
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 delete rogue nul files

2004-07-21 Thread zzapper
Hi,

I recently seem to be leaving nul files around my file system which I cannot delete 
from Cyg or Win
 
Hilfe mich!



zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


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

2004-07-21 Thread Reid Thompson
download coreutils from the gnu ftp site
./configure   -- at first glance appears to configure with no errors
make  -- at first glance appears to build with no errors

cp stat.exe to /bin
or
make install ( will attempt to install the just built versions of all
coreutils executables -- this would likely NOT be recommended)


$ /C/Downloads/coreutils-5.2.1/src/stat /usr/bin/su
  File: `/usr/bin/su'
  Size: 29184   Blocks: 29 IO Block: 1024   regular file
Device: 58326116h/1479696662d   Inode: 45850   Links: 1
Access: (0700/-rwx--)  Uid: (11192/Reid.Thompson)   Gid:
(10513/Domain Users)
Access: 2004-07-21 01:29:33.738351300 -0400
Modify: 2003-07-24 01:14:03.00100 -0400
Change: 2003-08-01 08:10:27.122386500 -0400

reid


George wrote:
> Corinna Vinschen wrote:
> 
>> On Jul 20 22:06, George wrote:
>> 
>> 
>>> The 'stat' utility doesn't seem to be part of my Cygwin
>>> distribution. Is this an error I've made during the installation or
>>> is it simply not included? 
>>> 
>>> 
>> 
>> It's not included since nobody volunteered to maintain coreutils so
>> far. 
>> 
>> Corinna
>> 
>> 
>> 
> Thanks for the info.  Guess there's always sed, awk and cut. ;-)

--
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.10: problems relocating structures with function pointers

2004-07-21 Thread Justin Schoeman
I have discovered what may be a bug in the linker/relocater in cygwin 
(or, more likely, I am doing something stupid again).

When I use a structure containing function pointers, and this structure 
is placed in an archive, then the function pointer becomes NULL. As an 
example, compile the attached files as follows:

gcc -O2 -Wall -c inc.c
ar rsvc inc.a inc.c
gcc -O2 -Wall -o test test.c inc.a
Executing test.exe prints 0x0 (the address of the function cointained in 
the structure), and subsequently segfaults.

Relinking with
gcc -O2 -Wall -o test test.c inc.o
produces a binary that works correctly.
It seems that once the object file is archived, the dynamic loader 
losses the capability of correctly assigning the function addresses?

Any help would be greatly appreciated.
TIA,
-justin
#include 

static void junk(void)
{
fprintf(stderr, "JUNK!\n");
}

struct js {
void (*junk)(void);
};

const struct js jsi = { junk };
#include 

struct js {
void (*junk)(void);
};

struct js jsi;

int main(void)
{
fprintf(stderr, "%p\n", jsi.junk);
jsi.junk();
return 0;
}

Cygwin Configuration Diagnostics
Current System Time: Wed Jul 21 18:22:27 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
C:\cygwin\opt\gnome2\bin\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(None)
0(root) 513(None)
544(Administrators) 545(Users)

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

HOME = `C:\cygwin\home\Administrator'
MAKE_MODE = `unix'
PWD = `/home/Administrator/virtuoso'
USER = `Administrator'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `JUSTIN-WIN'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `ssh'
DISPLAY = `:0.0'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Administrator'
HOSTNAME = `justin-win'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGNAME = `Administrator'
LOGONSERVER = `\\JUSTIN-WIN'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man:/usr/ssl/man:/usr/X11R6/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/Administrator'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 8, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0208'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SHLVL = `2'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TERM = `xterm'
TERMCAP = `xterm-r6|xterm|xterm X11R6 
version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:'
TEXMF = `{/usr/share/lilypond/2.2.2,/usr/share/texmf}'
TMP = `c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
USERDOMAIN = `JUSTIN-WIN'
USERNAME = `Administrator'
USERPROFILE = `C:\Documents and Settings\Administrator'
WINDIR = `C:\WINNT'
WINDOWID = `10485774'
XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults'
XAUTHORITY = `/home/Administrator/.Xauthority'
XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt'
XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB'
XNLSPATH = `/usr/X11R6/lib/X11/locale'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

Basic C/C++ (Was: 1.5.10: problems relocating structures with function pointers)

2004-07-21 Thread Rolf Campbell
Justin Schoeman wrote:
I have discovered what may be a bug in the linker/relocater in cygwin 
(or, more likely, I am doing something stupid again).

When I use a structure containing function pointers, and this structure 
is placed in an archive, then the function pointer becomes NULL. As an 
example, compile the attached files as follows:

gcc -O2 -Wall -c inc.c
ar rsvc inc.a inc.c
gcc -O2 -Wall -o test test.c inc.a
Executing test.exe prints 0x0 (the address of the function cointained in 
the structure), and subsequently segfaults.

Relinking with
gcc -O2 -Wall -o test test.c inc.o
produces a binary that works correctly.
It seems that once the object file is archived, the dynamic loader 
losses the capability of correctly assigning the function addresses?

Any help would be greatly appreciated.
TIA,
-justin

#include 
static void junk(void)
{
fprintf(stderr, "JUNK!\n");
}
struct js {
void (*junk)(void);
};
const struct js jsi = { junk };

#include 
struct js {
void (*junk)(void);
};
struct js jsi;
extern struct js jsi;
^^
int main(void)
{
fprintf(stderr, "%p\n", jsi.junk);
jsi.junk();
return 0;
}


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


RE: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of zzapper
> Sent: 21 July 2004 17:13

> Hi,
> 
> I recently seem to be leaving nul files around my file system 
> which I cannot delete from Cyg or Win
>  
> Hilfe mich!

http://www.google.com/search?q=rm+delete+nul+com+file+site:cygwin.com&hl=en&;
lr=&ie=UTF-8&filter=0

Executive summary:

DEL \\.\c:\somedir\nul

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


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



Re: How to delete rogue nul files

2004-07-21 Thread Eric Hanchrow
I've been using this:

#!/usr/bin/env perl

use warnings;
use strict;
use Data::Dumper;

die "This program is only useful on Cygwin.\n"
  unless ($^O eq "cygwin");

my $filename = shift;

$filename =~ s(/nul$)()i;

$filename = qx(realpath $filename); chomp $filename;
$filename = qx(cygpath -w $filename);   chomp $filename;
$filename = q(.\\) . $filename;
$filename .= "\\nul";

if (unlink $filename) {
  print "Removed $filename.\n";
} else {
  warn "Can't unlink $filename: $!";
}

-- 
A DRE voting system is one of the simplest computer
applications you could imagine.  It just adds by one.
-- Brit Williams, emeritus professor of computer science


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



Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:


>> 
>> I recently seem to be leaving nul files around my file system 
>> which I cannot delete from Cyg or Win
>>  
>> Hilfe mich!
>

>
>DEL \\.\c:\somedir\nul
>
>cheers, 
>  DaveK

no luck

C:\inetpub\wwwdev\www.planet.com>del nul
The filename, directory name, or volume label syntax is incorrect.


zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


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



Re: How to delete rogue nul files

2004-07-21 Thread Larry Hall
At 01:32 PM 7/21/2004, you wrote:
>On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:
>
>
>>> 
>>> I recently seem to be leaving nul files around my file system 
>>> which I cannot delete from Cyg or Win
>>>  
>>> Hilfe mich!
>>
>
>>
>>DEL \\.\c:\somedir\nul
>>
>>cheers, 
>>  DaveK
>
>no luck
>
>C:\inetpub\wwwdev\www.planet.com>del nul
>The filename, directory name, or volume label syntax is incorrect.


Use the syntax Dave suggested and you'll have better luck.




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 10:26:41 -0700,  wrote:

Eric I tried

#!/usr/bin/env perl

my $filename='nul';
if (unlink $filename) {
print "Removed $filename.\n";
} else {
warn "Can't unlink $filename: $!";
}

Said it had deleted  file but that was lie!!

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


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



RE: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of zzapper
> Sent: 21 July 2004 18:33

> On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:

> >> I recently seem to be leaving nul files around my file system 
> >> which I cannot delete from Cyg or Win
> >>  
> >> Hilfe mich!
> >
> 
> >
> >DEL \\.\c:\somedir\nul
> >
> >cheers, 
> >  DaveK
> 
> no luck
> 
> C:\inetpub\wwwdev\www.planet.com>del nul
> The filename, directory name, or volume label syntax is incorrect.

  Try "del \\.\C:\inetpub\wwwdev\www.planet.com\nul", like I suggested.


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


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



Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 13:28:30 -0400,  wrote:

>At 01:32 PM 7/21/2004, you wrote:
>>On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:
>>
>>
 
 I recently seem to be leaving nul files around my file system 
 which I cannot delete from Cyg or Win
  
 Hilfe mich!
>>>
>>
>>>
>>>DEL \\.\c:\somedir\nul
>>>
>>>cheers, 
>>>  DaveK
>>
>>no luck
>>
>>C:\inetpub\wwwdev\www.planet.com>del nul
>>The filename, directory name, or volume label syntax is incorrect.
>
>
>Use the syntax Dave suggested and you'll have better luck.

Larry 
That zeroed the file, but it's still undeletable. But what is that wierd delete 
syntax??


zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


--
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: GetVolumeInformation() failed (Was Re: perl threads problems using 20040720 snapshot)

2004-07-21 Thread Igor Pechtchanski
On Wed, 21 Jul 2004, Yitzchak Scott-Thoennes wrote:

> [snip]
> (Note: in getting the cygcheck output below, I got this message to stderr:
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1231)

FYI:

$ net helpmsg 1231
The network location cannot be reached. For information about network troubleshooting, 
see Windows Help.

In other words, one of your network drives is mapped to a machine that
can't be reached.  The message is harmless.
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: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of zzapper
> Sent: 21 July 2004 18:51

>  I recently seem to be leaving nul files around my file system 
>  which I cannot delete from Cyg or Win

> >>>DEL \\.\c:\somedir\nul

> >>no luck
> >>
> >>C:\inetpub\wwwdev\www.planet.com>del nul
> >>The filename, directory name, or volume label syntax is incorrect.

> >Use the syntax Dave suggested and you'll have better luck.

> That zeroed the file, but it's still undeletable. But what is 
> that wierd delete syntax??

  Actually, it may have genuinely deleted it after all, but it might also
look as if it was still there, depending how you look.

  It's easy to think the file is still there if you look for it by doing "ls
-l nul", because for some reason that will always succeed, regardless of
whether or not there actually is a nul-named file in the directory you're
looking in.  Compare the results of "ls -l nul" and "ls -l | grep nul" and
you'll see what I mean.



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



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



RE: How to delete rogue nul files

2004-07-21 Thread Buchbinder, Barry (NIH/NIAID)
At Wednesday, July 21, 2004 1:51 PM, zzapper wrote:
> On Wed, 21 Jul 2004 13:28:30 -0400,  wrote:
> 
>> At 01:32 PM 7/21/2004, you wrote:
>>> On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:
> 
> I recently seem to be leaving nul files around my file system
> which I cannot delete from Cyg or Win
> 
> Hilfe mich!
 
>>> 
 
 DEL \\.\c:\somedir\nul
 
cheers,
  DaveK
>>> 
>>> no luck
>>> 
>>> C:\inetpub\wwwdev\www.planet.com>del nul
>>> The filename, directory name, or volume label syntax is incorrect.
>> 
>> 
>> Use the syntax Dave suggested and you'll have better luck.
> 
> Larry
> That zeroed the file, but it's still undeletable. But what is that
> wierd delete syntax?? 

Are you sure that they are really there?  When you see them but cannot
delete them in windows, are you using cmd.exe or command.com or have you
tried in Windows Explorer?  Do you see them in Windows Explorer?  If not,
you have fallen into the following pitfall.

Many versions of DOS and Windows report the existence of NUL, AUX, and
"other special file names" in every directory.  But they are not really
there.  This allows

C:\path> dir > nul

in any directory.  There is no C:\DEV in DOS/Windows to put nul/aux/etc.
into.

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



Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 19:05:05 +0100,  wrote:

>> -Original Message-
>> From: cygwin-owner On Behalf Of zzapper
>> Sent: 21 July 2004 18:51
>
>>  I recently seem to be leaving nul files around my file system 
>>  which I cannot delete from Cyg or Win
>
>> >>>DEL \\.\c:\somedir\nul
>
>> >>no luck
>> >>
>> >>C:\inetpub\wwwdev\www.planet.com>del nul
>> >>The filename, directory name, or volume label syntax is incorrect.
>
>> >Use the syntax Dave suggested and you'll have better luck.
>
>> That zeroed the file, but it's still undeletable. But what is 
>> that wierd delete syntax??
>
>  Actually, it may have genuinely deleted it after all, but it might also
>look as if it was still there, depending how you look.
>
>  It's easy to think the file is still there if you look for it by doing "ls
>-l nul", because for some reason that will always succeed, regardless of
>whether or not there actually is a nul-named file in the directory you're
>looking in.  Compare the results of "ls -l nul" and "ls -l | grep nul" and
>you'll see what I mean.
>
DK,
ls -l | grep nul

Absolutely right, I could see that it had disappeared from Win, but was fooled into 
thinking I could
still see it in Cyg. 

What a wonderful conundrum!! Where are the nuls likely to have originated from??


Frustra laborant quotquot  fatigant deletum nul (Bad Latin)






zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


--
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: MapViewOfFileEx errors with cygwin1-20040716 snapshot

2004-07-21 Thread Igor Pechtchanski
On Wed, 21 Jul 2004, Corinna Vinschen wrote:

> On Jul 20 21:03, Igor Pechtchanski wrote:
> > On Tue, 20 Jul 2004, Corinna Vinschen wrote:
> >
> > > On Jul 20 15:53, Dr. Volker Zell wrote:
> > > > Well my MapViewOfFileEx errors are still there, but that seems to
> > > > be a different problem.
> > >
> > > I tried to reproduce that problem with my shm test application which
> > > forks twice, but to no avail.
> > >
> > > A simple testcase(tm) would be helpful.
> > >
> > > Corinna
> >
> > Corinna,
> >
> > FWIW, I just saw this error for the first time with the above snapshot
> > (Win2k SP3).  The command that triggered it was a "cvs diff" run from vim
> > (":!cvs diff"), if it makes any difference.  No idea what caused it, since
>
> It makes a difference.  FWIW, Volker's message is printed from a function
> which only runs in case a process is using XSI shared memory and forks.
> cvs doesn't use XSI shared memory so the message you saw is very likely
> emitted by open_shared.

Actually, this is what's weird.  The messages from open_shared() and
fixup_shms_after_fork() are subtly different, and I don't recall the name
of the shared region (or, for that matter, anything in single quotes)
being printed, so I guess the message came from fixup_shms_after_fork().
I've since tried to reproduce it under strace, and failed.  The three
times I saw the message, one was from inside cvs.exe, and two were from
inside ssh.exe, if that helps any.  The next time I get this error, I'll
copy/paste the exact message and the exact sequence of actions that led to
it.  Please let me know what else I can do to help track this down.
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/



Nokia 3510i Deals

2004-07-21 Thread Morne Willemse

Hi there it's me again,

A few hours ago, I received an e-mail from a friend of mine who
had ordered 310 Nokia 3510i from Nokia last week and has since had a
situation arise that will make it impossible for him to go
forward and sell these phones to retailers.

While this may be bad news for them, it could be a huge win for
you if you are the first person to respond to this message!

Here's what he is going to do. Since he have already placed the order and had received 
the phones, it's too late for him to cancel the order.

So, what he will do currently for you is to sell it phones at cost price minus 10%, if 
you are the first person to respond to this e-mail message.

Here are the details of the phone.

With its full-color screen, the Nokia 3510i phone is great for MMS; you can receive 
messages that include images, text, and sound and save them as wallpaper and ringing 
tones; you can also send and forward messages containing images and text to other 
compatible phones.
Java™ technology means it's easier than ever to customize your phone with games and 
applications you need.
The Nokia 3510i phone with polyphonic ringing tones has vastly improved sound quality 
for melodious ringing tones, message alerts, and gaming sounds.

Phone Features

* Downloadable games and applications via Java technology
* MMS (Multimedia Messaging Service)
* GPRS (General Packet Radio Service)
* HSCSD (High-Speed Circuit-Switched Data)
* WAP 1.2.1 browser (via GPRS or CSD)
* Wallet
* Customizable and timed profiles
* Wallpaper
* Screensaver (digital clock)
* Polyphonic ringing tones
* Clock and alarm clock
* Calculator, currency converter
* Stopwatch, countdown timer
* WIM (security module)
* Templates for quick and easy sending of predefined messages
* Picture messaging: Send graphics with text to other compatible phones
* Multimedia messaging: Sending, forwarding, and receiving messages containing a text 
item, a ringing tone, or graphics
* 34 fixed tones (both polyphonic and monophonic)
* The number of variable tones (composed or downloaded) depends on the available phone 
memory
* Java™ games
* Last number redial from dialed calls list (dial key brings out the dialed calls list)
* Automatic redial (max 10 attempts)
* Automatic answer (works with headset or car kit only)
Along with the Nokia 3510i, you'll also get the charger and manual where it will show 
you, with a step-by-step guide, how to use the Nokia 3510i. It's all brand new and 
it's all under guarantee!

These Nokia's is being offered at R 785.00 + VAT and you will get:

- Please help him out and order 50 or more.
- He is in such deep trouble that if you order 50 phones, he will give you one free 
3510i!

If you have been wondering about what it takes to succeed in the business world... 
it's good business values and helping one another in need and telling lots of 
people... here is your
chance to help my friend and I to make the most of your business and to get a good 
deal just by helping us!

Don't wait on this one.. it simply won't last!


Enjoy this sunny day.
Morne Willemse

PS: If you are angry at me and don't want to receive my friendly emails please send me 
a email and tell me, listen China I don't like you talking to me via email rather 
phone or something! But please write in your Email subject heading ANGRY. So I can 
easily see your email standing out from the rest of my inbox letters. Ch

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



Re: How to delete rogue nul files

2004-07-21 Thread Chuck McDevitt
While it's not hard to delete the rouge "nul" files, it is a recent change 
to cygwin that allows them to be created at all.

1.5.9 seemed to treat "NUL" in the normal windows way (equivalent of 
/dev/null), so didn't create these files.

1.5.10 changed so Cygwin no longer recognizes windows special file names 
like "NUL", and instead treats them like normal files.

Is there a reason for this change?



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



Re: How to delete rogue nul files

2004-07-21 Thread Igor Pechtchanski
On Wed, 21 Jul 2004, Chuck McDevitt wrote:

> While it's not hard to delete the rouge "nul" files, it is a recent change
> to cygwin that allows them to be created at all.
>
> 1.5.9 seemed to treat "NUL" in the normal windows way (equivalent of
> /dev/null), so didn't create these files.
>
> 1.5.10 changed so Cygwin no longer recognizes windows special file names
> like "NUL", and instead treats them like normal files.
>
> Is there a reason for this change?

Read the thread that Dave Korn pointed to.  It was a bug in Cygwin 1.5.10.
The bug was fixed in CVS, and is not present in the latest snapshots.
The recipe for deleting the file was only needed for the systems that have
this bug.  FWIW, the 20040716 snapshot is pretty stable (I'm running it
now)...  YMMV...
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: ssh : commands not echoed back to terminal

2004-07-21 Thread Mark Bohlman
Dave Korn wrote:
-Original Message-
From: cygwin-owner On Behalf Of Song Ken Vern-E11804
Sent: 21 July 2004 03:51

I find that whenever I keep a ssh session for long time 
(overnight), and come back to it the next morning, I cannot 
seem to see anything I type.

I am using rxvt, with bash.
Everything runs as normal, just that whatever I type is not 
seen on screen.

When I exit the session (local cygwin), it goes back to normal. 

Then I ssh into the same server, and everything is OK again, 
for a while. 

  I have no idea why this might be happening, but what happens if, when it
goes invisible, you try entering the command "stty sane"?  Does that restore
your display?
cheers, 
  DaveK
This may or may not be related:
I've found that I can duplicate this type of behavior by setting the 
CYGWIN environment variable AFTER I start a bash shell.
Start bash shell
$ export CYGWIN=tty
$ vi anyfile ; quit vi
$ ls [this is NOT echoed back].

Then running
$ stty sane
stty: standard input: unable to perform all requested operations
shows the above error message and changes nothing.
I know that to get CYGWIN properly set it needs to be done BEFORE 
starting the shell, but it seems to give me fits no matter what.
Have also tried doing "stty echoe" but get the same message and no changes.
-- Mark


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


RE: Make not found

2004-07-21 Thread Hannu E K Nevalainen
[EMAIL PROTECTED] wrote:
> Im trying to find/run make, I did a complete install of everthing,
> but make is not there.
>
> What am I doing wrong, how do I get it?
>
> mike conrad
> 408-395-6500 work
> 408-910-3438 cell

If you really want the above phone numbers to be accessible for everyone in
the world, why not change them into something that follows conventions. e.g.
prepend "+1-" above.
(If you type this version into your cell phone it will work regardless of
where in the world you are; assuming you have a phone that covers all the
cell phone standards and subscription(wd?) to match it)

Now for your cygwin problem, try this:
$ cygcheck -c nomake
Cygwin Package Information
Package  VersionStatus

$ cygcheck -c make
Cygwin Package Information
Package  VersionStatus
make 3.80-1 OK

The last version is what you get when 'make' has been installed.
The previous indicates 'not installed' for 'nomake' - which might be what
you will see if you haven't really installed make - get it? ;-)

To clarify: 'cygcheck -c ', as shown above, tells whether you HAVE
installed a package, what version it is and whether all installed files
remain in the original place (=OK).

If you really have find (i.e. findutils) and make installed, but the above
problem remains; go *read* and *follow* problem reporting instructions at...

 >Problem reports:   http://cygwin.com/problems.html

Hmm... was that understandable? ;-P

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--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: MapViewOfFileEx errors with cygwin1-20040716 snapshot

2004-07-21 Thread Corinna Vinschen
On Jul 21 14:47, Igor Pechtchanski wrote:
> On Wed, 21 Jul 2004, Corinna Vinschen wrote:
> > It makes a difference.  FWIW, Volker's message is printed from a function
> > which only runs in case a process is using XSI shared memory and forks.
> > cvs doesn't use XSI shared memory so the message you saw is very likely
> > emitted by open_shared.
> 
> Actually, this is what's weird.  The messages from open_shared() and
> fixup_shms_after_fork() are subtly different, and I don't recall the name
> of the shared region (or, for that matter, anything in single quotes)
> being printed, so I guess the message came from fixup_shms_after_fork().
> I've since tried to reproduce it under strace, and failed.  The three
> times I saw the message, one was from inside cvs.exe, and two were from
> inside ssh.exe, if that helps any.  The next time I get this error, I'll

None of these apps use XSI shared memory.  In theory that only can happen
if sph_list is not all zero in a forked application.  But that should only
happen if the parent used XSI shared memory...

> copy/paste the exact message and the exact sequence of actions that led to
> it.  Please let me know what else I can do to help track this down.

Do you have Cygserver running?  If yes, does that also happen if it
doesn't run or CYGWIN != "server"?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: ssh : commands not echoed back to terminal

2004-07-21 Thread Christopher Faylor
On Wed, Jul 21, 2004 at 03:50:34PM -0400, Mark Bohlman wrote:
>Dave Korn wrote:
>>>-Original Message-
>>>From: cygwin-owner On Behalf Of Song Ken Vern-E11804
>>>Sent: 21 July 2004 03:51
>>
>>>I find that whenever I keep a ssh session for long time (overnight),
>>>and come back to it the next morning, I cannot seem to see anything I
>>>type.
>>>
>>>I am using rxvt, with bash.
>>>
>>>Everything runs as normal, just that whatever I type is not seen on
>>>screen.
>>>
>>>When I exit the session (local cygwin), it goes back to normal.
>>>
>>>Then I ssh into the same server, and everything is OK again, for a
>>>while.
>>
>>I have no idea why this might be happening, but what happens if, when
>>it goes invisible, you try entering the command "stty sane"?  Does that
>>restore your display?
>
>This may or may not be related: I've found that I can duplicate this
>type of behavior by setting the CYGWIN environment variable AFTER I
>start a bash shell.

That's expected behavior.

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



Vfbp indulge in each other

2004-07-21 Thread danial lacasa
onkorrigeerbare`oprijzendparapsychiatrische


Ame_^ric'a Me,-ds & 0v'erni,ght Del'`iver


PberoepsmogelijkheidG http://bxe.i.lawful7322dryg.us/f74/


"When we see someone keep it together in a situation of great stress and
terror, it sort of, I think, excites us and makes us feel a little more
capable. But it's also a great ride," Weaver said.
The spacecraft took pictures of Iapetus (pronounced eye-APP-eh-tuss) at a
distance of 1.8 million miles on July 3, a few days after Cassini entered
orbit around Saturn.
reaccio`n2temblo`n06lemanita,verrugoso carpologi`a. 


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



RE: cron and ssh with homeshare variable

2004-07-21 Thread Harig, Mark
> 
> My problem is that the system try to create a directory
> '//ALISANDRE/homes/.ssh'.  and '//ALISANDRE/homes/ this is 
> the value for
> HOMESHARE  , the system chearch to write in know_hosts file , 
> so i want
> change this value by /home/gurkan definitively (even if a 
> reboot ) but i
> can't find it .
> 

This is defined in Cygwin's /etc/passwd file.  You will 
want to generate a password file with some variation of the
'mkpasswd' command:

  $ /usr/bin/mkpasswd -l > /etc/passwd

or 

  $ /usr/bin/mkpasswd -d -u gurkan >> /etc/passwd

and then edit /etc/passwd, and change the second-to-last
field so that it contains the HOME directory that you want.

Similarly, you will want to use the 'mkgroup' command to generate
a useable /etc/group file, for example,

  $ /usr/bin/mkgroup -l > /etc/group

--

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



Re: How to delete rogue nul files

2004-07-21 Thread Jan Engelhardt
> I've been using this:

Interesting. I would have booted Linux and removed 'nul' with its tools. :)


--
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: rsync and file ownership

2004-07-21 Thread Matthew Dwyer
Bakken, Luke wrote:
 > What I ended up having to do is set CYGWIN=nontsec for my rsync server
and client before any transfers. If your directories are set to inherit
permissions then the permissions will be set OK based on the parent
permissions.
For example:
$ CYGWIN=nontsec rsync -rtvz server::share /c/foo
You can set that variable in your cygrunsrv setup for the rsync daemon.
Thanks, I'd already read that in this group and it helped a lot! :)
The main problem remaining is just that its creating permissions that 
didn't exist on the files prior to the copy.  eg.  If I do a network 
copy (its my test environment, the real thing will be across the 
internet) the files have the same permissions as they started with.  If 
I rsync them, Admin and Everyone only get read access.  Thats what I 
need to change.  I'm running rsync over ssh from dos bat files.  Its not 
going to be interactive.  I don't think I can chown or chmod the files 
once copied (can that be done over ssh non-interactively?).

Matt.
--
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: MapViewOfFileEx errors with cygwin1-20040716 snapshot

2004-07-21 Thread Igor Pechtchanski
On Wed, 21 Jul 2004, Corinna Vinschen wrote:

> On Jul 21 14:47, Igor Pechtchanski wrote:
> > On Wed, 21 Jul 2004, Corinna Vinschen wrote:
> > > It makes a difference.  FWIW, Volker's message is printed from a function
> > > which only runs in case a process is using XSI shared memory and forks.
> > > cvs doesn't use XSI shared memory so the message you saw is very likely
> > > emitted by open_shared.
> >
> > Actually, this is what's weird.  The messages from open_shared() and
> > fixup_shms_after_fork() are subtly different, and I don't recall the name
> > of the shared region (or, for that matter, anything in single quotes)
> > being printed, so I guess the message came from fixup_shms_after_fork().
> > I've since tried to reproduce it under strace, and failed.  The three
> > times I saw the message, one was from inside cvs.exe, and two were from
> > inside ssh.exe, if that helps any.  The next time I get this error, I'll
>
> None of these apps use XSI shared memory.  In theory that only can happen
> if sph_list is not all zero in a forked application.  But that should only
> happen if the parent used XSI shared memory...
>
> > copy/paste the exact message and the exact sequence of actions that led to
> > it.  Please let me know what else I can do to help track this down.
>
> Do you have Cygserver running?  If yes, does that also happen if it
> doesn't run or CYGWIN != "server"?
>
> Corinna

Nope, I don't have cygserver running.  My $CYGWIN is "check_case:strict
ntsec notitle binmode nosmbntsec notty".  If you want to put some more
debugging info in all the places the above message can appear, I'll use
the new snapshot and if I trip the error again, I'll post the output.
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: How to delete rogue nul files

2004-07-21 Thread Christopher Faylor
On Wed, Jul 21, 2004 at 09:58:37PM +, Jan Engelhardt wrote:
>>I've been using this:
>
>Interesting.  I would have booted Linux and removed 'nul' with its
>tools.  :)

Hmm.  I would have taken a very tiny magnet, pried open the cover of
the hard drive, and run the magnet over the part of the platter that
said "nul" on it.  I'd probably need a magnifying glass too, now that
I think of it.

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



RPC: Unable to send; errno = Cannot assign requested address

2004-07-21 Thread yorkwar
Hi

I've installed the sunrpc(4.0.2) within the cygwin package.
The installation seems no problem. I've installed "portmap"
with 

cygrunsrv.exe -I "portmap" -p /usr/sbin/portmap -a -F

And when I run 

rpcinfo -p localhost

I see

$ rpcinfo -p localhost
   program vers proto   port
102   tcp111
102   udp111

All seems OK, except when I try the demo "msg"
(within the source package of sunrpc) . When I run 

$ ./msg_svc

I got:
Cannot register service: RPC: Unable to send; errno = Cannot assign requested address
unable to register (MESSAGEPROG, MESSAGEVERS, udp).

I have read some posted messages on this mailing list. And some similar
situation happens on NFS service. But I can't figure out the problem.

Any help?

The attached file is what I got when run "cygcheck -s"


Yorkwar

cygcheck.txt
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: cron and ssh with homeshare variable

2004-07-21 Thread Larry Hall
At 05:43 PM 7/21/2004, you wrote:
>> 
>> My problem is that the system try to create a directory
>> '//ALISANDRE/homes/.ssh'.  and '//ALISANDRE/homes/ this is 
>> the value for
>> HOMESHARE  , the system chearch to write in know_hosts file , 
>> so i want
>> change this value by /home/gurkan definitively (even if a 
>> reboot ) but i
>> can't find it .
>> 
>
>This is defined in Cygwin's /etc/passwd file.  You will 
>want to generate a password file with some variation of the
>'mkpasswd' command:
>
>  $ /usr/bin/mkpasswd -l > /etc/passwd
>
>or 
>
>  $ /usr/bin/mkpasswd -d -u gurkan >> /etc/passwd
>
>and then edit /etc/passwd, and change the second-to-last
>field so that it contains the HOME directory that you want.


Or just use the '-p' flag and specify the home path you want as a 
parameter.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: How to delete rogue nul files

2004-07-21 Thread Larry Hall
At 01:50 PM 7/21/2004, you wrote:
>On Wed, 21 Jul 2004 13:28:30 -0400,  wrote:
>
>>At 01:32 PM 7/21/2004, you wrote:
>>>On Wed, 21 Jul 2004 18:14:45 +0100,  wrote:
>>>
>>>
> 
> I recently seem to be leaving nul files around my file system 
> which I cannot delete from Cyg or Win
>  
> Hilfe mich!

>>>

DEL \\.\c:\somedir\nul

cheers, 
  DaveK
>>>
>>>no luck
>>>
>>>C:\inetpub\wwwdev\www.planet.com>del nul
>>>The filename, directory name, or volume label syntax is incorrect.
>>
>>
>>Use the syntax Dave suggested and you'll have better luck.
>
>Larry 
>That zeroed the file, but it's still undeletable. But what is that wierd delete 
>syntax??


See documentation for CreateFile().



You can use '.' in place of '?'.  There's probably a better pointer out
there but that's the best one I can find quickly.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re:RPC: Unable to send; errno = Cannot assign requested address

2004-07-21 Thread yorkwar
Sorry to bother you.

It turned out that I have 3 network interface on my computer, 

and RPC selected the one that is not configured.

After I disable the interface, everything goes well.

A foolish problem puzzled me about 2 days


Yorkwar


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



DLLs and LoadLibrary

2004-07-21 Thread Vadim Berezniker
I followed the FAQ and the various mailing list messages and was able to 
build a dll that I can load with LoadLibrary.
The code inside the DLL makes calls to code in other libraries and for 
the most part this is okay.
When I make calls to one library, everything is OK. As soon as I 
uncomment one line which is simply a call to a function in another 
library, the resulting DLL cannot be loaded with LoadLibrary.


--
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: DLLs and LoadLibrary

2004-07-21 Thread Jani tiainen
Vadim Berezniker wrote:
I followed the FAQ and the various mailing list messages and was able to 
build a dll that I can load with LoadLibrary.
The code inside the DLL makes calls to code in other libraries and for 
the most part this is okay.
When I make calls to one library, everything is OK. As soon as I 
uncomment one line which is simply a call to a function in another 
library, the resulting DLL cannot be loaded with LoadLibrary.
There is various reasons why loading fails. If you get NULL from 
LoadLibrary call, use GetLastError to retrieve real reason for error.

BTW, where are you calling those LoadLibrary calls? It's unsafe (and not 
really recommended) to call them in DllMain.

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


RE: How to delete rogue nul files

2004-07-21 Thread Trevor Forbes

I just use a freeware tool...

http://www.purgeie.com/delinv.htm

Trevor

 


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