Re: experimental texmf packages

2001-12-06 Thread Jan Nieuwenhuizen

Charles Wilson <[EMAIL PROTECTED]> writes:

> > different naming convention, ie foo-1.1-cyg.tar.gz?
> 
> probably too late -- non-maintainers who want to build it personally
> should just download and follow the instructions.

Hmm, that sounds awfully unscriptable :-) Am I the only non-maintainer
that uses a script?

Now for something constructive.  What if I fix my scripts to do the
new convention, and we run that over the archive to rebuild everything?

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




unsubscribe problem

2001-12-06 Thread Mohammad Saleem



Hi all,

 
I have subscribe cygwin group to get mail at:

[EMAIL PROTECTED]

Now I want to unsubscribe this group for the above mentioned email 
address. I send many times a mail at

[EMAIL PROTECTED]

But still I get mail from cygwin.

Why it is so?

regards

/Mohammad



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: unsubscribe problem

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 09:31:21AM +0100, Mohammad Saleem wrote:
> 
> 
> Hi all,
> 
>  
> I have subscribe cygwin group to get mail at:
> 
> [EMAIL PROTECTED]
> 
> Now I want to unsubscribe this group for the above mentioned email 
> address. I send many times a mail at
> 
> [EMAIL PROTECTED]
> 
> But still I get mail from cygwin.
> 
> Why it is so?

http://www.cygwin.com/ml/#unsubscribe-full

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Jan Nieuwenhuizen

Charles Wilson <[EMAIL PROTECTED]> writes:

> @%!@#$ AT&T@home smtp server it lost my reply to this message, so
> this is try #2...

Thanks for doing your try #2

> I'm not sure I understand.  It wasn't that you needed to provide a
> reverse patch,
[..]
> It's not supposed to be a backward patch; see above.

Ok, I mixed stuff in packaging page with older mail discussions and
the actual state of the archive.  Sorry for the confusion.

> Well, setup can't yet do what you're implying.  But eventually...

:-)  Hmm, I do all what I'm 'implying' already.  But no
patched sources, or reversed patches, so I'm happy.

> > How about an example dummy package like this?
> 
> Okay.  go here:
>   http://www.neuro.gatech.edu/users/cwilson/cygutils/packaging/
> There are five different versions, each of which demonstrates a
> different proposal.  After cgf's "intervention" I pretty much settled on
> something like #5 for "my" packages, and that is what the "official"
> mktemp package at sourceware uses.  Also cygutils and others.

Ok thanks for the pointer.  Is there a script to do the packaging?

