Is there cygwin port of docbook?

2003-02-11 Thread Hansom Young
Hi, guys!

I'm wondering whether there is cygwin port of docbook.
I want to use it in my office, but I don't wanna bother to install a whole Linux OS 
just in order to use docbook.

TIA

Yang Guilong



Re: [ITP] rebase

2003-02-11 Thread Jason Tishler
Ralf,

On Mon, Feb 10, 2003 at 08:27:08PM +0100, Ralf Habacker wrote:
  I can reproduce it now.  I will debug and try to fix it myself.  If
  I'm unsuccessful, then I will ask Ralf for help.
 
 Jason, your rebase depends on the ms imagehelp library, isn't it.

Not anymore:

$ rebase -V
rebase version 2.1
Copyright (c) 2001, 2002, 2003 Ralf Habacker and Jason Tishler

We are partners in crime now. :,)

The attached patch solves the SEGV problem.

Your guard:

(char *)relocp  (char *)relocs + size

wasn't tight enough.

My version:

(char *)relocp-SizeOfBlock  (char *)relocs + size

seems to be.

Did I break anything with this patch?

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Index: sections.cc

===

RCS file: /cvsroot/kde-cygwin/tools/rebase/sections.cc,v

retrieving revision 1.9

diff -u -p -r1.9 sections.cc

--- sections.cc 4 Jan 2003 12:43:00 -   1.9

+++ sections.cc 11 Feb 2003 13:23:34 -

@@ -270,7 +270,7 @@ bool Relocations::check(void)

   if (!relocs)

 return false;

 

-  for (; (char *)relocp  (char *)relocs + size  relocp-SizeOfBlock != 0; ((char 
*)relocp) += relocp-SizeOfBlock  )

+  for (; (char *)relocp-SizeOfBlock  (char *)relocs + size  relocp-SizeOfBlock 
+!= 0; ((char *)relocp) += relocp-SizeOfBlock)

 {

   int NumOfRelocs = (relocp-SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) / 
sizeof (WORD);

   int va = relocp-VirtualAddress;

@@ -302,7 +302,7 @@ bool Relocations::fix(void)

   if (debug)

 std::cerr  warning: fixing bad relocations  ;

 

-  for (; (char *)relocp  (char *)relocs + size  relocp-SizeOfBlock != 0; ((char 
*)relocp) += relocp-SizeOfBlock  )

+  for (; (char *)relocp-SizeOfBlock  (char *)relocs + size  relocp-SizeOfBlock 
+!= 0; ((char *)relocp) += relocp-SizeOfBlock)

 {

   int NumOfRelocs = (relocp-SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) / 
sizeof (WORD);

   int va = relocp-VirtualAddress;

@@ -337,7 +337,7 @@ bool Relocations::relocate(int differenc

   if (!relocs)

 return false;

 

-  for (; (char *)relocp  (char *)relocs + size  relocp-SizeOfBlock != 0; ((char 
*)relocp) += relocp-SizeOfBlock  )

+  for (; (char *)relocp-SizeOfBlock  (char *)relocs + size  relocp-SizeOfBlock 
+!= 0; ((char *)relocp) += relocp-SizeOfBlock)

 {

   int NumOfRelocs = (relocp-SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) / 
sizeof (WORD);

   int va = relocp-VirtualAddress;




Re: Is there cygwin port of docbook?

2003-02-11 Thread Christopher Faylor
On Tue, Feb 11, 2003 at 11:59:34AM -, Elfyn McBratney wrote:
  I'm wondering whether there is cygwin port of docbook.
  I want to use it in my office, but I don't wanna bother to
  install a whole Linux OS just in order to use docbook.

 Someone, Me thinks the DocBook maintainer, posted a message to
 [EMAIL PROTECTED] a little while ago saying that he had a mirror that
would
 provide this port for a short while. Jump quickly and you might find it
;-)


Sorry for cross-posting...Meant this to go to cygwin-apps... ;-)

Where it would be off-topic?  That's strange.

cgf



Re: Is there cygwin port of docbook?

2003-02-11 Thread Elfyn McBratney
  I'm wondering whether there is cygwin port of docbook.
  I want to use it in my office, but I don't wanna bother to
  install a whole Linux OS just in order to use docbook.

 Someone, Me thinks the DocBook maintainer, posted a message to
 [EMAIL PROTECTED] a little while ago saying that he had a mirror that
would
 provide this port for a short while. Jump quickly and you might find it
;-)


Sorry for cross-posting...Meant this to go to cygwin-apps... ;-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk





multiwindow mode

2003-02-11 Thread J S
I've started to find that a lot of the X apps we use in our company actually 
work better in multiwindow mode.

For example, one application we have was practically unusable before because 
some of the pop up windows it opened were greater in size than the desktop, 
and these windows didn't have scrollbars either. Despite changing the window 
properties in my window manager (windowmaker) they still got oversized.

Now with multiwindow mode, the window behaviour is much better. Can someone 
explain that to me please?! What makes me slightly nervous though is that so 
many of my customers want to use multiwindow mode yet this is still 
relatively new and development on it seems to have slowed down recently.

Anyway the main reason I've written is because in multiwindow mode the  
window resizing doesn't always work as expected, and also I have one 
particular problem where the window menu bars (on the pop up windows) are 
placed just above the desktop so I have to resize the window to get at them. 
Has anyone else seen that? Would really like to get a fix for that if anyone 
can help.

Thanks,

JS.

Is this the impression you get that most xfree users now are running in 
multiwindow mode? Also is there still development going on with multiwindows 
mode or has that come to a halt for some reason now? I only ask since I 
haven't seen quite so many emails on it lately.

JS.





_
Stay in touch with absent friends - get MSN Messenger 
http://messenger.msn.co.uk



FW: file manager xfm, or similar for xfree86 under cygwin

2003-02-11 Thread Cary Lewis
Hello, I am trying to locate a graphical file manager for Xfree86 running
under cygwin

 

I have tried to compile xfm 1.4.3 and got it working under xfree86 under
cygwin, but it does not allow access to non cygwin directories.

 

It complains saying Directory is Unreadable.

 

/cygdrive doesn't show up in the root, so I created a symlink with:

 

ln -s /cygdrive/c /cygdrivec

 

I'm guessing it has trouble following a symlink from /cydrivec to
/cygdrive/c/

 

Can anyone suggest a working file manager?

 

Thanks.

 

If anyone wants the Imake.options I can post or email.

 

Does anyone know where I can find a compiled binary for xfm or a similar
client.

 

I don't want to have to install the kde files or xfce.

 

My plan is to use cygwin / xfree86 via ssh to do remote support of windows
machines.

 

Thanks for any help.

 




Re: multiwindow mode

2003-02-11 Thread Harold L Hunt II
JS,

Applications can have problems reading information about the screen size 
(which comes from the X Server itself) or understanding the Window 
Manager hints about the size of the window borders, etc.  Those problems 
could be because the author of those applications did not pay enough 
attention to making sure that their app works with multiple X Servers 
and Window Manager; rather, they may have checked it with one X Server 
and with one Window Manager and just assumed that they implemetned 
everything correctly.  Thus, certain X Server and certain Window 
Managers may exhibit problems in the application that are not apparent 
on other platforms.

With all of that being said, it is also entirely possible that there is 
something wrong with Cygwin/XFree86's X Server or with our Multi-Window 
Window Manager.

The Multi-Window Window Manager (MWWM) was developed by Kensuke 
Matsuzaki.  I have no idea what his schedule is like, but I know that he 
said he could not finish the entire MWWM on his own and that he would 
appreciate some help.

I would not say that the MWWM is done by any means.  I would also not 
assume that most users are using it since the default startup scripts do 
not use invoke it.  I cannot switch us to using the MWWM until someone 
sits down with the code and is able to tell me that it implements most 
of what a window manager should implement.  I am thinking mostly about 
window manager hints here; I don't think the MWWM implements them at 
all, though I could be mistaken.

You mention that you have customers.  Having customers implies to me 
that it might be worth *your* while to spend a little of your own time 
on the MWWM.  Think about it, if you are going to benefit from the MWWM 
being more stable, then shouldn't you be contributing to making it more 
stable?  On the other hand, you could contact Kensuke and see if he will 
setup a tip jar so that you (or anyone else) can donate some money to 
him to encourage him to work on the MWWM.  The current list of 
Cygwin/XFree86 developers with a donations page is at:

http://xfree86.cygwin.com/donations.html

However, I am currently the only developer that has setup such a page. 
I strongly recommend that people ask Kensuke to setup a tip jar.

Well, I hope that helps.  I could give you one of my old analogies about 
how I am not going to drop my beer to run inside and code on 
Cygwin/XFree86, but I think you get the point that not much is going to 
happen unless people make it happen.

Harold

J S wrote:
I've started to find that a lot of the X apps we use in our company 
actually work better in multiwindow mode.

For example, one application we have was practically unusable before 
because some of the pop up windows it opened were greater in size than 
the desktop, and these windows didn't have scrollbars either. Despite 
changing the window properties in my window manager (windowmaker) they 
still got oversized.

Now with multiwindow mode, the window behaviour is much better. Can 
someone explain that to me please?! What makes me slightly nervous 
though is that so many of my customers want to use multiwindow mode yet 
this is still relatively new and development on it seems to have slowed 
down recently.

Anyway the main reason I've written is because in multiwindow mode the  
window resizing doesn't always work as expected, and also I have one 
particular problem where the window menu bars (on the pop up windows) 
are placed just above the desktop so I have to resize the window to get 
at them. Has anyone else seen that? Would really like to get a fix for 
that if anyone can help.

Thanks,

JS.

Is this the impression you get that most xfree users now are running in 
multiwindow mode? Also is there still development going on with 
multiwindows mode or has that come to a halt for some reason now? I only 
ask since I haven't seen quite so many emails on it lately.

JS.





_
Stay in touch with absent friends - get MSN Messenger 
http://messenger.msn.co.uk





RE: file manager xfm, or similar for xfree86 under cygwin

2003-02-11 Thread Vince Hoffman
out of interest what happens if you mount c: /cygdrivec ?  (ie can it
handle mount points rather than symlinks) 



 -Original Message-
 From: Cary Lewis [mailto:[EMAIL PROTECTED]]
 Sent: 11 February 2003 21:29
 To: [EMAIL PROTECTED]
 Subject: FW: file manager xfm, or similar for xfree86 under cygwin
 
 
 Hello, I am trying to locate a graphical file manager for 
 Xfree86 running
 under cygwin
 
  
 
 I have tried to compile xfm 1.4.3 and got it working under 
 xfree86 under
 cygwin, but it does not allow access to non cygwin directories.
 
  
 
 It complains saying Directory is Unreadable.
 
  
 
 /cygdrive doesn't show up in the root, so I created a symlink with:
 
  
 
 ln -s /cygdrive/c /cygdrivec
 
  
 
 I'm guessing it has trouble following a symlink from /cydrivec to
 /cygdrive/c/
 
  
 
 Can anyone suggest a working file manager?
 
  
 
 Thanks.
 
  
 
 If anyone wants the Imake.options I can post or email.
 
  
 
 Does anyone know where I can find a compiled binary for xfm 
 or a similar
 client.
 
  
 
 I don't want to have to install the kde files or xfce.
 
  
 
 My plan is to use cygwin / xfree86 via ssh to do remote 
 support of windows
 machines.
 
  
 
 Thanks for any help.
 
  
 



Re: FW: file manager xfm, or similar for xfree86 under cygwin

2003-02-11 Thread David Huang
Cary Lewis write:

Hello, I am trying to locate a graphical file manager for Xfree86 running
under cygwin

 

I have tried to compile xfm 1.4.3 and got it working under xfree86 under
cygwin, but it does not allow access to non cygwin directories.

 

It complains saying Directory is Unreadable.

 

/cygdrive doesn't show up in the root, so I created a symlink with:
Why not create a dir /cygdrive? ls /cygdrive will show all c, d, e... drivers.
And I create a dir /dev, link cdrom to scd0, then use /dev/cdrom I have raw access
to the first CD-ROM.


 

ln -s /cygdrive/c /cygdrivec

 

I'm guessing it has trouble following a symlink from /cydrivec to
/cygdrive/c/

 

Can anyone suggest a working file manager?
I use xfce.


 

Thanks.

 

If anyone wants the Imake.options I can post or email.

 

Does anyone know where I can find a compiled binary for xfm or a similar
client.

 

I don't want to have to install the kde files or xfce.

 

My plan is to use cygwin / xfree86 via ssh to do remote support of windows
machines.

 

Thanks for any help.

 











unpatching sshd

2003-02-11 Thread Pierre A. Humblet
Corinna,

now that setuid works posixly on Win95, sshd can be unpatched.

Pierre


--- session.c.orig  2003-02-10 10:12:13.0 -0500
+++ session.c   2003-02-10 10:13:08.0 -0500
@@ -1249,9 +1249,6 @@ do_setusercontext(struct passwd *pw)
permanently_set_uid(pw);
 #endif
}
-#ifdef HAVE_CYGWIN
-   if (is_winnt)
-#endif
if (getuid() != pw-pw_uid || geteuid() != pw-pw_uid)
fatal(Failed to set uids to %u., (u_int) pw-pw_uid);
 }





Re: unpatching sshd

2003-02-11 Thread Christopher Faylor
On Tue, Feb 11, 2003 at 09:26:53PM -0500, Pierre A. Humblet wrote:
now that setuid works posixly on Win95, sshd can be unpatched.

