Re: FYI: Reboot is needed after a failed setup.

2004-11-16 Thread Igor Pechtchanski
On Mon, 15 Nov 2004, Christopher Faylor wrote:

 On Tue, Nov 16, 2004 at 01:13:48AM -, Max Bowsher wrote:
 Igor Pechtchanski wrote:
 Speaking of the order in which scripts are run (but unrelated to this
 discussion): the logic that is supposed to invoke postinstall scripts in
 topological order of dependencies doesn't seem to work -- instead of being
 invoked when their respective packages are traversed, the postinstall
 scripts are executed by the catch-all clause (and thus in alphabetical
 order).
 
 Yuck.
 
 Does anyone know how rpm/deb handle this kind of issue?

 rpm does a topological sort based on dependencies.  Some of the
 dependencies are supplied in the rpm spec file, but many are derived by
 an internal rpm algorithem which figures out requirements for things
 like shared libraries and perl modules.

Setup already has the logic to do this topological sort -- sorry if that
was unclear.  What I meant was that the sort is done, but the scripts
aren't invoked in the sorted order.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


Re: FYI: Reboot is needed after a failed setup.

2004-11-16 Thread Christopher Faylor
On Tue, Nov 16, 2004 at 11:37:02AM -0500, Igor Pechtchanski wrote:
On Mon, 15 Nov 2004, Christopher Faylor wrote:
On Tue, Nov 16, 2004 at 01:13:48AM -, Max Bowsher wrote:
Igor Pechtchanski wrote:
Speaking of the order in which scripts are run (but unrelated to this
discussion): the logic that is supposed to invoke postinstall scripts
in topological order of dependencies doesn't seem to work -- instead of
being invoked when their respective packages are traversed, the
postinstall scripts are executed by the catch-all clause (and thus in
alphabetical order).

Yuck.

Does anyone know how rpm/deb handle this kind of issue?

rpm does a topological sort based on dependencies.  Some of the
dependencies are supplied in the rpm spec file, but many are derived by
an internal rpm algorithem which figures out requirements for things
like shared libraries and perl modules.

Setup already has the logic to do this topological sort -- sorry if
that was unclear.  What I meant was that the sort is done, but the
scripts aren't invoked in the sorted order.

It was clear to me.  I was just answering the question in the context of
rpm since I'm nauseatingly familiar with rpm these days.

setup.exe does not try to detect any dependencies that are not
explicitly spelled out in the setup.hint files.  That could be a fatal
flaw since there are bound to be dependencies that are missed which may
not have an impact on installing but could have an impact on
uninstalling.  RPM does stand on its head to determine as many
dependencies as possible.

Maybe it's time for the old why are we reinventing the wheel speech?
:-)

cgf


Setup patch: List command line options on stdout

2004-11-16 Thread Dave
Here's a simple and useful patch for setup. Might reduce queries about
unattended installs, and save people having to resort to source.

Patch is against CVS (as of yesterday).

Modify the leader text as you see fit :)


Dave Kilroy.



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 
--- main.cc~2004-10-25 19:34:32.0 +0100
+++ main.cc 2004-11-16 19:21:14.0 +
@@ -471,7 +471,11 @@
 
 if (HelpOption)
 {
-  GetOption::GetInstance().ParameterUsage(log(LOG_PLAIN)\nCommand Line 
Options:\n);
+  log(LOG_PLAIN)\nOutput command line options\n;
+  std::cout  setup [options]\n\n
+Cygwin setup installs and maintains cygwin packages\n\n
+Command Line options:\n;
+  GetOption::GetInstance().ParameterUsage(std::cout);
   theLog-exit(0);
 }
 


Re: [UPDATE] chere-0.5-2

2004-11-16 Thread Dave
Peter A. Castro wrote:
On Mon, 15 Nov 2004, Dave wrote:
 Corinna/Peter - what are the chances of an update or migration of these
 files to base-files?

Updating the startup zprofile for chere support is in my queue of things
to get done for the next zsh release.  Unfortunately, my main server was
sick all last week and I have only recently gotten things to be stable
again.  I'll see if I can't squeeze it out in the next day or so.

Thanks! I'll announce chere 0.5-2 now, and let zsh and tcsh catch up as and
when.

Dave.

With reguard to migrating startup files to the base-files package...
well... I suppose it would be nice to have both zsh and tcsh's startup
scripts integrated in with the rest of the base shells.

What do others think on this?  Corinna?  Any plans along this line for
tcsh?




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



The allegation is that setup is keeping open handles around...

2004-11-16 Thread Christopher Faylor
...is it true?  It seems like there are some valid concerns about
problems with setup.exe in the cygwin mailing list and no one is
addressing them.

Setup.exe is too important a piece of the cygwin release for it to
go unsupported.  Please, someone (Max?) respond to and, if possible,
investigate claims of problems.

cgf


Re: Do we still have a ghostscript maintainer?

2004-11-16 Thread Christopher Faylor
On Thu, Nov 11, 2004 at 12:00:43PM -0500, Christopher Faylor wrote:
I notice that there hasn't been a new release of ghostscript in some
time.  We need  a new release to eliminate some of the lurking
dependencies on the deprecated XFree86.

Dario, are you still with us?  If so, is there any chance that we
could get a new version of ghostscript sometime soon?

Going once...

Going twice...

cgf


RE: The allegation is that setup is keeping open handles around...

2004-11-16 Thread Robb, Sam
 ...is it true?  It seems like there are some valid concerns about
 problems with setup.exe in the cygwin mailing list and no one is
 addressing them.
 
 Setup.exe is too important a piece of the cygwin release for it to
 go unsupported.  Please, someone (Max?) respond to and, if possible,
 investigate claims of problems.

I'll confirm that.  I was preparing for a reinstall, so I had
all packages downloaded.  During the install:

  - The open handle count for setup.exe was 74 while it was
running it's md5 checks.

  - Maybe a quarter of the way through the install (up to
gcc in a full install), there were over 200 open handles.
Almost all of them were associated with the tar.bz2 files
for the packages, ex:

  148: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\antiword\antiword-0.34-2.tar.bz2
  14c: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\apr\apr-0.9.5_2.0.52-1.tar.bz2
  150: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\apache\apache-1.3.29-2.tar.bz2
  154: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\apr-util\apr-util-0.9.5_2.0.52-1.tar.bz2
  158: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\ash\ash-20040127-1.tar.bz2
  15c: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\aspell\aspell-0.50.3-1.tar.bz2
  160: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\aspell\aspell-de\aspell-de-0.50.2-1.tar.bz2
  164: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\aspell\aspell-dev\aspell-dev-0.50.3-1.tar.bz2
  168: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\aspell\aspell-doc\aspell-doc-0.50.3-1.tar.bz2
  16c: File  C:\Program Files\Cygwin 
Setup\ftp%3a%2f%2fmirror.mcs.anl.gov%2fpub%2fcygwin.com\release\aspell\aspell-en\aspell-en-0.51.0-1.tar.bz2

  So it looks like the package files aren't being closed
somewhere.

-Samrobb





Re: The allegation is that setup is keeping open handles around...

2004-11-16 Thread Christopher Faylor
On Wed, Nov 17, 2004 at 12:28:27AM -0500, Robb, Sam wrote:
So it looks like the package files aren't being closed somewhere.

Taking a look at the source, and trying to figure out where something
like this might occur, I ended up in in install.cc, where I saw the
following comment in Installer::installOneSource():

/* FIXME: potential leak of either *tmp or *tmp2 */

Here, it looks as if handling a compressed file leads to a handle leak
as an io_stream isn't closed.  Actually, there appear to be a couple of
places where a pointer returned by io_stream::open() isn't being freed
(where I'm assuming that 'delete tmp' is the proper way to deal with a
pointer returned by io_stream::open()...)

My investigations brought me to the same place and the same conclusion
although it has been quite a while since I last looked at the setup
sources.  It seems likely that you're right, though.

Sort of cries out for some sort of destructor doesn't it?  Rather
than

  io_stream *tmp = io_stream::open (foo, rb);

do

  io_stream tmp (foo, rb);

and let the io_stream destructor do whatever it has to do.

That is probably a lot of work, though.  I guess I don't understand why
there is a FIXME here rather than a delete of tmp and tmp2.

Also I found the use of the variable tmp in different scopes and with
different types seems like a recipe confusing.

If we aren't going to get any traction on this from any of the setup
developers, I'll generate a new version of setup for testing in the
next couple of days.

cgf


RE: fontconfig/fontconfig.h is missing