> pop quiz: what are the current configure flags used to build gcc? 
> Anyone?  Anyone?  Bueller? (no, Chris, you're not allowed to answer..)

   That's easy:

   09:33:15 fred@appel:~/usr/src/cygwin-cross-1.3.6.0$ cat stage/gcc.configure
   mkdir -p $cygpack-build
   cd $cygpack-build

   #urg, --srcdir is broken for 1.1.4
   ##rm -f include && ln -s $cygpack/include include

   sourcedir=$PREFIX/src/$cygpack

   CPPFLAGS="-I $PREFIX/include/w32api"

   CFLAGS="-O2 -g -DATTRIBUTE_NORETURN= -DATTRIBUTE_UNUSED= $CPPFLAGS" \
   $sourcedir/configure --host=$PLATFORM
   --target=$TARGET_PLATFORM \
   --prefix=$prefix -v \
   --enable-threads \
   --with-headers=$PREFIX/$TARGET_PLATFORM/include \
   --with-libs=$PREFIX/$TARGET_PLATFORM/lib

   # URG, brokenstuff
   rm -rf $TARGET_PLATFORM/libiberty
   cp -prv libiberty $TARGET_PLATFORM/libiberty

What do I win?

> We needn't write another tool for this task, like "cygpack" or
> something, with yet another grammar to parse and learn, to drive
> autobuilds.

Ok.  Although my scripts have run a bit out of hand, my autobuilds run
rather well now.  They will only get simpler when packages are
packaged more cleanly.

> Anyway, UNTIL we're ready to make a complete jump over to rpm or dpkg or
> whatever, there's no point in developing additional tools.  Custom build
> scripts, written in the package maintainer's language of choice -- sh,
> perl, make-rules, etc -- provide the *maintainer* with the flexibility
> Which is good -- at least until we adopt rpm or dpkg or something.

Ok.  So you're still aiming for a lot less ambitious target.  This
just means that I'll have to hack up some scripts to do cross
building, as none of them will support it.  Anyway, documentation in
the form of a script is a very good start, I guess.

> And it solved the perl add-on module problem for me.  But once I
> relinquished maintaining perl, I had no further need of rpm.
> It's the whole "scratch your own itch" thing.

Yes.  Or db.

> > I didn't have the webspace to do that.  
> 
> That's the thing -- Chris has been offering webspace if folks needed
> it.  BUT, you don't even NEED webspace to port a package.  Just port it,
> promise to maintain it, and upload it to sourceware.

Ok, I didn't know that.  Feb 1999 I sent this mail:

http://www.cygwin.com/ml/cygwin/1999-02/msg00822.html

and got no reactions; no questions if I would maintain it; if things
could be uploaded or whatever.  So, I just continued scratching my own
itch.

> I figure anything with "b20" in the name is so old and unmaintained
> it probably doesn't work on newer cygwins.  So I just skip over
> stuff like that.

Sure, but it was skipped over when I announced it, ie b20 was current,
too.

> > all.  That turned me off a bit.
> 
> It was probably a timing thing
> It happens.

I'll try to enter a discussion when it's hot, next time.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Jan Nieuwenhuizen

Charles Wilson <[EMAIL PROTECTED]> writes:

> Yeah, but I don't have that itch.  Sorry, but I don't really *care*
> about rpm itself.

No, me neither.  It seemed just more convenient to package my stuff,
although the perl/berk db dependencies didn't really help.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




I can not build crossgcc

2001-12-06 Thread Ricky Chan

Hi friend,

I build gcc for ARM target development, but it does not successfully. I am
using gcc-core-2.95.2.tar.bz2 and gcc-g++-2.95.2.tar.bz2 under cygwin.

configure gcc
/src/gcc/gcc-2.95.2/configure --target=arm-elf \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-cygwin \
--with-gnu-as --with-gnu-ld --with-newlib \
-v 2>&1 | tee configure.out 

build gcc
make -w all-gcc install-gcc \ 
LANGUAGES="c c++" 2>&1 | tee make.out 

I got the following error message in the make.out file

_udivsi3
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s: Assembler messages:
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:2: Warning: rest of line
ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:3: Warning: rest of line
ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:72: Error: no such
instruction: `dividend .req r0'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:73: Error: no such
instruction: `divisor .req r1'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:74: Error: no such
instruction: `result .req r2'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:75: Error: no such
instruction: `curbit .req r3'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:76: Error: no such
instruction: `ip .req r12'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:77: Error: no such
instruction: `sp .req r13'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:78: Error: no such
instruction: `lr .req r14'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:79: Error: no such
instruction: `pc .req r15'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:83: Warning: .type
pseudo-op used outside of .def/.endef ignored.
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:83: Warning: rest of
line ignored; first ignored character is `_'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:87: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:88: Error: no such
instruction: `beq Ldiv0'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:89: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:90: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:91: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:92: Error: no such
instruction: `bcc Lgot_result'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:94: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:95: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:96: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:97: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:98: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:99: Error: no such
instruction: `cmpcc divisor,dividend'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:100: Error: no such
instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:101: Error: no such
instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:102: Error: no such
instruction: `bcc Loop1'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:105: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:106: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:107: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:108: Error: no such
instruction: `cmpcc divisor,dividend'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:109: Error: no such
instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:110: Error: no such
instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:111: Error: no such
instruction: `bcc Lbignum'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:114: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:115: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:116: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:117: Warning: rest of
line ignored; first ignored character is `@'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:118: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:119: Error: no such
instruction: `subcs dividend,dividend,divisor'
/cygdrive/c/DOCUME~1/rchan/LOCALS~1/Temp/ccNbJpBa.s:120: Error: no s

Re: Debug version of cygwin dll

2001-12-06 Thread egor duda

Hi!

Thursday, 06 December, 2001 Polley Christopher W [EMAIL PROTECTED] 
wrote:

PCW> Having done the make/make install from my source tree, do I have to repair
PCW> anything now?

just delete the source tree, unpack in again, rebuild in separate
directory.

PCW> Where can I find more information on the rationale behind not
PCW> building in the src directory?

in mailing list archives. many people, including core cygwin
developers, find it preferable to make builds in separate directory
not only for cygwin, but for any autoconf-managed package. So,
in-place configure is unmaintained therefore unsupported therefore not
recommended. believe me, building in separate tree makes a _lot_ of
things easier, once you're accustomed to it :)

PCW> Why does the README in the cygwin package say:
>>It is now possible to automatically configure and build a variety of
>>tools with one command.  To build all of the tools contained herein,
>>run the ``configure'' script here, e.g.:
>>
>>   ./configure 
>>   make

PCW> if this is the incorrect way to do it?

because it's not cygwin README. it's generic GNU package README. i
admit that it may be not clear.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Peter Keller

Hi,

I've had the same problem as Ryan, and I have had to roll back to cygwin
1.3.5 as well. I can tell you that the problem has something to do with
/cygdrive: what I have found is that visiting a file whose path begins
with /cygdrive using C-x C-f, or using "File->Open..." on a directory that
has been mapped to Windows drive where cygwin provides access to the drive
via /cygdrive, does not work.

If you mount a directory to something other than /cygdrive (e.g. directly
underneath /) then it seems OK.

On the Xemacs lists: go to
http://list-archive.xemacs.org/xemacs-nt/200112/threads.html and search in
the page for for 'cygwin'.

There has also been some confusion in the cygwin mailing list with another
problem to do with file completion in bash: see
http://sources.redhat.com/ml/cygwin/2001-12/msg00175.html . Fixing the
shell file completion problem has NOT fixed the xemacs problem (although
Christopher Faylor's thinking that it it might was not unreasonable).

I don't know whether the problem is with cygwin or xemacs, but this is an
unfortunate thing to happen to two fantastic software projects that ought
to work seamlessly with each other. I hope that the relevant people on the
cygwin and xemacs teams will put their heads together and figure this out
as quickly as possible.

Regards,
Peter.

-- 

Peter Keller. | "Research without indebtedness is
European Bioinformatics Institute,|  suspect, and somebody must always,
Hinxton Hall, |  somehow, be thanked."
Cambridge, CB10 1SD, UK   | --- Umberto Eco
---
Email: [EMAIL PROTECTED] |
Tel. (+44/0)1223 494637 | Macromolecular Structure Database
Fax. (+44/0)1223 494468 | http://msd.ebi.ac.uk





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[BUG] Inetd listening on ports it's not configured for

2001-12-06 Thread Ronald Landheer

Hello all,

I have installed and configured the latest version of Cywin with all
packages, updated whenever there's an announcement, etc.

A while ago, I configured inetd to run telnet whenever necessary, but
*not* FTP. I have a propriatary FTP server running on the same NT/2000
machine, which takes care of the FTP.

Yesterday, I updated both, and the FTP no longer worked. My liking
Cygwin very much, I blamed the FTP server, uninstalled, reinstalled,
didn't work (though with propriatary programs, it usually does ;)
I reconfigured it to listen on port 1024 in stead of 21, and telnetted
to the machine on said port - worked like a charm.
I blamed Windows, did some nmapping, and found something was still
listening on port 21.
There's only one other internet-related TCP/IP port-listening
thingemajig on this server: inetd. I telnetted to the machine, shut down
inetd, logged out, could not log in again, FTPd to the machine (after
having reconfigured the FTP server to listen on port 21) and it worked
like a charm.
Me, happy that my backoffices are working again, but also sad, that
Cygwin was the cause.

I have inserted my inetd.conf file before. I should note that this
worked like a charm before I updated my installation yesterday - AFAIK,
it should not be listening on port 21.
Instructions followed to install inetd are those of the proper readme,
ofcourse, so I consider this a bug.

If any more info is wanted, it will be provided :)

Ronald.

-- BEGIN /etc/inetd.conf --
# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or restart
# inetd:
#   "net stop inetd"
#   "net start inetd"
# The inetd will then re-read this file.
#
#   
#
echostream  tcp nowait  rootinternal
echodgram   udp waitrootinternal
discard stream  tcp nowait  rootinternal
discard dgram   udp waitrootinternal
daytime stream  tcp nowait  rootinternal
daytime dgram   udp waitrootinternal
chargen stream  tcp nowait  rootinternal
chargen dgram   udp waitrootinternal
timestream  tcp nowait  rootinternal
timedgram   udp waitrootinternal
#
# The external services are typically called via 'tcpd' for
# security reasons, eg.
ftp   stream  tcp nowait  root/usr/sbin/tcpd in.ftpd
#
# but tcpd is not part of the inetutils, unfortunately.
# Nevertheless there's a port contributed by Prentis Brooks
<[EMAIL PROTECTED]>
#
# We are calling the services here directly.
#
# These are standard services.
#
#ftp stream  tcp nowait  root/usr/sbin/in.ftpd in.ftpd
telnet  stream  tcp nowait  root/usr/sbin/in.telnetd in.telnetd
#
# Shell, login, exec and talk are BSD protocols.
#
shell   stream  tcp nowait  root/usr/sbin/in.rshd in.rshd -L
login   stream  tcp nowait  root/usr/sbin/in.rlogind in.rlogind
execstream  tcp nowait  root/usr/sbin/in.rexecd in.rexecd
talkdgram   udp waitroot/usr/sbin/in.talkd in.talkd
ntalk   dgram   udp waitroot/usr/sbin/in.talkd in.talkd
#
# The Internet UUCP service.
#
uucpstream  tcp nowait  uucp/usr/sbin/in.uucpd in.uucpd
#
# Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers."
#
# tftp  dgram   udp waitnobody  /usr/sbin/in.tftpd in.tftpd

--- END /etc/inetd.conf ---


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




AF_INET connection refused help pls

2001-12-06 Thread Haksun Li

Dear all,

This is my first time sending to the mailing list. I hope I am doing the
right thing

I am having problem writing a little program using cygwin. It is about a
client sending message to a server.
I run into the exact same problem described in:

http://sources.redhat.com/ml/cygwin/2001-05/msg01085.html

I read the follow up to this post but it doesnt seem to answer the
question (if it does for others, there is something I dont understand. So
please pardon me).

My call to accept always fails, regardless of whether I use localhost or
the actual IP address. I have also tried a few different ports to no
avail.

By the way, if both the client and server are on Solaris, then both work.
If one of them is on Cygwin and the other is on Solaris, then the message
sending doesnt work out.
The Solaris client cannot send to the Cygwin server (connection refused).
The Cygwin client cannot send to the Solaris sever (connection refused).

I am working on the same machine which runs Win2K server. My version of
Cygwin is pretty new (havent figured out how to check the version yet) coz
I just d/l it 2 weeks ago.

Can anyone please shed some light on what goes wrong here.

My codes are the below, followed by the output.
Thanks very much in advance!!!


Administrator@MOBILEHERO ~/Circa/Utils
$ ./clientMessage.exe
Sending message to server with ip mobilehero, port 4000
Error: cannot connect!
errno = 111
This means Connection refused

Administrator@MOBILEHERO ~/Circa/Utils



Server:

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

// fake server

int
main ()
{
  struct sockaddr_in server_addr, *client_addr;
  struct hostent *hp;
  int listenfd, client_len;
  int *iptr;

  char ip_address[] = "localhost";
  int port = 9998;

  if ((listenfd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
printf("Error: server cannot create socket\n");
exit(1);
  }
  printf("server socket at %d\n", listenfd);

  if ((hp = gethostbyname(ip_address)) == NULL) {
printf("Error: server cannot get the host information\n");
exit(1);
  }

  server_addr.sin_family = hp->h_addrtype;
  bcopy((char*)hp->h_addr, (char*)&server_addr.sin_addr, hp->h_length);
  server_addr.sin_port = port;

  if (bind(listenfd, (sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
printf("Error: server binding error\n");
exit(1);
  }

  listen(listenfd, 5);

  client_len = sizeof(sockaddr_in);
  client_addr = (sockaddr_in*)malloc(client_len);

  printf("Listening at host %s, port %d\n", hp->h_name, port);

  while (1) {
printf("waiting for the messages\n");
iptr = (int*)malloc(sizeof(int));
if ((*iptr = accept(listenfd, (sockaddr*)&client_addr, &client_len))
== -1) {
  printf("Error: server cannot accept!\n");
  //exit(1);
}
printf("server connection establised at %d\n", *iptr);

  }

  return 1;
}



client:


#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

const int MAX_NUMBER_OF_BODIES = 10;
const int FIELD_LENGTH = 50;

struct AgentMessage {
  char sender[FIELD_LENGTH];
  char receiver[FIELD_LENGTH];
  char subject[FIELD_LENGTH * 2];
  int  nBody;
  char body[MAX_NUMBER_OF_BODIES][FIELD_LENGTH];
};

void
main ()
{
  struct sockaddr_in agent_addr;
  struct hostent *hp;
  int agent_id;
  struct AgentMessage msg;
  int i;

  char sender_ip[] = "localhost";
  char dest_ip[] = "localhost";
  int port = 9998;

  // make message
  bzero((char*)(&msg), sizeof(AgentMessage));
  strcpy(msg.sender, sender_ip);
  strcpy(msg.receiver, dest_ip);
  strcpy(msg.subject, "READY");

  if ((agent_id = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
printf("Error: cannot create socket!\n");
exit(1);
  }

  if ((hp = gethostbyname(dest_ip)) == NULL) {
printf("Error: cannot get the host information about ip
%s!\n",dest_ip);
exit(1);
  }
  printf("Sending message to server with ip %s, port %d\n", hp->h_name,
port);

  memset(&agent_addr, 0, sizeof(agent_addr));
  agent_addr.sin_family = hp->h_addrtype;
  bcopy((char*)hp->h_addr, (char*)&agent_addr.sin_addr, hp->h_length);

  agent_addr.sin_port = htons(port);

  if (connect(agent_id, (sockaddr*)&agent_addr, sizeof(agent_addr)) != 0)
{
printf("Error: cannot connect!\n");
printf("errno = %d\n", errno);
printf("This means %s\n", strerror(errno));
exit(1);
  }

  if (write(agent_id, (void*)&msg, sizeof(AgentMessage)) <= 0) {
printf("Error: cannot send message to server\n");
exit(1);
  }

  close(agent_id);
  printf("message sent\n");
}




Haksun Li
Advanced Technology Laboratory 133
Electrical Engineering and Computer Science Dept.
University of Michigan
Ann Arbor MI 48109
U.S.A.

[EMAIL PROTECTED]

Quote:


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: [BUG] Inetd listening on ports it's not configured for

2001-12-06 Thread Mark Himsley

On Thu, 6 Dec 2001 11:58:09 +0100 you wrote:


># The external services are typically called via 'tcpd' for
># security reasons, eg.
>ftp   stream  tcp nowait  root/usr/sbin/tcpd in.ftpd

>#ftp stream  tcp nowait  root/usr/sbin/in.ftpd in.ftpd
>telnet  stream  tcp nowait  root/usr/sbin/in.telnetd in.telnetd


You have FTP listed twice, only one once is it commented out.
Comment out the other occurrence and try not to feel too embarrassed :-)

-- 
Mark Himsley
In Acton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: [BUG] Inetd listening on ports it's not configured for

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 11:58:09AM +0100, Ronald Landheer wrote:
> Me, happy that my backoffices are working again, but also sad, that
> Cygwin was the cause.

User error.  Ftp is activated in your inetd.conf.

> # The external services are typically called via 'tcpd' for
> # security reasons, eg.
> ftp   stream  tcp nowait  root/usr/sbin/tcpd in.ftpd
  

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




User context switch in sshd using RSAAuthentication

2001-12-06 Thread Ulrich Jakobus

Hello,

I am running a CVS server on a Win2K machine connecting through
SSH, where sshd is a standard installation of CYGWIN (i.e running
under the SYSTEM account as configured by the ssh-config-host 
script).

In the file /usr/doc/Cygwin/openssh-3.0.1p1-2.README it says that
since openssh 2.9 one can also switch user context when using
cygwin 1.3.5 or later. This does not seem to work for me (my 
versions are openssh 3.0.1p1-2 and cygwin 1.3.6-4).

For password authentication everything is correct, CVS log messages
are for instance
  date  2001.12.06.10.33.09;author jakobus; state Exp;

However, when using the ~/.ssh/authorizedkeys file then CVS also
works, no error messages. But the CVS log files contain
  date  2001.12.06.10.33.09;author SYSTEM;  state Exp;
i.e. the user SYSTEM appears here.

CYGWIN=NTSEC is used globally, and /etc/group and /etc/passwd were
created with mkpasswd -l and mkgroup -l. Filesystem is NTFS.

Any idea what the problem might be?

Thanks,

Ulrich Jakobus





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: AF_INET connection refused help pls

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 06:16:02AM -0500, Haksun Li wrote:
> I am having problem writing a little program using cygwin. It is about a
> client sending message to a server.

User error.

> Server:
> [...]
>   server_addr.sin_family = hp->h_addrtype;
>   bcopy((char*)hp->h_addr, (char*)&server_addr.sin_addr, hp->h_length);
>   server_addr.sin_port = port;

That should read:

server_addr.sin_port = htons(port);

It works coincidentally on Solaris because host and network byteorder
are the same on Solaris.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




inetd issue

2001-12-06 Thread Collin Grady

 I have been trying unsuccessfully the past few days to get inetd
running, with no luck.  I have searched the ML archives and have not been
able to find any messages relating to my partitcular issue.
 If I try running inetd as a service, it starts, sits for a few seconds,
then dies.  If I type 'inetd' from bash or cmd, it just does nothing.  No
errors at all, and it never appears in Task Manager, even for a split
second.
 I have inetd.conf properly configured, yet still nothing.  The really
wierd part, however, is that if I go to a bash prompt, and type 'inetd -d'
for debugging, it works perfectly, showing no errors at all, accepting
incoming connections, it all works.  I don't want to have inetd running in
debug mode all the time though, so setting that isnt an option ;-)
 Any help would be greatly appreciated.
 -Collin Grady

I had my car's alignment checked. It's Chaotic Evil!




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: User context switch in sshd using RSAAuthentication

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 01:26:28PM +0200, Ulrich Jakobus wrote:
> Hello,
> 
> I am running a CVS server on a Win2K machine connecting through
> SSH, where sshd is a standard installation of CYGWIN (i.e running
> under the SYSTEM account as configured by the ssh-config-host 
> script).

A Cygwin CVS or a native CVS?  If it's a native CVS, the
below message that auther is SYSTEM would be ok.  Changing
the user context w/o password uncovers a flaw in NT user name
handling.  Cygwin just workarounds that.

> However, when using the ~/.ssh/authorizedkeys file then CVS also
> works, no error messages. But the CVS log files contain
>   date2001.12.06.10.33.09;author SYSTEM;  state Exp;
> i.e. the user SYSTEM appears here.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: inetd issue

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 04:10:14AM -0800, Collin Grady wrote:
>  I have been trying unsuccessfully the past few days to get inetd
> running, with no luck.  I have searched the ML archives and have not been
> able to find any messages relating to my partitcular issue.

/usr/doc/Cygwin/inetutils-1.3.2.README

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: inetd issue

2001-12-06 Thread Collin Grady

 I read the README, tried inetd --install-as-service (having removed the
old one first) and now i get the following error when trying to start inetd.
> The service is not responding to the control function.
 -Collin Grady

Mushroom cloud on the horizon, 24 empty missile tubes--now it's Miller time.

- Original Message -
From: "Corinna Vinschen" <[EMAIL PROTECTED]>
To: "Cygwin ML" <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 4:36 AM
Subject: Re: inetd issue


> On Thu, Dec 06, 2001 at 04:10:14AM -0800, Collin Grady wrote:
> >  I have been trying unsuccessfully the past few days to get inetd
> > running, with no luck.  I have searched the ML archives and have not
been
> > able to find any messages relating to my partitcular issue.
>
> /usr/doc/Cygwin/inetutils-1.3.2.README
>
> Corinna
>
> --
> Corinna Vinschen  Please, send mails regarding Cygwin to
> Cygwin Developermailto:[EMAIL PROTECTED]
> Red Hat, Inc.
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: [BUG] Inetd listening on ports it's not configured for

2001-12-06 Thread Ronald Landheer

> 
>># The external services are typically called via 'tcpd' for
>># security reasons, eg.
>>ftp   stream  tcp nowait  root/usr/sbin/tcpd in.ftpd
> 
>>#ftp stream  tcp nowait  root/usr/sbin/in.ftpd in.ftpd
>>telnet  stream  tcp nowait  root/usr/sbin/in.telnetd in.telnetd
> 
> You have FTP listed twice, only one once is it commented out.
> Comment out the other occurrence and try not to feel too embarrassed
> :-)
*blush*
Just weird that it worked before then..

Ah well.. problem solved, only myself to blaim..

Thanx!

Ronald

-- 
.. et on me paie pour faire des conneries comme cela :)

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: inetd issue

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 04:49:42AM -0800, Collin Grady wrote:
>  I read the README, tried inetd --install-as-service (having removed the
> old one first) and now i get the following error when trying to start inetd.
> > The service is not responding to the control function.

And did you set the global environment variable as it's needed by
inetd currently?  And are the important files under /etc and /etc
itself world readable?

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: inetd issue

2001-12-06 Thread Collin Grady

> And did you set the global environment variable as it's needed by
> inetd currently?  And are the important files under /etc and /etc
> itself world readable?

Yes and yes.

$ echo $CYGWIN
notty binmode

$ ls
drwxr-xr-x9 Administ None0 Dec  6 04:42 etc

/etc $ ls 
-rw-r--r--1 Administ None   14 Dec  6 04:42 ftpusers
-rw-r--r--1 Administ None   49 Dec  6 04:42 ftpwelcome
-rw-r--r--1 Administ None 1973 Dec  6 04:42 inetd.conf
-rw-r--r--1 Administ None   60 Dec  6 04:42 motd
-rw-r--r--1 Administ None   68 Dec  6 04:42 shells

 -Collin Grady

Unable to locate Caffeine -- Operator Halted!



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: grep refusing to descend into directories on Win95

2001-12-06 Thread Charles Hixson

Gerrit P. Haase wrote:

> Hallo Charles,
> 
> Am 2001-12-05 um 20:19 schriebst du:
> 
> 
>>grep has been refusing to descend into directories on my Win95 
>>
> [...]
> 
>>Any suggestions?
>>
> 
> I have a version of rgrep which acts a little friendlier here:
> http://familiehaase.de/cygwin.html,  (look for rgrep-1.6.tar.bz2)
> There is also the manpage online.
> 
> The rgrep package is about 30kb (sources and binaries included).
> Just unpack it somewhere (it creates its own subdirectory), and
> move the binary where you want it to live.
> 
> Ciao,
> 
> Gerrit P. Haasemailto:[EMAIL PROTECTED]
> 

Thanks.  I'll check it out.  I do note, however, that you say 
that this has only been tested on WinNT.  Presumably the 
standard grep also would work on NT.


-- 
Charles Hixson

Copy software legally, the GNU way!
Use GNU software, and legally make and share copies of software.
See http://www.gnu.org
 http://www.redhat.com
 http://www.linux-mandrake.com
 http://www.calderasystems.com/
 http://www.linuxapps.com/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: User context switch in sshd using RSAAuthentication

2001-12-06 Thread Ulrich Jakobus

This is a native WIN32 version of CVS, not the Cygwin build (the
available Cygwin package cvs-1.11.0-1 corrupts my file system 
permissions, the newer 1.11.1-1p1 compiles without problems under
Cygwin but the "make check" fails at some stage, so I went back
to cvs from CVSNT).

It seems that I have to go back to password authentication for ssh
then (or use :pserver: as I did in the past without ssh). We are
multiple developers using CVS, and need to have the correct username
there (and not SYSTEM).

Thanks for the prompt reply,

Ulrich


On Thu, 6 Dec 2001 13:35:40 +0100, Corinna Vinschen wrote:
>
>
>On Thu, Dec 06, 2001 at 01:26:28PM +0200, Ulrich Jakobus wrote:
>> Hello,
>> > I am running a CVS server on a Win2K machine connecting through
>> SSH, where sshd is a standard installation of CYGWIN (i.e running
>> under the SYSTEM account as configured by the ssh-config-host 
>> script).
>
>A Cygwin CVS or a native CVS?  If it's a native CVS, the
>below message that auther is SYSTEM would be ok.  Changing
>the user context w/o password uncovers a flaw in NT user name
>handling.  Cygwin just workarounds that.
>
>> However, when using the ~/.ssh/authorizedkeys file then CVS also
>> works, no error messages. But the CVS log files contain
>> date 2001.12.06.10.33.09;author SYSTEM;  state Exp;
>> i.e. the user SYSTEM appears here.
>
>Corinna





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Speaking of debian cygwin

2001-12-06 Thread Keith Starsmeare

Would it be rude of me to request the people refrain from cross-posting to
the cygwin mailing lists? We seem to be getting quite a lot of news from
other web sites, couldn't it just be directed to cygwin or cygwin-xfree?

Keith


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 10:04:22AM +0100, Jan Nieuwenhuizen wrote:
>Charles Wilson <[EMAIL PROTECTED]> writes:
>> That's the thing -- Chris has been offering webspace if folks needed
>> it.  BUT, you don't even NEED webspace to port a package.  Just port it,
>> promise to maintain it, and upload it to sourceware.
>
>Ok, I didn't know that.  Feb 1999 I sent this mail:
>
>http://www.cygwin.com/ml/cygwin/1999-02/msg00822.html
>
>and got no reactions; no questions if I would maintain it; if things
>could be uploaded or whatever.  So, I just continued scratching my own
>itch.

Sadly, I don't believe that I was even in charge of the project in Feb
1999.  And, since I was ill, and the local Cygnus office was being closed
around that time, I probably had other things on my mind.

Regardless, it didn't really require me, or anyone else, to make this
thing fly.  You had a web site.  Why didn't people beat a path to your
door?

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 10:02:21AM +, Peter Keller wrote:
>There has also been some confusion in the cygwin mailing list with another
>problem to do with file completion in bash: see
>http://sources.redhat.com/ml/cygwin/2001-12/msg00175.html . Fixing the
>shell file completion problem has NOT fixed the xemacs problem (although
>Christopher Faylor's thinking that it it might was not unreasonable).

I don't think I mentioned that I thought it would fix xemacs.

Someone should actually *debug the problem*.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Windows 2000 Junction Points

2001-12-06 Thread Kim, Anthony

Windows 2000 (having NTFS 5.0) allows the creation of directory
symbolic links. This can be used as mount points for hard drive
volumes or to symlink directories across file systems. In the
literature, the directory links are called "junction points".

Disk Administration snap-in can be used to mount a drive to a
directory or you can use linkd.exe (ResKit) or junction.exe
(SysInternals).

This is the closest thing I can find to simulate:

ln -s /source /destination

Now here's my question:

When you perform a directory symlink in cygwin, you end up with a
.LNK file even though you can cd into the link.

$ pwd
/mnt
$ ln -s /cygdrive/c /mnt/test
$ ls -l
total 20
dr-xr-xr-x6 Administ Administ0 Dec  6 09:47 ./
dr-xr-xr-x   12 Administ Administ 4096 Nov 28 12:48 ../
dr-xr-xr-x   12 Administ Administ 8192 Dec  6 09:47 c/
dr-xr-xr-x3 Administ Administ 4096 Dec  3 12:48 d/
dr-xr-xr-x5 Administ Administ 4096 Dec  3 12:48 e/
drwxr-xr-x1 vciadmin Administ0 Dec  4 08:35 h/
lrwxrwxrwx1 vciadmin Administ   94 Dec  6 09:47 test -> /cygdrive/c/

$ cd test
$ ls


This works as expected. However, from outside cygwin:

$ cmd

G:\cygwin\mnt>dir
dir
 Volume in drive G is DATA
  Volume Serial Number is 98D5-B7E1

   Directory of G:\cygwin\mnt

   12/06/2001  09:47a.
   12/06/2001  09:47a..
   11/28/2001  11:26a   c
   11/28/2001  11:26a   d
   11/28/2001  11:27a   e
   12/04/2001  08:34a   h
   12/06/2001  09:47a  94 test.lnk

So the effect is lost.

Because hard links work in cygwin as expected, is it far fetched
for ln -s   to create actual junction points
instead of .LNK files?

If I'm way off base here, please feel free to let me know :)

Cheers!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 10:49:36AM -0500, Christopher Faylor wrote:
>On Thu, Dec 06, 2001 at 10:02:21AM +, Peter Keller wrote:
>>There has also been some confusion in the cygwin mailing list with another
>>problem to do with file completion in bash: see
>>http://sources.redhat.com/ml/cygwin/2001-12/msg00175.html . Fixing the
>>shell file completion problem has NOT fixed the xemacs problem (although
>>Christopher Faylor's thinking that it it might was not unreasonable).
>
>I don't think I mentioned that I thought it would fix xemacs.
>
>Someone should actually *debug the problem*.

Ah.  Nevermind.  I thought you were referring to my 1.3.6-4 announcement.
The shell file completion fix was in 1.3.6-4.

You see, someone gave me enough information to actually duplicate the
problem myself.  Sadly, I have no interest whatsoever in Xemacs, so
providing instructions on how to duplicate a problem in Xemacs is not
going to help me much since I don't have Xemacs installed.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE:Making perl script running under bash cygwin

2001-12-06 Thread Jorge Goncalvez

Hi, I have this :
system("perl -i.orig -pe 's!/home/ftp!/!g' c:/cygwin/etc/passwd") or die;

And it dies always althought it works if I run it by Hand in the cygwin bash.
Why?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Charles Wilson

Jan Nieuwenhuizen wrote:

> 
> Ok thanks for the pointer.  Is there a script to do the packaging?


yep -- each script contains a script (in some package schemes -- #3, I 
think -- you have to apply the patch FIRST, and then the script is 
created in /CYGWIN-PATCHES/ or something).


>>pop quiz: what are the current configure flags used to build gcc? 
>>Anyone?  Anyone?  Bueller? (no, Chris, you're not allowed to answer..)
>>
> 
>That's easy:
> 
> What do I win?


No, no, no.  Not "What flags does Jan use" but "What flags WERE used to 
build the official cygwin gcc package".  (Hint: only cgf knows for sure)


> Ok.  Although my scripts have run a bit out of hand, my autobuilds run
> rather well now.  They will only get simpler when packages are
> packaged more cleanly.


Mine too.


> Ok.  So you're still aiming for a lot less ambitious target.  This
> just means that I'll have to hack up some scripts to do cross
> building, as none of them will support it.  


Yep -- you'll have to edit the line where it says "host=i686-pc-cygwin" 
and change it to something appropriate.

> Anyway, documentation in
> the form of a script is a very good start, I guess.
> 
> Ok, I didn't know that.  Feb 1999 I sent this mail:
> 
> http://www.cygwin.com/ml/cygwin/1999-02/msg00822.html

...

> Sure, but it was skipped over when I announced it, ie b20 was current,
> too.
 

Ah, but back in b20 days we didn't HAVE package-based distribution. 
Everything was all in one "full.exe" 21MB download. There was no way for 
a non-core developer to add something like "rpm" to the distro back then 
-- it just wasn't possible.  A lot of things have changed in 3 years.

--Chuck







--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Charles Wilson

Jan Nieuwenhuizen wrote:

> Charles Wilson <[EMAIL PROTECTED]> writes:
> 
> 
>>>different naming convention, ie foo-1.1-cyg.tar.gz?
>>>
>>probably too late -- non-maintainers who want to build it personally
>>should just download and follow the instructions.
>>
> 
> Hmm, that sounds awfully unscriptable :-) Am I the only non-maintainer
> that uses a script?


You're in bsd-ports "make world" mode, I see.  I don't think that is a 
goal, yet.  *OUR* concern is "make cygwin work".  Cross environments are 
nice -- but do you really need a cygwin-target man.exe in your cross 
environment? (no, you don't -- unless you're the man maintainer and are 
building the man package for official distribution).  Cross environments 
really only need the devel tools, and the libraries.


> Now for something constructive.  What if I fix my scripts to do the
> new convention, and we run that over the archive to rebuild everything?


Be my guest...but remember those "corner cases" I mentioned?  square 
peg, round hole?  Go back and read the other thread for some of the 
examples.  It is my contention that some (many?) of our ports are not 
yet ready for autobuilding. (cf. jpeg, ncurses, readline, gettext, ...) 
  It's going to take detailed knowledge of an individual package -- 
either to turn it into a round peg, or custom-develop a script.

Suggestion: pick ONE package. convert it.  present it to the maintainer 
and say "Hey, isn't this cool?  Would you like to package up the next 
official release of XXX this way? I'll help convert your other packages 
too..."

And then move on to the next maintainer's packages...

--Chuck



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Charles Wilson

Christopher Faylor wrote:

>>>There has also been some confusion in the cygwin mailing list with another
>>>problem to do with file completion in bash: see
>>>http://sources.redhat.com/ml/cygwin/2001-12/msg00175.html . Fixing the
>>>shell file completion problem has NOT fixed the xemacs problem (although
>>>Christopher Faylor's thinking that it it might was not unreasonable).
>>>
>>I don't think I mentioned that I thought it would fix xemacs.


No, somebody on the xemcs list said "cygwin- fixes this other 
problem in bash related to cygdrive.  MAYBE it also fixes our xemacs 
problem which is related to cygdrive.  Can somebody check?"

And somebody DID check -- and reported "Nope, doesn't fix it"

End of story.

>>
>>Someone should actually *debug the problem*.
>>
> 
> Ah.  Nevermind.  I thought you were referring to my 1.3.6-4 announcement.
> The shell file completion fix was in 1.3.6-4.
> 
> You see, someone gave me enough information to actually duplicate the
> problem myself.  Sadly, I have no interest whatsoever in Xemacs, so
> providing instructions on how to duplicate a problem in Xemacs is not
> going to help me much since I don't have Xemacs installed.


I think that debugging is ongoing right now.  (But cygwin IS a moving 
target; you can't blame folks for *hoping* that the fix for problem A 
will also nail problem B...and delaying their debug efforts until after 
they get the new kernel with the A-fix.


--Chuck






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: experimental texmf packages

2001-12-06 Thread Jan Nieuwenhuizen

Charles Wilson <[EMAIL PROTECTED]> writes:

> You're in bsd-ports "make world" mode, I see.  I don't think that is a 
> goal, yet.  *OUR* concern is "make cygwin work".

Yes, I guess our priorities don't match.  I've been in "make world"
mode since the b20 days; I needed to build some core development
packages and package additional (possibly unmaintained) packages.
And, I didn't want to do too much manual work for each update of a
package, maintained or unmaintained.

> > Now for something constructive.  What if I fix my scripts to do the
> > new convention, and we run that over the archive to rebuild everything?
> 
> Be my guest...but remember those "corner cases" I mentioned?  square 
> peg, round hole?

Yes, I guess you're right.  Indeed, that's why I have the
lots-of-scripts package: to make each peg round by hand.  Then hope it
will fit with the next release of a package too.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




install question

2001-12-06 Thread Gebbia, Joseph (Joey), NPONS

Hi,

I tried to install cygwin and I keep getting a error message. I am running
win2k, any ideas


thanks in advance

Joey Gebbia, NPONS 
AT&T Network Services
office: 732.885.7798
pager: 1.800.258. pin: 9116474


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Gerald Villemure

There is a tool in the Win2K ResKit called "linkd.exe" which will alow you
to create "Junction Points" from the command line.

Hope this helps,
Gerald

- Original Message -
From: "Kim, Anthony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 4:52 PM
Subject: Windows 2000 Junction Points


> Windows 2000 (having NTFS 5.0) allows the creation of directory
> symbolic links. This can be used as mount points for hard drive
> volumes or to symlink directories across file systems. In the
> literature, the directory links are called "junction points".
>
> Disk Administration snap-in can be used to mount a drive to a
> directory or you can use linkd.exe (ResKit) or junction.exe
> (SysInternals).
>
> This is the closest thing I can find to simulate:
>
> ln -s /source /destination
>
> Now here's my question:
>
> When you perform a directory symlink in cygwin, you end up with a
> .LNK file even though you can cd into the link.
>
> $ pwd
> /mnt
> $ ln -s /cygdrive/c /mnt/test
> $ ls -l
> total 20
> dr-xr-xr-x6 Administ Administ0 Dec  6 09:47 ./
> dr-xr-xr-x   12 Administ Administ 4096 Nov 28 12:48 ../
> dr-xr-xr-x   12 Administ Administ 8192 Dec  6 09:47 c/
> dr-xr-xr-x3 Administ Administ 4096 Dec  3 12:48 d/
> dr-xr-xr-x5 Administ Administ 4096 Dec  3 12:48 e/
> drwxr-xr-x1 vciadmin Administ0 Dec  4 08:35 h/
> lrwxrwxrwx1 vciadmin Administ   94 Dec  6 09:47 test ->
/cygdrive/c/
>
> $ cd test
> $ ls
> 
>
> This works as expected. However, from outside cygwin:
>
> $ cmd
>
> G:\cygwin\mnt>dir
> dir
>  Volume in drive G is DATA
>   Volume Serial Number is 98D5-B7E1
>
>Directory of G:\cygwin\mnt
>
>12/06/2001  09:47a.
>12/06/2001  09:47a..
>11/28/2001  11:26a   c
>11/28/2001  11:26a   d
>11/28/2001  11:27a   e
>12/04/2001  08:34a   h
>12/06/2001  09:47a  94 test.lnk
>
> So the effect is lost.
>
> Because hard links work in cygwin as expected, is it far fetched
> for ln -s   to create actual junction points
> instead of .LNK files?
>
> If I'm way off base here, please feel free to let me know :)
>
> Cheers!
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: install question

2001-12-06 Thread Peter Buckley

I have some ideas about how our government should do things. I also have 
ideas about how we should have 4 day workweeks and get paid the same.

What kind of ideas were you looking for? I could probably have an idea 
about anything if you told me something more specific.

Like if you wanted me to offer an idea about what I thought would help 
you install cygwin, maybe you could tell the list the steps that you 
took to install (from the beginning when you went to cygwin.com) and 
when you get the error message, and what the error message says. Then I 
might have an idea about what the problem could be, or even ideas that 
might help fix the problem. And there might be other people on the list 
with ideas, too. Just think of all the help you could get if you told us 
what your problem was.

Full of ideas,
Peter

Gebbia, Joseph (Joey), NPONS wrote:

> Hi,
> 
> I tried to install cygwin and I keep getting a error message. I am running
> win2k, any ideas
> 
> 
> thanks in advance
> 
> Joey Gebbia, NPONS 
> AT&T Network Services
> office: 732.885.7798
> pager: 1.800.258. pin: 9116474
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




installation problem

2001-12-06 Thread Lester Ingber

I've had this problem about 10 out 12 times I've tried to install the
latest cygwin.  I got it stalled twice, but had to abort for otehr
reasons.

The error I get is *after* all files are downloaded OK:

The exception unknown software exception (0xc0fd) occurred in the application at 
location 0x77f8e621.

Click on OK to terminate the program

So, is this error message any help?

Thanks.

Lester

-- 
 Prof. Lester Ingber  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 www.ingber.com www.alumni.caltech.edu/~ingber

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: install question

2001-12-06 Thread Brian Keener

Joseph (Joey), NPONS Gebbia wrote:
> I tried to install cygwin and I keep getting a error message. I am running
> win2k, any ideas
>
Help us out here, what steps did you perform to do the install and what is the 
error message.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Dr. Volker Zell

> "Charles" == Charles Wilson <[EMAIL PROTECTED]> writes:

Charles> Christopher Faylor wrote:
 There has also been some confusion in the cygwin mailing list with another
 problem to do with file completion in bash: see
 http://sources.redhat.com/ml/cygwin/2001-12/msg00175.html . Fixing the
 shell file completion problem has NOT fixed the xemacs problem (although
 Christopher Faylor's thinking that it it might was not unreasonable).
 
>>> I don't think I mentioned that I thought it would fix xemacs.


Charles> No, somebody on the xemcs list said "cygwin- fixes this other
Charles> problem in bash related to cygdrive.  MAYBE it also fixes our xemacs
Charles> problem which is related to cygdrive.  Can somebody check?"


Charles> And somebody DID check -- and reported "Nope, doesn't fix it"

At least in

 o XEmacs 21.4 (patch 5) "Civil Service" [Lucid] (i686-pc-cygwin, Mule) of Sat Nov 24 
2001 on VZELL

with cygwin 1.3.6-4

and the folloing mount table everthing works fine:

> mount -p
Prefix  Type Flags
/   system   binmode

(Yes I know it's not recommended ...)

> mount
C:\gnu on /gnu type system (binmode)
D:\bin on /usr/bin type system (binmode)
D:\lib on /usr/lib type system (binmode)
C: on /dev/c type system (binmode)
D: on / type system (binmode)
e: on /e type system (binmode,noumount)
f: on /f type system (binmode,noumount)
h: on /h type system (binmode,noumount)

Ciao
  Volker


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Kim, Anthony

On Thu, Dec 06, 2001, Gerald Villemure wrote:

> There is a tool in the Win2K ResKit called "linkd.exe" which will alow you
> to create "Junction Points" from the command line.
> 
> Hope this helps,
> Gerald

Yes, this tool exists and I use it :)
But I mean to say, wouldn't it be nice and consistent if
ln -s   worked like linkd as opposed to creating a
shortcut. I am aware of "mount" under cygwin but the mount is not
exported to Windows.

No big deal. I can survive.
Thanks!


> 
> - Original Message -
> From: "Kim, Anthony" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 06, 2001 4:52 PM
> Subject: Windows 2000 Junction Points
> 
> 
> > Windows 2000 (having NTFS 5.0) allows the creation of directory
> > symbolic links. This can be used as mount points for hard drive
> > volumes or to symlink directories across file systems. In the
> > literature, the directory links are called "junction points".
> >
> > Disk Administration snap-in can be used to mount a drive to a
> > directory or you can use linkd.exe (ResKit) or junction.exe
> > (SysInternals).
> >
> > This is the closest thing I can find to simulate:
> >
> > ln -s /source /destination
> >
> > Now here's my question:
> >
> > When you perform a directory symlink in cygwin, you end up with a
> > .LNK file even though you can cd into the link.
> >
> > $ pwd
> > /mnt
> > $ ln -s /cygdrive/c /mnt/test
> > $ ls -l
> > total 20
> > dr-xr-xr-x6 Administ Administ0 Dec  6 09:47 ./
> > dr-xr-xr-x   12 Administ Administ 4096 Nov 28 12:48 ../
> > dr-xr-xr-x   12 Administ Administ 8192 Dec  6 09:47 c/
> > dr-xr-xr-x3 Administ Administ 4096 Dec  3 12:48 d/
> > dr-xr-xr-x5 Administ Administ 4096 Dec  3 12:48 e/
> > drwxr-xr-x1 vciadmin Administ0 Dec  4 08:35 h/
> > lrwxrwxrwx1 vciadmin Administ   94 Dec  6 09:47 test ->
> /cygdrive/c/
> >
> > $ cd test
> > $ ls
> > 
> >
> > This works as expected. However, from outside cygwin:
> >
> > $ cmd
> >
> > G:\cygwin\mnt>dir
> > dir
> >  Volume in drive G is DATA
> >   Volume Serial Number is 98D5-B7E1
> >
> >Directory of G:\cygwin\mnt
> >
> >12/06/2001  09:47a.
> >12/06/2001  09:47a..
> >11/28/2001  11:26a   c
> >11/28/2001  11:26a   d
> >11/28/2001  11:27a   e
> >12/04/2001  08:34a   h
> >12/06/2001  09:47a  94 test.lnk
> >
> > So the effect is lost.
> >
> > Because hard links work in cygwin as expected, is it far fetched
> > for ln -s   to create actual junction points
> > instead of .LNK files?
> >
> > If I'm way off base here, please feel free to let me know :)
> >
> > Cheers!
> >
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/
> >
> >

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: install question

2001-12-06 Thread Peter Buckley

Joey,

Sorry I was so sarcastic, I could have said what I did much nicer. I 
have been struggling with that lately in email.

Thanks for the details- but they need to go to the list as well so you 
don't have just lowly old me helping. I replied to your email address 
(and the list, [EMAIL PROTECTED]) because I wasn't sure if you were 
subscribed or not. Some people prefer to not get two copies of the same 
mail (my mailer filters it) but even if you do reply to me, make sure 
you "reply all" so the list can see the details and hopefully the 
resolution of your problem.

I don't know specifically what the problem is- but I have some 
suggestions to try, and maybe someone else on the list will have some 
other suggestions on how to help.

When you ran the setup.exe program (the icon that those guys provide) 
and proceeded with the install, did you choose

Install from Internet
Download from Internet
Install from Local Directory

?

I would recommend trying to just "Download from Internet" first, and 
then when you know you have successfully downloaded all the packages you 
want, run setup.exe again and "Install from Local Directory" to install.

Also, I would try a different download location- C:\Documents and 
Settings\Administrator\My Documents\downloads looks like the place where 
you downloaded setup.exe to, and I am guessing that it is your local 
package directory as well. I recommend moving setup.exe into another 
folder, a simple one with no spaces in the path, such as C:\tmp. Those 
who are in the know, correct me if I am wrong. Setup.exe may handle 
spaces in path names just fine, but it might help rule out an errata if 
you try to run setup.exe from C:\tmp or C:\temp.

Also, have you read the FAQ? There is a section called "What to do if 
setup fails?" that might help you out.

Let us know how it works,
Peter

Gebbia, Joseph (Joey), NPONS wrote:

> Point taken,
> 
> I went to the website www.cygwin.com and downloaded the program to my
> laptop. From there I click on the  icon you guys provide, and proceeded with
> the install. It asked where I wanted the root directory to be c:/cygwin,
> when the final step comes through I get this:
> 
> program error
> cygwin.exe has generated errors and will be closed by windows, you will need
> to restart the program. This is the setup log
> 
> 2001/12/06 11:27:53 Starting cygwin install, version 2.125.2.10
> Current Directory: C:\Documents and Settings\Administrator\My
> Documents\downloads
> 2001/12/06 11:27:53 Command line parameters
> 2001/12/06 11:27:53 0 - 'C:\Documents and Settings\Administrator\My
> Documents\downloads\cygwin.exe'
> 2001/12/06 11:27:53 1 parameters passed
> source: download
> Selected local directory: C:\Documents and Settings\Administrator\My
> Documents\downloads
> net: Direct
> 2001/12/06 11:28:01 Ending cygwin install
> 
> 
> (Thu Dec 06 08:01:51 2001) : Performance library perfproc.dll will be
> ignored as it was previously disabled (WbemAdapStatus = -1).
> (Thu Dec 06 08:01:51 2001) : Performance library perfproc.dll will be
> ignored as it was previously disabled (WbemAdapStatus = -1).
> (Thu Dec 06 08:02:21 2001) : Performance library winspool.drv will be
> ignored as it was previously disabled (WbemAdapStatus = -1).
> (Thu Dec 06 08:02:21 2001) : Performance library winspool.drv will be
> ignored as it was previously disabled (WbemAdapStatus = -1).
> 
> 
> But it doesn't install, do you have any idea where I can get more
> information from a log that might be on my laptop.
> 
> 
> 
> 
> thanks
> 
> 
> 
> 
> 
> -Original Message-
> From: Peter Buckley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 11:44 AM
> To: Gebbia, Joseph (Joey), NPONS; [EMAIL PROTECTED]
> Subject: Re: install question
> 
> 
> I have some ideas about how our government should do things. I also have 
> ideas about how we should have 4 day workweeks and get paid the same.
> 
> What kind of ideas were you looking for? I could probably have an idea 
> about anything if you told me something more specific.
> 
> Like if you wanted me to offer an idea about what I thought would help 
> you install cygwin, maybe you could tell the list the steps that you 
> took to install (from the beginning when you went to cygwin.com) and 
> when you get the error message, and what the error message says. Then I 
> might have an idea about what the problem could be, or even ideas that 
> might help fix the problem. And there might be other people on the list 
> with ideas, too. Just think of all the help you could get if you told us 
> what your problem was.
> 
> Full of ideas,
> Peter
> 
> Gebbia, Joseph (Joey), NPONS wrote:
> 
> 
>>Hi,
>>
>>I tried to install cygwin and I keep getting a error message. I am running
>>win2k, any ideas
>>
>>
>>thanks in advance
>>
>>Joey Gebbia, NPONS 
>>AT&T Network Services
>>office: 732.885.7798
>>pager: 1.800.258. pin: 9116474
>>
>>
>>--
>>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>Bug repo

Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Jochen Küpper

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06 Dec 2001 18:14:42 +0100 Volker Zell wrote:

Not for me:( When I try to open /mnt/o/ I get
,[C-x C-f /mnt/o/ RET]
| Fatal error: assertion failed, file realpath.c, line 81, *name
`

Volker> o XEmacs 21.4 (patch 5) "Civil Service" [Lucid] (i686-pc-cygwin, Mule) of Sat 
Nov 24 2001 on VZELL

XEmacs 21.4 (patch 5) "Civil Service (Windows)" [Lucid] (i686-pc-cygwin, Mule) of Mon 
Oct 29 2001 on TSUNAMI

Volker> with cygwin 1.3.6-4

dito (cygwin 1.3.6-4)


,[cygcheck -s, edited]
| Cygnus Win95/NT Configuration Diagnostics
| Current System Time: Thu Dec 06 12:37:33 2001
| 
| Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
| 
| Path: c:\data\jochen\bin
|   C:\cygwin\usr\local\bin
|   C:\cygwin\usr\X11R6\bin
|   C:\cygwin\bin
|   C:\cygwin\bin
|   C:\cygwin\usr\local\bin
|   C:\cygwin\usr\X11R6\bin
|   C:\cygwin\bin
|   C:\cygwin\bin
|   C:\cygwin\bin
|   
| 
| SysDir: C:\WINNT\System32
| WinDir: C:\WINNT
| 
| CYGWIN = `check_case:adjust glob notitle ntsec tty MAKE_MODE=UNIX'
| C_INCLUDE_PATH = 
|`/home/jochen/include:/usr/local/include:/usr/include:/usr/X11R6/include'
| HOME = `c:\data\jochen'
| LD_LIBRARY_PATH = `\home\jochen\lib:\user\local\jochen\lib:'
| LIBRARY_PATH = `/home/jochen/lib:/user/local/jochen/lib:'
| MAKE_MODE = `unix'
| PWD = `/tmp/cygwin/lyx'
| USER = `jochen'
| 
| a:  fd   N/AN/A
| c:  hd  NTFS8189Mb  48% CP CS UN PA FC System
| d:  cd   N/AN/A
| h:  net AFS2097151Mb  51% CP CS  ?S
| i:  net AFS2097151Mb  51% CP CS  ?S
| j:  net AFS2097151Mb  51% CP CS  ?S
| m:  net NTFS   21657Mb  93% CP CSPA.
| n:  net NTFS   21657Mb  93% CP CSPA.
| o:  net NTFS   21657Mb  93% CP CSPA.
| x:  net NTFS   75116Mb  31% CP CSPA.
| z:  net NTFS   21657Mb  93% CP CSPA.
| 
| C:\cygwin  / system  binmode
| c:/data/home system  binmode
| c:\tmp /tmp  system  binmode
| C:/cygwin/bin  /usr/bin  system  binmode
| C:/cygwin/lib  /usr/lib  system  binmode
| .  /mnt  userbinmode,noumount
| 
| Cygwin DLL version info:
| DLL version: 1.3.6
| DLL epoch: 19
| DLL bad signal mask: 19005
| DLL old termios: 5
| DLL malloc env: 28
| API major: 0
| API minor: 47
| Shared data: 3
| DLL identifier: cygwin1
| Mount registry: 2
| Cygnus registry name: Cygnus Solutions
| Cygwin registry name: Cygwin
| Program options name: Program Options
| Cygwin mount registry name: mounts v2
| Cygdrive flags: cygdrive flags
| Cygdrive prefix: cygdrive prefix
| Cygdrive default prefix: 
| Build date: Wed Dec 5 18:15:47 EST 2001
| CVS tag: cygwin-1-3-6-4
| Shared id: cygwin1S3
`

Also, I am using a script to start xemacs, worked fine before, now it
gives me an error:
,[/usr/local/bin/editclient]
| #!/bin/bash
| 
| source /etc/profile
| source ~/.bashrc
| 
| if gnuclient -batch -eval t >/dev/null 2>&1
| then
|   exec gnuclient ${1+"$@"}
| else
|   exec xemacs -f gnuserv-start ${1+"$@"}
| fi
`

,[error message]
| /usr/local/bin/editclient: line 11:  1628 Segmentation fault  \
|(core dumped) gnuclient -batch -eval t >/dev/null 2>&1
`

So the script starts a new instance of xemacs/gnuserv every time
called. Connecting by manually calling gnuclient works ok, though.

Greetings,
Jochen
- -- 
Einigkeit und Recht und Freiheithttp://www.Jochen-Kuepper.de
Liberté, Égalité, FraternitéGnuPG key: 44BCCD8E
Sex, drugs and rock-n-roll
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6-cygwin-fcn-1 (Cygwin)
Comment: Processed by Mailcrypt and GnuPG 

iD8DBQE8D6+BiJ/aUUS8zY4RAswMAJ4tuoJ7uiTrQrtiDYjV+QszK2YevQCfVOWS
sKZs/myC44MRXIeTSix7mLY=
=Dl8q
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Ryan T. Sammartino

On Thu, Dec 06, 2001 at 10:02:21AM +, Peter Keller wrote:
> Hi,
> 
> I've had the same problem as Ryan, and I have had to roll back to cygwin
> 1.3.5 as well. I can tell you that the problem has something to do with
> /cygdrive: what I have found is that visiting a file whose path begins
> with /cygdrive using C-x C-f, or using "File->Open..." on a directory that
> has been mapped to Windows drive where cygwin provides access to the drive
> via /cygdrive, does not work.

Ah... for me I have soft links from /home/ryans to various /cygdrive
places, and I'm going through those soft links to open files, which is
why I didn't clue in to this.


-- 
Ryan T. Sammartino ([EMAIL PROTECTED])
http://members.shaw.ca/ryants/
Cold, adj.:
When the politicians walk around with their hands in their own pockets.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Ryan T. Sammartino

On Thu, Dec 06, 2001 at 10:49:36AM -0500, Christopher Faylor wrote:
> Someone should actually *debug the problem*.

This is what I'm (attempting) to do... just thought I'd alert people to
the problem in case someone already had a fix or workaround before I
invested the time.

I'll let you know what I come up with, if anything.

-- 
Ryan T. Sammartino ([EMAIL PROTECTED])
http://members.shaw.ca/ryants/
You have the capacity to learn from mistakes.  You'll learn a lot today.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: dll_list::load_after_fork() blues (was Re: [ python-Bugs-489709 ] Building Fails ...)

2001-12-06 Thread Charles Wilson

Jason Tishler wrote:


>>
>>building 'gdbm' extension
>>gcc -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -I. 
>-I/cygdrive/e/Python-2.2b2/./Include -I/usr/local/include -IInclude/ -c 
>/cygdrive/e/Python-2.2b2/Modules/gdbmmodule.c -o 
>build/temp.cygwin-1.3.5-i686-2.2/gdbmmodule.o
>>e:\buildpy\python.exe: *** unable to remap 
>>C:\cygnus\bin\cygssl.dll to same address as parent -- 0x1A7C
>>  0 [main] python 1292 sync_with_child: child 1108 (0xF0) died before 
>initialization with status code 0x1
>>  25901 [main] python 1292 sync_with_child: *** child state child loading dlls
>>error: Resource temporarily unavailable
>>make: *** [sharedmods] Error 1
>>
> 
> The above occurs during Cygwin's fork() when the Cygwin DLL cannot
> load a DLL to the same address in the child that it had in the parent.
> I have seen this during Python 2.1.1 regression tests with threads
> enabled.


Part of the problem may be that cyggdbm.dll was built with 
--auto-image-base.  It was later demonstrated that this can cause 
problems with fork; you're better off just letting ld assign the default 
dllbase, which means that EVERY process will remap the dll at runtime. 
Thus, no hardcoded conflicts.  Downside: *very* slightly delay in 
loading DLLs -- probably unnoticeable.

(Did I get that right, robert?)

Anyway, I plan to redo cyggdbm "eventually" without the 
--auto-image-base.  Doing so *may* fix this problem, but I'm not sure...

--Chuck






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Windows 2000 Junction Points

2001-12-06 Thread Roth, Kevin P.

My take on this:

ln -s /source /destination should create "symbolic" links; the closest
approximation in the NT world is either "subst.exe" (not quite the same,
really more like `mount` for DOS) or a .LNK file (which, as you've
noticed, doesn't do anything for you from a cmd.exe command line,
although it will work fine from windows explorer).

ln -d /source /destination should perhaps create a junction point (as a
non-administrative windows user couldn't create one either).

Keeping in mind that the Posix representation of the filesystem is just
that, it's probably best to just make a note that linkd and junction are
available tools and not bother having cygwin do this at all.

--Kevin



-Original Message-
From: Kim, Anthony [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:53 AM

Windows 2000 (having NTFS 5.0) allows the creation of directory
symbolic links. This can be used as mount points for hard drive
volumes or to symlink directories across file systems. In the
literature, the directory links are called "junction points".

Disk Administration snap-in can be used to mount a drive to a
directory or you can use linkd.exe (ResKit) or junction.exe
(SysInternals).

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 11:36:01AM -0600, Kim, Anthony wrote:
> On Thu, Dec 06, 2001, Gerald Villemure wrote:
> 
> > There is a tool in the Win2K ResKit called "linkd.exe" which will alow you
> > to create "Junction Points" from the command line.
> > 
> > Hope this helps,
> > Gerald
> 
> Yes, this tool exists and I use it :)
> But I mean to say, wouldn't it be nice and consistent if
> ln -s   worked like linkd as opposed to creating a
> shortcut. I am aware of "mount" under cygwin but the mount is not
> exported to Windows.

I have checked if it makes sense using reparse points for symlinks
once when W2K was new.  We had to reject using them since they are
not as flexible as we need it to get POSIX symlinks.  Main reason is
that they have to be absolute windows paths.  So they would have to
be changed each time the mount table is changed in a way which would
influence them.  Many POSIX symlinks are relative links to their
target.  That's completely impossible.  And reparse points to files
aren't supported at all.

They looked good on the first glimpse but after looking under the
hood they are just halfhearted implementations of real symlinks.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Jochen Küpper

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06 Dec 2001 19:16:55 +0100 Volker Zell wrote:

>> "Jochen" == Jochen Küpper <[EMAIL PROTECTED]> writes:

Jochen> | C:\cygwin  / system  binmode
Jochen> | c:/data/home system  binmode
Jochen> | c:\tmp /tmp  system  binmode
Jochen> | C:/cygwin/bin  /usr/bin  system  binmode
Jochen> | C:/cygwin/lib  /usr/lib  system  binmode
Jochen> | .  /mnt  userbinmode,noumount

Volker> This is different than mine. 

(I was aware of that, accessing /mnt/o, not /o :))
Obviously I should have stated it more explicitley, not just giving
ths cygcheck output.

Volker> What is the output of mount -p ?

,[mount -p]
| Prefix  Type Flags
| /mntsystem   binmode
`

Volker> I changed my cygdrive prefix to /

cygdrive is /mnt. /mnt/o is a Windoze net-share. Accessing /mnt/o
gives the described behaviour.

Well, so I changed cygdrive-prefix to /, now I have:
,[mount -p]
| Prefix  Type Flags
| /   user binmode
| /mntsystem   binmode
`
Alas, accessing /o within XEmacs works like a charm!

So I actually confirm Volkers findings:)

Greetings,
Jochen
- -- 
University of North Carolina   phone: +1-919-962-4403
Department of Chemistryphone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)fax: +1-919-843-6041
Chapel Hill, NC 27599, USAGnuPG key: 44BCCD8E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6-cygwin-fcn-1 (Cygwin)
Comment: Processed by Mailcrypt and GnuPG 

iD8DBQE8D7jdiJ/aUUS8zY4RAmq/AKCs5qVuVnNcyBzXiTsAjDhKtdffDQCgrPU8
a46uZNr/CHGPO7HbXLU9nXs=
=WNyH
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: install question

2001-12-06 Thread twidlar

Very good answer.

Peter Buckley wrote:
> 
> I have some ideas about how our government should do things. I also have
> ideas about how we should have 4 day workweeks and get paid the same.
> 
> What kind of ideas were you looking for? I could probably have an idea
> about anything if you told me something more specific.
> 
> Like if you wanted me to offer an idea about what I thought would help
> you install cygwin, maybe you could tell the list the steps that you
> took to install (from the beginning when you went to cygwin.com) and
> when you get the error message, and what the error message says. Then I
> might have an idea about what the problem could be, or even ideas that
> might help fix the problem. And there might be other people on the list
> with ideas, too. Just think of all the help you could get if you told us
> what your problem was.
> 
> Full of ideas,
> Peter
 
Gebbia, Joseph (Joey), NPONS:
> > Hi,
> >
> > I tried to install cygwin and I keep getting a error message. I am running
> > win2k, any ideas
> >
> >
> > thanks in advance
> >
> > Joey Gebbia, NPONS
> > AT&T Network Services
> > office: 732.885.7798
> > pager: 1.800.258. pin: 9116474

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




-mno-cygwin with newer GCC?

2001-12-06 Thread David Abrahams

--
Request: If you can remember to, please reply to me personally in addition
to sending your reply to the cygwin list. Thanks!
--

Hi,

I'm trying to use -mno-cygwin with a Cygwin GCC-3.0.2 that I built from
sources. It seems that there are some preprocessor symbol definitions
missing, for example:

_U=01 _L=02 _N=04 _S=010 _P=020 _C=040 _X=0100 _B=0200 // for ctype_base
_GLIBCPP_HAVE_MBSTATE_T

it gets the wrong definition of
   _GLIBCPP_HAVE_ACOSF
et. al. from std_cmath.

Is there a way to make this work?
It seems to me that the MINGW community (and Cygwin for that matter) is
pretty committed to gcc-2.95.x, but I want the improved C++ compiler
available with 3.0.2. Is anyone out there doing a similar thing, or am I
completely out on a limb?

TIA,
Dave

===
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

C++ Booster (http://www.boost.org)
  email: [EMAIL PROTECTED]
===



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Making perl script running under bash cygwin

2001-12-06 Thread Gerrit P. Haase

Hallo Jorge,

2001-12-06 19:22:29, du schriebst:

> Hi, I have this :
> system("perl -i.orig -pe 's!/home/ftp!/!g' c:/cygwin/etc/passwd") or die;

> And it dies always althought it works if I run it by Hand in the cygwin bash.
> Why?

Cannot say the exact raeson, but i left out the 'or die' and it works.
#!/usr/bin/perl

$args = "perl -i.orig -pe \'s!/home/ftp!/!g\' /etc/passwd";
system($args);

Maybe some native english speaker has a better understanding of this
part of perlrun.pod:

   -p   causes Perl to assume the following loop around your
program, which makes it iterate over filename argu­
ments somewhat like sed:

  LINE:
while (<>) {
... # your program goes here
} continue {
print or die "-p destination: $!\n";
}

If a file named by an argument cannot be opened for
some reason, Perl warns you about it, and moves on to
the next file.  Note that the lines are printed auto­
matically.  An error occurring during printing is
treated as fatal.  To suppress printing use the -n
switch.  A -p overrides a -n switch.

"BEGIN" and "END" blocks may be used to capture con­
trol before or after the implicit loop, just as in
awk.

Gerrit
-- 
convey Information Systems GmbH   http://www.convey.de/
  Vitalisstraße 326-328
Gerrit P. Haase   D-50933 Köln
[EMAIL PROTECTED]Fon: ++49 221 6903922


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: install question

2001-12-06 Thread Brian Keener

Peter Buckley wrote:
> > the install. It asked where I wanted the root directory to be c:/cygwin,
> > when the final step comes through I get this:
> > 
> > program error
> > cygwin.exe has generated errors and will be closed by windows, you will need
> > to restart the program. This is the setup log
> > 
> > 2001/12/06 11:27:53 Starting cygwin install, version 2.125.2.10
> > Current Directory: C:\Documents and Settings\Administrator\My
> > Documents\downloads
> > 2001/12/06 11:27:53 Command line parameters
> > 2001/12/06 11:27:53 0 - 'C:\Documents and Settings\Administrator\My
> > Documents\downloads\cygwin.exe'
> > 2001/12/06 11:27:53 1 parameters passed
> > source: download
> > Selected local directory: C:\Documents and Settings\Administrator\My
> > Documents\downloads
> > net: Direct
> > 2001/12/06 11:28:01 Ending cygwin install
> >
Joseph,

Make sure you do what Peter suggested, IE - I personally do a download from 
internet and then an install from local directory, but others do just an install 
from the internet.  Although it appears as three install options it is really 
only two - download and install or straight install.  

The big thing I question based on what I noticed in your setup.log above is what 
mirror site did you select and also what packages did you choose to download or 
what packages did the chooser show you it was going to download.  I ask because 
I don't see the mirror site listed nor do I see any listed packages and when 
setup downloads files it stores the downloaded names in the setup.log or 
setup.log.full as well as the site name.

Brian Keener
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Virtual  Access 5.51 build 315 Windows 2000 build 2195



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Kim, Anthony

On Thu, Dec 06, 2001, Corinna Vinschen wrote:

> On Thu, Dec 06, 2001 at 11:36:01AM -0600, Kim, Anthony wrote:
> > But I mean to say, wouldn't it be nice and consistent if
> > ln -s   worked like linkd as opposed to creating a
> > shortcut. I am aware of "mount" under cygwin but the mount is not
> > exported to Windows.
> 
> I have checked if it makes sense using reparse points for symlinks
> once when W2K was new.  We had to reject using them since they are
> not as flexible as we need it to get POSIX symlinks.  Main reason is
> that they have to be absolute windows paths.  So they would have to
> be changed each time the mount table is changed in a way which would
> influence them.  Many POSIX symlinks are relative links to their
> target.  That's completely impossible.  And reparse points to files
> aren't supported at all.

A couple of comments: I agree the MS implementation is not
flexible.  However, if the reparse points do not cross file
systems, I believe they can be relative. I do this now and
again..

C:\some\dir\here\and\there\> linkd otherdir ..\..\otherdir

The crappy part about the MS implementation is there doesn't seem
to exist an easy way to obtain the link destination. There's no
'ls -l' equivalent.

You're right about reparse points not working with files, but
hardlinks solve that issue. I was thinking in pseudo code:

-s flag given:
if src == directory 
create_junction()
else
create_shortcut()
endif

Anthony

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: I cannot use Linux drive in CygWin

2001-12-06 Thread Andrew Logue


Try this:

-install the corrupted hard drive into your backup PC, assuming WIN32/FAT32
here...
-boot from a Linux emergency rescue diskette that has both FAT32 support and
your
Linux filesystem support in the kernel.  I've been using this neat little
one called
"Toms rbtb" or something like that.  Go to yahoo.com and search for "toms
boot linux disk".
-login as root and mount the FAT32 partition you are going to copy the data
to.
-attempt to mount your Linux partitions and copy away.  If the hard drive
isn't
corrupted too bad you might luck out and be able to recover some of that
data.

Andrew.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Maxim
> Sent: December 5, 2001 1:02 PM
> To: [EMAIL PROTECTED]
> Subject: I cannot use Linux drive in CygWin
>
>
> Hello. I have this problem: Slackware Linux crash with very important
> files on hard drive. I think, this is hardware problem with boot
> sector. I can format HDD and reinstall Linux, but i lose all files on
> HDD. I want plug this HDD to other PC and copy all important data into
> other hard, and then format it. But I have only PC with Win98, and
> have no friends with Unix-type systems. I cannot install Linux on
> Win98 PCs (this is not my PCs).I know, that is program - NTFS for
> Windows 98(by WInternals, www.winternals.com). This program can read
> NTFS drives. But, maybe, somebody know program for reading Unix drives
> in Windows? Maybe, CygWin can do it? If yes, how?
>
>  Maxim  mailto:[EMAIL PROTECTED]
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Corinna Vinschen

On Thu, Dec 06, 2001 at 12:43:17PM -0600, Kim, Anthony wrote:
> On Thu, Dec 06, 2001, Corinna Vinschen wrote:
> 
> > On Thu, Dec 06, 2001 at 11:36:01AM -0600, Kim, Anthony wrote:
> > > But I mean to say, wouldn't it be nice and consistent if
> > > ln -s   worked like linkd as opposed to creating a
> > > shortcut. I am aware of "mount" under cygwin but the mount is not
> > > exported to Windows.
> > 
> > I have checked if it makes sense using reparse points for symlinks
> > once when W2K was new.  We had to reject using them since they are
> > not as flexible as we need it to get POSIX symlinks.  Main reason is
> > that they have to be absolute windows paths.  So they would have to
> > be changed each time the mount table is changed in a way which would
> > influence them.  Many POSIX symlinks are relative links to their
> > target.  That's completely impossible.  And reparse points to files
> > aren't supported at all.
> 
> A couple of comments: I agree the MS implementation is not
> flexible.  However, if the reparse points do not cross file
> systems, I believe they can be relative. I do this now and
> again..
> 
> C:\some\dir\here\and\there\> linkd otherdir ..\..\otherdir

Linkd takes a relative path as argument but it's translated
into an absolute path before storing it in the reparse point.

> The crappy part about the MS implementation is there doesn't seem
> to exist an easy way to obtain the link destination. There's no
> 'ls -l' equivalent.

It's no problem to read the reparse point content so a Cygwin
implementation would have given that information.

No, reparse points are not useful for a POSIX emulation layer.
Sure, it would be possible to add code to Cygwin which allows
to treat reparse points as symlinks but I'm not going to do
that in the near future and I'm not as interested in them as
I was in early 2000.  At least it would again slow down the
symlink evaluation code (the third method to look for).

However, if somebody wants to contribute code...

> You're right about reparse points not working with files, but
> hardlinks solve that issue. I was thinking in pseudo code:
> 
> -s flag given:
> if src == directory 
> create_junction()
> else
> create_shortcut()
> endif

But hardlinks are a completely different thing.  And they are
actually supported in Cygwin for years on NTFS.  FAT can't have
hardlinks.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[Fwd: OK: perl v5.7.2 +DEVEL13461 on cygwin 1.3.6(0.4732)]

2001-12-06 Thread John Peacock

Congratulations are in order: Perl 5.8.0-to-be built completely clean under
Cygwin 1.3.6; I have always had a few nagging tests which fail.  I would like
to thank Corinna and Christopher for their hard work in forcing NT/W2k to act
more and more like a real O/S. ;~)

John

 Original Message 
Subject: OK: perl v5.7.2 +DEVEL13461 on cygwin 1.3.6(0.4732)
Date: Thu, 06 Dec 2001 13:24:05 -0500
From: John Peacock <[EMAIL PROTECTED]>
Organization: Rowman & Littlefield Publishing Group
To: Perl5 Porters <[EMAIL PROTECTED]>,"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

This is a success report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.33 running under perl v5.7.2.

Perl reported to build OK on this system.
---
Flags:
category=install
severity=none
---
Site configuration information for perl v5.7.2:

Configured by JPeacock at Thu Dec  6 10:06:40  2001.

Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 13461)
configuration:
  Platform:
osname=cygwin, osvers=1.3.6(0.4732), archname=cygwin
uname='cygwin_nt-5.0 jpeacock 1.3.6(0.4732) 2001-12-05 18:15 i686 unknown '
config_args='-des -Dusedevel -Doptimize=-g'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DDEBUGGING
-fno-strict-aliasing',
optimize='-g',
cppflags='-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing'
ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, prototype=define
  Linker and Libraries:
ld='ld2', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -lcrypt -lutil
perllibs=-lcrypt -lutil
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_7_2.a
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -L/usr/local/lib'

Locally applied patches:
DEVEL13461

---
@INC for perl v5.7.2:
lib
/usr/local/lib/perl5/5.7.2/cygwin
/usr/local/lib/perl5/5.7.2
/usr/local/lib/perl5/site_perl/5.7.2/cygwin
/usr/local/lib/perl5/site_perl/5.7.2
/usr/local/lib/perl5/site_perl/5.6.1/cygwin
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.

---
Environment for perl v5.7.2:
CYGWIN=ntea ntsec error_start=d:/CygWin/bin/debug_wrapper.bat
HOME=/home/JPeacock
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin
PERLDB_OPTS=
PERL_BADLANG (unset)

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin ualarm() breaks Perl [WAS Re: cygwin @ 13452 warnings]

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 12:29:57PM -0500, John Peacock wrote:
>"H.Merijn Brand" wrote:
>> 
>> the ualarm is still fatal on 1.3.6-2. I've just removed the second argument in
>> 
>
>I found the following entry in winsup/cygwin/ChangeLog:
>
> 2001-11-27  Christopher Faylor  <[EMAIL PROTECTED]>
> 
> * cygwin.din (ualarm): New export.
> (ualarm): New function.  From Alexandr V. Shutko.
>
>It looks like the unistd.h header never got updated; here is a small patch to
>/usr/include/sys/unistd.h which seems to fix the compiling:
>
>--- unistd.h.oldThu Dec  6 12:17:06 2001
>+++ unistd.hThu Dec  6 12:19:06 2001
>@@ -133,7 +133,7 @@
> #if defined(__CYGWIN__) || defined(__rtems__)
> int_EXFUN(getdtablesize, (void));
> int_EXFUN(setdtablesize, (int));
>-useconds_t _EXFUN(ualarm, (useconds_t __useconds));
>+useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
> unsigned _EXFUN(usleep, (unsigned int __useconds));
> int _EXFUN(ftruncate, (int __fd, off_t __length));
> int _EXFUN(truncate, (const char *, off_t __length));

You're right.  That was my problem.  You can probably see what I did.  I just
duplicated the usleep line and (apparently) halfheartedly edited for ualarm.

I've patched newlib (the ChangeLog entry is in your name), so the next release
will have the proper prototype.

Thanks for the patch.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Windows 2000 Junction Points

2001-12-06 Thread Kim, Anthony

On Thu, Dec 06, 2001, Corinna Vinschen wrote:

> On Thu, Dec 06, 2001 at 12:43:17PM -0600, Kim, Anthony wrote:
> > 
> > A couple of comments: I agree the MS implementation is not
> > flexible.  However, if the reparse points do not cross file
> > systems, I believe they can be relative. I do this now and
> > again..
> > 
> > C:\some\dir\here\and\there\> linkd otherdir ..\..\otherdir
> 
> Linkd takes a relative path as argument but it's translated
> into an absolute path before storing it in the reparse point.

Oh, I did not know that.


> > The crappy part about the MS implementation is there doesn't seem
> > to exist an easy way to obtain the link destination. There's no
> > 'ls -l' equivalent.
> 
> It's no problem to read the reparse point content so a Cygwin
> implementation would have given that information.
> 
> No, reparse points are not useful for a POSIX emulation layer.
> Sure, it would be possible to add code to Cygwin which allows
> to treat reparse points as symlinks but I'm not going to do
> that in the near future and I'm not as interested in them as
> I was in early 2000.  At least it would again slow down the
> symlink evaluation code (the third method to look for).

OK, I got it. It was just a suggestion.


> > You're right about reparse points not working with files, but
> > hardlinks solve that issue. I was thinking in pseudo code:
> > 
> > -s flag given:
> > if src == directory 
> > create_junction()
> > else
> > create_shortcut()
> > endif
> 
> But hardlinks are a completely different thing.  And they are
> actually supported in Cygwin for years on NTFS.  FAT can't have
> hardlinks.

Sorry, I mixed contexts. I meant to say, when I needed another
link to a file, I would normally just use a hardlink and if I
need the file to be linked across filesystems, I'd normally
junction point the parent directory - not that frequent I admit,
but hey people do some strange stuff.

Thanks for answering my query and all the hard work you've done.

Anthony


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: -mno-cygwin with newer GCC?

2001-12-06 Thread Danny Smith

 --- David Abrahams <[EMAIL PROTECTED]> wrote: > --
> Request: If you can remember to, please reply to me personally in
> addition
> to sending your reply to the cygwin list. Thanks!
> --
> 
> Hi,
> 
> I'm trying to use -mno-cygwin with a Cygwin GCC-3.0.2 that I built from
> sources. It seems that there are some preprocessor symbol definitions
> missing, for example:
> 
> _U=01 _L=02 _N=04 _S=010 _P=020 _C=040 _X=0100 _B=0200 // for ctype_base
> _GLIBCPP_HAVE_MBSTATE_T
> 
> it gets the wrong definition of
>_GLIBCPP_HAVE_ACOSF
> et. al. from std_cmath.
> 
> Is there a way to make this work?
> It seems to me that the MINGW community (and Cygwin for that matter) is
> pretty committed to gcc-2.95.x, but I want the improved C++ compiler
> available with 3.0.2. Is anyone out there doing a similar thing, or am I
> completely out on a limb?
> 

Speaking as a mingw developer, I am committed to a GCC 3.1 for mingw in
April 2001.  

> TIA,
> Dave
> 



http://shopping.yahoo.com.au - Yahoo! Shopping
- Free CDs for thousands of Priority Shoppers!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread David Rothenberger

I've done a little debugging and here's what I've found out.

It appears to be a problem/change to the behavior of
cygwin_posix_to_win32_path_list().  When this function is called with a
path of the form "/cygdrive/z/something", it returns an empty string
unless the drive "z" actually exists.  This seems incorrect to me, since
this function always returns a valid Windows path for other POSIX paths,
even if the file or directory doesn't actually exist.

Even more troubling, the function appears to return garbage when called
with "/cygdrive/z" or "/cygdrive/z/", unless "z" is a valid drive.

Dave

P.S. I used the following little test program to play with this.

#include 

int main (int argc, char** argv)
{
char* name = argv[1];
char* tmp;
printf("name = %s\n", name);
tmp = alloca (cygwin_posix_to_win32_path_list_buf_size(name));
cygwin_posix_to_win32_path_list(name, tmp);
printf("%s -> %s\n", name, tmp);
return 0;
}


"Ryan T. Sammartino" wrote:
> 
> On Thu, Dec 06, 2001 at 10:49:36AM -0500, Christopher Faylor wrote:
> > Someone should actually *debug the problem*.
> 
> This is what I'm (attempting) to do... just thought I'd alert people to
> the problem in case someone already had a fix or workaround before I
> invested the time.
> 
> I'll let you know what I come up with, if anything.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Can't find install-sh or install.sh

2001-12-06 Thread Stephen Rasku

I am trying to modify the make program to add some extra diagnostics.  
I have untarred make-3.79.1-src.tar.bz2.  When I run ./configure, I 
get the following:

loading cache ./config.cache
configure: error: can not find install-sh or install.sh in .
./.. ./../..

I looked in the archives but I couldn't find anything relevant.

-- 
Stephen Rasku   E-mail: [EMAIL PROTECTED]
Senior Software EngineerWeb:http://www.pop-star.net/
TGI Technologies


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't find install-sh or install.sh

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 12:06:02PM -0800, Stephen Rasku wrote:
>I am trying to modify the make program to add some extra diagnostics.  
>I have untarred make-3.79.1-src.tar.bz2.  When I run ./configure, I 
>get the following:
>
>   loading cache ./config.cache
>   configure: error: can not find install-sh or install.sh in .
>   ./.. ./../..
>   
>I looked in the archives but I couldn't find anything relevant.

It sounds like you have an old version of the sources.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 11:46:43AM -0800, David Rothenberger wrote:
>I've done a little debugging and here's what I've found out.
>
>It appears to be a problem/change to the behavior of
>cygwin_posix_to_win32_path_list().  When this function is called with a
>path of the form "/cygdrive/z/something", it returns an empty string
>unless the drive "z" actually exists.
>
>P.S. I used the following little test program to play with this.

Thanks for the test case.  I can duplicate this bug.  I expect that I'll be
able to fix it shortly.

Your debugging of this problem is greatly appreciated.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't find install-sh or install.sh

2001-12-06 Thread Peter Buckley

I think Chris is right that you have an old version of the sources, and 
you would be best off getting the new version. But if you still have the 
problem, you can create an empty install-sh or install.sh and IIRC this 
should "fake" configure into continuing. This is the case with some few 
other things that configure quits over, but YMMV and DTTAHK.

HTH,
Peter

Stephen Rasku wrote:

> I am trying to modify the make program to add some extra diagnostics.  
> I have untarred make-3.79.1-src.tar.bz2.  When I run ./configure, I 
> get the following:
> 
>   loading cache ./config.cache
>   configure: error: can not find install-sh or install.sh in .
>   ./.. ./../..
>   
> I looked in the archives but I couldn't find anything relevant.
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: problems compiling curl under Cygwin

2001-12-06 Thread Roth, Kevin P.

Problem solved... I upgraded to the version of cygwin that CGF released
yesterday, and the problem disappeared.

--Kevin



-Original Message-
From: Roth, Kevin P. 
Sent: Wednesday, December 05, 2001 1:51 PM

[SNIP]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




gdbserver

2001-12-06 Thread Matt Sykes


What is the status of gdbserver on cygwin?  Does it exist?  Is it
usable?

I was unable to compile gdbserver from the source .tar.bz2 in the
cygwin distribution.  I also tried the "raw" gdb-5.0 sources from fsf
which don't compile either (expectedly so I presume).

My steps were:

--
tar jxvf gdb-20010428-3.tar.bz2

cd gdb-20010428-3
./configure --prefix=/usr/local/gdb
make

# I tried with and without the following 4 lines
cd gdb
./configure --prefix=/usr/local/gdb
make
cd ..

cd gdb/gdbserver
./configure --prefix=/usr/local/gdb
make

---
error output is:

rm -f gdbserver
gcc-o gdbserver utils.o  server.o remote-utils.o \
   
server.o: In function `start_inferior':
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:35:
undefined reference to `create_inferior'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:39:
undefined reference to `mywait'
server.o: In function `main':
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:62:
undefined reference to `initialize_low'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:98:
undefined reference to `fetch_inferior_registers'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:112:
undefined reference to `registers'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:115:
undefined reference to `registers'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:116:
undefined reference to `store_inferior_registers'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:121:
undefined reference to `read_inferior_memory'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:126:
undefined reference to `write_inferior_memory'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:133:
undefined reference to `myresume'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:134:
undefined reference to `mywait'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:139:
undefined reference to `myresume'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:140:
undefined reference to `mywait'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:144:
undefined reference to `myresume'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:145:
undefined reference to `mywait'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:149:
undefined reference to `myresume'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:150:
undefined reference to `mywait'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:155:
undefined reference to `kill_inferior'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:175:
undefined reference to `mythread_alive'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:185:
undefined reference to `kill_inferior'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/server.c:222:
undefined reference to `kill_inferior'
remote-utils.o: In function `outreg':
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/remote-utils.c:427:
undefined reference to `i386_register_raw_size'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/remote-utils.c:436:
undefined reference to `i386_register_byte'
/home/sykes/work/gdb/gdb-20010428-3/gdb/gdbserver/remote-utils.c:436:
undefined reference to `registers'
collect2: ld returned 1 exit status
make: *** [gdbserver] Error 1

-

trying to find some symbols,

cd /lib
grep --print-file-name * | grep mywait
cd /usr/lib
grep --print-file-name * | grep mywait

doesn't give anything.

-

I wish to remote debug through tcp/ip from one cygwin machine to
another.

However what would *really* be nice is to remote debug windows apps
using the i686-mingw32-g++ / i686-mingw32-gdb cross environment on
from my freebsd machine (freebsd being the host and windows being the
target).  This should work if I can get the former to work.

Thanks in advance for any advice/info.

--Matt



Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Ryan T. Sammartino

On Thu, Dec 06, 2001 at 11:46:43AM -0800, David Rothenberger wrote:
> I've done a little debugging and here's what I've found out.
> 
> It appears to be a problem/change to the behavior of
> cygwin_posix_to_win32_path_list().  When this function is called with a
> path of the form "/cygdrive/z/something", it returns an empty string
> unless the drive "z" actually exists.  This seems incorrect to me, since
> this function always returns a valid Windows path for other POSIX paths,
> even if the file or directory doesn't actually exist.
> 
> Even more troubling, the function appears to return garbage when called
> with "/cygdrive/z" or "/cygdrive/z/", unless "z" is a valid drive.
>


I dunno if that is related to the problem I'm having.  I'm trying to
open a file like ~/project/foo, and ~/project is a symlink to
/cygdrive/d/project, and drive D certainly exists for me.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: gdbserver

2001-12-06 Thread Matt Sykes


> 
> trying to find some symbols,
> 
> cd /lib
> grep --print-file-name * | grep mywait
> cd /usr/lib
> grep --print-file-name * | grep mywait
> 
> doesn't give anything.
> 

oops that was a typo. should be nm --print-file-name.




Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Problem starting rxvt with Cygwin 1.3.6-4

2001-12-06 Thread John Peacock

> $ rxvt
> failed to load libX11.dll

I see no evidence of this file (though I see the suspiciously named libW11.dll).
I searched the list archive and found only these messages:

http://sources.redhat.com/ml/cygwin/2001-12/msg00254.html
http://sources.redhat.com/ml/cygwin/2001-05/msg01727.html

neither of which is particularly helpful.

I swear I never installed XFree at all before, but I just recently started 
using rxvt (and was enjoying it immensely).  I reinstalled rxvt and cygwin, to
no effect.  I did just reinfest my machine with Rational Suite Enterprise, so
god knows what that has done to me...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problem starting rxvt with Cygwin 1.3.6-4

2001-12-06 Thread John Peacock

John Peacock wrote:
> 
> > $ rxvt
> > failed to load libX11.dll
> 

Never mind; I just read through /usr/doc/Cygwin/rxvt-2.7.2.README and realized
that Rational had set the environment variable 

DISPLAY=:0.0

once I set that to 

DISPLAY=:0

and rxvt comes up like normal.

NOTE: since I was using rxvt as part of my CYGWIN.BAT file, I had to do:

chdir \cygwin\bin

set DISPLAY=:0
rxvt -e bash --login -i

in order to make sure that rxvt worked properly.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't find install-sh or install.sh

2001-12-06 Thread Stephen Rasku

Peter Buckley wrote:

>I think Chris is right that you have an old version of the sources,  
>andyou would be best off getting the new version. But if you still 
>have  the problem, you can create an empty install-sh or install.sh 
>and IIRC this should "fake" configure into continuing. This is the  
>case with some few other things that configure quits over, but YMMV 
>and DTTAHK.
>
>HTH,
>Peter

It appears that I was out of date but just barely.  I downloaded the 
old version the day before yesterday.  Thanks to Chris and Peter.

-- 
Stephen Rasku   E-mail: [EMAIL PROTECTED]
Senior Software EngineerWeb:http://www.pop-star.net/
TGI Technologies


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can't find install-sh or install.sh

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 01:16:58PM -0800, Stephen Rasku wrote:
>It appears that I was out of date but just barely.  I downloaded the 
>old version the day before yesterday.  Thanks to Chris and Peter.

make-3.79.1-5 was uploaded on 2001-11-25.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Making perl script running under bash cygwin

2001-12-06 Thread Robinow, David

system returns 0. 'system(...) or die' should always die.  Does it run the
command first?
  Does this have anything to do with cygwin? i.e., does it perform
differently on other systems?

-Original Message-
From: Jorge Goncalvez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:57 AM
To: [EMAIL PROTECTED]
Subject: RE:Making perl script running under bash cygwin


Hi, I have this :
system("perl -i.orig -pe 's!/home/ftp!/!g' c:/cygwin/etc/passwd") or die;

And it dies always althought it works if I run it by Hand in the cygwin
bash.
Why?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: -mno-cygwin and SDL

2001-12-06 Thread CaetSith7

When I removed the -I /usr/include it seemed to compile fine (the test1.C is just a 
skeleton so I'll have to test more later).  Thanks for the help,

Shawn Lindberg

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread David Rothenberger

I think it's related.  My little test program shows that when
cygwin_posix_to_win32_path_list() is called with "/cygdrive", it also
returns an empty string.  Strangely, "/cydrive/" returns "\".

I have no idea why xemacs is calling the function with "/cygdrive" when
following symlinks like the ones you described, but it does.

Maybe cgf can fix this behavior, too...

Dave

"Ryan T. Sammartino" wrote:
> 
> On Thu, Dec 06, 2001 at 11:46:43AM -0800, David Rothenberger wrote:
> > I've done a little debugging and here's what I've found out.
> >
> > It appears to be a problem/change to the behavior of
> > cygwin_posix_to_win32_path_list().  When this function is called with a
> > path of the form "/cygdrive/z/something", it returns an empty string
> > unless the drive "z" actually exists.  This seems incorrect to me, since
> > this function always returns a valid Windows path for other POSIX paths,
> > even if the file or directory doesn't actually exist.
> >
> > Even more troubling, the function appears to return garbage when called
> > with "/cygdrive/z" or "/cygdrive/z/", unless "z" is a valid drive.
> >
> 
> I dunno if that is related to the problem I'm having.  I'm trying to
> open a file like ~/project/foo, and ~/project is a symlink to
> /cygdrive/d/project, and drive D certainly exists for me.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Why isn't my NT username created for Cygwin USER?

2001-12-06 Thread Rosenzweig, Daniel Z (Dan), NNAD

In NT, I have a username, lets call it, 'myname', which has admin rights (for the 
local PC). When I did a 
try mkpasswd -l > /etc/passwd it never created a listing  for danr -- it created one 
for Administrator --- and that's what my $USER and home directory are set for. On the 
other hand, Cygwin set my $USERNAME to danr. What's going on here?

Thanks,
Dan


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.6-3 and xemacs

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 02:14:25PM -0800, David Rothenberger wrote:
>I have no idea why xemacs is calling the function with "/cygdrive" when
>following symlinks like the ones you described, but it does.
>
>Maybe cgf can fix this behavior, too...

I suspect that this is different, unrelated behavior.

And, just to be clear, multiple messages repeating roughly the same info
do not help in debugging the problem.  Test cases, like what you provided
earlier, do.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




1.3.6 not linked on website?

2001-12-06 Thread Roland Glenn McIntosh

Has there been too much mailing list chatter (read: issues) about 1.3.6 for it to have 
been "officially" released?  cygwin.com says "latest" is 1.3.5.  I realize I could get 
a snapshot if I wanted it.

Just wondering about development cycles.

-rgm


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Why isn't my NT username created for Cygwin USER?

2001-12-06 Thread Larry Hall (RFK Partners, Inc)

At 08:32 AM 12/6/2001, Rosenzweig, Daniel Z (Dan), NNAD wrote:
>In NT, I have a username, lets call it, 'myname', which has admin rights (for the 
>local PC). When I did a 
>try mkpasswd -l > /etc/passwd it never created a listing  for danr -- it created one 
>for Administrator --- and that's what my $USER and home directory are set for. On the 
>other hand, Cygwin set my $USERNAME to danr. What's going on here?



Checking the FAQ and email archives will give you some insights here.



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: 1.3.6 not linked on website?

2001-12-06 Thread Larry Hall (RFK Partners, Inc)

At 05:21 PM 12/6/2001, Roland Glenn McIntosh wrote:
>Has there been too much mailing list chatter (read: issues) about 1.3.6 for it to 
>have been "officially" released?  cygwin.com says "latest" is 1.3.5.  I realize I 
>could get a snapshot if I wanted it.
>
>Just wondering about development cycles.



Specifics would be helpful here.  Exactly where do you see on the Web 
site that 1.3.5 is the "latest"?  When I go to www.cygwin.com I see two
indications that 1.3.6 is the latest.  The first is right next to the 
"Install Now" indicator and the other is the announcement in the "News"
section.  Both of these are about halfway through the page.

So where do you see something that's caused your confusion?


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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




"Unable to generate reloads" error from g++

2001-12-06 Thread Jim Thomas

Aloha,

The following source causes the above error message when compiled with the
current version of cygwin gcc .  (The code is extracted from part of a
system called EPICS.)

source (acg.cc):

extern __inline__ unsigned long int __ntohl(unsigned long int);

extern __inline__ unsigned long int
__ntohl(unsigned long int x)
{
__asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */
"rorl $16,%0\n\t"   /* swap words   */
"xchgb %b0,%h0" /* swap higher bytes*/
:"=q" (x)
: "0" (x));
return x;
}

typedef charaitInt8;
typedef unsigned intaitUint32;
typedef float   aitFloat32;
typedef aitUint32   aitIndex;

static int aitConvertFromNetInt8Float32(void* d,const void* s,aitIndex c)
{
aitIndex i;
aitInt8* d_val=(aitInt8*)d;
aitFloat32* s_val=(aitFloat32*)s;

aitFloat32 temp;

for(i=0;i>  8) | (((unsigned long int)( ( *( 
(aitUint32*)&s_val[i] ) ) ) & 0xff00U) >> 24)))  : __ntohl(( *( 
(aitUint32*)&s_val[i] ) ))) ) ;
d_val[i]=(aitInt8)temp;
}
return (int) (sizeof(aitInt8)*c);
}