Um, er.  Not an issue for cygwin-patches.  This is a cygwin mailing list
topic, please.

cgf



Re: setup.exe joblist for downloading

2003-02-11 Thread Max Bowsher
Randall R Schulz wrote:
 Richard, inspired by your inquiry, I whipped up a little something.
 It's not well tested, but it should provide a starting point. It
 generates a script that uses wget to retrieve all the binary
 tarballs to the same place that Setup.exe would. As written, it 
 will not retrieve source tarballs. It accepts only a single mirror
 URL, which must use either the HTTP or the FTP scheme.

Michael Chase's clean_setup.pl will do this.

 The biggest shortcoming of this script is its inability to
 distinguish the current from the previous versions--it retrieves both.

And it can distinguish prev and curr, as well.



Max.


--
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: Is there cygwin port of docbook?

2003-02-11 Thread Elfyn McBratney
 I'm wondering whether there is cygwin port of docbook.
 I want to use it in my office, but I don't wanna bother to
 install a whole Linux OS just in order to use docbook.

Someone, Me thinks the DocBook maintainer, posted a message to
[EMAIL PROTECTED] a little while ago saying that he had a mirror that would
provide this port for a short while. Jump quickly and you might find it ;-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.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/




Win32 emacs, Cygwin emacs...and PATH

2003-02-11 Thread Elfyn McBratney
---Begin forwarded message ---
From: Nick Miller [EMAIL PROTECTED]
To: Elfyn McBratney [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 10:58 PM
Subject: Re: Why won't my files link?


 Hello, I have a quick question that I was hoping you might have time to
 address...

 So I have a copy of emacs for Win32 installed in C:/.  I have my Windows
 environment variables (PATH) set up so that I can run emacs right from the
 Windows command prompt by typing emacs.  What I am now wondering is how
 I can get this same functionality in Cywgin.  My Cywgin home directory is
 c:/cygwin/home/owner/, and I want to be able to type emacs and have it
 run my Win32 emacs.  Right now when I type emacs in Cygwin I get a version
 of it hat came with Cygwin.  Also, on Linux I can do emacs to run emacs
 in the background and keep my shell visible and free.  Whenever I do
 emacs on Cygwin tho, nothing happens.  Any ideas?  Allow me to thank
 you ahead of time for your assistance!

 Nick




---End forwarded 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: Is there cygwin port of docbook?

2003-02-11 Thread Francis Litterio
Elfyn McBratney wrote:

 I'm wondering whether there is cygwin port of docbook.
 I want to use it in my office, but I don't wanna bother to
 install a whole Linux OS just in order to use docbook.

 Someone, Me thinks the DocBook maintainer, posted a message to
 [EMAIL PROTECTED] a little while ago saying that he had a mirror that would
 provide this port for a short while. Jump quickly and you might find it ;-)

FWIW, here's a shell script that uses xsltproc to render DocBook XML
into HTML.  You'll need to change the STYLESHEET variable to point at
whatever XML stylesheet you're using.  Invoke this script like this:

bash$ db2html mydoc.xml


#!/bin/sh
STYLESHEET=$HOME/work2/ldp/xsl/ldp-html.xsl
TMPFILE=/tmp/db2html.html

rm -f $TMPFILE

xsltproc --output $TMPFILE $STYLESHEET $@

if [ $OSTYPE = cygwin ]
then
if [ -f $TMPFILE ]
then
cygstart $TMPFILE
else
messagebox db2html No HTML file produced due to errors!
fi
else
echo HTML file is $TMPFILE.
fi

exit 0


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




Changing symlinks from magic format to windows shortcuts.

2003-02-11 Thread Christopher January
How can I automatically convert all symlinks on my Cygwin filesystem from
the !symlink format to windows shortcuts? Samba doesn't seem to
maintain the correct permissions for the Cygwin DLL to detect the
!symlink files as symlinks, so they are treated as regular files
(hence the errors with gcc, etc. I was seeing). Thanks Chris and others
for pointing me in the right direction to diagnose this. I now need a way
of converting all those symlink files to windows shortcuts so I can use
Cygwin at college.
Chris




--
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: Changing symlinks from magic format to windows shortcuts.

2003-02-11 Thread Corinna Vinschen
On Tue, Feb 11, 2003 at 01:05:06PM -, Christopher January wrote:
 How can I automatically convert all symlinks on my Cygwin filesystem from
 the !symlink format to windows shortcuts? Samba doesn't seem to
 maintain the correct permissions for the Cygwin DLL to detect the
 !symlink files as symlinks, so they are treated as regular files
 (hence the errors with gcc, etc. I was seeing). Thanks Chris and others
 for pointing me in the right direction to diagnose this. I now need a way
 of converting all those symlink files to windows shortcuts so I can use
 Cygwin at college.
 Chris

Write a script which reads the content of the symlink, then removes the
old one and eventually recreates it.  The resulting symlink will have the
appropriate format according to the CYGWIN env. var.  Sth like this

  for i in `find / -type l`
  do
TARGET=`ls -l $i | awk '{print $NF;}'`
rm $i
ln -s $TARGET $i
  done

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: setup.exe joblist for downloading

2003-02-11 Thread Randall R Schulz
Robert,

It's a shell script.

I simply looked at the current setup.ini stored on my system (retrieved 
from the mirror.mcs.anl.gov mirror) and concocted a quick script to try 
to give the original poster a start on what he wanted.

Randall Schulz


At 23:57 2003-02-10, Robert Collins wrote:
On Tue, 2003-02-11 at 18:53, Randall R Schulz wrote:
 Chris,

 Au contraire!

Which version of the setup.ini syntax does it support? (And did you
leverage the setup.exe parser?)

Rob



--
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: setup.exe joblist for downloading

2003-02-11 Thread Randall R Schulz
Max,

At 00:19 2003-02-11, Max Bowsher wrote:

Randall R Schulz wrote:
 Richard, inspired by your inquiry, I whipped up a little something.
 It's not well tested, but it should provide a starting point. It
 generates a script that uses wget to retrieve all the binary
 tarballs to the same place that Setup.exe would. As written, it
 will not retrieve source tarballs. It accepts only a single mirror
 URL, which must use either the HTTP or the FTP scheme.

Michael Chase's clean_setup.pl will do this.

 The biggest shortcoming of this script is its inability to
 distinguish the current from the previous versions--it retrieves both.

And it can distinguish prev and curr, as well.


Hmmm... That big meany CGF said there was nothing--that's why I whipped 
up my script.


Max.



--
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: Re: Changing symlinks from

2003-02-11 Thread Christopher January
On Tue, Feb 11, 2003 at 01:05:06PM -, Christopher January wrote:
 How can I automatically convert all symlinks on my Cygwin filesystem
from
 the !symlink format to windows shortcuts? Samba doesn't seem to
 maintain the correct permissions for the Cygwin DLL to detect the
 !symlink files as symlinks, so they are treated as regular files
 (hence the errors with gcc, etc. I was seeing). Thanks Chris and others
 for pointing me in the right direction to diagnose this. I now need a
way
 of converting all those symlink files to windows shortcuts so I can use
 Cygwin at college.
 Chris

Write a script which reads the content of the symlink, then removes the
old one and eventually recreates it.  The resulting symlink will have the
appropriate format according to the CYGWIN env. var.  Sth like this

  for i in `find / -type l`
  do
TARGET=`ls -l $i | awk '{print $NF;}'`
rm $i
ln -s $TARGET $i
  done
For the record, the script I used was:
#!/usr/bin/env bash
here=$PWD
echo here=$PWD
IFS=$'\n'
grep -r -l '^\!symlink\(.*\)\x00' / | while read -r file;
do
dir=`dirname $file`
file=`basename $file`
cd $dir
dest=`sed 's/\!symlink\(.*\)\x00/\1/g' $file`
rm $file
ln -s $dest $file
cd $here
done

Now I can run gcc hopefully I can patch Cygwin to run at a tolerable speed
on this setup!

Chris



--
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: realpath behavior

2003-02-11 Thread Robb, Sam
 On Tue, Feb 11, 2003 at 12:08:46AM -0500, Robb, Sam wrote:
  Looking for someone to confirm if this is expected 
 behavior, or a bug:
  
  With standard mount points:
  
c:\cygwin\bin on /usr/bin type system (binmode)
c:\cygwin\lib on /usr/lib type system (binmode)
  
* Calling realpath() to resolve /bin results in /usr/bin.
* Likewise, calling realpath() to resolve /lib results 
 in /usr/lib.
  
  If anything, I'd expect the opposite behavior - ie, 
 realpath(/usr/bin)
  to return /bin, etc.
 
 Wrong mailing list.  Try [EMAIL PROTECTED]

My apologies.  It was related to a porting issue, so I defaulted
to cygwin-apps.

That said - the question remains: is this a bug, or a valid (but
unexpected) implementation of realpath?

-Samrobb

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




New install, script execution, bad interpreter

2003-02-11 Thread john mapoles
I recently re-installed cygwin.  The install went well
but I have one problem concerning executing scripts. 
I usually use the perl that comes with cygwin but for
some work I need ActiveState modules and I have a
script that will call ActiveState as outlined by Mark
Parris 

http://www.cs.unc.edu/~jeffay/dirt/FAQ/cygwin-perl.html