2004-11-16 Thread Jörg Schaible
Christopher Faylor wrote on Monday, November 15, 2004 4:55 PM:

 On Mon, Nov 15, 2004 at 09:42:49AM +0100, J?rg Schaible wrote:
 although I've reinstalled Xorg and now the X11 libs are present,
 libfontconfig-devel seems still have problems.  I reassured, that the
 downloaded package, that was reinstalled today, includes the
 fontconfig/fontconfig.h file, but the header files were not installed
 though.
 
 Oops.  libfontconfig-devel-2.2.2-1.tar.bz2 was the package
 that I experimented with initially so I'd pulled it from the
 big list of files that I converted -- meaning that it wasn't
 reconverted when I fixed things.
 
 It's ok now and will be on a mirror near you soon.
 
 Sorry again for messing things up.  It's too bad that
 setup.exe doesn't understand files built the way I built them
 since the tar files are smaller.

Works now. At least it had somethong good, that I explicitly needed this 
package too.
:)

- Jörg


Re: WMaker 0.90 broken?

2004-11-16 Thread Alexander Gottwald
On Mon, 15 Nov 2004, Mark Paulus wrote:

 Xlib:  extension MIT-SHM missing on display :0.0.

Does window maker require SHM? Maybe you should consider running cygserver
for shared memory support.

 wmaker warning: could not load font: 
 helvetica:slant=0:weight=100:pixelsize=12.
 wmaker warning: could not load font: 
 helvetica:xlfd=-*-helvetica-bold-r-normal-*
 -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12.
 wmaker warning: could not load any fonts. Make sure your font installation 
 and l
 ocale settings are correct.

The font should be installed with the xorg-x11-fnts packages. Please verify that
the font is available:

$ xlsfonts -fn -*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*

should print about 30 entries. If it does not then do

$ rm /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
$ font-update

 wmaker fatal error: could not initialize WINGs widget set
 wmaker fatal error: it seems that there is already a window manager running

This does not seem to be related to the font issue. Are you sure there is no 
other window manager running?

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


RE: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Nick Wisniewski
 Sent: 15 November 2004 19:58

  Is this really sh.exe?  Can you check whether this sh.exe process is
  running before you start ssh (e.g., compare the outputs of 
 ps -ef before
  and after ssh -X)?
 before
 bash-2.05b$ ps -ef
   UID PIDPPID TTY STIME COMMAND
  Nick2888   1 con  13:34:32 /usr/bin/bash
  Nick4052   1 con  13:37:33 /usr/bin/bash
  Nick 2364052 con  13:39:22 /usr/bin/ps
 
 after
 bash-2.05b$ ps -ef
   UID PIDPPID TTY STIME COMMAND
  Nick2888   1 con  13:34:32 /usr/bin/bash
  Nick4052   1 con  13:37:33 /usr/bin/bash
  Nick39362888 con  13:40:16 /usr/bin/ssh
  Nick40123936 con  13:40:25 /usr/bin/sh
  Nick 9364052 con  13:40:29 /usr/bin/ps
 

 As I mentioned before, if I kill sh.exe from the task manager, 
 everything works fine (i.e. it finishes logging in and I can display 
 things from the remote machine).

  It has to be ssh trying to execute some system(..) call prior to opening the
connection, and the problem is with the command in question; that's hanging up,
openssh is waiting for it to complete boom!  Although I'm not familiar with
the source code and haven't studied it (and 'grep' is _not_ a source analysis
tool!), nonetheless a quick grep lends at least some support to this hypothesis:

[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2 grep -w sh *.[ch]
auth.c:  * legal, and means /bin/sh.
defines.h:# define _PATH_BSHELL /bin/sh
pathnames.h: * /bin/sh before starting the shell or command if they exist.  They
 will be
session.c:   * legal, and means /bin/sh.
sshconnect.c:* Use exec to avoid sh -c processes on some platforms
[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2

  That comment in sshconnect.c looks highly significant to me!

  You could probably strace openssh, then find out what parameters sh.exe is
being called with, and see if sh.exe shows the same behaviour when you try the
same command from a prompt.  I think the problem that needs tracking down will
turn out to be with the commands that openssh is relying on sh to execute,
rather than anything intrinsic to openssh itself.

  Actually strace probably isn't necessary.  I see lines like this

debug(Executing proxy command: %.500s, command_string);

and oh look!  like this!

/*
 * Run $HOME/.ssh/rc, /etc/ssh/sshrc, or xauth (whichever is found
 * first in this order).
 */
static void
do_rc_files(Session *s, const char *shell)
{
FILE *f = NULL;
char cmd[1024];
int do_xauth;
struct stat st;

do_xauth =
s-display != NULL  s-auth_proto != NULL  s-auth_data != NULL;

/* ignore _PATH_SSH_USER_RC for subsystems */
if (!s-is_subsystem  (stat(_PATH_SSH_USER_RC, st) = 0)) {
snprintf(cmd, sizeof cmd, %s -c '%s %s',
shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
if (debug_flag)
fprintf(stderr, Running %s\n, cmd);
f = popen(cmd, w);

which make me think you ought to just be able to run ssh with some debug options
on the command line, and that ought to give you enough information to find out
what's wrong.  Try ssh -v -v -v rest of options and see what that tells you.




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



Problem Starting Xterm

2004-11-16 Thread Kevin Piotrowicz
Hi, 
 
I have just installed cygwin on WIN XP, with the all xorg packages
installed. But not the xfree86 ones because they say removed package
beside them - which I take to mean they are deprecated?
 
Anyway by using either startxwin.bat startx or startxwin.sh, the xwin
program starts and has the black X in the system tray it doesn't seem
frozen as I can toggle hiding it if I want, but no xterm starts, and
when I try to manually start one using just the command xterm the
response is: xterm Xt error: Can't open display:
 
Could someone help me with this?
 
Thanks
 
Kevin


XWin.log
Description: Binary data


Problems after move to Windows 2003 domain

2004-11-16 Thread Tim Saunders
A month ago I had cygwin working perfectly. Then we upgraded to a
Windows 2003 domain.

I still have the same XP work station but now when I run startx cygwin
crashes with errors about the clipboard. I have tried disabled the
shared clipboard feature and the X server will now come up.

I can run xeyes fine. However when I try to run xterm the CPU load on
the Xserver goes straight to 100% and stays there. I have done an strace
on xterm and I can see it is waiting on a read from the tcp socket to
the X server, after 20 minutes the Xserver sends it data and up it
comes.

I have tried a variety of other programs and they all behave like xterm
(except xeyes). I don't have any idea how to go about working out what
it is doing. Can anyone help?

Tim

P.S. Since the domain move I have rerun mkpasswd and mkgroup, it didn't
make any difference. I have also upgraded to the latest cygwin with the
online installer; again it made no difference.


Re: Problem Starting Xterm

2004-11-16 Thread Mark Paulus
How are you starting your xterm?  Are you giving it the 
-display option (xterm -display :0 )?


On Tue, 16 Nov 2004 13:40:53 +, Kevin Piotrowicz wrote:

Hi, 
 
I have just installed cygwin on WIN XP, with the all xorg packages
installed. But not the xfree86 ones because they say removed package
beside them - which I take to mean they are deprecated?
 
Anyway by using either startxwin.bat startx or startxwin.sh, the xwin
program starts and has the black X in the system tray it doesn't seem
frozen as I can toggle hiding it if I want, but no xterm starts, and
when I try to manually start one using just the command xterm the
response is: xterm Xt error: Can't open display:
 
Could someone help me with this?
 
Thanks
 
Kevin






Re: WMaker 0.90 broken?

2004-11-16 Thread Mark Paulus
Well, it does seem to be a font issue.  I used
setup, and did a re-install of a couple of x11 font packages
and everthing seems to be working just fine.

On a side note, ipc-daemon2 does not seem to provide whatever
is needed by MIT-SHM, as I get that message, whether
I have ipc-daemon2 started or not.

I also think it's not a goodness that using setup to handle an
upgrade breaks the fonts package(s) and causes system 
failures  But then, that's just my opinion, and as we all know,
opinion are like rear-ends  Everyone has one, and they 
are usually all full of ..



On Tue, 16 Nov 2004 09:59:01 +0100 (MET), Alexander Gottwald wrote:

On Mon, 15 Nov 2004, Mark Paulus wrote:

 Xlib:  extension MIT-SHM missing on display :0.0.

Does window maker require SHM? Maybe you should consider running cygserver
for shared memory support.

 wmaker warning: could not load font: 
 helvetica:slant=0:weight=100:pixelsize=12.
 wmaker warning: could not load font: 
 helvetica:xlfd=-*-helvetica-bold-r-normal-*
 -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12.
 wmaker warning: could not load any fonts. Make sure your font installation 
 and l
 ocale settings are correct.

The font should be installed with the xorg-x11-fnts packages. Please verify 
that
the font is available:

$ xlsfonts -fn -*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*

should print about 30 entries. If it does not then do

$ rm /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
$ font-update

 wmaker fatal error: could not initialize WINGs widget set
 wmaker fatal error: it seems that there is already a window manager running

This does not seem to be related to the font issue. Are you sure there is no 
other window manager running?

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





Re: WMaker 0.90 broken?

2004-11-16 Thread Alexander Gottwald
On Tue, 16 Nov 2004, Mark Paulus wrote:

 Well, it does seem to be a font issue.  I used
 setup, and did a re-install of a couple of x11 font packages
 and everthing seems to be working just fine.
 
 On a side note, ipc-daemon2 does not seem to provide whatever
 is needed by MIT-SHM, as I get that message, whether
 I have ipc-daemon2 started or not.

You have to setup cygserver.

cygserver-config might help. And adding the server keyword to 
the CYGWIN environment variable. eg 

CYGWIN=server XWin.exe $OPTIONS


@all: Is there documentation available on this?
 
 I also think it's not a goodness that using setup to handle an
 upgrade breaks the fonts package(s) and causes system 
 failures  But then, that's just my opinion, and as we all know,
 opinion are like rear-ends  Everyone has one, and they 
 are usually all full of ..

It should not. But such things are sometimes hard to reproduce and 
hard to identify.

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


Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Nick Wisniewski
Dave Korn wrote:
that ought to give you enough information to find out
what's wrong.  Try ssh -v -v -v rest of options and see what that tells you.
I try this and it hangs with a response:
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 	 
/tmp/ssh-LuCdTO1472/xauthfile gen
erate unix:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null

When I kill sh.exe from the task manager, it hangs again immediately 
with the response:

debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2/dev/null
When I kill sh.exe again, it continues as normal.


Re: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Igor Pechtchanski
On Tue, 16 Nov 2004, Nick Wisniewski wrote:

 Dave Korn wrote:
  that ought to give you enough information to find out
  what's wrong.  Try ssh -v -v -v rest of options and see what that tells
  you.

 I try this and it hangs with a response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
 /tmp/ssh-LuCdTO1472/xauthfile generate unix:0 MIT-MAGIC-COOKIE-1 untrusted 
 timeout 1200 2/dev/null

 When I kill sh.exe from the task manager, it hangs again immediately with the
 response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2/dev/null

 When I kill sh.exe again, it continues as normal.

On Fri, Nov 12, 2004, I wrote among other things:

 I don't recall any option that would make ssh start a shell on the local
 machine.  Are your ssh config files customized?  Are you running keychain,
 or autossh, or any other ssh-related scripts?

xauth is a script (well, a program).  What happens if you run those exact
commands from the command line?  Also, try stracing the ssh process (as
Dave Korn suggested) and see where sh hangs (use something like strace -o
ssh.strace ssh [EMAIL PROTECTED] and browse ssh.strace).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


GLX acceleration?

2004-11-16 Thread Lester Ingber
In an effort to get better performance on my ThinkPad/XPPRo I'm
considering adding the experimental GLX acceleration module offered
under setup.  Is anyone using this?  How do you turn it on?

Thanks.

Lester



Re: GLX acceleration?

2004-11-16 Thread Alexander Gottwald
On Tue, 16 Nov 2004, Lester Ingber wrote:

 In an effort to get better performance on my ThinkPad/XPPRo I'm
 considering adding the experimental GLX acceleration module offered
 under setup.  Is anyone using this?  

I've tested it with some programs including the glut suite. Some of the 
glut examples fail but most work well. 

 How do you turn it on?

Just install it and run XWin_GL.exe instead of XWin.exe.

Any feedback is welcome. 

BTW: Only the multiwindow mode is useful with the accelerated server since
the OpenGL drawing surface is not translated to match the window boundaries
in windowed moded.

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


src/winsup/cygwin cygthread.cc cygthread.h cyg ...

2004-11-16 Thread cgf
CVSROOT:/cvs/src
Module name:src
Branch: noreparent
Changes by: [EMAIL PROTECTED]   2004-11-16 15:16:58

Modified files:
winsup/cygwin  : cygthread.cc cygthread.h cygtls.cc cygtls.h 
 dcrt0.cc exceptions.cc external.cc 
 fhandler_console.cc init.cc pinfo.cc select.cc 
 sigproc.cc timer.cc times.cc tlsoffsets.h 
 window.cc 

Log message:
Use cygthread.  Add release mechanism to cygthread so that it can be
used by threads which detach themselves.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.44.4.1r2=1.44.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.h.diff?cvsroot=srconly_with_tag=noreparentr1=1.21r2=1.21.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.17r2=1.17.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=srconly_with_tag=noreparentr1=1.24r2=1.24.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.223.2.1r2=1.223.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.220.2.1r2=1.220.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/external.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.67.2.1r2=1.67.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.131r2=1.131.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/init.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.37r2=1.37.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.121.2.1r2=1.121.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.102r2=1.102.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.201.2.2r2=1.201.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.2r2=1.2.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.54r2=1.54.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tlsoffsets.h.diff?cvsroot=srconly_with_tag=noreparentr1=1.15r2=1.15.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/window.cc.diff?cvsroot=srconly_with_tag=noreparentr1=1.33r2=1.33.4.1



Help needed with installation

2004-11-16 Thread Thomas Gumpinger
I think I'm going crazy...
When I try ton stall cygwin on my machine here (XEON 3200 with 3 GB of RAM) 
the installation seems to work perfectly...
But the etc directory stays empty, no passwd file is created, there is no 
/home
Well, I have checked the mailing list and changed the permissions of 
c:\cygwin so that absolutely everybody now has full rights on it...
Even this showed no effect when reinstalling cygwin...

/etc stays empty apart from termcap
C:\cygwin\etcdir
Datentrger in Laufwerk C: ist IBM_PRELOAD
Volumeseriennummer: 402D-C2A0
Verzeichnis von C:\cygwin\etc
16.11.2004  11:16DIR  .
16.11.2004  11:16DIR  ..
16.11.2004  11:16DIR  defaults
16.11.2004  11:17DIR  postinstall
16.11.2004  11:16DIR  preremove
16.11.2004  11:21DIR  setup
16.11.2004  11:16DIR  skel
16.07.2003  18:2712.546 termcap
  1 Datei(en) 12.546 Bytes
  7 Verzeichnis(se), 16.604.336.128 Bytes frei
below is the output from cycheck -srv...
and i always get this strange error : garbled output from `id' command - no 
uid= found


Cygwin Configuration Diagnostics
Current System Time: Tue Nov 16 11:42:27 2004
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Programme\PC-Doctor for Windows\services
c:\cygwin\bin
C:\Programme\Symantec\pcAnywhere\
garbled output from `id' command - no uid= found
garbled output from `id' command - no uid= found
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
CYGWIN = `ntsec tty'
Path = 
`C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\PC-Doctor 
for Windows\services;c:\cygwin\bin;C:\Programme\Symantec\pcAnywhere\'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\Admin\Anwendungsdaten'
CLIENTNAME = `HOFA'
CommonProgramFiles = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `RENDERER'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Dokumente und Einstellungen\Admin'
LOGONSERVER = `\\RENDERER'
NUMBER_OF_PROCESSORS = `2'
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 5, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0205'
ProgramFiles = `C:\Programme'
PROMPT = `$P$G'
SESSIONNAME = `RDP-Tcp#1'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOKUME~1\Admin\LOKALE~1\Temp'
TMP = `C:\DOKUME~1\Admin\LOKALE~1\Temp'
USERDOMAIN = `RENDERER'
USERNAME = `Admin'
USERPROFILE = `C:\Dokumente und Einstellungen\Admin'
windir = `C:\WINDOWS'
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
 (default) = `/cygdrive'
 cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `C:\cygwin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `C:\cygwin/bin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `C:\cygwin/lib'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a:  fd N/AN/A
c:  hd  NTFS 33353Mb  53% CP CS UN PA FC IBM_PRELOAD
d:  cd  CDFS   320Mb 100%CS UN   PCA11C
C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive
Found: c:\cygwin\bin\awk.exe
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: c:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: c:\cygwin\bin\grep.exe
Not Found: ld
Found: c:\cygwin\bin\ls.exe
Not Found: make
Found: c:\cygwin\bin\mv.exe
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Found: c:\cygwin\bin\sh.exe
Found: c:\cygwin\bin\tar.exe
  55k 2004/09/14 c:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
 cygbz2-1.dll v0.0 ts=2004/9/14 6:16
  18k 2004/07/06 c:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
 cygcharset-1.dll v0.0 ts=2004/7/6 20:09
  40k 2004/10/10 c:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
 cygform-8.dll v0.0 ts=2004/10/10 10:33
  45k 2001/04/25 c:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
 cygform5.dll v0.0 ts=2001/4/25 7:28
  35k 2002/01/09 c:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
 cygform6.dll v0.0 ts=2002/1/9 7:03
  48k 2003/08/09 

rlogin with trusted account still prompts for password.

2004-11-16 Thread jean . samoise
Hi. I am having trouble with cygwin.My PC runs WINDOWS 2000. Trying to 
rlogin to a unix machine as trusted account, with the correct configured 
.rhost files, so including the account used in the rlogin, the password 
prompt still comes. One clue : the id command gives for uid not exactly 
my NT account. It's in fact my NT account with the first character caps 
on.
Doing the same experience with another PC, logging on with my NT 
account, the rlogin is trusted. So something must be wrong with my 
PC's installation.
Help please.

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


For me this worked:

2004-11-16 Thread Ronny Schoeniger
Delete the leading TAB in line 70, so that the first character of the 
line is the E of EOF

 60  # Run all of the profile.d scripts
 61  # Note that these are supplied by separate packages
 62  # Ascending alphanumerical order enforced
 63  if [ -d /etc/profile.d ]; then
 64  while read f; do
 65  if [ -f ${f} ]; then
 66  . ${f}
 67  fi
 68  done - EOF
 69  `/bin/find /etc/profile.d -iname '*.sh' -type f | sort`
 70  EOF
^
Greets
Ronny
--
Unsubscribe info:  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: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Nick Wisniewski
 Sent: 15 November 2004 19:58

  Is this really sh.exe?  Can you check whether this sh.exe process is
  running before you start ssh (e.g., compare the outputs of 
 ps -ef before
  and after ssh -X)?
 before
 bash-2.05b$ ps -ef
   UID PIDPPID TTY STIME COMMAND
  Nick2888   1 con  13:34:32 /usr/bin/bash
  Nick4052   1 con  13:37:33 /usr/bin/bash
  Nick 2364052 con  13:39:22 /usr/bin/ps
 
 after
 bash-2.05b$ ps -ef
   UID PIDPPID TTY STIME COMMAND
  Nick2888   1 con  13:34:32 /usr/bin/bash
  Nick4052   1 con  13:37:33 /usr/bin/bash
  Nick39362888 con  13:40:16 /usr/bin/ssh
  Nick40123936 con  13:40:25 /usr/bin/sh
  Nick 9364052 con  13:40:29 /usr/bin/ps
 

 As I mentioned before, if I kill sh.exe from the task manager, 
 everything works fine (i.e. it finishes logging in and I can display 
 things from the remote machine).

  It has to be ssh trying to execute some system(..) call prior to opening the
connection, and the problem is with the command in question; that's hanging up,
openssh is waiting for it to complete boom!  Although I'm not familiar with
the source code and haven't studied it (and 'grep' is _not_ a source analysis
tool!), nonetheless a quick grep lends at least some support to this hypothesis:

[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2 grep -w sh *.[ch]
auth.c:  * legal, and means /bin/sh.
defines.h:# define _PATH_BSHELL /bin/sh
pathnames.h: * /bin/sh before starting the shell or command if they exist.  They
 will be
session.c:   * legal, and means /bin/sh.
sshconnect.c:* Use exec to avoid sh -c processes on some platforms
[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2

  That comment in sshconnect.c looks highly significant to me!

  You could probably strace openssh, then find out what parameters sh.exe is
being called with, and see if sh.exe shows the same behaviour when you try the
same command from a prompt.  I think the problem that needs tracking down will
turn out to be with the commands that openssh is relying on sh to execute,
rather than anything intrinsic to openssh itself.

  Actually strace probably isn't necessary.  I see lines like this

debug(Executing proxy command: %.500s, command_string);

and oh look!  like this!

/*
 * Run $HOME/.ssh/rc, /etc/ssh/sshrc, or xauth (whichever is found
 * first in this order).
 */
static void
do_rc_files(Session *s, const char *shell)
{
FILE *f = NULL;
char cmd[1024];
int do_xauth;
struct stat st;

do_xauth =
s-display != NULL  s-auth_proto != NULL  s-auth_data != NULL;

/* ignore _PATH_SSH_USER_RC for subsystems */
if (!s-is_subsystem  (stat(_PATH_SSH_USER_RC, st) = 0)) {
snprintf(cmd, sizeof cmd, %s -c '%s %s',
shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
if (debug_flag)
fprintf(stderr, Running %s\n, cmd);
f = popen(cmd, w);

which make me think you ought to just be able to run ssh with some debug options
on the command line, and that ought to give you enough information to find out
what's wrong.  Try ssh -v -v -v rest of options and see what that tells you.




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: URGENT HELP: How does a cygwin.dll by passes ws2_32.dll?

2004-11-16 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Nagamani Veerappa
 Sent: 16 November 2004 06:31

 Dear experts,
 
 I wonder how can a exe compiled using gcc on cygwin by passes 
 ws2_32.dll?
 
 Basically I have a windows program compiled using MSVC, need 
 to use socket
 interfaces provided by cygwin...
 I tried linking cygwin1.dll with MSVC, with the great help of 
 ALastair, who
 had written tips (in this forum) to achieve that.

  Just because you've successfully linked two incompatible object files together
doesn't mean that what you have is valid code.  The symbols may match up but
nothing guarantees the data structures, ABI, functionality, or anything else
actually match up.

 But it seems cygwin1.lib/cygwin1.dll doesnot seems to expose socket
 interfaces..

 nm /bin/cygwin1.dll | grep sock  says you're wrong: here are just some of the
symbols it finds

610d7128 T [EMAIL PROTECTED]
610d7298 T [EMAIL PROTECTED]
610d72b8 T [EMAIL PROTECTED]
610d7340 T [EMAIL PROTECTED]
610d7480 T [EMAIL PROTECTED]
610d74c0 T [EMAIL PROTECTED]
6104a6b0 T _socketpair

..etc etc.  That looks a lot like it's exposing socket interfaces to me.

 If I link with ws2_32.lib it links with ws2_32.dll ..
 Which I don't want...

  So, let me get you clear:  you're saying that if you link with ws2_32, it gets
linked to ws2_32, and you don't want that?  Well just don't do that then!

 So please help, by answering how can I bypass ws2_32.dll?

  Simple.  Just spend the next ten years writing your own POSIX compatibility
dll that uses microsoft's runtime.  It won't be open source, of course, because
microsoft's runtime libraries aren't, but it will do what you want.

  Look.  Either write a win32 program using MSVC, which is the compiler for
writing win32 programs, (or indeed using gcc -mno-cygwin, which means you can't
use cygwin functions), or write a POSIX program using gcc and cygwin library.

  Your question is a bit like saying I use a tape recorder to make tape
recordings and a camera to take photographs.  How can I use my tape recorder to
take photos?

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: Getting latest version of cygwin1.dll

2004-11-16 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Gary R. Van Sickle
 Sent: 16 November 2004 04:20
 To: cygwin
 Subject: RE: Getting latest version of cygwin1.dll
 
  How old are you not yet to have learned that saying 'Hey, you 
  stupid bastards, you guys really suck, help me out now!' 
 doesn't work?
 
 
 Yeah, how old is cgf anyway?
 
 ZING! ;-)
 
 -- 
 Gary R. Van Sickle


  TITTTL!  TITTTL!   TITTTL!  bock-bock-bgaaawk!


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: /etc/profile error

2004-11-16 Thread kynn


   X-Original-To: [EMAIL PROTECTED]
   Reply-To: Cygwin List [EMAIL PROTECTED]
   X-Sender: 
   Date: Mon, 15 Nov 2004 18:42:19 -0500
   From: Larry Hall [EMAIL PROTECTED]

   At 05:38 PM 11/15/2004, you wrote:

   Whenever I bring up a Cygwin shell, I get the following error:
   
 bash: /etc/profile: line 196: syntax error: unexpected end of file

   http://cygwin.com/ml/cygwin-apps/2004-11/msg00106.html

   Look for a very current mirror and update.

Sorry for the very ignorant question, but what is one supposed to do
with base-files-3.1-4.tar.bz2?  Up to now I've been doing all
installations with the Cygwin installer application I downloaded from
the Cygwin site.  Also, I customized this installation substantially.

kj

--
Unsubscribe info:  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: URGENT HELP: How does a cygwin.dll by passes ws2_32.dll?

2004-11-16 Thread Nagamani Veerappa
Dave,

Thanks for the response atleast..
I understand that anyboody would really laugh...when a dll is exposing
symbols..but I can't link them

But thats true..probably because of the incompatibilities,linking would not
be successfull at ALL
I have got it SOLVED I made another DLL..and some crazy stuffs..


So Even I can laugh now...:))

Good that atleast I made you LAUGH !!

Nothing is wrong anywhere..
Enjoy!!
Nagamani



-Original Message-
From: Dave Korn [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 18:47
To: [EMAIL PROTECTED]
Subject: RE: URGENT HELP: How does a cygwin.dll by passes ws2_32.dll?


 -Original Message-
 From: cygwin-owner On Behalf Of Nagamani Veerappa
 Sent: 16 November 2004 06:31

 Dear experts,
 
 I wonder how can a exe compiled using gcc on cygwin by passes 
 ws2_32.dll?
 
 Basically I have a windows program compiled using MSVC, need 
 to use socket
 interfaces provided by cygwin...
 I tried linking cygwin1.dll with MSVC, with the great help of 
 ALastair, who
 had written tips (in this forum) to achieve that.

  Just because you've successfully linked two incompatible object files
together
doesn't mean that what you have is valid code.  The symbols may match up but
nothing guarantees the data structures, ABI, functionality, or anything else
actually match up.

 But it seems cygwin1.lib/cygwin1.dll doesnot seems to expose socket
 interfaces..

 nm /bin/cygwin1.dll | grep sock  says you're wrong: here are just some of
the
symbols it finds

610d7128 T [EMAIL PROTECTED]
610d7298 T [EMAIL PROTECTED]
610d72b8 T [EMAIL PROTECTED]
610d7340 T [EMAIL PROTECTED]
610d7480 T [EMAIL PROTECTED]
610d74c0 T [EMAIL PROTECTED]
6104a6b0 T _socketpair

..etc etc.  That looks a lot like it's exposing socket interfaces to me.


 If I link with ws2_32.lib it links with ws2_32.dll ..
 Which I don't want...

  So, let me get you clear:  you're saying that if you link with ws2_32, it
gets
linked to ws2_32, and you don't want that?  Well just don't do that then!

 So please help, by answering how can I bypass ws2_32.dll?

  Simple.  Just spend the next ten years writing your own POSIX
compatibility
dll that uses microsoft's runtime.  It won't be open source, of course,
because
microsoft's runtime libraries aren't, but it will do what you want.

  Look.  Either write a win32 program using MSVC, which is the compiler for
writing win32 programs, (or indeed using gcc -mno-cygwin, which means you
can't
use cygwin functions), or write a POSIX program using gcc and cygwin
library.

  Your question is a bit like saying I use a tape recorder to make tape
recordings and a camera to take photographs.  How can I use my tape recorder
to
take photos?

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/


**
The information contained in this email and any attachments
is likely to be confidential and legally privileged, and is for the
intended recipient named above only. Any copying, 
dissemination, disclosure of or use of this email or its 
attachments unless authorised by us is prohibited, except 
that you may forward this email and/or attachments to a third 
party on a strict need to know basis. 

If you have received this email in error, please notify us 
immediately by replying to the email or by calling 
+91-80-22297030. Please then delete this email and any full
or partial copies of it.

You as the intended recipient must be aware and accept 
that emailis not a totally secure communications medium.

Although we have taken all reasonable steps to make 
sure this email and any attachments are free from viruses, 
we do not (to the extent permitted by law) accept any liability 
whatsoever for any virus infection and/or compromise of 
security caused by this email and any attachment.

No contract may be formed or documents served by you 
on or with us by this email or any attachments unless 
expressly agreed otherwise by us. 

Any views expressed in this email or attachments by 
an individual are not necessarily those of UbiNetics 
India (Private) Limited.

**


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



RE: URGENT HELP: How does a cygwin.dll by passes ws2_32.dll?

2004-11-16 Thread Dave Korn
 -Original Message-
 From: Nagamani Veerappa 
 Sent: 16 November 2004 13:43

 Dave,
 
 Thanks for the response atleast..
 I understand that anyboody would really laugh...when a dll is exposing
 symbols..but I can't link them
 
 But thats true..probably because of the 
 incompatibilities,linking would not
 be successfull at ALL
 I have got it SOLVED I made another DLL..and some crazy stuffs..

  You have definitely found the wisest answer: when what you wish to attempt is
impossible (or even if it is not impossible but very very very difficult),
rather than waste many many days trying to fit a square peg into a round hole,
the best course of action is to try a new approach altogether!

 So Even I can laugh now...:))
 
 Good that atleast I made you LAUGH !!
 
 Nothing is wrong anywhere..
 Enjoy!!
 Nagamani

  Glad you got it working!


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: /etc/profile error

2004-11-16 Thread Harig, Mark
 
http://cygwin.com/ml/cygwin-apps/2004-11/msg00106.html
 
Look for a very current mirror and update.
 
 Sorry for the very ignorant question, but what is one supposed to do
 with base-files-3.1-4.tar.bz2?  Up to now I've been doing all
 installations with the Cygwin installer application I downloaded from
 the Cygwin site.  Also, I customized this installation substantially.
 
 kj
 
 --

Simply let 'setup.exe' install it as you have been.

The next update to base-files (version 3.1-4) fixes
the problem that you have been seeing in /etc/profile.
The installer (setup.exe) will install a new copy
of /etc/profile.

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



mailling list ID tag

2004-11-16 Thread D N
I apologize if this has been suggested before...
Would it be possible to ask the kind Cygwin people to put a tag on their 
mailing list?

For example, I am subscribed to several other lists that use:
[Subject] as their tag. This makes filtering into different folders easy and 
I can find what I want to read more easily.


--
Unsubscribe info:  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: mailling list ID tag

2004-11-16 Thread Richard Campbell
A google search for: [cygwin] tag mailing list site:cygwin.com would be 
useful.

The following posts:
http://www.cygwin.com/ml/cygwin/2004-02/msg00831.html (other headers to filter 
on)
http://www.cygwin.com/ml/cygwin/2004-02/msg00800.html (a subject will not be 
added)

especially.

-Richard Campbell.

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



cygserver won't start after update

2004-11-16 Thread Bill Harris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Forgive me if this is a FAQ; I checked the FAQ, the User's Guide, and
the mailiing list archive without turning up anything that looked
promising.

,[ Problem Summary ]
| I updated my cygwin installation on 2004-11-15; since then, I can't run
| PostgreSQL because cygserver is hung in a starting state.
`

I had updated my Windows XP Pro system previously on 2004-11-03, and all
seemed okay (even if I don't run PostgreSQL daily, I do a backup every
day or two, and the backup runs pgdumpall).

On 2004-11-15, I ran setup.exe, and it wanted to update (IIRC) three
groups: cygwin base, cygwin1, and postgresql.  I selected keep for
postgresql (I didn't have time to do a backup in case I needed to
restore), and I let it update the other two.  I seem to recall a popup
window saying it couldn't install cygwin1.dll or some such, but I was
busy and just closed it.  I then rebooted, as requested (and have done
so 1 or 2 more times since then).

Here is the (hopefully) pertinent section from setup.log:

..
2004/11/15 19:51:14 site: http://mirrors.rcn.net/pub/sourceware/cygwin
2004/11/15 19:51:57 Downloaded C:\Documents and Settings\Bill 
Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/base-files/base-files-3.1-4.tar.bz2
2004/11/15 19:52:11 Downloaded C:\Documents and Settings\Bill 
Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/cygwin/cygwin-1.5.12-1.tar.bz2
2004/11/15 19:52:11 Uninstalling base-files
2004/11/15 19:52:11 running: C:\cygwin\bin\sh.exe -c 
/etc/preremove/base-files.sh
2004/11/15 19:52:13 Uninstalling cygwin
2004/11/15 19:52:15 Installing file://C:\Documents and Settings\Bill 
Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/base-files/base-files-3.1-4.tar.bz2
2004/11/15 19:52:15 Installing file://C:\Documents and Settings\Bill 
Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/cygwin/cygwin-1.5.12-1.tar.bz2
2004/11/15 19:52:16 Failed to open cygfile:///usr/bin/cygwin1.dll for writing.
2004/11/15 19:52:17 Scheduled reboot replacement of file 
C:\cygwin/bin//cygwin1.dll with C:\cygwin/bin//cygwin1.dll.new
2004/11/15 19:52:21 Failed to open cygfile:///usr/sbin/cygserver.exe for 
writing.
2004/11/15 19:52:21 Scheduled reboot replacement of file 
C:\cygwin/usr/sbin/cygserver.exe with C:\cygwin/usr/sbin/cygserver.exe.new
2004/11/15 19:52:22 mbox note: In-use files have been replaced. You need to 
reboot as soon as possible to activate the new versions. Cygwin may operate 
incorrectly until you reboot.
2004/11/15 19:52:27 Visited: 120 nodes out of 533.
..

Later I tried to run a backup, and it failed.  Postmaster was not
running; when I tried to start it with Windows Services, it said
postmaster couldn't run because cygserver was starting (error 1068).  I
checked: CYGWIN cygserver and CYGWIN cron were the only two processes
with a Starting status, and cygserver was in its dependency group.  If I
right-click on cygserver, all of the Start, Stop, ... Restart options
are grayed out.  It's set to Automatic startup, path is
C:\cygwin\bin\cygrunsrv.exe, it will log on as Local System account, and
the only component depending upon it is postmaster.

Cygwin bash shell starts up fine today, and setup can run just fine
(I again set postgresql to keep), but cygserver won't finish
starting.  I made my last backup 2004-11-10, so that's the last time I
can easily prove postmaster was running, although I may have been
running it at least one day later.   The CYGWIN variable is set to
server, as required.  /etc/cygserver.conf has only one option
uncommented: kern.ipc.semmns 100

Any thoughts about anything that changed in the last few days which
could account for this?  Any data I should check to research this more?

Thanks,

Bill
- -- 
Bill Harris
Facilitated Systems
http://facilitatedsystems.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFBmivS3J3HaQTDvd8RAvHhAJ9JVaJgc/tzJQdKFDFbn/WH/l0ztwCfTh7d
BRKe6PXOMfQBWZyQzJJVHyA=
=z+Th
-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/



ps2pdf: no output?

2004-11-16 Thread Brian Noble
I've got a freshly-updated cygwin distribution, using sigunix.crwu.edu's mirror.

For reasons I can't understand, ps2pdf silently produces no output.  For 
example:

[EMAIL PROTECTED] ~/my-documents/pedigree
$ ls  
CVS   prop.bib  prop.log  prop.tex
prop.aux  prop.dvi  prop.ps   prop.tex.~1.1.1.1.~

[EMAIL PROTECTED] ~/my-documents/pedigree
$ ps2pdf prop.ps prop.pdf

[EMAIL PROTECTED] ~/my-documents/pedigree
$ ls
CVS   prop.bib  prop.log  prop.tex
prop.aux  prop.dvi  prop.ps   prop.tex.~1.1.1.1.~

I've tried reinstalling the three ghostscript packages, to no avail.  strace 
cannot seem to start the process, again for reasons I don't understand.  Any 
advice about where to start looking?

Cheers,
-b



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



g++ 3.4.1

2004-11-16 Thread Martin Magnusson
I just tried upgrading from g++ 3.3.1 (which currently gives me an 
internal compiler error on my code) to the 3.4.1 version available 
from the Cygwin setup. After doing so, however, I get a flood of error 
messages about the many templates I have (such as template-id xxx for 
yyy does not match any template declaration and several other).

Should I start to adapt my code to gcc 3.4.1, or would it be safer to 
wait until it is available as default from the setup? Is it likely that 
the error messages I get is due to the Cygwin port, or would it be g++ 
itself?

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


scp exits often with -1

2004-11-16 Thread Jörg Schaible
Hi folks,

after upgrading to latest cygwin1.dll and openssh I have massive problems with 
ssh/scp. Using e.g. the same scp command it fails from time to time called from 
the command line. Unfortunately it fails more often when called from a shell 
script and quite every time when this shell script is called from a DOS batch 
called by a Java app.

See the output of scp -v -v in the good version:

 = % 
 $ scp -v -v project.xml [EMAIL 
PROTECTED]:/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 Executing: program /usr/bin/ssh host es3.elsag.de, user jos, command scp -v -t 
/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to es3.elsag.de [192.168.2.73] port 22.
 debug1: Connection established.
 [snip]
 debug1: Authentication succeeded (publickey).
 debug2: fd 4 setting O_NONBLOCK
 debug2: fd 5 setting O_NONBLOCK
 debug1: channel 0: new [client-session]
 debug2: channel 0: send open
 debug1: Entering interactive session.
 debug2: callback start
 debug2: client_session2_setup: id 0
 debug1: Sending command: scp -v -t 
/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 debug2: channel 0: request exec confirm 0
 debug2: callback done
 debug2: channel 0: open confirm rwindow 0 rmax 16384
 debug2: channel 0: rcvd adjust 32768
 Sending file modes: C0755 5432 project.xml
 project.xml
   100% 5432 5.3KB/s   00:00
 debug2: channel 0: read=0 rfd 4 len 0
 debug2: channel 0: read failed
 debug2: channel 0: close_read
 debug2: channel 0: input open - drain
 debug2: channel 0: ibuf empty
 debug2: channel 0: send eof
 debug2: channel 0: input drain - closed
 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
 debug2: channel 0: rcvd eof
 debug2: channel 0: output open - drain
 debug2: channel 0: obuf empty
 debug2: channel 0: close_write
 debug2: channel 0: output drain - closed
 debug2: channel 0: rcvd close
 debug2: channel 0: almost dead
 debug2: channel 0: gc: notify user
 debug2: channel 0: gc: user detached
 debug2: channel 0: send close
 debug2: channel 0: is dead
 debug2: channel 0: garbage collecting
 debug1: channel 0: free: client-session, nchannels 1
 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status 0
 = % 

Here's the output of the bad version:

 = % 
 $ scp -v -v project.xml [EMAIL 
PROTECTED]:/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 Executing: program /usr/bin/ssh host es3.elsag.de, user jos, command scp -v -t 
/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to es3.elsag.de [192.168.2.73] port 22.
 debug1: Connection established.
 [snip]
 debug1: Authentication succeeded (publickey).
 debug2: fd 4 setting O_NONBLOCK
 debug2: fd 5 setting O_NONBLOCK
 debug1: channel 0: new [client-session]
 debug2: channel 0: send open
 debug1: Entering interactive session.
 debug2: callback start
 debug2: client_session2_setup: id 0
 debug1: Sending command: scp -v -t 
/devel/maven/home/public_html/repo/essencio-perActa/poms/idxmgr-1.0.4-SNAPSHOT.pom
 debug2: channel 0: request exec confirm 0
 debug2: callback done
 debug2: channel 0: open confirm rwindow 0 rmax 16384
 debug2: channel 0: rcvd adjust 32768
 Sending file modes: C0755 5432 project.xml
 project.xml
   100% 5432 5.3KB/s   00:00
 debug2: channel 0: read=0 rfd 4 len 0
 debug2: channel 0: read failed
 debug2: channel 0: close_read
 debug2: channel 0: input open - drain
 debug2: channel 0: ibuf empty
 debug2: channel 0: send eof
 debug2: channel 0: input drain - closed
 debug2: channel 0: rcvd eof
 debug2: channel 0: output open - drain
 debug2: channel 0: obuf empty
 debug2: channel 0: close_write
 debug2: channel 0: output drain - closed
 debug2: channel 0: rcvd close
 debug2: channel 0: almost dead
 debug2: channel 0: gc: notify user
 debug2: channel 0: gc: user detached
 debug2: channel 0: send close
 debug2: channel 0: is dead
 debug2: channel 0: garbage collecting
 debug1: channel 0: free: client-session, nchannels 1
 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status -1
 = % 

The singel difference is, that in the successful case the client sends an 
exit-state, that is not received in the unseccussful version. The problem 
manifests more often with using a shell script and a DOS batch:

 = scpwin 
 #!/bin/sh

 for a in $@;
 do
case $a 

Re: g++ 3.4.1

2004-11-16 Thread Mikael Åsberg
Martin Magnusson  wrote:
I just tried upgrading from g++ 3.3.1 (which currently gives me an
internal compiler error on my code) to the 3.4.1 version available from
the Cygwin setup. After doing so, however, I get a flood of error messages
about the many templates I have (such as template-id xxx for yyy does not
match any template declaration and several other).
Should I start to adapt my code to gcc 3.4.1, or would it be safer to wait
until it is available as default from the setup? Is it likely that the
error messages I get is due to the Cygwin port, or would it be g++ itself?
/ martin
g++ version 3.4.x is alot less forgiving (read: more compliant) than
earlier versions of g++ (GCC) were regarding standard C++. This is a good
thing.
I haven't used the test version you mention but I've been compiling my
own versions of GCC under Cygwin for some time and right now
I am using the latest version (3.4.3). I haven't had any problems other
than not being able to use -mno-cygwin anymore but I can live with that.
So, you probably have problems with your C++ code, i.e. it's not standard-
compliant but GCC used to accept it. Crank up the warning levels and turn
off compiler extensions and start fixing the code.
/ Mikael 


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


LANG=1033

2004-11-16 Thread Michael Hipp
I just did a fresh install on a WinXP SP2 system. After PostgreSQL 
refused to run 'initdb' with some error like 1033 is an invalid 
parameter, I noticed that it has LANG=1033 in the environment. I 
checked several other Cygwin installations and none of them even have a 
LANG variable.

Doing 'export LANG=' allowed initdb to run, but I'm wondering how I got 
this LANG variable and if I should get rid of it? And where to get rid 
of it?

Any help appreciated,
Michael Hipp
--
Unsubscribe info:  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: LANG=1033

2004-11-16 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Michael Hipp
 Sent: 16 November 2004 18:48

 I just did a fresh install on a WinXP SP2 system. After PostgreSQL 
 refused to run 'initdb' with some error like 1033 is an invalid 
 parameter, I noticed that it has LANG=1033 in the environment. I 
 checked several other Cygwin installations and none of them 
 even have a 
 LANG variable.
 
 Doing 'export LANG=' allowed initdb to run, but I'm wondering 
 how I got 
 this LANG variable and if I should get rid of it? And where 
 to get rid 
 of it?

  It's an MS Office parameter.  Since you don't want to delete it from your main
environment but only from the cygwin environment, maybe do so in /etc/profile?

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: /etc/profile error

2004-11-16 Thread Igor Pechtchanski
On Tue, 16 Nov 2004, Harig, Mark wrote:

 http://cygwin.com/ml/cygwin-apps/2004-11/msg00106.html
 
 Look for a very current mirror and update.
 
  Sorry for the very ignorant question, but what is one supposed to do
  with base-files-3.1-4.tar.bz2?  Up to now I've been doing all
  installations with the Cygwin installer application I downloaded from
  the Cygwin site.  Also, I customized this installation substantially.
 
  kj

 Simply let 'setup.exe' install it as you have been.

 The next update to base-files (version 3.1-4) fixes
 the problem that you have been seeing in /etc/profile.
 The installer (setup.exe) will install a new copy
 of /etc/profile.

Unfortunately, it's not that simple.  The base-files preremove script will
compare the current version of /etc/profile with the default version, and
will only remove the current version if it's identical to the default.
If the current version is corrupted, it will be treated as customized and
left alone.

So, to the OP: once you upgrade, see if /etc/profile is the same as
/etc/defaults/etc/profile, and if it isn't, copy the latter over the
former (that is, if you really didn't have your own customizations).  If
you did have your own customizations of /etc/profile, I suggest you try to
transfer them over to the new version.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



very slow/nonfunctional updatedb?

2004-11-16 Thread Lester Ingber
I think this problem is correlated to my installing Norton GoBack in
their SystemWorks 2005 Premier edition.  However, I do not seem to
be sufferring any great slowdown on other Cygwin utilities.

gupdatedb usually takes 18-19 minutes to run on my ThinkPad/XPPro.
The current job is taking over 2 hours, and still nothing has been
written to /usr/var/locatedb.n, or to /tmp, var/tmp, etc.

Thanks.,

Lester



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



[ANNOUNCEMENT] Update: chere-0.5-2

2004-11-16 Thread Dave

chere is a Cygwin package to manage Shell Here functionality.
It adds items to the Explorer Drive and Directory context menus. The named
shell is started in the selected drive/directory when the menu item is chosen.

If, like me, you're paranoid about your Registry, chere can display what it
would do rather than actually do it. It can also report what shells have been
added to the context menus, and the associated keys.

Finally, chere can remove any context menu items it has created.

Please consult the man page for details on usage (man chere).

Changes (since 0.4-1 (test))
---
 * Add install for for current user
 * Improved key handling for install/uninstall
 * Man page added

Known issues


The default zsh and tcsh startup scripts are in the process of being updated to
work with chere. In the meantime these shells will start in the home directory
instead of in that desired.

chere adds an uninstall item to the Windows Control Panel for each shell context
menu you add using chere. This feature relies on chere, and as such does not
work after chere itself has been uninstalled. If you have context menus and plan
to remove Cygwin, uninstall the context menus before you uninstall Cygwin :)


Enjoy,

--
Dave

Please report any bugs to the Cygwin mailing list, following the procedure in
http://cygwin.com/problems.html. In addition you should attach the (verbatim)
output of `chere -r`.

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

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***


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

[EMAIL PROTECTED]

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

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


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




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.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/



Sound generator starting package for Linux/Cygwin

2004-11-16 Thread Theo Verelst
L.S.
I've started a sound generator package on Linux and Cygwin consisting
of a sound server program based on Portaudio library connected with
a Tcl/Tk script with user interface, in this case starting with
a 8 harmonics sliders like in an organ.
See:
   http://82.168.209.239/Soundtest
Regards,
   Theo Verelst
   [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/


Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Nick Wisniewski
Dave Korn wrote:
that ought to give you enough information to find out
what's wrong.  Try ssh -v -v -v rest of options and see what that tells you.
I try this and it hangs with a response:
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 	 
/tmp/ssh-LuCdTO1472/xauthfile gen
erate unix:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null

When I kill sh.exe from the task manager, it hangs again immediately 
with the response:

debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2/dev/null
When I kill sh.exe again, it continues as normal.
--
Unsubscribe info:  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: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Igor Pechtchanski
On Tue, 16 Nov 2004, Nick Wisniewski wrote:

 Dave Korn wrote:
  that ought to give you enough information to find out
  what's wrong.  Try ssh -v -v -v rest of options and see what that tells
  you.

 I try this and it hangs with a response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
 /tmp/ssh-LuCdTO1472/xauthfile generate unix:0 MIT-MAGIC-COOKIE-1 untrusted 
 timeout 1200 2/dev/null

 When I kill sh.exe from the task manager, it hangs again immediately with the
 response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2/dev/null

 When I kill sh.exe again, it continues as normal.

On Fri, Nov 12, 2004, I wrote among other things:

 I don't recall any option that would make ssh start a shell on the local
 machine.  Are your ssh config files customized?  Are you running keychain,
 or autossh, or any other ssh-related scripts?

xauth is a script (well, a program).  What happens if you run those exact
commands from the command line?  Also, try stracing the ssh process (as
Dave Korn suggested) and see where sh hangs (use something like strace -o
ssh.strace ssh [EMAIL PROTECTED] and browse ssh.strace).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



ampersand at character 2048 in a command is lost in make

2004-11-16 Thread Jeremy Broughton




Using cygwin 1.3.10 and 1.5.7, if an '' ampersand character appears at
character 2048 of a makefile command, the ampersand is lost from the
command.  If white-space is manipulated to move the  one character forward
or backward in the makefile command, everything works fine.

I have attached a testcase makefile below that reproduces the problem with
simple makefile echo commands.  Run make fail to see the failing case
when an ampersand is at character 2048.  Run make ok1 and make ok2 to
see the same command succeed if the ampersand is shifted one character left
or right respectively.  Run make ok3 to see the same command succeed if
character 2048 appears in the middle of the echo command.

(See attached file: makefile)

Thanks.

Jeremy Broughton
e-mail: [EMAIL PROTECTED]



makefile
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: ampersand at character 2048 in a command is lost in make

2004-11-16 Thread Christopher Faylor
On Tue, Nov 16, 2004 at 04:56:51PM -0500, Jeremy Broughton wrote:
Using cygwin 1.3.10 and 1.5.7, if an '' ampersand character appears at
character 2048 of a makefile command, the ampersand is lost from the
command.  If white-space is manipulated to move the  one character
forward or backward in the makefile command, everything works fine.

I have attached a testcase makefile below that reproduces the problem
with simple makefile echo commands.  Run make fail to see the failing
case when an ampersand is at character 2048.  Run make ok1 and make
ok2 to see the same command succeed if the ampersand is shifted one
character left or right respectively.  Run make ok3 to see the same
command succeed if character 2048 appears in the middle of the echo
command.

(See attached file: makefile)

I tried this with the current version of cygwin and make and the output
from fail and ok1 was identical.  I tried on both textmode and binmode
mounts (not that that should make a difference).

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: What to do when setup fails?

2004-11-16 Thread luke . kendall
On 11 Nov, Reini Urban replied to:
   I watched in task manager as setup's memory use climbed from 50MB to 
   127MB over a period of a few minutes.  When next I looked nothing had 
   visibly changed, except task manager reckoned setup was now using only 
   12MB (again climbing steadily upwards at about 5MB per minute), even as 
   the Performance task manager view showed system memory use had climbed 
   to 880MB (and still climbing). 
   
  Looks like it crawls your local-package-dir tree (aka Select download  
  directory) to look for all available setup.ini's and tar.bz2 packages. 
  You should really check your /var/log/setup.log.full what's going on and  
  not only taskman, to see that's something going on. 

It was very strange: it wrote nothing in setup.log.  I even searched on
the whole drive for other copies of setup.log, and there weren't any.

  You really should provide a meaningful local-package-dir otherwise it  
  will crawl your entire root, which could last 30 mins if it's cygfile:/// 
  But maybe there's an undetected recursive loop possibility somewhere.  
  Have to investigate. (Note: the fromcwd() step) 

The local package directory was set to c:\temp\cygwin, so that it would
have a whole directory just to itself.

  Do you have junctions, directory hardlinks under your local-package-dir? 

I don't know what a junction is, sorry.  Since the c:\temp\cygwin
didn't exist until setup.exe created it, I assume there would have been
none however.

The machine in question has been returned to get its hard drive
replaced, BTW.

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/



Re: ampersand at character 2048 in a command is lost in make

2004-11-16 Thread Jeremy Broughton




With the latest version of cygwin, the windows '' command separators no
longer work at all unless you use make --win32, which I guess is logical.
I have confirmed that if you use the --win32 make flag using the latest
cygwin, you will see the failure.  Running make --win32 fail fails, but
running make --win32 ok1 works fine.

Jer.

Jeremy Broughton
Staff Software Developer
Windows Team Lead, IBM DB2 Development Infrastructure
Home Office:  403-210-1614,   Voice Mail: 905-413-3983
e-mail: [EMAIL PROTECTED]





   
 Christopher   
 Faylor
 cgf-no-personal-  To 
 [EMAIL PROTECTED] [EMAIL PROTECTED]   
 in.comcc 
   
 11/16/2004 03:30  Subject 
 PMRe: ampersand at character 2048 in  
   a command is lost in make   
   
 Please respond to 
  cygwin   
   
   
   




On Tue, Nov 16, 2004 at 04:56:51PM -0500, Jeremy Broughton wrote:
Using cygwin 1.3.10 and 1.5.7, if an '' ampersand character appears at
character 2048 of a makefile command, the ampersand is lost from the
command.  If white-space is manipulated to move the  one character
forward or backward in the makefile command, everything works fine.

I have attached a testcase makefile below that reproduces the problem
with simple makefile echo commands.  Run make fail to see the failing
case when an ampersand is at character 2048.  Run make ok1 and make
ok2 to see the same command succeed if the ampersand is shifted one
character left or right respectively.  Run make ok3 to see the same
command succeed if character 2048 appears in the middle of the echo
command.

(See attached file: makefile)

I tried this with the current version of cygwin and make and the output
from fail and ok1 was identical.  I tried on both textmode and binmode
mounts (not that that should make a difference).

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: setup size prefs (from gmane.os.cygwin.applications)

2004-11-16 Thread luke . kendall
On  4 Nov, Reini Urban wrote:
 Reini Urban wrote:
 
Which window sizes do we want to store?
I started with one size for all, then I rewrote for one size for each
propertypage, and now I believe the best would be to store/restore
only two sizes.
The big size for the package list and the small for the rest.
[...]
  What else? 


Could it also record the proxy port setting, please?

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/



Re: Problem with setup

2004-11-16 Thread luke . kendall
On 11 Nov, Bobby McNulty wrote:
  Guys, theres a major problem with setup. 
  According to the error I just got, setup is not 
  closing any of its files after writing them. 
  I finally got past xorg, and got up to update_info. 
  I'll rerun setup to get a cygcheck. 

I can confirm this.  We took a snapshot of October 26th
(setup-timestamp: 1098732614), and in that version of setup, none of
the file handles for any of the temp files of the form (where c:\temp
is your temporary package directory) c:\temp\http%.\package.tar.bz2
is ever released.  The system starts page faulting and the number of
handles just grows and grows, and eventually setup dies like this:

Microsoft Visual C++ Runtime Error
Runtime Error!
Program \\samba\install\win32\cygwin\setup.exe
This application has requested the Runtime to terminate it in an
unusual way.  Please contact the application's support team for
more information.

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/



Re: g++ 3.4.1

2004-11-16 Thread Tim Prince
At 10:17 AM 11/16/2004, Mikael Åsberg wrote:
Martin Magnusson  wrote:
I just tried upgrading from g++ 3.3.1 (which currently gives me an
internal compiler error on my code) to the 3.4.1 version available from
the Cygwin setup. After doing so, however, I get a flood of error messages
about the many templates I have (such as template-id xxx for yyy does not
match any template declaration and several other).
Should I start to adapt my code to gcc 3.4.1, or would it be safer to wait
until it is available as default from the setup? Is it likely that the
error messages I get is due to the Cygwin port, or would it be g++ itself?
/ martin
g++ version 3.4.x is alot less forgiving (read: more compliant) than
earlier versions of g++ (GCC) were regarding standard C++. This is a good
thing.
I haven't used the test version you mention but I've been compiling my
own versions of GCC under Cygwin for some time and right now
I am using the latest version (3.4.3). I haven't had any problems other
than not being able to use -mno-cygwin anymore but I can live with that.
So, you probably have problems with your C++ code, i.e. it's not standard-
compliant but GCC used to accept it. Crank up the warning levels and turn
off compiler extensions and start fixing the code.
ICE is probably the fault of the compiler, regardless of any possible 
shortcomings of your source code.  Other than that, I have no disagreement 
with Mikael.   If you fix the code and still provoke problems, there is 
some advantage in submitting bug reports against a version which is 
currently actively maintained.

Tim Prince 

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


Re: Problem with setup

2004-11-16 Thread Luke Kendall
On 17 Nov, To: [EMAIL PROTECTED] wrote:
  The system starts page faulting and the number of 
  handles just grows and grows, and eventually setup dies 

I can add this:

 At the crash point, setup.exe has some 600 open handles and 2 Gb of VM.  It's
 accumulated 2.5 million page faults.

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/



Re: Problem with setup

2004-11-16 Thread Luke Kendall
I should also add that after a setup.exe crash at 9:38am after being
left running overnight, later attempts to install that day (with the VM
size steadily increasing, and setup.exe appearing to stick at the
stage where it is installing the zip package), that setup.log was not
updated by the later installation attempts.

Shouldn't setup.log be getting opened in append mode?  We examined it
at various times during a later installation attempt, and the contents
didn't change and the file modification time stayed at 9:38am.

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/



Re: Problem with setup

2004-11-16 Thread Bobby McNulty
Luke Kendall wrote:
On 17 Nov, To: [EMAIL PROTECTED] wrote:
 

The system starts page faulting and the number of 
handles just grows and grows, and eventually setup dies 
   

I can add this:
 

At the crash point, setup.exe has some 600 open handles and 2 Gb of VM.  It's
accumulated 2.5 million page faults.
   

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/
 

Then I'm not the only one noticing this?

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


Re: Problem with setup

2004-11-16 Thread Luke Kendall
On 16 Nov, Bobby McNulty wrote:
  Then I'm not the only one noticing this? 

No, myself and one other person here have begun noticing it.

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/



Update: chere-0.5-2

2004-11-16 Thread Dave

chere is a Cygwin package to manage Shell Here functionality.
It adds items to the Explorer Drive and Directory context menus. The named
shell is started in the selected drive/directory when the menu item is chosen.

If, like me, you're paranoid about your Registry, chere can display what it
would do rather than actually do it. It can also report what shells have been
added to the context menus, and the associated keys.

Finally, chere can remove any context menu items it has created.

Please consult the man page for details on usage (man chere).

Changes (since 0.4-1 (test))
---
 * Add install for for current user
 * Improved key handling for install/uninstall
 * Man page added

Known issues


The default zsh and tcsh startup scripts are in the process of being updated to
work with chere. In the meantime these shells will start in the home directory
instead of in that desired.

chere adds an uninstall item to the Windows Control Panel for each shell context
menu you add using chere. This feature relies on chere, and as such does not
work after chere itself has been uninstalled. If you have context menus and plan
to remove Cygwin, uninstall the context menus before you uninstall Cygwin :)


Enjoy,

--
Dave

Please report any bugs to the Cygwin mailing list, following the procedure in
http://cygwin.com/problems.html. In addition you should attach the (verbatim)
output of `chere -r`.

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

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***


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

[EMAIL PROTECTED]

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

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


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




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com