compile command:

g++ -ansi -pedantic -Wtraditional-O  -Wall -Wmissing-prototypes 
-Woverloaded-virtual -Wwrite-strings -Wconversion -Wstrict-prototypes -Wpointer-arith 
-Winline   -c   acg.cc


compiler output:

acg.cc: In function `int aitConvertFromNetInt8Float32(void *, const void *, unsigned 
int)':
acg.cc:32: Unable to generate reloads for:
(insn 79 77 83 (parallel[ 
(set (reg:SI 0 %eax)
(fix:SI (fix:SF (reg/v:SF 0 %eax
(clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
(const_int -2 [0xfffe])) 0))
(clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
(const_int -4 [0xfffc])) 0))
(clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
(const_int -8 [0xfff8])) 0))
(clobber (scratch:HI))
] ) 145 {fix_truncsfsi2+1} (insn_list 118 (nil))
(expr_list:REG_DEAD (reg/v:SF 0 %eax)
(expr_list:REG_UNUSED (scratch:HI)
(nil


cygcheck output:


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Dec 06 11:47:52 2001

Windows 2000 Professional Ver 5.0 build 2195 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\apps\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
e
c600\bin
e:\CapFast\wcs\bin
C:\cygwin\opt\Tornado\host\parisc-hpux10\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `e:\thomas'
MAKE_MODE = `unix'
PWD = `/cygdrive/e/thomas/epics/base/src/gdd/O.cygwin32'
USER = `'

!EXITCODE = `'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Jim Thomas\Application Data'
CFHTCONFPATH = `/cfht/dev/conf'
CFHTDIR = `/usr/local/cfht'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `AA'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DVHOME = `/opt/dataviews'
EDITOR = `emacs'
FFTEMPLATE = `/cygdrive/e/thomas/.,template'
HOMEDRIVE = `e:'
HOMEPATH = `\thomas'
LESS = `-ceqM'
LOGONSERVER = `\\AA'
LS = `ls -abFC'
MANPATH = `/usr/man'
MORE = `-c'
NUMBER_OF_PROCESSORS = `2'
OBSERVER = `/users/observer'
OLDPWD = `/cygdrive/e/thomas/epics/base/src/gdd'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `AA ~/epics/base/src/gdd/O.cygwin32 > '
SHLIB_PATH = `/opt/Tornado/host/parisc-hpux10/lib'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
SystemType = `cygwin'
SystemVersion = `1'
TEMP = `c:\tmp'
TERM = `cygwin'
TIX_LIBRARY = `/apps/tcl/lib/tix4.1/'
USERDOMAIN = `AA'
USERNAME = `Jim Thomas'
USERPROFILE = `C:\Documents and Settings\Jim Thomas'
VISUAL = `emacs'
WINDIR = `C:\WINNT'
WIND_BASE = `/opt/Tornado'
WIND_HOST_TYPE = `parisc-hpux10'
WIND_REGISTRY = `saturn'
WTX_CONSOLE_LINES = `2048'
_ = `/usr/bin/cygcheck'
cdHelper = `() {  if (( " $# == 0 " )); then
 'cd' || return 1;
 else
 if (( " $# == 1 " )); then
 'cd' $1 || return 1;
 else
 'cd' $* || return 1;
 fi;
 fi;
 Fixpwd $PWD;
 PS1="$SB$hostname $PromptPath >$EB "
}'
cfht = `/usr/local/cfht'
cfhtdir = `/cfht'
dev = `/cfht/dev'
dirsHelper = `() {  print "$PWD ${DirectoryStack[*]}"
}'
hostname = `AA'
observer = `/users/observer'
popdHelper = `() {  typeset -i Depth=${#DirectoryStack[*]};
 if (( " $# > 1 " )); then
 print "popd: zero or one argument";
 return 1;
 fi;
 case $1 in 
 "")
 if (( " Depth < 1 " )); then
 print "popd: nothing on stack";
 return 1;
 fi;
 cdHelper ${DirectoryStack

RE: Terminate batch job (Y/N)?

2001-12-06 Thread Alex Malinovich

I'm surprised that no one has responded with the "quick" answer yet. We
had a short discussion about this a few months ago, and there are 2 ways
to get around it:

A) Instead of running cygwin.bat, just create a shortcut to run "bash
--login -i"
B) Modify cygwin.bat, and in front of the "bash --login -i" line add
"start". (i.e. start bash --login -i)