This is a bash script (starts with #!/bin/bash) and
resides at /usr/local/bin/perl.  To call ActiveState I
start a script with #!/usr/local/bin/perl rather that
#!/usr/local/perl.  This has all worked very well
untill the re-install.  Now when I call active state I
get (using the script testAS):   

bash: ./testAS: /usr/local/bin/perl: bad interpreter:
No such file or directory

I've check a number of things.  The scripts are all
unix, dos2unix has no effect.  Running a simple bash
script works fine, althought ?? if I move the script
to my bin directory and back it will not work.
cyg testSH
bash
cyg mv testSH ./bin
cyg testSH
bash
cyg mv ./bin/testSH .
cyg testSH
bash: /home/jmapoles/bin/testSH: No such file or
directory
cyg


Thanks for any help,
John Mapoles


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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/




Cygwin 20030210 broke perl@18693

2003-02-11 Thread H.Merijn Brand
20030210 snapshot:

Configuration: -Dusedevel
--
Make distclean ...
Copy Policy.sh ...
Configure .../bin/ksh: not found
= PROCURA Policy for  (cygwin 1.3.20s(0.7332)) 
In file included from try.c:7:
/usr/local/include/db.h:90: parse error before db_pgno_t
/usr/local/include/db.h:91: parse error before db_indx_t
/usr/local/include/db.h:94: parse error before db_recno_t
/usr/local/include/db.h:97: parse error before db_timeout_t
/usr/local/include/db.h:104: parse error before roff_t
/usr/local/include/db.h:149: parse error before u_int32_t
/usr/local/include/db.h:152: parse error before dlen
/usr/local/include/db.h:153: parse error before doff
/usr/local/include/db.h:162: parse error before flags
/usr/local/include/db.h:397: parse error before u_int32_t
/usr/local/include/db.h:399: parse error before st_maxlocks
/usr/local/include/db.h:400: parse error before st_maxlockers
/usr/local/include/db.h:401: parse error before st_maxobjects
/usr/local/include/db.h:402: parse error before st_nmodes
/usr/local/include/db.h:403: parse error before st_nlocks
/usr/local/include/db.h:404: parse error before st_maxnlocks
/usr/local/include/db.h:405: parse error before st_nlockers
/usr/local/include/db.h:406: parse error before st_maxnlockers
/usr/local/include/db.h:407: parse error before st_nobjects

20030209 still OK

-- 
H.Merijn BrandAmsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0  633 on HP-UX 10.20  11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro  WinCE 2.11.  Smoking perl CORE: [EMAIL PROTECTED]
http:[EMAIL PROTECTED]/   [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.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/




running programs using cygwin1.dll

2003-02-11 Thread Matt Armstrong
Is there a windows or cygwin way of telling when cygwin1.dll is no
longer used by any running processes?

-- 
matt

--
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: GNU Screen

2003-02-11 Thread Frédéric L. W. Meunier
I wrote:

 1- Midnight Commander won't run the subshell:
 http://mail.gnome.org/archives/mc/2003-January/msg00071.html

 2- caption always / sorendition corrupt the colors you set
 for the terminal. I use black on white. I can reproduce it
 setting caption always %Y%m%d (%D) %0c:%s. See
 http://www.pervalidus.net/screen-cygwin-caption.png

BTW, I can also reproduce both with the 3.9.10 binary from
http://dellelce.com/code/screen/

-- 
0@pervalidus.{net, {dyndns.}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: New install, script execution, bad interpreter

2003-02-11 Thread Ronald Landheer-Cieslak
On Tue, 11 Feb 2003, john mapoles wrote:
 bash: ./testAS: /usr/local/bin/perl: bad interpreter:
 No such file or directory
Look whether /usr/local/bin/perl exists - I bet it doesn't (because that's 
what it says: /usr/local/bin/perl: (...) No such file or directory

 I've check a number of things.  The scripts are all unix, dos2unix has
 no effect.  Running a simple bash script works fine, althought ?? if I
 move the script to my bin directory and back it will not work.
 cyg testSH
 bash
 cyg mv testSH ./bin
 cyg testSH
 bash
 cyg mv ./bin/testSH .
 cyg testSH
 bash: /home/jmapoles/bin/testSH: No such file or
 directory
 cyg
bash.indo, chapter Command Search and Execution says:
[...]
  3. If the name is neither a shell function nor a builtin, and
 contains no slashes, Bash searches each element of `$PATH' for a
 directory containing an executable file by that name.  Bash uses a
 hash table to remember the full pathnames of executable files to
 avoid multiple `PATH' searches (see the description of `hash' in
 *Note Bourne Shell Builtins::).  A full search of the directories
 in `$PATH' is performed only if the command is not found in the
 hash table.  If the search is unsuccessful, the shell prints an
 error message and returns an exit status of 127.
[...]

What this means is that, when you run your little shell script (without 
specifying where it is) Bash looks for it in the PATH, and puts it in an 
internal hash. If you then move your script, the hash will not be 
up-to-date but it will look in there anyway. If it doesn't exist where it 
expects tp find it = error

This is all you need to know about the hash built-in command:

`hash'
  hash [-'r] [-p FILENAME] [-dt] [NAME]
 Remember the full pathnames of commands specified as NAME
 arguments, so they need not be searched for on subsequent
 invocations.  The commands are found by searching through the
 directories listed in `$PATH'.  The `-p' option inhibits the path
 search, and FILENAME is used as the location of NAME.  The `-r'
 option causes the shell to forget all remembered locations.  The
 `-d' option causes the shell to forget the remembered location of
 each NAME.  If the `-t' option is supplied, the full pathname to
 which each NAME corresponds is printed.  If multiple NAME
 arguments are supplied with `-t' the NAME is printed before the
 hashed full pathname.  The `-l' option causes output to be
 displayed in a format that may be reused as input.  If no
 arguments are given, or if only `-l' is supplied, information
 about remembered commands is printed.  The return status is zero
 unless a NAME is not found or an invalid option is supplied.

Hence, when I try your little experiment and type
$ hash -l
it shows me where I put the script and when I try to launch it, I get the 
same error as you do.
Doing 
$ hash -r
will make it find your original script again.

As for your missing /usr/local/bin/perl interpreter:
WAG
you probably put the perl wrapper script there when you started out, it 
got lost, so you'll have to put it there again
/WAG

Good luck!

rlc


--
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: New install, script execution, bad interpreter

2003-02-11 Thread [EMAIL PROTECTED]
First you'll want to look at http://cygwin.com/bugs.html.  The output of
cygcheck as mentioned there (among other things) will likely be quite 
helpful in understanding your installation.  Pay particular attention to 
your mount points and types (text vs binary).  If this doesn't help you
determine the problem, send this as directed by
http://cygwin.com/bugs.html
with your script and where you're running it from to the list.  That may 
be enough context for someone here to see where you're going wrong.

Larry

Original Message:
-
From: john mapoles [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 08:41:14 -0800 (PST)
To: [EMAIL PROTECTED]
Subject: New install, script execution, bad interpreter


I recently re-installed cygwin.  The install went well
but I have one problem concerning executing scripts. 
I usually use the perl that comes with cygwin but for
some work I need ActiveState modules and I have a
script that will call ActiveState as outlined by Mark
Parris 

http://www.cs.unc.edu/~jeffay/dirt/FAQ/cygwin-perl.html

This is a bash script (starts with #!/bin/bash) and
resides at /usr/local/bin/perl.  To call ActiveState I
start a script with #!/usr/local/bin/perl rather that
#!/usr/local/perl.  This has all worked very well
untill the re-install.  Now when I call active state I
get (using the script testAS):   

bash: ./testAS: /usr/local/bin/perl: bad interpreter:
No such file or directory

I've check a number of things.  The scripts are all
unix, dos2unix has no effect.  Running a simple bash
script works fine, althought ?? if I move the script
to my bin directory and back it will not work.
cyg testSH
bash
cyg mv testSH ./bin
cyg testSH
bash
cyg mv ./bin/testSH .
cyg testSH
bash: /home/jmapoles/bin/testSH: No such file or
directory
cyg


Thanks for any help,
John Mapoles


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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/



mail2web - Check your email from the web at
http://mail2web.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: cygpath bug in version 1.25 -- Fundamental Change in the Behaviour of Cygpath

2003-02-11 Thread Newton, Doug
If this change is what is desired by the majority, that is fine.  BUT, it
should have been made clear that the fundamental behaviour of cygpath had
changed.  I have many scripts that no longer work.  Even the jakarata ant
tool's start-up script now mangles the classpath because of this change in
behaviour.

At least with version 1.21 (and I believe through 1.24, just glancing
through the CVS history), the behaviour was always as follows:

cygpath --path --unix $UNIX_CLASSPATH returns UNIX_CLASSPATH
cygpath --path --unix $DOS_CLASSPATH return UNIX_CLASSPATH
cygpath --path --windows $UNIX_CLASSPATH returns DOS_CLASSPATH
cygpath --path --windows $DOS_CLASSPATH returns DOS_CLASSPATH

Now the behaviour is as follows:

cygpath --path --unix $UNIX_CLASSPATH returns a truncated UNIX_CLASSPATH
if it is too long
cygpath --path --unix $DOS_CLASSPATH return UNIX_CLASSPATH
cygpath --path --windows $UNIX_CLASSPATH returns DOS_CLASSPATH
cygpath --path --windows $DOS_CLASSPATH returns a garbled DOS_CLASSPATH
regardless of length (e.g. the path is transformed from C:/home/build to
C;c:/home/build

We no longer have the option to run a classpath of unknown format through
cgypath to make sure it is in a known format.  This is the issue in the
jakarta ant tool.  It makes no assumptions on what the format of the path is
-- it immediately converts it to unix regardless of the current format.
This was the expected behaviour.

Is there another utility that can be used to identify the format of a
classpath?  This will be needed to account for the changed behaviour in
modifying scripts.

--Doug Newton
[EMAIL PROTECTED]

-Original Message-
From: Christopher Faylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:04 PM
To: Newton, Doug
Subject: Re: cygpath bug in version 1.25


On Mon, Feb 10, 2003 at 05:29:32PM -0600, Newton, Doug wrote:
I believe I have found a bug in cygpath.exe version 1.25 (Which has been
the
version included since at least cygwin version 1.3.17-1 and through cygwin
version 1.3.20-1).

Using installations from any release since 1.3.17-1 (the earliest full
installation that I had available), cygpath does work fine if converting a
dos classpath to a unix classpath, and converting a unix classpath to a dos
classpath.  BUT, if you try to convert a long unix classpath to a unix
classpath, I have had truncation occur.

Correct.  You're passing a windows path to cygpath which consists of a
bunch of characters separated by colons.  cygpath is treating the input
as one filename so the path will be truncated to the maximum of 260
characters by cygpath.  That is by design.  Sorry.

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/


-Original Message-
From: Douglas Newton [mailto: [EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:04 PM
To: [EMAIL PROTECTED]
Subject: Re: cygpath bug in version 1.25


I believe I have found a bug in cygpath.exe version 1.25 (Which has been the
version included since at least cygwin version 1.3.17-1 and through cygwin
version 1.3.20-1).

Using installations from any release since 1.3.17-1 (the earliest full
installation that I had available), cygpath does work fine if converting a
dos classpath to a unix classpath, and converting a unix classpath to a dos
classpath.  BUT, if you try to convert a long unix classpath to a unix
classpath, I have had truncation occur.  The following example was run with
cygwin version 1.3.17-1:

$ echo $CLASSPATH
/home/dnewton/dev/nextgen_src/build:/usr/software/lib/endorsed/xml-apis.jar:
/usr/software/lib/endorsed/xercesImpl.jar:/usr/software/lib/endorsed/xalan.j
ar:/usr/software/lib/bcel.jar:/usr/software/lib/bsf.jar:/usr/software/lib/js
.jar:/usr/software/lib/jakarta-oro-2.0.2.jar:/usr/software/lib/ojdbc14.jar:/
usr/software/lib/log4j-1.2.7.jar:/usr/software/lib/logkit.jar:/usr/software/
lib/maybeupload.jar:/usr/software/lib/junit.jar:/usr/software/lib/jdom.jar:/
usr/software/lib/ecs-1.4.1.jar:/usr/software/lib/avalonapi.jar:/usr/software
/lib/jakarta-regexp-1.2.jar:/usr/software/lib/jstyle.jar:/usr/software/lib/f
op-0_17_0.jar:/usr/software/lib/saxpath.jar:/usr/software/lib/jaxen-full.jar
:/usr/software/lib/antlr-all.jar:/usr/software/lib/servlet.jar:/usr/software
/lib/struts.jar:/usr/software/lib/getopt.jar:/usr/software/lib/gnu-regexp.ja
r:/usr/software/lib/jacorb.jar:/usr/software/lib/jboss-client.jar:/usr/softw
are/lib/jboss-common-client.jar:/usr/software/lib/jbossha-client.jar:/usr/so
ftware/lib/jboss-iiop-client.jar:/usr/software/lib/jboss-j2ee.jar:/usr/softw
are/lib/jboss-jaas.jar:/usr/software/lib/jbossjmx-ant.jar:/usr/software/lib/
jboss-jsr77-client.jar:/usr/software/lib/jbossmq-client.jar:/usr/software/li
b/jbossmqha.jar:/usr/software/lib/jboss-net-client.jar:/usr/software/lib/jbo

Re: setup.exe joblist for downloading

2003-02-11 Thread Richard Deeley
Randall Schulz,

Thanks for the script and related information. It seems
fairly clear and confirms that setup.ini can be used to
drive the whole process (nothing funny going on inside
of setup). For the downloading anyway. For the installation, 
using setup would seem to be the only way to go. I think
we are done here.

Richard.




__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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/




simple/free CLI tool to new Windows 2000 inherited ACLs correctly??

2003-02-11 Thread nicebounce
Greetings:

I understand this is a slightly off topic question; I hope
you take it as complement ..

I've already looked at xcacls, showacls, dumpsec, setacl, cygwin getfacl.

I'm looking for a command line tool to dump the Windows 2000 acls
for a directory, with an indication of whether the ACE (or ACL?)
has been inherited from a parent directory or is directly
affixed to the directory itself.

thanks/regards,
--
Tom Rodman 
perl -e 'print unpack(u, \.\=\$\!T\F\]D\;6\%N\+F\-O\;0H\`);'

--
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: realpath behavior

2003-02-11 Thread Corinna Vinschen
On Tue, Feb 11, 2003 at 11:13:06AM -0500, Robb, Sam wrote:
  On Tue, Feb 11, 2003 at 12:08:46AM -0500, Robb, Sam wrote:
   Looking for someone to confirm if this is expected 
  behavior, or a bug:
   
   With standard mount points:
   
 c:\cygwin\bin on /usr/bin type system (binmode)
 c:\cygwin\lib on /usr/lib type system (binmode)
   
 * Calling realpath() to resolve /bin results in /usr/bin.
 * Likewise, calling realpath() to resolve /lib results 
  in /usr/lib.
   
   If anything, I'd expect the opposite behavior - ie, 
  realpath(/usr/bin)
   to return /bin, etc.
  
  Wrong mailing list.  Try [EMAIL PROTECTED]
 
 That said - the question remains: is this a bug, or a valid (but
 unexpected) implementation of realpath?

Thinking a while about that, it's valid.  It might be unexpected but
it's ok.  /bin translates to C:/cygwin/bin and this in turn translates
to /usr/bin taking the mount points into account.

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/




Attention

2003-02-11 Thread RS
REQUEST

I am MR REUBEN SAVIMBI one of the favorite sons of Mr.JONAS SAVIMBI (The Rebel leader) 
and also the head of the Unita Forces of Angola who was killed in the Struggle between 
Angolan arm forces and his unita rebels On Friday the 22nd of February 2002.

 I am from Angola but currently I am currently on exile due to the War in my country 
between the Rebel Group (Unita rebels) Led by my father Jonas Savimbi and the Angolan 
Government.
 I want a trust worthy, honest and God fearing individual to go into business 
Partnership with and that is the reason why I have decided to contact you. The fund 
for investment is US$45.5M (Forty Five Million Five Hundred Thousand United States 
Dollars) and Diamond worth over Twelve Million Dollars. This fund was realized from 
the sales of Diamonds during the crisis between the Unita Rebels (headed by my father 
Jonas Savimbi) and the then President Jose Eduardo dos Santos Of Angola.

 I fled from my country with this fund, which my father suppose to use procure more 
arms for the Unita Rebels. This is because I felt that the battle waged by the Unita 
Forces was more of rebellion and it was baseless. I had this fund sealed in a 
diplomatic box and deposited in a private Security Company in Europe.  I will need 
assistance from you to use your facilities to effect the removal of this fund and 
subsequently transferred to your nominated account in your country. This business has 
to be done in a more confidential manner.

For participating in the business with me, I have two options for you.  You can choose 
to have certain percentage of the funds or you can go into partnership with me for 
proper profitable investment of the money in your country.

Whichever the option you want, feel free to notify me.  The money is presently lodged 
with a security firm and I will give you further details immediately I hear from you. 
Please contact me immediately for the next line of action then I will introduce you to 
the security company where the funds are been deposited.

 I would like you to include your personal phone and fax numbers for more confidential 
Communication with the Security Company.

Regards
REUBEN J.SAVIMBI.
(For the family)



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


mkdir : Permission denied

2003-02-11 Thread Russell Cecala
I just re-installed cygwin (don't ask why) and I can not
create files or directory in the file system where I was
able to before I re-installed cygwin.

What did I forget to do?



__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.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/




problem with tcsh-6.12.00-3

2003-02-11 Thread Andrew Grimm
The major problem is that $shell and $SHELL are now getting set to
/tmp/install/usr/bin/tcsh instead of /usr/bin/tcsh.  This is causing the
shell to fail, say in an xterm, trying to exec $SHELL.

I verified that this problem resides in the executable rather than my
configuration files by examining it with strings.

...

There is another problem which is not new to this release, but I feel
should be corrected.  The default /etc/csh.login should have two lines
changed in this manner:

set path=( /usr/local/bin /usr/bin /bin $path:q )

The $path:q preserves spaces in spacey MS pathnames.  Right now path
elements like Program Files are resulting in multiple bad entries from
the inherited Windows path.  This hurts performance.

set TERM=cygwin

The current setting of linux is not correct for the Cygwin shell window,
I think.

-Andy


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




looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Samir Gupta
Hello, I am having a problem with running cygwin emacs under windows 2000
pro at work, where I am concurrently running exceed (to connect to networked
machines):

when I initially run emacs it does not open up in a separate window
so, I mimicked my xterm setup at work and did
setenv DISPLAY xx:0.0
now, it opens up in a separate window like  I wanted, but I have 2
questions:

1) the icon (in the upper left corner of my emacs window) is the blue X
ie. the same icon I get when I open an xterm with exceed.  This is confusing
because I would like to distinguish between my local emacs windows and my
emacs windows that are connected to the network.  How can I change the icon
when running emacs via cygwin so they are different?

2) why do I have to enter an IP address in the Display variable if I am
using cygwin on my local machine?  What would I do if I were not connected
to a network?

Thanks

--
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: running programs using cygwin1.dll

2003-02-11 Thread Christopher Faylor
On Tue, Feb 11, 2003 at 10:07:35AM -0700, Matt Armstrong wrote:
Is there a windows or cygwin way of telling when cygwin1.dll is no
longer used by any running processes?

ps?

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: Win32 emacs, Cygwin emacs...and PATH

2003-02-11 Thread Eric Hanchrow
 Elfyn == Elfyn McBratney [EMAIL PROTECTED] writes:

 I want to be able to type emacs and have it run my Win32
 emacs.

Put this in your .bashrc:

function emacs ()
{
/c/path-to/win32-emacs/emacs.exe $@
}

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

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




Conversion operator and new

2003-02-11 Thread Indiana Epilepsy and Child Neurology
Greetings!

g++ produces an error size in array new must have integral type in
function f2.  I expected the conversion operators to convert x to
size_t, which is an integral type.  They do if I remove *either* the
const *or* the non-const version of operator size_t, and they do for
passing x to function f1 in any case.

Is this a bug?

#includecstddef

struct  X
{
operator size_t ()  {   return
2;  }
operator size_t ()  const   {   return  3;  }
};

char*f1 (   size_t  n   )   {   return
new char[n];}

char*f2 (   const X x  )   {   return  new
char[x];}

int main(void)  {   }

/*

$ g t.cpp -ot
t.cpp: In function `char* f2(const X)':
t.cpp:11: size in array new must have integral type

*/
-- 
Don Stauffer, Office Manager
Indiana Epilepsy and Child Neurology, 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: running programs using cygwin1.dll

2003-02-11 Thread Andrew DeFaria
Matt Armstrong wrote:


Is there a windows or cygwin way of telling when cygwin1.dll is no 
longer used by any running processes?

Get Process Explorer from sysinternals.com then use it to search for 
cygwin1.dll.



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



tcsh-6.12.00-4 [was Re: problem with tcsh-6.12.00-3]

2003-02-11 Thread Corinna Vinschen
On Tue, Feb 11, 2003 at 12:37:21PM -0700, Andrew Grimm wrote:
 The major problem is that $shell and $SHELL are now getting set to
 /tmp/install/usr/bin/tcsh instead of /usr/bin/tcsh.  This is causing the
 shell to fail, say in an xterm, trying to exec $SHELL.
 
 I verified that this problem resides in the executable rather than my
 configuration files by examining it with strings.

Thanks for the report.  I tracked it down to be a flaw in Makefile.in.

 There is another problem which is not new to this release, but I feel
 should be corrected.  The default /etc/csh.login should have two lines
 changed in this manner:
 
   set path=( /usr/local/bin /usr/bin /bin $path:q )
 
 The $path:q preserves spaces in spacey MS pathnames.  Right now path
 elements like Program Files are resulting in multiple bad entries from
 the inherited Windows path.  This hurts performance.
 
   set TERM=cygwin
 
 The current setting of linux is not correct for the Cygwin shell window,
 I think.

Again, thanks for these two hints!

I've just uploaded a -4 release which has the correct $SHELL setting
and both of your fixes to csh.login.

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: Is there cygwin port of docbook?

2003-02-11 Thread Joshua Daniel Franklin
  I'm wondering whether there is cygwin port of docbook.
  I want to use it in my office, but I don't wanna bother to
  install a whole Linux OS just in order to use docbook.
 
 Someone, Me thinks the DocBook maintainer, posted a message to
 [EMAIL PROTECTED] a little while ago saying that he had a mirror that would
 provide this port for a short while. Jump quickly and you might find it ;-)

I have a mirror of this for use with the cygwin-doc package. Add:

http://ns1.iocc.com/~joshua/cygwin/docbook/

as a mirror in setup.exe and you'll see the various docbook packages
appear in the Doc category. Note that these are testing not final packages.
I know very little about DocBook but these work for my purpose. 

You'd probably also like Markus Hoenicka's tutorial about Cygwin:

http://ourworld.compuserve.com/homepages/hoenicka_markus/cygbook1.html

Or, if you are not wanting to use the Unix tools of cygwin, you might also
look at this:

http://ourworld.compuserve.com/homepages/hoenicka_markus/ntsgml.html

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Samir Gupta
That does not work for some reason, here is what happens when I open up a
tcsh shell (without my .tcshrc):

[sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
:0
[sgupta@sgupta /cygdrive/c]$ emacs
emacs: Cannot connect to X server :0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

[sgupta@sgupta /cygdrive/c]$ 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 12:07 PM
To: Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


I think Samir Gupta wrote:
 
 2) why do I have to enter an IP address in the Display variable if I am
 using cygwin on my local machine?  What would I do if I were not connected
 to a network?

You can omit the address and the screen number -- i.e., set DISPLAY to
:0 and this will be fine. The local machine is then understood.


-
Ernest Friedman-Hill  
Distributed Systems ResearchPhone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov

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




Spamassassin and Spamd/Spamc

2003-02-11 Thread Frank Schmitt
Hello

I'm trying to get Spamassassin running under Cygwin. It compiles OK and
Spamassassin itself works as expected, too but the communication
between spamc (c-program) and spamd (perl) seems too fail, as far as I
see it due to '\r\n' vs '\n' problems.

Before I dig into this further I'd like to ask if there's anybody out
there who already tried to build Spamc and Spamd under Cygwin and
succeeded.

I see the problem with both SpamAssassin 2.50 and 2.44 and Perl 5.6 and
5.8 (latest from Cygwin distribution). All cygwin packages are
installed and updated (yesterday).

MFG Frank

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.


--
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: using fetchmail in mutt under cygwin

2003-02-11 Thread Jason Tishler
Ajay,

Please post instead of sending private email.

On Sun, Feb 09, 2003 at 01:09:49AM -0500, Ajay Simha wrote:
 I read your README file.
 First of, it is an excellent document.

Thanks.

 I am still confused what my mutt setting should be for pop3..

Why not read the mutt manual?

http://www.mutt.org/doc/manual/

But, if you are going to use fetchmail/procmail to retrieve your mail,
why do you need to mess with mutt's pop settings?  Sounds like trouble
to me.

 Also I'm using a vpn client. So.. if I install fetchmail as an NT
 service what may be the repurcussions?

None, except for some expected connection failures in your fetchmail log
file when not VPN-ed.  Note that I do this all of the time with my
laptop.  I even get the extra bonus of perverse pleasure when my
co-workers complain about Outlook.  Sorry for the digression, but I
couldn't resist... ;,)

 My current settings are:
 set pop_host=uzura.cisco.com  
 set pop_user=asimha
 set spoolfile=/var/mail/asimha what/who creates this?

It depends on your setup.

 #set pop_delete
 
 I'd like to be able to use fetchmail in conjuction with procmail. 

OK, read the procmail README too.

 Thanks in advance,

You are welcome.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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




Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?)

2003-02-11 Thread Javier

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all!! :)

Just done my weekly get Cygwin up to date routine, in which I've
gotten:

cygwin-1.3.20-1
patch 2.5.8-3.
vim-6.1.300-1
and w32api-2.2-1

and now every time I do a fortune I get:

javier fortune
fortune:/usr/share/fortune/fortunes not a fortune file or directory

Even when I give an explicit fortune.dat file on the path:

javier fortune /usr/share/fortune/osfortune.dat
fortune:/usr/share/fortune/osfortune.dat not a fortune file or directory

and on the dir itself:

javier fortune /usr/share/fortune/
fortune: /usr/share/fortune/: No fortune files in directory.
fortune:/usr/share/fortune/ not a fortune file or directory

but the contents of the dir haven't changed:

total 3604
drwx--+   2 Administ Ninguno  4096 Feb 11 21:58 ./
drwx--+  29 Administ Ninguno  4096 Feb 11 21:58 ../
- -rwx--+   1 Administ Ninguno582159 Jan 30  2002 fortunes*
- -rwx--+   1 Administ Ninguno 72748 Jan 30  2002 fortunes-o*
- -rwx--+   1 Administ Ninguno  1596 Jan 30  2002
fortunes-o.dat*
- -rwx--+   1 Administ Ninguno 14200 Jan 30  2002 fortunes.dat*
- -rwx--+   1 Administ Ninguno   2062443 Jan 30  2002 fortunes2*
- -rwx--+   1 Administ Ninguno637671 Jan 30  2002 fortunes2-o*
- -rwx--+   1 Administ Ninguno  9576 Jan 30  2002
fortunes2-o.dat*
- -rwx--+   1 Administ Ninguno 46604 Jan 30  2002 fortunes2.dat*
- -rwx--+   1 Administ Ninguno144798 Jan 30  2002 limerick*
- -rwx--+   1 Administ Ninguno  3484 Jan 30  2002 limerick.dat*
- -rwx--+   1 Administ Ninguno 19725 Jan 30  2002 linuxcookie*
- -rwx--+   1 Administ Ninguno   448 Jan 30  2002
linuxcookie.dat*
- -rwx--+   1 Administ Ninguno  7611 Jan 30  2002 osfortune*
- -rwx--+   1 Administ Ninguno   168 Jan 30  2002 osfortune.dat*
- -rwx--+   1 Administ Ninguno 27502 Jan 30  2002 startrek*
- -rwx--+   1 Administ Ninguno   836 Jan 30  2002 startrek.dat*
- -rwx--+   1 Administ Ninguno 38744 Jan 30  2002 zippy*
- -rwx--+   1 Administ Ninguno  2224 Jan 30  2002 zippy.dat*

Maybe is a permits probem /  thing??

fortune whoami
javier

I have reinstalled the software, and I see that the install program has
given the files over to Administ.Ninguno (Administrator / None in
spanish) ... but I am logged as Javier both in Cygwin and under
windows, and am a member of the Administrators group?!

Any ideas of why the install program does so?

Also, which seems to be broken:

javier which -a ls
ls: Command not found.
javier ls -la /usr/bin/ls*
- -rwx--+   1 Administ Ninguno 68608 Jun 15  2001
/usr/bin/ls.exe*
javier


Thanks a lot :)

Javier


-BEGIN PGP SIGNATURE-
Version: PGP 8.0

iQA/AwUBPklod/Uxs3vO1ibAEQKV5wCeNeYuh9sv9pyWEbLOKbFcCH3kQNkAoLhF
71bfxjlZ4o0T05nV64/a74zF
=rDby
-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/




[ANNOUNCEMENT] Updated: tcsh-6.12.00-4

2003-02-11 Thread Corinna Vinschen
I've updated the version of tcsh to 6.12.00-4.

This is a bug fix release.  It contains the following fixes:

- $SHELL is set to /usr/bin/tcsh instead of /tmp/install/usr/bin/tcsh.

- /etc/csh.login now preserves spaces in pathnames when evaluating $path.

- /etc/csh.login now sets $TERM to cygwin by default instead of linux.


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

If you have general questions or comments, please send them to the
Cygwin mailing list at: cygwin at cygwin dot com.  I would appreciate
it if you would use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

-- 
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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread [EMAIL PROTECTED]
Sounds like a problem with Exceed to me then.

Larry

Original Message:
-
From: Samir Gupta [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 12:32:18 -0800
To: [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


That does not work for some reason, here is what happens when I open up a
tcsh shell (without my .tcshrc):

[sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
:0
[sgupta@sgupta /cygdrive/c]$ emacs
emacs: Cannot connect to X server :0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

[sgupta@sgupta /cygdrive/c]$ 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 12:07 PM
To: Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


I think Samir Gupta wrote:
 
 2) why do I have to enter an IP address in the Display variable if I am
 using cygwin on my local machine?  What would I do if I were not connected
 to a network?

You can omit the address and the screen number -- i.e., set DISPLAY to
:0 and this will be fine. The local machine is then understood.


-
Ernest Friedman-Hill  
Distributed Systems ResearchPhone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov

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



mail2web - Check your email from the web at
http://mail2web.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: mkdir : Permission denied

2003-02-11 Thread [EMAIL PROTECTED]


Original Message:
-
From:  [EMAIL PROTECTED] (Russell Cecala)
Date: Tue, 11 Feb 2003 14:18:42 -0500
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: mkdir : Permission denied


I just re-installed cygwin (don't ask why) and I can not
create files or directory in the file system where I was
able to before I re-installed cygwin.

What did I forget to do?


Provide any useful information to the list in conjunction with your
inquiry?  Yeah, that's it! ;-)

See http://cygwin.com/bugs.html

Larry


mail2web - Check your email from the web at
http://mail2web.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: Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?)

2003-02-11 Thread Elfyn McBratney
 but the contents of the dir haven't changed:

 total 3604
 drwx--+   2 Administ Ninguno  4096 Feb 11 21:58 ./
 drwx--+  29 Administ Ninguno  4096 Feb 11 21:58 ../
 - -rwx--+   1 Administ Ninguno582159 Jan 30  2002 fortunes*
 - -rwx--+   1 Administ Ninguno 72748 Jan 30  2002 fortunes-o*
 - -rwx--+   1 Administ Ninguno  1596 Jan 30  2002
 fortunes-o.dat*
 - -rwx--+   1 Administ Ninguno 14200 Jan 30  2002 fortunes.dat*
 - -rwx--+   1 Administ Ninguno   2062443 Jan 30  2002 fortunes2*
 - -rwx--+   1 Administ Ninguno637671 Jan 30  2002 fortunes2-o*
 - -rwx--+   1 Administ Ninguno  9576 Jan 30  2002
 fortunes2-o.dat*
 - -rwx--+   1 Administ Ninguno 46604 Jan 30  2002 fortunes2.dat*
 - -rwx--+   1 Administ Ninguno144798 Jan 30  2002 limerick*
 - -rwx--+   1 Administ Ninguno  3484 Jan 30  2002 limerick.dat*
 - -rwx--+   1 Administ Ninguno 19725 Jan 30  2002 linuxcookie*
 - -rwx--+   1 Administ Ninguno   448 Jan 30  2002
 linuxcookie.dat*
 - -rwx--+   1 Administ Ninguno  7611 Jan 30  2002 osfortune*
 - -rwx--+   1 Administ Ninguno   168 Jan 30  2002 osfortune.dat*
 - -rwx--+   1 Administ Ninguno 27502 Jan 30  2002 startrek*
 - -rwx--+   1 Administ Ninguno   836 Jan 30  2002 startrek.dat*
 - -rwx--+   1 Administ Ninguno 38744 Jan 30  2002 zippy*
 - -rwx--+   1 Administ Ninguno  2224 Jan 30  2002 zippy.dat*

 Maybe is a permits probem /  thing??

 fortune whoami
 javier

 I have reinstalled the software, and I see that the install program has
 given the files over to Administ.Ninguno (Administrator / None in
 spanish) ... but I am logged as Javier both in Cygwin and under
 windows, and am a member of the Administrators group?!


That'll be the problem then, as only Administrator has permission to r(ead),
w(rite) or (e)x(ecute) the file. If you reset the permissions, so that
either you are the owner or you have permissions to read/and or write if you
need to, on the files fortune should behave normally.


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.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/




Re: running programs using cygwin1.dll

2003-02-11 Thread Matt Armstrong
Christopher Faylor [EMAIL PROTECTED] writes:

 On Tue, Feb 11, 2003 at 10:07:35AM -0700, Matt Armstrong wrote:
Is there a windows or cygwin way of telling when cygwin1.dll is no
longer used by any running processes?

 ps?

Duh, I never realized ps only showed cygwin processes.


Andrew DeFaria [EMAIL PROTECTED] writes:

 Matt Armstrong wrote:

 Is there a windows or cygwin way of telling when cygwin1.dll is no
 longer used by any running processes?

 Get Process Explorer from sysinternals.com then use it to search for
 cygwin1.dll.

Neat tool.


-- 
matt

--
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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Samir Gupta
Why would exceed cause this problem?  I have the problem even when I don't
run exceed on this computer.  I am also almost certain that this did not
work when I tried it on a computer that did not have exceed on it at all.

Is there anything else that could be wrong?

Thanks



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


Sounds like a problem with Exceed to me then.

Larry

Original Message:
-
From: Samir Gupta [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 12:32:18 -0800
To: [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


That does not work for some reason, here is what happens when I open up a
tcsh shell (without my .tcshrc):

[sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
:0
[sgupta@sgupta /cygdrive/c]$ emacs
emacs: Cannot connect to X server :0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

[sgupta@sgupta /cygdrive/c]$ 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 12:07 PM
To: Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


I think Samir Gupta wrote:
 
 2) why do I have to enter an IP address in the Display variable if I am
 using cygwin on my local machine?  What would I do if I were not connected
 to a network?

You can omit the address and the screen number -- i.e., set DISPLAY to
:0 and this will be fine. The local machine is then understood.


-
Ernest Friedman-Hill  
Distributed Systems ResearchPhone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov

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



mail2web - Check your email from the web at
http://mail2web.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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Elfyn McBratney
 Why would exceed cause this problem?  I have the problem even when I don't
 run exceed on this computer.  I am also almost certain that this did not
 work when I tried it on a computer that did not have exceed on it at all.


Are you trying to run plain-old emacs from a cygwin prompt and it keeps
telling you about the X thing? If so just run `emacs -nw'. If not, then
Sorry! :-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk

 Is there anything else that could be wrong?

 Thanks



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 1:41 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 Sounds like a problem with Exceed to me then.

 Larry

 Original Message:
 -
 From: Samir Gupta [EMAIL PROTECTED]
 Date: Tue, 11 Feb 2003 12:32:18 -0800
 To: [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 That does not work for some reason, here is what happens when I open up a
 tcsh shell (without my .tcshrc):

 [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
 :0
 [sgupta@sgupta /cygdrive/c]$ emacs
 emacs: Cannot connect to X server :0.
 Check the DISPLAY environment variable or use `-d'.
 Also use the `xhost' program to verify that it is set to permit
 connections from your machine.

 [sgupta@sgupta /cygdrive/c]$




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 12:07 PM
 To: Samir Gupta
 Subject: Re: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 I think Samir Gupta wrote:
 
  2) why do I have to enter an IP address in the Display variable if I am
  using cygwin on my local machine?  What would I do if I were not
connected
  to a network?

 You can omit the address and the screen number -- i.e., set DISPLAY to
 :0 and this will be fine. The local machine is then understood.


 -
 Ernest Friedman-Hill
 Distributed Systems ResearchPhone: (925) 294-2154
 Sandia National LabsFAX:   (925) 294-2234
 PO Box 969, MS 9012 [EMAIL PROTECTED]
 Livermore, CA 94550 http://herzberg.ca.sandia.gov

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


 
 mail2web - Check your email from the web at
 http://mail2web.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/





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




g77 dlls: libg2c.a not shared library

2003-02-11 Thread Teun Burgers
I've been looking into building dlls with the recently
uploaded libtool 1.4e. This makes it very easy to build
dlls for autotooled distributions. You cannot at this point
however build a fortran shared library that depends on libg2c.a
because that is a static library.
Neither is libfrtbegin.a, but judging from the nm output I
guess that is only required for a Fortran main program.
So it would be nice if libg2c.a could be distributed as a shared
library in a next gcc build.

Regards,

Teun Burgers

--
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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Samir Gupta
Hello,

Yes, that is what I am trying to do.  However, I would like emacs to open up
in a separate window from the prompt window.  

to open up my tcsh I am running:
rxvt -e tcsh

then, from the tcsh prompt:

1) If I type emacs I get the error I pasted below (if the enviornment
variable DISPLAY is set).
2) If I type emacs and the environment variable DISPLAY is not set, then
emacs opens up in the current window.
3) If I type emacs -nw, then regardless of whether or not DISPLAY is set,
emacs opens up in the current window.

But I can't get emacs to open up in its own window!



-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:06 PM
To: cygwin; Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


 Why would exceed cause this problem?  I have the problem even when I don't
 run exceed on this computer.  I am also almost certain that this did not
 work when I tried it on a computer that did not have exceed on it at all.


Are you trying to run plain-old emacs from a cygwin prompt and it keeps
telling you about the X thing? If so just run `emacs -nw'. If not, then
Sorry! :-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk

 Is there anything else that could be wrong?

 Thanks



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 1:41 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 Sounds like a problem with Exceed to me then.

 Larry

 Original Message:
 -
 From: Samir Gupta [EMAIL PROTECTED]
 Date: Tue, 11 Feb 2003 12:32:18 -0800
 To: [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 That does not work for some reason, here is what happens when I open up a
 tcsh shell (without my .tcshrc):

 [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
 :0
 [sgupta@sgupta /cygdrive/c]$ emacs
 emacs: Cannot connect to X server :0.
 Check the DISPLAY environment variable or use `-d'.
 Also use the `xhost' program to verify that it is set to permit
 connections from your machine.

 [sgupta@sgupta /cygdrive/c]$




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 12:07 PM
 To: Samir Gupta
 Subject: Re: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 I think Samir Gupta wrote:
 
  2) why do I have to enter an IP address in the Display variable if I am
  using cygwin on my local machine?  What would I do if I were not
connected
  to a network?

 You can omit the address and the screen number -- i.e., set DISPLAY to
 :0 and this will be fine. The local machine is then understood.


 -
 Ernest Friedman-Hill
 Distributed Systems ResearchPhone: (925) 294-2154
 Sandia National LabsFAX:   (925) 294-2234
 PO Box 969, MS 9012 [EMAIL PROTECTED]
 Livermore, CA 94550 http://herzberg.ca.sandia.gov

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


 
 mail2web - Check your email from the web at
 http://mail2web.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/





--
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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Elfyn McBratney
 Yes, that is what I am trying to do.  However, I would like emacs to open
up
 in a separate window from the prompt window.

 to open up my tcsh I am running:
 rxvt -e tcsh

 then, from the tcsh prompt:

 1) If I type emacs I get the error I pasted below (if the enviornment
 variable DISPLAY is set).
 2) If I type emacs and the environment variable DISPLAY is not set, then
 emacs opens up in the current window.
 3) If I type emacs -nw, then regardless of whether or not DISPLAY is
set,
 emacs opens up in the current window.

 [...]


  Why would exceed cause this problem?  I have the problem even when I
don't
  run exceed on this computer.  I am also almost certain that this did not
  work when I tried it on a computer that did not have exceed on it at
all.
 

 Are you trying to run plain-old emacs from a cygwin prompt and it keeps
 telling you about the X thing? If so just run `emacs -nw'. If not, then
 Sorry! :-)
 [...]

O.K. I think you are thinking of linux where if you type it in in X it opens
up the X version and if you add a '' it opens backgrounded? If so, you
can't really do that from what I can think of. What you can do is something
similar to what cygwin does by placing a shortcut on your desktop running

C:\Cygwin\bin\emacs.exe -nw -any-other-options-you-may-want-to-add ;-)

And just clicking on it as and when you want to use emacs...


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.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/




sweety info...

2003-02-11 Thread ADV_PROMO
http://utenti.lycos.it/sugarsweety/
questa è sicuramente un'area da non perdere!


http://utenti.lycos.it/sugarsweety/
videocamere che ritraggono
mogli, fidanzate, amanti, amiche molto intime di gruppo !!!


http://utenti.lycos.it/sugarsweety/
incontri dall vivo,indirizzi reali!!!

se voui cancellarti  dall list scrivi a: [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/




multi-user file permission problems

2003-02-11 Thread Brian Ford
I recently updated from 1.3.19 to 1.3.20.  Setup picked up a few new
packages like gcc, ncurses, etc.  After the update, the new executables
and files had permission problems for other users of my (XP) box.

From reading the mailing list, I thought this might be due to a directory
permission inheritance problem caused by the particular older cygwin dll
used during my initial install.  So, I tried a clean re-install.  Then,
all files had this permission issue.  And yes, I did select install for
all users.

Here is an example:

ls -l /bin/make.exe
-rwx--+   1 ford None   156160 May 11  2002 make.exe

getfacl -a /bin/make.exe
# file: make.exe
# owner: ford
# group: None
user::rwx
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:r-x
mask:rwx
other:---

So, you can see that the unix permissions do not show read or execute
status for anyone but me.  However, the ACL's show Users do have these
permissions.

Trying to execute make in bash via PATH for other users results in make
not found.  But, trying to execute /usr/bin/make works fine for them.

Can someone please help?  Thanks.

--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444



--
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: Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?)

2003-02-11 Thread Randall R Schulz
Javier,

I don't have any help for your problem, but...

At 13:17 2003-02-11, Javier wrote:


Hi all!! :)

Just done my weekly get Cygwin up to date routine, in which I've gotten:

cygwin-1.3.20-1
patch 2.5.8-3.
vim-6.1.300-1
and w32api-2.2-1

and now every time I do a fortune I get:

javier fortune
fortune:/usr/share/fortune/fortunes not a fortune file or directory



I recently did a similar update. I'm not on a strictly periodic 
schedule, but rather monitor the Cygwin lists for [ANNOUNCEMENT]s. 
Anyway, I don't routinely use fortune, so I thought I'd give it a try. 
Look what came out:

% fortune
Millions of sensible people are too high-minded to concede that
politics is almost always the choice of the lesser evil.  Tweedledum
and Tweedledee, they say, I will not vote.  Having abstained, they
are presented with a President who appoints the people who are going to
rummage around in their lives for the next four years.  Consider all
the people who sat home in a stew in 1968 rather than vote for Hubert
Humphrey.  They showed Humphrey.  Those people who taught Hubert
Humphrey a lesson will still be enjoying the Nixon Supreme Court when
Tricia and Julie begin to find silver threads among the gold and the
black.
-- Russel Baker, Ford without Flummery


This appears to pre-date Nov. 2000 by at least a couple of years. Spooky!

RRS 


--
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: Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?)

2003-02-11 Thread Javier

Elfyn McBratney [EMAIL PROTECTED] escribió en el mensaje
027f01c2d217$7522c950$15fe86d9@webdev">news:027f01c2d217$7522c950$15fe86d9@webdev...
  Maybe is a permits probem /  thing??
 
  fortune whoami
  javier
 
  I have reinstalled the software, and I see that the install program
has
  given the files over to Administ.Ninguno (Administrator / None in
  spanish) ... but I am logged as Javier both in Cygwin and under
  windows, and am a member of the Administrators group?!


 That'll be the problem then, as only Administrator has permission to
r(ead),
 w(rite) or (e)x(ecute) the file. If you reset the permissions, so that
 either you are the owner or you have permissions to read/and or write
if you
 need to, on the files fortune should behave normally.


Yes, I did chmod +r the files in the dir, and now I can get my fortunes
all right ;)

Thanks for the tip ;:)

What I find somewhat troubling is that the install program assigns the
files to the Adminstrator user??
I mean, shouldn't setup.exe run as My user (the same one I am on
Windows? )

Just a thought...

Javier


 Regards,

 Elfyn McBratney
 [EMAIL PROTECTED]
 www.exposure.org.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/




RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread [EMAIL PROTECTED]
OK, you're confused.  You mingled the idea of using the X version with 
the idea of running a console version of emacs in a different Windows
window.  Try:

cygstart emacs 

I didn't try it with emacs because I don't have it.  Works with vim 
though. ;-)

See man cygstart if you have questions about it.

Larry

Original Message:
-
From: Samir Gupta [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 14:18:53 -0800
To: [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


Hello,

Yes, that is what I am trying to do.  However, I would like emacs to open up
in a separate window from the prompt window.  

to open up my tcsh I am running:
rxvt -e tcsh

then, from the tcsh prompt:

1) If I type emacs I get the error I pasted below (if the enviornment
variable DISPLAY is set).
2) If I type emacs and the environment variable DISPLAY is not set, then
emacs opens up in the current window.
3) If I type emacs -nw, then regardless of whether or not DISPLAY is set,
emacs opens up in the current window.

But I can't get emacs to open up in its own window!



-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:06 PM
To: cygwin; Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


 Why would exceed cause this problem?  I have the problem even when I don't
 run exceed on this computer.  I am also almost certain that this did not
 work when I tried it on a computer that did not have exceed on it at all.


Are you trying to run plain-old emacs from a cygwin prompt and it keeps
telling you about the X thing? If so just run `emacs -nw'. If not, then
Sorry! :-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk

 Is there anything else that could be wrong?

 Thanks



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 1:41 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 Sounds like a problem with Exceed to me then.

 Larry

 Original Message:
 -
 From: Samir Gupta [EMAIL PROTECTED]
 Date: Tue, 11 Feb 2003 12:32:18 -0800
 To: [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 That does not work for some reason, here is what happens when I open up a
 tcsh shell (without my .tcshrc):

 [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
 :0
 [sgupta@sgupta /cygdrive/c]$ emacs
 emacs: Cannot connect to X server :0.
 Check the DISPLAY environment variable or use `-d'.
 Also use the `xhost' program to verify that it is set to permit
 connections from your machine.

 [sgupta@sgupta /cygdrive/c]$




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 12:07 PM
 To: Samir Gupta
 Subject: Re: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 I think Samir Gupta wrote:
 
  2) why do I have to enter an IP address in the Display variable if I am
  using cygwin on my local machine?  What would I do if I were not
connected
  to a network?

 You can omit the address and the screen number -- i.e., set DISPLAY to
 :0 and this will be fine. The local machine is then understood.


 -
 Ernest Friedman-Hill
 Distributed Systems ResearchPhone: (925) 294-2154
 Sandia National LabsFAX:   (925) 294-2234
 PO Box 969, MS 9012 [EMAIL PROTECTED]
 Livermore, CA 94550 http://herzberg.ca.sandia.gov

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


 
 mail2web - Check your email from the web at
 http://mail2web.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/





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



mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:  

Re: Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?)

2003-02-11 Thread Max Bowsher
Javier wrote:
 Elfyn McBratney [EMAIL PROTECTED] escribió en el
 mensaje 027f01c2d217$7522c950$15fe86d9@webdev">news:027f01c2d217$7522c950$15fe86d9@webdev...
 Maybe is a permits probem /  thing??

 fortune whoami
 javier

 I have reinstalled the software, and I see that the install program
 has given the files over to Administ.Ninguno (Administrator /
 None in spanish) ... but I am logged as Javier both in Cygwin
 and under windows, and am a member of the Administrators group?!


 That'll be the problem then, as only Administrator has permission to
 r(ead), w(rite) or (e)x(ecute) the file. If you reset the
 permissions, so that either you are the owner or you have
 permissions to read/and or write if you need to, on the files
 fortune should behave normally.


 Yes, I did chmod +r the files in the dir, and now I can get my
 fortunes all right ;)

 Thanks for the tip ;:)

 What I find somewhat troubling is that the install program assigns the
 files to the Adminstrator user??
 I mean, shouldn't setup.exe run as My user (the same one I am on
 Windows? )

It does... but

Windows *always* seems to set the group to None.

When you are a member of the Administrators group, Windows sets the owner of
files you create to Administrators - yes, thats right, the *owner* of the
file is a *group*. That Administ you mention above is Administrators, not
Administrator. (This behaviour is optional in XP).

So, the permissions you ask about are wholly to determined by Windows.
Cygwin setup.exe has nothing to do with them.


Max.


--
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: multi-user file permission problems

2003-02-11 Thread Max Bowsher
Brian Ford wrote:
 Here is an example:

 ls -l /bin/make.exe
 -rwx--+   1 ford None   156160 May 11  2002 make.exe

 getfacl -a /bin/make.exe
 # file: make.exe
 # owner: ford
 # group: None
 user::rwx
 group::---
 group:SYSTEM:rwx
 group:Administrators:rwx
 group:Users:r-x
 mask:rwx
 other:---

 So, you can see that the unix permissions do not show read or execute
 status for anyone but me.  However, the ACL's show Users do have these
 permissions.

Yep. It's impossible to fully represent an ACL in traditional Unix
permissions.

 Trying to execute make in bash via PATH for other users results in
 make not found.  But, trying to execute /usr/bin/make works fine for
 them.

 Can someone please help?  Thanks.

Options:
- Disable ntsec
- chown/chmod everything

Future versions of setup will set the group to either Administrators or
Users, which should allow more of the ACL to show in the mode bits.


Max.




--
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: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin

2003-02-11 Thread Samir Gupta
Yes, something must have happened to my cygwin emacs, because, earlier
today, I think it was interacting with my exceed program somehow.  It was
letting me run emacs in cygwin the same way I did it in exceed.  So, if I
typed, emacs any local file  from my cygwin tcsh shell, it would open
up my file in a separate window.  Somehow it was opening it up in an exceed
window.

I reinstalled cygwin emacs, and now it functions normally.

I wish I knew what happenned to make it work the other way.

The cygstart command works, but I don't like using emacs in the dos window.





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 3:18 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


OK, you're confused.  You mingled the idea of using the X version with 
the idea of running a console version of emacs in a different Windows
window.  Try:

cygstart emacs 

I didn't try it with emacs because I don't have it.  Works with vim 
though. ;-)

See man cygstart if you have questions about it.

Larry

Original Message:
-
From: Samir Gupta [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 14:18:53 -0800
To: [EMAIL PROTECTED]
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


Hello,

Yes, that is what I am trying to do.  However, I would like emacs to open up
in a separate window from the prompt window.  

to open up my tcsh I am running:
rxvt -e tcsh

then, from the tcsh prompt:

1) If I type emacs I get the error I pasted below (if the enviornment
variable DISPLAY is set).
2) If I type emacs and the environment variable DISPLAY is not set, then
emacs opens up in the current window.
3) If I type emacs -nw, then regardless of whether or not DISPLAY is set,
emacs opens up in the current window.