-Alex

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Birl
Sent: Tuesday, December 04, 2001 8:41 AM
To: [EMAIL PROTECTED]
Subject: Terminate batch job (Y/N)?


Sometimes when I exit the Cygwin shell I am prompted to terminate a
batch job, although I have no jobs running.  This usually happens when I
^C out of a program.

Has anyone else experienced this?  Anyone know what might be causing
this?

---
conin  fpsrvadm /home/fpsrvadm/
9:38:54am   Tue: Dec-04-01% perl
^C

conin  fpsrvadm /home/fpsrvadm/
9:39:03am   Tue: Dec-04-01% jobs

conin  fpsrvadm /home/fpsrvadm/
9:39:05am   Tue: Dec-04-01% exit
exit
Terminate batch job (Y/N)?
---



 Thanks

 Scott Birl  [EMAIL PROTECTED]
 UNIX Consultant/Systems Administrator   Computer  Services   Temple
University
 1805 North Broad Street  Philadelphia   Pennsylvania 19122   United
States
*******+******==
==**


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Found my problem, found 1.3.6 link

2001-12-06 Thread Roland Glenn McIntosh

Browser cache (for a long time).
Sorry.
-rgm


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




xemacs users -- please try latest cygwin snapshot...

2001-12-06 Thread Christopher Faylor