But I can't get emacs to open up in its own window!



-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:06 PM
To: cygwin; Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin


 Why would exceed cause this problem?  I have the problem even when I don't
 run exceed on this computer.  I am also almost certain that this did not
 work when I tried it on a computer that did not have exceed on it at all.


Are you trying to run plain-old emacs from a cygwin prompt and it keeps
telling you about the X thing? If so just run `emacs -nw'. If not, then
Sorry! :-)


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
www.exposure.org.uk

 Is there anything else that could be wrong?

 Thanks



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 1:41 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 Sounds like a problem with Exceed to me then.

 Larry

 Original Message:
 -
 From: Samir Gupta [EMAIL PROTECTED]
 Date: Tue, 11 Feb 2003 12:32:18 -0800
 To: [EMAIL PROTECTED]
 Subject: RE: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 That does not work for some reason, here is what happens when I open up a
 tcsh shell (without my .tcshrc):

 [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY
 :0
 [sgupta@sgupta /cygdrive/c]$ emacs
 emacs: Cannot connect to X server :0.
 Check the DISPLAY environment variable or use `-d'.
 Also use the `xhost' program to verify that it is set to permit
 connections from your machine.

 [sgupta@sgupta /cygdrive/c]$




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 12:07 PM
 To: Samir Gupta
 Subject: Re: looking for what is hopefully a simple answer for someone
 trying to use EMACS in cygwin


 I think Samir Gupta wrote:
 
  2) why do I have to enter an IP address in the Display variable if I am
  using cygwin on my local machine?  What would I do if I were not
connected
  to a network?

 You can omit the address and the screen number -- i.e., set DISPLAY to
 :0 and this will be fine. The local machine is then understood.


 -
 Ernest Friedman-Hill
 Distributed Systems ResearchPhone: (925) 294-2154
 Sandia National LabsFAX:   (925) 294-2234
 PO Box 969, MS 9012 [EMAIL PROTECTED]
 Livermore, CA 94550 http://herzberg.ca.sandia.gov

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


 
 mail2web - Check your email from the web at
 http://mail2web.com/ .


 --
 Unsubscribe 

Re: multi-user file permission problems

2003-02-11 Thread Brian Ford
On Tue, 11 Feb 2003, Max Bowsher wrote:

 Brian Ford wrote:
  Here is an example:
 
  ls -l /bin/make.exe
  -rwx--+   1 ford None   156160 May 11  2002 make.exe
 
  getfacl -a /bin/make.exe
  # file: make.exe
  # owner: ford
  # group: None
  user::rwx
  group::---
  group:SYSTEM:rwx
  group:Administrators:rwx
  group:Users:r-x
  mask:rwx
  other:---
 
  So, you can see that the unix permissions do not show read or execute
  status for anyone but me.  However, the ACL's show Users do have these
  permissions.

 Yep. It's impossible to fully represent an ACL in traditional Unix
 permissions.

That's fine.

  Trying to execute make in bash via PATH for other users results in
  make not found.  But, trying to execute /usr/bin/make works fine for
  them.
 
  Can someone please help?  Thanks.

 Options:
 - Disable ntsec
 - chown/chmod everything

 Future versions of setup will set the group to either Administrators or
 Users, which should allow more of the ACL to show in the mode bits.

I strongly vote for Users.

Please yell loudly when this future version appears.

Why are shells and such confused by this, though?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


--
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: cygpath bug in version 1.25 -- Fundamental Change in the Behaviour of Cygpath

2003-02-11 Thread Max Bowsher
Igor Pechtchanski wrote:
 On Tue, 11 Feb 2003, Newton, Doug wrote:

 If this change is what is desired by the majority, that is fine.
 BUT, it should have been made clear that the fundamental behaviour
 of cygpath had changed.  I have many scripts that no longer work.
 Even the jakarata ant tool's start-up script now mangles the
 classpath because of this change in behaviour.

 This change makes the output correct.  I suppose that would be
 something desired by the majority...

Yet technical correctness has come at the price of usability and
functionality.
E.g. You cannot convert to --mixed style from --windows style with --path.

 At least with version 1.21 (and I believe through 1.24, just glancing
 through the CVS history), the behaviour was always as follows:

 cygpath --path --unix $UNIX_CLASSPATH returns UNIX_CLASSPATH
 cygpath --path --unix $DOS_CLASSPATH return UNIX_CLASSPATH
 cygpath --path --windows $UNIX_CLASSPATH returns DOS_CLASSPATH
 cygpath --path --windows $DOS_CLASSPATH returns DOS_CLASSPATH

 Now the behaviour is as follows:

 cygpath --path --unix $UNIX_CLASSPATH returns a truncated
 UNIX_CLASSPATH if it is too long

 Yes, because it treats it as one filename...

 cygpath --path --unix $DOS_CLASSPATH return UNIX_CLASSPATH
 cygpath --path --windows $UNIX_CLASSPATH returns DOS_CLASSPATH
 cygpath --path --windows $DOS_CLASSPATH returns a garbled
 DOS_CLASSPATH regardless of length (e.g. the path is transformed
 from C:/home/build to C;c:/home/build

 Yes, because it treats : as a separator.

 We no longer have the option to run a classpath of unknown format
 through cgypath to make sure it is in a known format.  This is the
 issue in the jakarta ant tool.  It makes no assumptions on what the
 format of the path is -- it immediately converts it to unix
 regardless of the current format.

 It makes an assumption that the format is Windows.  Otherwise,
 there'd be no need to convert to Unix format...

Of course, if you simply wanted to *ensure* that the path was in unix
format... you're stuck.

 Is there another utility that can be used to identify the format of a
 classpath?  This will be needed to account for the changed behaviour
 in modifying scripts.

 Umm, 'grep'?  In particular, grep for a ; or a \ for a
 windows-format path...

Which is presumably vaguely what cygpath used to do.

Doug: have you considered making a patch to cygpath to make it behave more
to your liking (conditional on a command line option if need be), and
submitting that?



Max.


--
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: multi-user file permission problems

2003-02-11 Thread Max Bowsher
Brian Ford wrote:
 On Tue, 11 Feb 2003, Max Bowsher wrote:
 Yep. It's impossible to fully represent an ACL in traditional Unix
 permissions.

 That's fine.

 Trying to execute make in bash via PATH for other users results in
 make not found.  But, trying to execute /usr/bin/make works fine for
 them.

 Can someone please help?  Thanks.

 Options:
 - Disable ntsec
 - chown/chmod everything

 Future versions of setup will set the group to either Administrators
 or Users, which should allow more of the ACL to show in the mode
 bits.

 I strongly vote for Users.

Actually, the currently proposed patch decides based on the group membership
of the user running setup. But it might be better for this to be a choosable
option.

 Please yell loudly when this future version appears.

It should be in the next version. Whenever that is. Probably soon-ish, but
only probably, and stress on the *ish*.

 Why are shells and such confused by this, though?

Well, that scan PATH, looking for executables and if file they see isn't
executable, they ignore it.


Max.


--
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: multi-user file permission problems

2003-02-11 Thread Brian Ford
On Wed, 12 Feb 2003, Max Bowsher wrote:

 Brian Ford wrote:
  Why are shells and such confused by this, though?

 Well, that scan PATH, looking for executables and if file they see isn't
 executable, they ignore it.

Isn't that a bug if they don't use the ACL's for OS's that have 'em?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


--
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: multi-user file permission problems

2003-02-11 Thread Max Bowsher
Brian Ford wrote:
 On Wed, 12 Feb 2003, Max Bowsher wrote:

 Brian Ford wrote:
 Why are shells and such confused by this, though?

 Well, that scan PATH, looking for executables and if file they
 see isn't executable, they ignore it.

 Isn't that a bug if they don't use the ACL's for OS's that have 'em?

Lack-of-feature is perhaps a better way to put it.
And in the shells, not in Cygwin, in any case.

ACLs aren't exactly common, or particularly standardized. I believe Cygwin
tries to emulate Solaris. On Linux, ACLs require a non-standard kernel
patch.

Therefore, unrealistic to expect much support for ACLs outside specific
ACL-handling tools.


Max.


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




whereis telnet?

2003-02-11 Thread gSOAP acct
Doesn't cygwin come with telnet anymore?

user_x@matrix_9 /
$echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin:/contrib/bin:/usr/bin:/contrib/bin:/usr/sbin:/usr/bin:/cygdrive/e/user_x/scripts:/cygdrive/d/Oracle/Ora81/bin:/usr/X11R6/bin

user_x@matrix_9 /
$ find . -name 'telnet*'
./usr/include/arpa/telnet.h

user_x@matrix_9 /
$ uname -a
CYGWIN_NT-4.0 matrix_9 1.3.20(0.73/3/2) 2003-02-08
12:10 i686 unknown unknown Cygwin

Where is telnet?

Thanks



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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: whereis telnet?

2003-02-11 Thread Max Bowsher
gSOAP acct wrote:
 Doesn't cygwin come with telnet anymore?

http://cygwin.com/packages/

Search for telnet.exe


Max.


--
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: whereis telnet?

2003-02-11 Thread gSOAP acct
According to that it should be in /usr/bin
but I don't have a telnet.exe in my /usr/bin 

Did I forget to install with the installer?
What package does telnet come from?

Thanks
--- Max Bowsher [EMAIL PROTECTED] wrote:
 gSOAP acct wrote:
  Doesn't cygwin come with telnet anymore?
 
 http://cygwin.com/packages/
 
 Search for telnet.exe
 
 
 Max.
 


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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: whereis telnet?

2003-02-11 Thread Randall R Schulz
Oy.

Is it just me, or are the Cygwin users getting ever more helpless?

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=telnet.exe
http://www.cygwin.com/packages/inetutils/

Oy.

Randall Schulz


At 16:55 2003-02-11, gSOAP acct wrote:

According to that it should be in /usr/bin
but I don't have a telnet.exe in my /usr/bin 

Did I forget to install with the installer?
What package does telnet come from?

Thanks
--- Max Bowsher [EMAIL PROTECTED] wrote:
 gSOAP acct wrote:
  Doesn't cygwin come with telnet anymore?

 http://cygwin.com/packages/

 Search for telnet.exe


 Max.



--
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: cygpath bug in version 1.25 -- Fundamental Change in the Behaviourof Cygpath

2003-02-11 Thread Igor Pechtchanski
On Tue, 11 Feb 2003, Max Bowsher wrote:

 Igor Pechtchanski wrote:
  On Tue, 11 Feb 2003, Newton, Doug wrote:
 
  If this change is what is desired by the majority, that is fine.
  BUT, it should have been made clear that the fundamental behaviour
  of cygpath had changed.  I have many scripts that no longer work.
  Even the jakarata ant tool's start-up script now mangles the
  classpath because of this change in behaviour.
 
  This change makes the output correct.  I suppose that would be
  something desired by the majority...

 Yet technical correctness has come at the price of usability and
 functionality.
 E.g. You cannot convert to --mixed style from --windows style with --path.

Quite true.

  We no longer have the option to run a classpath of unknown format
  through cgypath to make sure it is in a known format.  This is the
  issue in the jakarta ant tool.  It makes no assumptions on what the
  format of the path is -- it immediately converts it to unix
  regardless of the current format.
 
  It makes an assumption that the format is Windows.  Otherwise,
  there'd be no need to convert to Unix format...

 Of course, if you simply wanted to *ensure* that the path was in unix
 format... you're stuck.

Yes.  I tracked the change to the following cvs commit:
http://cygwin.com/ml/cygwin-cvs/2002-q4/msg00080.html, particularly the
(doit): Do various things to make path output work predictably. part.

  Is there another utility that can be used to identify the format of a
  classpath?  This will be needed to account for the changed behaviour
  in modifying scripts.
 
  Umm, 'grep'?  In particular, grep for a ; or a \ for a
  windows-format path...

 Which is presumably vaguely what cygpath used to do.

 Doug: have you considered making a patch to cygpath to make it behave more
 to your liking (conditional on a command line option if need be), and
 submitting that?

 Max.

Umm, since I've opened my mouth on the issue, I'll submit the patch...
Igor
==
ChangeLog:
2003-02-11  Igor Pechtchanski [EMAIL PROTECTED]

* cygpath.cc (doit): Add code to simply ensure the path is
in the right format.
(ensure_flag): New static variable.
(options,long_options): Add 'e' flag.
(main): Set ensure_flag.

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune

Index: winsup/utils/cygpath.cc
===
RCS file: /cvs/src/src/winsup/utils/cygpath.cc,v
retrieving revision 1.25
diff -u -p -r1.25 cygpath.cc
--- winsup/utils/cygpath.cc 31 Oct 2002 02:40:26 -  1.25
+++ winsup/utils/cygpath.cc 12 Feb 2003 01:00:16 -
@@ -29,6 +29,7 @@ static int path_flag, unix_flag, windows
 static int shortname_flag, longname_flag;
 static int ignore_flag, allusers_flag, output_flag;
 static int mixed_flag;
+static int ensure_flag;
 static const char *format_type_arg;
 
 static struct option long_options[] = {
@@ -53,10 +54,11 @@ static struct option long_options[] = {
   {(char *) smprograms, no_argument, NULL, 'P'},
   {(char *) sysdir, no_argument, NULL, 'S'},
   {(char *) windir, no_argument, NULL, 'W'},
+  {(char *) ensure, no_argument, NULL, 'e'},
   {0, no_argument, 0, 0}
 };
 
-static char options[] = ac:df:hilmopst:uvwADHPSW;
+static char options[] = ac:df:hilmopst:uvwADHPSWe;
 
 static void
 usage (FILE * stream, int status)
@@ -76,6 +78,7 @@ Path conversion options:\n\
   -l, --long-name  print Windows long form of NAME (with -w, -m only)\n\
   -p, --path   NAME is a PATH list (i.e., '/bin:/usr/bin')\n\
   -s, --short-name print DOS (short) form of NAME (with -w, -m only)\n\
+  -e, --ensure ensure the path is in the right format (with -p only)\n\
 System information:\n\
   -A, --allusersuse `All Users' instead of current user for -D, -P\n\
   -D, --desktopoutput `Desktop' directory and exit\n\
@@ -411,6 +414,27 @@ doit (char *filename)
   int retval;
   int (*conv_func) (const char *, char *);
 
+  if (ensure_flag  path_flag)
+{
+  if (cygwin_posix_path_list_p (filename) ? unix_flag : windows_flag)
+   {
+ if (windows_flag)
+   {
+ buf = filename;
+ if (shortname_flag)
+   buf = get_short_paths (buf);
+ if (longname_flag)
+   buf = get_long_paths (buf);
+ if (mixed_flag)
+   buf = get_mixed_name (buf);
+ filename = buf;
+   }
+ /* The path is already in the 

Re: whereis telnet?

2003-02-11 Thread Igor Pechtchanski
Maybe we should be making Cygwin setup harder to use, not easier.  Sure,
some people will complain, but Cygwin will have a much more robust user
base...
Igor
P.S. Am I mean enough yet? ;-)

On Tue, 11 Feb 2003, Randall R Schulz wrote:

 Oy.

 Is it just me, or are the Cygwin users getting ever more helpless?

 http://cygwin.com/cgi-bin2/package-grep.cgi?grep=telnet.exe
 http://www.cygwin.com/packages/inetutils/

 Oy.

 Randall Schulz


 At 16:55 2003-02-11, gSOAP acct wrote:
 According to that it should be in /usr/bin
 but I don't have a telnet.exe in my /usr/bin 
 
 Did I forget to install with the installer?
 What package does telnet come from?
 
 Thanks
 --- Max Bowsher [EMAIL PROTECTED] wrote:
   gSOAP acct wrote:
Doesn't cygwin come with telnet anymore?
  
   http://cygwin.com/packages/
  
   Search for telnet.exe
  
   Max.

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
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: whereis telnet?

2003-02-11 Thread Max Bowsher
Igor Pechtchanski wrote:
 Maybe we should be making Cygwin setup harder to use, not easier. 
 Sure, some people will complain, but Cygwin will have a much more
 robust user base...

Hmm. I *like* this idea! :-)


Max.


--
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: multi-user file permission problems

2003-02-11 Thread Pierre A. Humblet
On Wed, Feb 12, 2003 at 12:04:07AM -, Max Bowsher wrote:
 Brian Ford wrote:
  I strongly vote for Users.
 
 Actually, the currently proposed patch decides based on the group membership
 of the user running setup. But it might be better for this to be a choosable
 option.

It's Users when possible. It has to be one of the groups of the user running
setup. Administrators is the backup choice. It should be unusual.

I don't understand why Brian had problems this time, and not in previous installs.
Were you running setup from Cygwin, with a gid (in /etc/passwd) different from 513?

Pierre


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




Attention

2003-02-11 Thread RS
REQUEST

I am MR REUBEN SAVIMBI one of the favorite sons of Mr.JONAS SAVIMBI (The Rebel leader) 
and also the head of the Unita Forces of Angola who was killed in the Struggle between 
Angolan arm forces and his unita rebels On Friday the 22nd of February 2002.

 I am from Angola but currently I am currently on exile due to the War in my country 
between the Rebel Group (Unita rebels) Led by my father Jonas Savimbi and the Angolan 
Government.
 I want a trust worthy, honest and God fearing individual to go into business 
Partnership with and that is the reason why I have decided to contact you. The fund 
for investment is US$45.5M (Forty Five Million Five Hundred Thousand United States 
Dollars) and Diamond worth over Twelve Million Dollars. This fund was realized from 
the sales of Diamonds during the crisis between the Unita Rebels (headed by my father 
Jonas Savimbi) and the then President Jose Eduardo dos Santos Of Angola.

 I fled from my country with this fund, which my father suppose to use procure more 
arms for the Unita Rebels. This is because I felt that the battle waged by the Unita 
Forces was more of rebellion and it was baseless. I had this fund sealed in a 
diplomatic box and deposited in a private Security Company in Europe.  I will need 
assistance from you to use your facilities to effect the removal of this fund and 
subsequently transferred to your nominated account in your country. This business has 
to be done in a more confidential manner.

For participating in the business with me, I have two options for you.  You can choose 
to have certain percentage of the funds or you can go into partnership with me for 
proper profitable investment of the money in your country.

Whichever the option you want, feel free to notify me.  The money is presently lodged 
with a security firm and I will give you further details immediately I hear from you. 
Please contact me immediately for the next line of action then I will introduce you to 
the security company where the funds are been deposited.

 I would like you to include your personal phone and fax numbers for more confidential 
Communication with the Security Company.

Regards
REUBEN J.SAVIMBI.
(For the family)



--
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: cygpath bug in version 1.25 -- Fundamental Change in the Behaviour of Cygpath

2003-02-11 Thread Christopher Faylor
On Tue, Feb 11, 2003 at 11:57:45PM -, Max Bowsher wrote:
Igor Pechtchanski wrote:
 On Tue, 11 Feb 2003, Newton, Doug wrote:

 If this change is what is desired by the majority, that is fine.
 BUT, it should have been made clear that the fundamental behaviour
 of cygpath had changed.  I have many scripts that no longer work.
 Even the jakarata ant tool's start-up script now mangles the
 classpath because of this change in behaviour.

 This change makes the output correct.  I suppose that would be
 something desired by the majority...

Yet technical correctness has come at the price of usability and
functionality.
E.g. You cannot convert to --mixed style from --windows style with --path.

Use sed if you want to change backslashes to slashes.

 It makes an assumption that the format is Windows.  Otherwise,
 there'd be no need to convert to Unix format...

Of course, if you simply wanted to *ensure* that the path was in unix
format... you're stuck.

Cygwin provides *UNIX* functionality, remember?

case $CLASSPATH in
*;*) CLASSPATH=`cygpath --path --unix $CLASSPATH` ;; 
*/*) ;; # do nothing
*) CLASSPATH=`cygpath --path --unix $CLASSPATH` ;;
esac