I think I at least fixed the problem reported so succinctly by
David Rothenberger.

Since I didn't have an actual test case for the other problem, I
could only take a stab at what it could be, but it's possible that
problem is fixed, too.

My availability is, again, rather limited in the next day or so,
so don't panic if I don't respond to further bug reports.

If this snapshot solves the problems, I will release a new version
of 1.3.6.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: xemacs users -- please try latest cygwin snapshot...

2001-12-06 Thread David Rothenberger

I'm unable to download any snapshots.  It appears that all the files in
ftp://sources.redhat.com/pub/cygwin/snapshots are actually symlinks to
/www/..., and the /www directory doesn't exist (or is not accessible
through anonymous login).

Anyone else able to grab the snapshot?

Dave

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




$USERNAME != $USER ($USERNAME = Win NT name)

2001-12-06 Thread Daniel Rosenzweig

In NT, I have a username, lets call it, 'myname', which has admin rights
(for the local PC). When I did a try mkpasswd -l > /etc/passwd it never
created a listing  for danr -- it created one for Administrator --- and
that's what my $USER and home directory are set for. On the other hand,
Cygwin set my $USERNAME to 'myname'. What's going on here?

Thanks
-
Daniel Rosenzweig
[EMAIL PROTECTED]
The URLs below are placed by NetZero - not me.

Sign Up for NetZero Platinum Today
Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




latest snapshot fixes xemacs problems

2001-12-06 Thread David Rothenberger

The latest snapshot does fix all the xemacs problems that have been
reported.  The little test program I wrote also returns reasonable
results for all the cases I reported.

Thanks a bunch, Christopher!

Dave

Christopher Faylor wrote:
> 
> I think I at least fixed the problem reported so succinctly by
> David Rothenberger.
> 
> Since I didn't have an actual test case for the other problem, I
> could only take a stab at what it could be, but it's possible that
> problem is fixed, too.
> 
> My availability is, again, rather limited in the next day or so,
> so don't panic if I don't respond to further bug reports.
> 
> If this snapshot solves the problems, I will release a new version
> of 1.3.6.
> 
> cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: latest snapshot fixes xemacs problems

2001-12-06 Thread Jochen Küpper

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 06 Dec 2001 17:28:20 -0800 David Rothenberger wrote:

David> The latest snapshot does fix all the xemacs problems that have
David> been reported.  The little test program I wrote also returns
David> reasonable results for all the cases I reported.

I don't have any xemacs specific problems any more either, but a more
general one (v.i.).

David> Thanks a bunch, Christopher!

Absolutely -- for a lot of nice work!!


Well, I downloaded cygwin-inst-20011206.tar.bz2, changed setup.ini to
"know" the file and installed it. XEmacs doesn't crash any more
accesing /cygdrive paths. But whenever cygdrive-prefix != / I cannot
work with the directories either -- regardless of the application. I
cannot traverse into the directory structure at all, it seems:

Everything working with cygdrive-prefix == / I do in bash: 

[mount -b -s -c /cygdrive]

,[mount -p]
| Prefix  Type Flags
| /cygdrive   system   binmode
`

,[ll /cygdrive/c]
| total 0
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 c/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 h/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 i/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 m/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 n/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 o/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 x/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 z/
`

,[ll /cygdrive/c/c]
| ls: /cygdrive/c/c: Not a directory
`

,[cygcheck -s -r]
| 
| Cygnus Win95/NT Configuration Diagnostics
| Current System Time: Thu Dec 06 21:00:35 2001
| 
| Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
| 
| Path: c:\data\jochen\bin
|   C:\cygwin\usr\local\bin
|   C:\cygwin\usr\X11R6\bin
|   C:\cygwin\bin
|   C:\cygwin\bin
|   C:\cygwin\mnt\c\Python21\
|   C:\cygwin\mnt\c\WINNT\system32
|   C:\cygwin\mnt\c\WINNT
|   C:\cygwin\mnt\c\WINNT\System32\
|   C:\cygwin\bin
|   C:\cygwin\mnt\c\Program Files\Python21
|   C:\cygwin\mnt\c\Program Files\molekel
|   C:\cygwin\mnt\c\PROGRA~1\AFS\Client\Program
|   C:\cygwin\mnt\c\PROGRA~1\AFS\Common
|   C:\cygwin\mnt\c\Program Files\Common Files\MDL Shared\ISIS
| 
| SysDir: C:\WINNT\System32
| WinDir: C:\WINNT
| 
| CYGWIN = `check_case:adjust glob notitle ntsec tty MAKE_MODE=UNIX'
| C_INCLUDE_PATH = 
|`/home/jochen/include:/usr/local/include:/usr/include:/usr/X11R6/include'
| HOME = `c:\data\jochen'
| LD_LIBRARY_PATH = `\home\jochen\lib:\user\local\jochen\lib:'
| LIBRARY_PATH = `/home/jochen/lib:/user/local/jochen/lib:'
| MAKE_MODE = `unix'
| PWD = `/home/jochen'
| USER = `jochen'
| 
| HKEY_CURRENT_USER\Software\Cygnus Solutions
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
| HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
|Menu\Programs\Cygnus Solutions
|   (default) = (unsupported type)
| HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
|Menu\Programs\Unix\Cygnus Solutions
|   (default) = (unsupported type)
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
|   (default) = `/cygdrive'
|   cygdrive flags = 0x002a
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
|   (default) = `C:\cygwin'
|   flags = 0x000a
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
|   (default) = `c:/data'
|   flags = 0x000a
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
|   (default) = 0x000a
|   native = `c:\tmp'
| 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  NTFS8189Mb  48% CP CS UN PA FC System
| d:  cd   N/AN/A
| h:  net AFS2097151Mb  51% CP CS  ?S
| i:  net AFS2097151Mb  51% CP CS  ?S
| j:  net AFS2097151Mb  51% CP CS  ?S
| m:  net NTFS   21657Mb  93% CP CSPA.
| n:  net NTFS   21657Mb  93% CP CSPA.
| o:  net NTFS   21657Mb  93% CP CSPA.
| x:  net NTFS   75116Mb  31% CP CSPA.
| z:  net NTFS   21657Mb  93% CP CSPA.
| 
| C:\cygwin  /  system  binmode
| c:/data/home  system  binmode
|

problem with Rational Suite Enterprise installation

2001-12-06 Thread Scott Wingo

Hello,

I am running Windows 98, and I've recently installed Rational Suite
Enterprise.  The other day, when I ran Cygwin, I the 'pwd' command returned
"/cygdrive/d/RATIONAL/RATION~1/NUTCROOT"  How can I get it back to normal?
I saw a posting regarding a similar problem with Windows NT in your
archives--I tried the suggested changes to cygwin.bat, but the problem
persists.  What should I do?

Thanks,
Scott


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: latest snapshot fixes xemacs problems

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 09:21:00PM -0500, Jochen K?pper wrote:
>Well, I downloaded cygwin-inst-20011206.tar.bz2, changed setup.ini to
>"know" the file and installed it. XEmacs doesn't crash any more
>accesing /cygdrive paths. But whenever cygdrive-prefix != / I cannot
>work with the directories either -- regardless of the application. I
>cannot traverse into the directory structure at all, it seems:

This seems like an incredible amount of work to just install the DLL.

>On Thu, 06 Dec 2001 17:28:20 -0800 David Rothenberger wrote:
>Well, I downloaded cygwin-inst-20011206.tar.bz2, changed setup.ini to
>"know" the file and installed it. XEmacs doesn't crash any more
>accesing /cygdrive paths. But whenever cygdrive-prefix != / I cannot
>work with the directories either -- regardless of the application. I
>cannot traverse into the directory structure at all, it seems:
>
>Everything working with cygdrive-prefix == / I do in bash: 
>
>[mount -b -s -c /cygdrive]
>
>,[mount -p]
>| Prefix  Type Flags
>| /cygdrive   system   binmode
>`
>
>,[ll /cygdrive/c]
>| total 0
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 c/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 h/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 i/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 m/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 n/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 o/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 x/
>| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 z/
>`

Are you *really* getting a list of all of your drives under /cygdrive/c?
Or is this a typo?  

It seems to me that this should be:
bash$ ll /cygdrive

>,[ll /cygdrive/c/c]
>| ls: /cygdrive/c/c: Not a directory
>`