I'm not saying that the above is foolproof.  I haven't even tested it.
However, as usual, if everyone would put as much effort into thinking
about solutions as they did with complaining about the terrible terrible
problem, they'd be farther along the path of a solution.

For the record, the old code was broken and buggy.  It worked in an
undocumented fashion.  And, perhaps more importantly, the change was
introduced in November.  It is now February.  Get used to it and
move on.

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: whereis telnet?

2003-02-11 Thread Christopher Faylor
On Wed, Feb 12, 2003 at 01:17:31AM -, Max Bowsher wrote:
Igor Pechtchanski wrote:
Maybe we should be making Cygwin setup harder to use, not easier.
Sure, some people will complain, but Cygwin will have a much more
robust user base...

Hmm.  I *like* this idea! :-)

Well, *I* don't.  But, possibly that's because I didn't think of it
first.  :-)

I agree that cygwin users seem to be getting both more helpless and
more entitled.

One theory of mine is that I keep tweaking the web pages when I notice
common problems.  I've probably added enough words to the web page that
people are thinking No way am I going to read that!  I'll just send
email to postmaster!  Btw, cygwin email to postmaster is also at an
all time high...

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/




undefined reference to `_libiconv_open'

2003-02-11 Thread jklcom
Hi, can someone help?

When I compile my test program I'm getting the following error messages:

#include iconv.h
#include intrautils.h

int main() {
  char *p1, *p2;
  iconv_t i;
  size_t fromlen, tolen;
  char from[100], to[100];
  strcpy(from, /u33136/u38622); /* unicode string here */
  fromlen = strlen(from);
  p1 = (char *)from;
  p2 = (char *)to;
  
//  i = iconv_open(UTF-8, BIG5);
  i = iconv_open(BIG5, UTF-8);
  iconv(i, p1, fromlen, p2, tolen); 
printf(%s\n, to);
  iconv_close(i);

}

/c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x8e):test.c: undefined
referenc e to `_libiconv_open'
/c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0xb8):test.c: undefined
referenc e to `_libiconv'
/c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0xd9):test.c: undefined
referenc e to `_libiconv_close'


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




strange mv behavior: mv mydir mydir

2003-02-11 Thread linda w \(cyg\)
I stumbled onto this trying to rename a dir from
Mydir to mydir (w/o capital M)

 mv Mydir mydir 
starts copying Mydir into Mydir/mydir.  

But it's not just the 'caps' that are the issue since:

 mv mydir mydir
will start copying mydir into itself

On lnx, I get:
mv: cannot move `mydir' to a subdirectory of itself, `mydir/mydir'

Shouldn't I get a similar error on Windows?

Note to do the original, desired mv, I can use:
 mv Mydir foo; mv foo mydir

Which (unfortunately), would be correct windows behavior since
you can't rename a file or dir to a different name that varies only 
in capitalization (ignore case feature).


The problem is 'mv' isn't recognizing that source and target are
the same name (even when case matches), so it is behaving like 'cp'.

linda


--
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: Cannot get ^Z to suspend a program

2003-02-11 Thread linda w \(cyg\)
 Sure, but those programs hook the key(s) in a global fashion, 
 not just 
 from individual programs.  So, Cygwin could hook the Ctrl+Z key, but 
 what would it do then, how would it know which process to suspend?
 
 I'm not sure that cygwin could 'suspend' a non-cygwin process 
 even if it 
 wanted to.
---
started playing around with this...I note:

 cygjob kill -STOP %1 #works as expected