Not surprising, unless you have a 'c' directory on your c: drive.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problem starting rxvt with Cygwin 1.3.6-4

2001-12-06 Thread Jeff Mincy

   From: John Peacock <[EMAIL PROTECTED]>
   Date: Thu, 06 Dec 2001 16:03:35 -0500
   
   John Peacock wrote:
   > 
   > > $ rxvt
   > > failed to load libX11.dll
   > 
   
   Never mind; I just read through /usr/doc/Cygwin/rxvt-2.7.2.README and realized
   that Rational had set the environment variable 
   
set DISPLAY=:0
rxvt -e bash --login -i

This also works:
  rxvt -display :0 -e bash --login -i

I have my display set to 127.0.1.0:0 so that ssh X11 port forwarding works.

-jeff


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: latest snapshot fixes xemacs problems

2001-12-06 Thread David Rothenberger

I am unable to repeat the problems you've described.  I tried with the
cygwin-inst-20011206.tar.bz2 and with a DLL I compiled myself from the
latest CVS sources.  The only real differences I can see are that I'm
using textmode mounts and my CYGWIN value is a bit different.

[mount -s -c /cygdrive]

,---[ls -l /cygdrive]
| total 4348
| drwxrwxrwx   34 Administ Administ  4325376 Dec  6 18:40 c
| drwxrwxrwx5 Administ Administ28672 Dec  6 10:30 e
| drwxr-xr-x1 daverUsers   28672 Dec  6 14:56 h
| drwxr-xr-x1 daverUsers   65536 Dec  6 14:29 m
| drwxrwx--x1 1000 Administ0 Nov 14 09:53 p
| drwx--1 daverDomain U 4096 Dec  6 05:21 u
`---

,---[ls -l /cygdrive/e]
| total 16
| drwxrwxrwx5 Administ None0 Nov 30 08:29 RECYCLER
| d---rwx---1 Administ SYSTEM  0 Dec  5 10:42 System Volume
Information
| drwxrwxrwx3 Administ clearuse0 Dec  4 09:55 entomo
| drwxrwxrwx   32 Administ None16384 Dec  4 16:56 music
| drwxrwxrwx2 Administ SYSTEM  0 Dec  6 00:36 mvfslogs
`---

,---[cygcheck -r -s]
| 
| Cygnus Win95/NT Configuration Diagnostics
| Current System Time: Thu Dec 06 18:55:13 2001
| 
| Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
| 
| Path: ~\bin
|   C:\cygwin\usr\local\bin
|   C:\cygwin\bin
|   C:\cygwin\c\jdk1.2.2\bin
|   C:\cygwin\bin
|   C:\cygwin\c\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin
|   C:\cygwin\c\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11
|   C:\cygwin\c\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt
|   C:\cygwin\c\Oracle\Ora81\bin
|   C:\cygwin\c\Program Files\Oracle\jre\1.1.7\bin
|   C:\cygwin\c\WINNT\system32
|   C:\cygwin\c\WINNT
|   C:\cygwin\c\WINNT\System32\Wbem
|   C:\cygwin\c\Program Files\Network Associates\PGPNT
|   C:\cygwin\c\Program Files\Rational\common
|   C:\cygwin\c\Program Files\Rational\Rational Test
|   C:\cygwin\c\Program Files\Rational\ClearCase\bin
|   "C
|   C:\cygwin\Program Files\Hummingbird\Connectivity\7.00\Accessories\"
|   C:\cygwin\c\Program Files\Rational\ClearQuest
|   C:\cygwin\c\Program Files\Executive Software\DiskeeperWorkstation\
|   c:\users\daver\bin
|   C:\cygwin\c\Program Files\SSH Communications Security\SSH Secure
Shell
| 
| SysDir: C:\WINNT\System32
| WinDir: C:\WINNT
| 
| CYGWIN = `tty ntsec'
| HOME = `c:\users\daver'
| MAKE_MODE = `unix'
| PWD = `/home/daver'
| USER = `daver'
| 
| HKEY_CURRENT_USER\Software\Cygnus Solutions
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
| HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
|
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\Programs\Cygnus Solutions
|   (default) = (unsupported type)
|
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\Programs\Development\Cygnus Solutions
|   (default) = (unsupported type)
| 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 = 0x0028
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
|   (default) = `C:/cygwin'
|   flags = 0x0008
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
|   (default) = `c:/users'
|   flags = 0x0008
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
|   (default) = `C:/cygwin/bin'
|   flags = 0x0008
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
|   (default) = `C:/cygwin/lib'
|   flags = 0x0008
| HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
| 
| a:  fd   N/AN/A
| c:  hd  NTFS   19594Mb  52% CP CS UN PA FC 
| d:  cd   N/AN/A
| e:  hd  NTFS   78159Mb  45% CP CS UN PA FC External
| h:  net NTFS   19594Mb  52% CP CS UN PA FC 
| m:  net MVFS1000Mb  50% CP CS  CCase
| p:  net NTFS7134Mb  64% CP CSPA.
| u:  net NTFS   43974Mb  28% CP CS UN PA FC DATA2
| 
| C:/cygwin  /  system  textmode
| c:/users   /home  system  textmode
| C:/cygwin/bin  /usr/bin   system  textmode
| C:/cygwin/lib  /usr/lib   system  textmode
| .  /cygdrive  usertextmode,noumount
| 
| Found: C:\cygwin\bin\bash.exe
| Found: C:\cygwin\bin\cat.exe
| Found: C:\cygwin\bin\cpp.exe
| Found: C:\cygwin\bin\find.exe
| Found: C:\cygwin\bin\gcc.exe
| Found: C:\cygwin\bin\gdb.exe
| Found: C:\cygwin\bin\ld.exe
| Found: C:\cygwin\bin\ls.exe
| Found: C:\cygwin\bin\make.exe
| Found: C:\cygwin\bin\sh.exe
| 
|56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll
|   821k 2001/11/19 C:\cygwin\bin\cygcrypto.dll
|99k 2001/11/20 C:\cygwin\bin

Re: latest snapshot fixes xemacs problems

2001-12-06 Thread Christopher Faylor

On Thu, Dec 06, 2001 at 06:57:39PM -0800, David Rothenberger wrote:
>I am unable to repeat the problems you've described.  I tried with the
>cygwin-inst-20011206.tar.bz2 and with a DLL I compiled myself from the
>latest CVS sources.  The only real differences I can see are that I'm
>using textmode mounts and my CYGWIN value is a bit different.
>
>[mount -s -c /cygdrive]
>
>,---[ls -l /cygdrive]

Except this step was a 'll /cygdrive/c' in the previous message,
even though it showed the contents of /cygdrive, for some reason.
It seems like there was either a typo or a thinko somwhere in the
original message.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: $USERNAME != $USER ($USERNAME = Win NT name)

2001-12-06 Thread Larry Hall (RFK Partners, Inc)

At 08:15 PM 12/6/2001, Daniel Rosenzweig wrote:
>In NT, I have a username, lets call it, 'myname', which has admin rights
>(for the local PC). When I did a try mkpasswd -l > /etc/passwd it never
>created a listing  for danr -- it created one for Administrator --- and
>that's what my $USER and home directory are set for. On the other hand,
>Cygwin set my $USERNAME to 'myname'. What's going on here?


Since you're repeating your question, I'll repeat my answer:

Checking the FAQ and email archives will give you some insights here.




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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: problem with Rational Suite Enterprise installation

2001-12-06 Thread Larry Hall (RFK Partners, Inc)

At 09:19 PM 12/6/2001, Scott Wingo wrote:
>Hello,
>
>I am running Windows 98, and I've recently installed Rational Suite
>Enterprise.  The other day, when I ran Cygwin, I the 'pwd' command returned
>"/cygdrive/d/RATIONAL/RATION~1/NUTCROOT"  How can I get it back to normal?
>I saw a posting regarding a similar problem with Windows NT in your
>archives--I tried the suggested changes to cygwin.bat, but the problem
>persists.  What should I do?


What do you believe is the problem here?  From your description, I don't
see any real issue.  Can you be more explicit about what you believe is
wrong?




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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Segmentation fault when using gdb & pthreads

2001-12-06 Thread Evan Pollan

All--

I posted this a few weeks back and didn't get any response.  I've searched
the
archives and haven't seen anything helpful, so I'm reposting...

I'm trying to use gdb on a simple pthreads app. The app runs fine, but I
wanted
to give the gdb a test drive.  However, whenever I step into or over any
pthread code, I get a segmentation fault.  In my case, a call to
pthread_cond_init() causes the SIGSEGV.

The code is compiled w/ -g, and I can step through the execution for
everything
up to the pthreads code.  Is this a limitation w/ gdb or am I missing either
a
compilation or debugging flag?  I'm using the full cygwin distribution as of
cygwin-1.3.5-3 on Win2000.

Here's the seg fault as it appears when I encounter the pthread_cond_init()
call:

(gdb) run
Starting program:
/cygdrive/c/home/Evan/src/c++/QueueProcessor/Driver.exe

Breakpoint 1, QueueProcessor::QueueProcessor (this=0x22fd54)
at QueueProcessor.cpp:39
39{
Current language:  auto; currently c++
(gdb) step
41rc = pthread_cond_init(&_condition, NULL);
(gdb) print rc
$1 = 0
(gdb) step

Program received signal SIGSEGV, Segmentation fault.
0x77e86e72 in _libkernel32_a_iname ()
(gdb)


thanks for the help,
Evan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: latest snapshot fixes xemacs problems

2001-12-06 Thread Jochen Küpper

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 6 Dec 2001 21:32:42 -0500 Christopher Faylor wrote:

Christopher> On Thu, Dec 06, 2001 at 09:21:00PM -0500, Jochen K?pper wrote:

[...my description how to install cygwin1.dll the long way...]

Christopher> This seems like an incredible amount of work to just
Christopher> install the DLL.

Well, I installed only the DLL first. Since it didn't work, and I
don't understand all the interrelations that well (apparently there
are none, accroding to your comment:), I thought I I might install the
complete -inst tar-ball.

>> ,[ll /cygdrive/c]
>> | total 0
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 c/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 h/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 i/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 m/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 n/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 o/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 x/
>> | dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 z/
>> `

Christopher> Are you *really* getting a list of all of your drives
Christopher> under /cygdrive/c?  Or is this a typo?

No typo, I am getting the same output whether I do 'ls -l /cygdrive'
or 'ls -l /cygdrive/c/' [1] -- as shown above.

Christopher> It seems to me that this should be:
Christopher> bash$ ll /cygdrive

Yeah, but it isn't.

Christopher> Not surprising, unless you have a 'c' directory on your
Christopher> c: drive.

Right. Then, there is a 'c' dir in /cygdrive/c/ according to ls
(v.s.), but of course it isn't there in real...


Ok, I downloaded the little c program David Rothenberger posted
earlier today and compiled it to pathcheck.exe. That seems to work
just fine:

,[mount -p]
| Prefix  Type Flags
| /cygdrive   system   binmode
`

,[./pathcheck.exe /cygdrive/o]
| name = /cygdrive/o
| /cygdrive/o -> o:\
`

,[/usr/bin/ls.exe -l /cygdrive/o] (fully qualified name, no aliasing)
| total 0
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 c
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 h
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 i
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 m
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 n
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 o
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 x
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 z
`

No typo, I asked ls for /cygdrive/o, not /cygdrive :(


'Different' approach, same results:

,[cygpath.exe -w /cygdrive/o]
| o:\
`

,[ls -l o:\\]
| total 0
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 c/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 h/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 i/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 m/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 n/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 o/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 x/
| dr-xr-xr-x   11 Everyone Everyone0 Dec 31  1969 z/
`

I crosschecked in a 'cmd'-line (as opposed to bash), same results.

Greetings,
Jochen

Footnotes: 
[1] Or any other of the characters from the list above.
- -- 
Einigkeit und Recht und Freiheithttp://www.Jochen-Kuepper.de
Liberté, Égalité, FraternitéGnuPG key: 44BCCD8E
Sex, drugs and rock-n-roll
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6-cygwin-fcn-1 (Cygwin)
Comment: Processed by Mailcrypt and GnuPG 

iD8DBQE8EDzOiJ/aUUS8zY4RAuaVAKC+CG0kZyEBgwzNVvDJDretr0GcigCffV7R
3ANShnSJabAkCbhODBcdH88=
=l3AL
-END PGP SIGNATURE-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: xemacs users -- please try latest cygwin snapshot...

2001-12-06 Thread Ryan T. Sammartino

On Thu, Dec 06, 2001 at 07:16:14PM -0500, Christopher Faylor wrote:
> I think I at least fixed the problem reported so succinctly by
> David Rothenberger.
> 


The latest snapshot solves the problems I was having.

Nice work!  Thanks.

-- 
Ryan T. Sammartino ([EMAIL PROTECTED])
http://members.shaw.ca/ryants/
Bureaucrat, n.:
A person who cuts red tape sideways.
-- J. McCabe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




SIGINT going to wrong process?

2001-12-06 Thread Ryan T. Sammartino


I do development under Linux and Cygwin.

In my makefiles, I have some nice convenience targets like "make debug",
which fires up the debugger and loads my elf on to the MIPS machine that
I'm developing for (cross-compiling etc).

Under Linux, if I do "make debug", and hit Ctrl-C, then gdb passes the
SIGINT on to the process being debugged, and then I can do stuff within
gdb.

Under Cygwin, Ctrl-C seems to go to BOTH gdb AND make, which then kills
my gdb.  Here is some output:



...program is running, then I git CTRL-C...
make: *** [debug] Interrupt

Program received signal SIGINT, Interrupt.


ryans@EAC204125 ~/project
warning: Warning: GDB can't find the start of the function at 0x81fc8.

GDB is unable to find the start of the function at 0x81fc8
$ and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter
or stack pointer.
However, if you think GDB should simply search farther back
from 0x81fc8 for code which looks like the beginning of a
function, you can increase the range of the search using the
`set heuristic-fence-post' command.
0x00081fc8 in ?? ()
(gdb) The program is running.  Exit anyway? (y or n)

ryans@EAC204125 ~/project
$


So you can see, I hit CTRL-C,"make" gets the interrupt, I get my Cygwin
prompt, AND gdb outputs its usual "I've been interrupted" stuff, but
then make kills the process.


At one time in the past (last year, or there abouts), this used to work
under Cygwin the same as Linux.  


Any ideas on this? Where can I start poking in the source to try and fix
this, or at least get some better debug info that would be helpful?


(Hope the above makes sense... hard to describe without a live
demonstration)


-- 
Ryan T. Sammartino ([EMAIL PROTECTED])
http://members.shaw.ca/ryants/
Humor in the Court:
Q: What is your relationship with the plaintiff?
A: She is my daughter.
Q: Was she your daughter on February 13, 1979?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




why does cygwin default security setup give EVERYONE access everywhere?

2001-12-06 Thread Gene C. Ruzicka

my pc uses windows 2000 professional, and my cygwin folder is 
C:\cygwin . i've been looking into giving co-workers access to 
the cygwin setup on my pc, but i've noticed something strange: 
it seems that the default security setup allows EVERYONE full
access to the cygwin folder and all subfolders.  but i certainly
don't want any user on my pc to have this sort of access, and
to prevent that from happening, i'm going to have to rework
the cygwin profiling.  i'm something of a pc newbie, and it's
been rather painful sorting out just how to specify the
security settings appropriately.

it seems to me that it would have made far more sense to make
the cygwin files have the same security profile(s) as any other
file that happens to get installed on the system.  that way, 
it would be easy for me simply specify that any user would have
full access to his own directories/subfolders, but only read/execute
access to cygwin software, and no access whatsoever to the
folders of another user.

question: what was the reason for giving EVERYONE full access to
the cygwin folder and everything in it?

btw, i'll shortly be making another post regarding organizing user
files that's partially related to this post.

gene


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




  1   2   >