but
 winprog kill -STOP %1 #laughs at my puny attempts to stop it

So cygjobs seem to be suspendable but winjobs are already 
not playing fair!

now I try this:
 while :; do sleep 3; echo 1;done   # control-z ignored

Also, though, I note that if I type while the program is running, say
ls, then press control-c, ls still executes!

Under lnx, I see the 'ls' characters echoed as soon as I type them --
it appears readline is running in foreground even though I have
a job (the while loop) running in foreground as well.  It's like
even when a foreground job is running, there is a 2nd, system level
process that also runs and processes key presses (allowing processing
control-u and control-r, among other, readline functions).

It _seems_ like to get similar functionality on cygwin, one might
have to have the same -- perhaps a unix-like fork/exec/wait would
translate, internally, to a windows fork/exec/select, where select
waits for keyboard input or the child process to end.  Then the win-parent
process -- still in control, could process line editing and user-job
control key presses -- since we know that, at least, cygwin programs
are well behaved in regards to respecting a kill -STOP, the
win-parent keyboard monitor thread could use the same means to
STOP a child.

As for job control of winjobs?  Guess that'd be another whole pain
in the butt.  Though maybe if the running user has 'debug' privs, they
could attach the process and suspend it that way?  (Dunno)  If their 
could be some way of suspending winjobs, though, then the above 'keyboard
thread' method could be used to implement job control.

Wha'd'ya think?
-linda




--
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: using fetchmail in mutt under cygwin

2003-02-11 Thread Ajay Simha
On Tue Feb 11 16:07:21 2003, Jason Tishler wrote:
 Ajay,
 
 Please post instead of sending private email.

Thanks for replying. Ok.. Keeping the group in CC list

 
 On Sun, Feb 09, 2003 at 01:09:49AM -0500, Ajay Simha wrote:
  I read your README file.
  First of, it is an excellent document.
 
 Thanks.
 
  I am still confused what my mutt setting should be for pop3..
 
 Why not read the mutt manual?
 
 http://www.mutt.org/doc/manual/
 
 But, if you are going to use fetchmail/procmail to retrieve your mail,
 why do you need to mess with mutt's pop settings?  Sounds like trouble
 to me.

I have dropped the idea of pop3 config in muttrc.


 
  Also I'm using a vpn client. So.. if I install fetchmail as an NT
  service what may be the repurcussions?
 
 None, except for some expected connection failures in your fetchmail log
 file when not VPN-ed.  Note that I do this all of the time with my
 laptop.  I even get the extra bonus of perverse pleasure when my
 co-workers complain about Outlook.  Sorry for the digression, but I
 couldn't resist... ;,)

I have had trying outlook rearrange my inbox (imap) so... I don't want to get started 
on this topic :-)

My current problem is this:

$ procmail VERBOSE=yes .procmailrc  testmail
procmail: [3936] Wed Feb 12 00:39:58 2003
procmail: Suspicious rcfile /home/asimha/.procmailrc
procmail: Couldn't read /home/asimha/.procmailrc
procmail: Locking /var/spool/mail/asimha.lock
procmail: Assigning LASTFOLDER=/var/spool/mail/asimha
procmail: Opening /var/spool/mail/asimha
procmail: Acquiring kernel-lock
procmail: [3936] Wed Feb 12 00:39:59 2003
procmail: Unlocking /var/spool/mail/asimha.lock
From [EMAIL PROTECTED] Wed Feb 12 00:33:36 2003
 Subject: test for procmail
  Folder: /var/spool/mail/asimha 

I tried various things including the chmod 644 that you had suggested on the mailing 
list but
nothing has worked.

If I can get fetchmail/procmail working. My setup will rock.

Thanks,

-ajay
 
  My current settings are:
  set pop_host=uzura.cisco.com  
  set pop_user=asimha
  set spoolfile=/var/mail/asimha what/who creates this?
 
 It depends on your setup.
 
  #set pop_delete
  
  I'd like to be able to use fetchmail in conjuction with procmail. 
 
 OK, read the procmail README too.
 
  Thanks in advance,
 
 You are welcome.
 
 Jason
 
 -- 
 PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
 Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: Interest in gcc 3.2.2?

2003-02-11 Thread Bart Lamot
Alan,

Do you have threads working? I can't get them to work if i compile a java program that 
has a Thread object it does compile but at runtime i get the error that threads ain't 
implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


--
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: whereis telnet?

2003-02-11 Thread Gary R. Van Sickle
 On Wed, Feb 12, 2003 at 01:17:31AM -, Max Bowsher wrote:
 Igor Pechtchanski wrote:
 Maybe we should be making Cygwin setup harder to use, not easier.
 Sure, some people will complain, but Cygwin will have a much more
 robust user base...
 
 Hmm.  I *like* this idea! :-)

 Well, *I* don't.  But, possibly that's because I didn't think of it
 first.  :-)

 I agree that cygwin users seem to be getting both more helpless and
 more entitled.

 One theory of mine is that I keep tweaking the web pages when I notice
 common problems.  I've probably added enough words to the web page that
 people are thinking No way am I going to read that!  I'll just send
 email to postmaster!  Btw, cygwin email to postmaster is also at an
 all time high...

 cgf

I'm tellin' you guys, Cyppy is the solution to this and all other problems.  He
could have his own list, cyppy@.  He could be a perl script that regex's the
incoming mail, eg. .*it[[:space:]]worked[[:space:]]in[[:space:]]B20.*, and
send back an answer straight from the FAQ along with an autographed copy of that
ASCII rendition of himself.  Or even an honest-to-God JPG if they send HTML.
Everybody wins!

--
Gary R. Van Sickle
Brewer.  Patriot.


--
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 set mark in emacs

2003-02-11 Thread Mike Robertson
I just installed cygwin on my NT 4.0 system.  I have tried using the shell
based emacs and am having some problems.
First I couln't use the C-x C-c command to exit.  I figured that out
(CYGWIN=tty), but I am still having some problems with setting the mark.
Both C-@ and C-SPC don't seem to work.  If I use F1-k C-SPC it says I
pressed SPC (no CTRL).  If I use F1-k C-@ it doesn't respond at all.

Thanks,
Mike Robertson


--
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: Interest in gcc 3.2.2?

2003-02-11 Thread Alan Thompson
As luck would have it, the progam I'm working on has multiple threads (in the Java 
code).  I haven't stress tested it with 3.2.2, 
but the normal test run worked fine.  Here is a quick grep on Thread in my code:

 find src -name *.java | xargs  grep Thread
src/jxda/PublisherImpl.java:Thread.sleep( 500 );  // milliseconds
src/jxda/PublisherImpl.java:  new Thread( new Worker(), Worker.class.getName() 
).start();
src/jxda/PublisherImpl.java:  new Thread( runnable ).start();
src/jxda/PublisherImpl.java:try { Thread.sleep( 2 * 1000 ); } catch ( 
Exception ex ) {}
src/jxda/PublisherImpl.java:new Thread( runnable ).start();


Alan Thompson


At 07:31 AM 2/12/2003 +0100, Bart Lamot wrote:
Alan,

Do you have threads working? I can't get them to work if i compile a java program 
that has a Thread object it does compile but at runtime i get the error that threads 
ain't implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


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



--
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: Interest in gcc 3.2.2?

2003-02-11 Thread Alan Thompson
P.S.  I'm using Java 1.4.1 from Sun.
Alan

At 07:31 AM 2/12/2003 +0100, Bart Lamot wrote:
Alan,

Do you have threads working? I can't get them to work if i compile a java program 
that has a Thread object it does compile but at runtime i get the error that threads 
ain't implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


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



--
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: [PATCH] missing in_addr_t type

2003-02-11 Thread Ralf Habacker
 Applied, with the usual ChangeLog corrections.

Probably I will it learn at some time.

After looking in the sources, I have seen that you also have implementend the
intx_t types (uintx_t were already there), which otherwise would be my next
patch.

Thanks


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




cygwin, g77 3-D arrays

2003-02-11 Thread K
Hi,

I have a FORTRAN program which both compiles (using g77) and runs perfectly
in Mandrake Linux and in Unix.  However, while this program compiles (using
g77) perfectly in Cygwin, it will not run, it merely returns the prompt.

I have found that if I comment out any lines declaring or using 3-D arrays
then the program will run.  Unfortunately, I need to include these 3-D
arrays for the program to give the correct answers.

Does anybody have any ideas what the problem might be and how to fix it?

Thanks for your help.

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




Updated: tcsh-6.12.00-4

2003-02-11 Thread Corinna Vinschen
I've updated the version of tcsh to 6.12.00-4.

This is a bug fix release.  It contains the following fixes:

- $SHELL is set to /usr/bin/tcsh instead of /tmp/install/usr/bin/tcsh.

- /etc/csh.login now preserves spaces in pathnames when evaluating $path.

- /etc/csh.login now sets $TERM to cygwin by default instead of linux.


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

If you have general questions or comments, please send them to the
Cygwin mailing list at: cygwin at cygwin dot com.  I would appreciate
it if you would use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

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