RE: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Morrison, John
Christopher Faylor wrote:
 Maintainers/Packages List, 2003-11-22)
 
 
 On Mon, Nov 24, 2003 at 11:17:51PM -0500, Daniel Reed wrote:
 On 2003-11-24T11:01-0500, Christopher Faylor wrote:
 ) On Mon, Nov 24, 2003 at 10:55:40AM -0500, Daniel Reed wrote:
 ) For now it's just in my records. Even if it is made publicly
 tunable, I ) imagine it will be made outside of setup.hint (since
 that is for setup's ) benefit). ) We could decide on a comment
 convention for setup.hint that could be ) used for some other tool
 to process: )
 ) #!binary only
 
 That works, or maybe even #!binary-only and either let multiple
 flags be on one line or allow flags to have arguments.
 
 Good point.
 
  sdesc: Frobdicates kernel sources
  category: Devel
  requires: cygwin
  #!maintainer Daniel Reed [EMAIL PROTECTED]
  #!alert-maintainer
 
 I think I like this one more since it is closer to the way setup.hint
 already operates.
 

Is it a good idea to have the maintainers email address in there?

Otherwise +1 :)

J.


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



RE: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Robert Collins
I'm not sure why this is non-setup information. Both binary only (no source: entry 
for a package), and Maintainer are setup.ini fields.

Rob


-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Ronald Landheer-Cieslak
On Mon, Nov 24, 2003 at 12:37:21PM -0500, Igor Pechtchanski wrote:
 On Mon, 24 Nov 2003, Ronald Landheer-Cieslak wrote:
  On Sat, Nov 22, 2003 at 05:13:04PM -, Daniel Reed wrote:
   splint  Elfyn McBratney
  Has someone already proposed to take over maintainership of this package? If
  not, I'd be willing to do so..
 Go ahead.  I was planning to look at it at some future point, but feel
 free to take over -- I'm not going to get to it for a while.
OK.
Splint is at the same version as we have in the Cygwin distribution, and there
is only one (small) patch that should go upstream, so I won't make a new
release just for the maintainer change (unless someone asks me to).

I will let the splint people know that I'll be maintaining splint for Cygwin 
and will give them Elfyn's patch.

rlc

-- 
An engineer is someone who does list processing in FORTRAN.


Ready for upload: man-1.5k-1

2003-11-25 Thread Dr . Volker . Zell
Hi

Please upload:

--- cut here -
#!/bin/bash

mkdir man
cd man

wget http://de.geocities.com/vzell1/cygwin/setup.hint.man-1.5k-1.zip
mv setup.hint.man-1.5k-1.zip setup.hint

wget http://de.geocities.com/vzell1/cygwin/man-1.5k-1-src.tar.zip
mv man-1.5k-1-src.tar.zip man-1.5k-1-src.tar.bz2

wget http://de.geocities.com/vzell1/cygwin/man-1.5k-1.tar.zip
mv man-1.5k-1.tar.zip man-1.5k-1.tar.bz2
--- cut here -

Can somebody please remove my previous version man-1.5m2-1 from the 
distribution. Some users posted problems with ESC output sequences.
Although this version is not the latest version available on the net 
it incorporates a couple of patches from the Red Hat people (see below).

I would also mark this version as test release and let Christophers version
be the latest stable version for a while.

The following is from the package README:

--

Upgrade to the latest version man-1.5k-12.src.rpm found at 

 o http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/

This version includes almost all of the fixes found in the above rpm 
archive. Some of them are not relevant for cygwin.

More details about the individuell bugs can be found under the URL

 o http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=X
 
where X represents the numeric bug id.


Changelog: 
==

* Thu Oct 09 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-12
- force utf locale with jnroff (#105764)
- don't let awk in makewhatis scan files that aren't man pages (#105594)

* Wed Oct 01 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-11
- Use UTF-8 in makewhatis when searching for non-English versions of the
  phrase NAME in man pages
- add -o option to makewhatis to specify an alternate whatis db location

* Fri Aug 08 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-9
- cleaned up apropos script bugs (#97006)
- merged all apropos changes into one cleaner patch

* Thu May 22 2003 Jeremy Katz [EMAIL PROTECTED] 1.5k-7
- fix build with gcc 3.3

* Mon Feb 10 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-6
- added patch for korean (#83934)

* Thu Feb 06 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-5
- removed bad argcat patch which made bogus grep queries (#82684)

* Mon Jan 13 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-2
- bump version from j to k
- adjust patches to reflect upstream integration


Cygwin specific changes:


 o added m and 8c to the default man sections list, cygwin has man pages
   in directories /usr/share/man/man8c and /usr/X11R6/man/manm
 o fixed italian man page
 o added /usr/X11R6/man:/usr/local/share/man:/usr/local/man to the default
   manpath in makewhatis
 o postinstall script adds symlinks from man to manpath for binary and
   manpage
   
Additionally the following things have been changed since the interim 
version man-1.5m2-1:

 o The following two lines in man.conf

   NROFF/usr/bin/nroff -c -mandoc
   PAGER/usr/bin/less -isrR
   
   seem to fix the output of ESC sequences
   

!!

Certain versions of the FHS recommend putting formatted versions of

 /usr/.../share/man/[locale/]manx/page.x 
 
into

 /var/cache/man/.../[locale/]catx/page.x.

The keyword FHS in man.conf will cause this behaviour and is now the default.
Explicitly given catdirs override. See comments in the man.conf file.

I would like to ask other package maintainers to remove /usr/.../share/catx
directories from their packages, as man.conf can be edited by the user and 
will not be overwritten by the next version of the man package.

!!


Ciao
  Volker



Re: [ITP] gnuplot: A command-line driven interactive function plotting utility

2003-11-25 Thread Dr. Volker Zell
 Harold == Harold L Hunt, Harold writes:

Harold Volker,
Harold Okay, I got it, but it fails to build still (I thought my first
Harold download was incomplete):

Harold Making all in tutorial
Harold make[2]: Entering directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build/tutorial'
Harold gnuplot: not found
Harold make[2]: *** [eg1.tex] Error 127
Harold make[2]: Leaving directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build/tutorial'
Harold make[1]: *** [all-recursive] Error 1
Harold make[1]: Leaving directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build'
Harold make: *** [all] Error 2


Harold Looks like it is a doing a test for gnuplot when the file is
Harold actually called gnuplot.exe  ?

The problem was it's doing the test in the source directory and not in the build
directory. Also in my case it worked because if it cannot find gnuplot in that
directory it just calls gnuplot along the path and I already had gnuplot installed
under /usr/local/bin. Maybe it's a good idea when building packages to not include
/usr/local/bin and friends in the path.

Please fetch new versions as usual.

 cut here 

#!/bin/bash

mkdir gnuplot
cd gnuplot

wget http://de.geocities.com/vzell1/cygwin/setup.hint.gnuplot-3.8j.0-1.zip
mv setup.hint.gnuplot-3.8j.0-1.zip setup.hint

wget http://de.geocities.com/vzell1/cygwin/gnuplot-3.8j.0-1-src.tar.zip
mv gnuplot-3.8j.0-1-src.tar.zip gnuplot-3.8j.0-1-src.tar.bz2

wget http://de.geocities.com/vzell1/cygwin/gnuplot-3.8j.0-1.tar.zip
mv gnuplot-3.8j.0-1.tar.zip gnuplot-3.8j.0-1.tar.bz2

 cut here 


Harold Harold

Ciao
  Volker




Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Joe Buehler
Daniel Reed wrote:

emacs   Joe Buehler !!! minor bump (freshmeat lists 21.3; we have 21.2)
If 21.3 has indeed been released (been waiting for it), I will work on polishing
it up for a new Cygwin package.
emacs-elJoe Buehler !!! no source and no external-source 
!!! last updated 2003-01-24
emacs-X11   Joe Buehler !!! no source and no external-source 
!!! last updated 2003-01-24
These are derived from the main emacs package, they all get built together.
--
Joe Buehler


Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Harold L Hunt II
Joe,

Joe Buehler wrote:
Daniel Reed wrote:

emacs   Joe Buehler !!! minor bump 
(freshmeat lists 21.3; we have 21.2)


If 21.3 has indeed been released (been waiting for it), I will work on 
polishing
it up for a new Cygwin package.

emacs-elJoe Buehler !!! no source and no 
external-source !!! last updated 2003-01-24
emacs-X11   Joe Buehler !!! no source and no 
external-source !!! last updated 2003-01-24


These are derived from the main emacs package, they all get built together.
I thought that meant that the external-source should point to the emacs 
source package then.  Is that not correct?

Harold



Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Daniel Reed
On 2003-11-25T08:57-0500, Joe Buehler wrote:
) Daniel Reed wrote:
)  emacs   Joe Buehler !!! minor bump (freshmeat lists 
21.3; we have 21.2)
) If 21.3 has indeed been released (been waiting for it), I will work on polishing
) it up for a new Cygwin package.

There appears to be a copy available from http://ftp.gnu.org/gnu/emacs/ .

If you like, you can subscribe to the freshmeat emacs record and they will
email you whenever the emacs package is updated. That is handled from
http://freshmeat.net/projects/emacs/ .


)  emacs-elJoe Buehler !!! no source and no 
external-source !!! last updated 2003-01-24
)  emacs-X11   Joe Buehler !!! no source and no 
external-source !!! last updated 2003-01-24
) These are derived from the main emacs package, they all get built together.

I will mark them both as external-source: emacs in that case.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
I don't believe in making something user friendly just for the sake of
being user friendly, though; if you're decreasing the users' available
power, you're not really being all that friendly to them.


Re: [ITP] gnuplot: A command-line driven interactive function plotting utility

2003-11-25 Thread Harold L Hunt II
Volker,

Dr. Volker Zell wrote:

Harold == Harold L Hunt, Harold writes:


Harold Volker,
Harold Okay, I got it, but it fails to build still (I thought my first
Harold download was incomplete):
Harold Making all in tutorial
Harold make[2]: Entering directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build/tutorial'
Harold gnuplot: not found
Harold make[2]: *** [eg1.tex] Error 127
Harold make[2]: Leaving directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build/tutorial'
Harold make[1]: *** [all-recursive] Error 1
Harold make[1]: Leaving directory
Harold `/home/harold/x-devel/4.3/ports/gnuplot/gnuplot-3.8j.0/.build'
Harold make: *** [all] Error 2
Harold Looks like it is a doing a test for gnuplot when the file is
Harold actually called gnuplot.exe  ?
The problem was it's doing the test in the source directory and not in the build
directory. Also in my case it worked because if it cannot find gnuplot in that
directory it just calls gnuplot along the path and I already had gnuplot installed
under /usr/local/bin. Maybe it's a good idea when building packages to not include
/usr/local/bin and friends in the path.
Please fetch new versions as usual.
Okay, I am trying again now.  I just noticed that your readme says to 
change texmf.cnf/pool_size from 125,000 to 250,000, but 
texmf.cnf/pool_size seems to be 1,250,000 by default.  I assume you lost 
a zero on both of those?  Please advise and fix if needed.

Harold



Re: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Christopher Faylor
On Tue, Nov 25, 2003 at 09:34:04AM -, Morrison, John wrote:
Christopher Faylor wrote:
 Maintainers/Packages List, 2003-11-22)
 
 
 On Mon, Nov 24, 2003 at 11:17:51PM -0500, Daniel Reed wrote:
 On 2003-11-24T11:01-0500, Christopher Faylor wrote:
 ) On Mon, Nov 24, 2003 at 10:55:40AM -0500, Daniel Reed wrote:
 ) For now it's just in my records. Even if it is made publicly
 tunable, I ) imagine it will be made outside of setup.hint (since
 that is for setup's ) benefit). ) We could decide on a comment
 convention for setup.hint that could be ) used for some other tool
 to process: )
 ) #!binary only
 
 That works, or maybe even #!binary-only and either let multiple
 flags be on one line or allow flags to have arguments.
 
 Good point.
 
 sdesc: Frobdicates kernel sources
 category: Devel
 requires: cygwin
 #!maintainer Daniel Reed [EMAIL PROTECTED]
 #!alert-maintainer
 
 I think I like this one more since it is closer to the way setup.hint
 already operates.
 

Is it a good idea to have the maintainers email address in there?

No, you're right.  It isn't.  Or at least it would be a good idea except
for the obvious drawback of having this file trolled by spammers.

cgf


Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Joe Buehler
Daniel Reed wrote:

) If 21.3 has indeed been released (been waiting for it), I will work on polishing
) it up for a new Cygwin package.
There appears to be a copy available from http://ftp.gnu.org/gnu/emacs/ .
I spoke too soon -- I am actually waiting for 21.4, which has Cygwin support
integrated.  21.3 is just a bugfix release.
--
Joe Buehler


RE: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Daniel Reed
On 2003-11-25T20:53+1100, Robert Collins wrote:
) I'm not sure why this is non-setup information. Both binary only (no
) source: entry for a package), and Maintainer are setup.ini fields.

Were you suggesting using Maintainer: and relying on setup to ignore it?
(Neither http://sources.redhat.com/cygwin-apps/setup-2.249.2.ini.html nor
http://sources.redhat.com/cygwin-apps/setup.html seem to define a
Maintainer: field.)

The idea behind binary-only was to have some deliberate action, so we would
not have to rely on a lack of action. That is, a lack of source: could be
because the package is not built from sources, or it could be because the
packager left out external-source: (or forgot to upload a source package).


The current attributes I use in apps.xml are:
  binary-only  (no lack-of-source checks)
  ignore-before=X  (ignore new versions less than or equal to X)
  ignore-freshmeat  (for Cygwin-specific packages)
  maintainer  (just the name)
  obsolete  (binary-only+ignore-freshmeat+no out-of-date checks)
  related-to=X  (the directory this package goes in; libdb4.1-devel is
 related-to db4.1, which is related-to db)
  withhold  (do not display in the PPL/MPL)

Plus, I include URLs, dates for proposals, votes, reviews, etc., but those
are probably things I should continue to maintain independently.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
I don't believe in making something user friendly just for the sake of
being user friendly, though; if you're decreasing the users' available
power, you're not really being all that friendly to them.


RE: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Robert Collins
On Wed, 2003-11-26 at 10:32, Daniel Reed wrote:
 On 2003-11-25T20:53+1100, Robert Collins wrote:
 ) I'm not sure why this is non-setup information. Both binary only (no
 ) source: entry for a package), and Maintainer are setup.ini fields.
 
 Were you suggesting using Maintainer: and relying on setup to ignore it?
 (Neither http://sources.redhat.com/cygwin-apps/setup-2.249.2.ini.html nor
 http://sources.redhat.com/cygwin-apps/setup.html seem to define a
 Maintainer: field.)

See inilex.l and iniparse.y. Maintainer is fully parsed, in the manner
that it appears in debian Sources list files.

The rest does make sense as not-for-setup.ini stuff.

Rob

-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Christopher Faylor
On Wed, Nov 26, 2003 at 10:40:43AM +1100, Robert Collins wrote:
On Wed, 2003-11-26 at 10:32, Daniel Reed wrote:
 On 2003-11-25T20:53+1100, Robert Collins wrote:
 ) I'm not sure why this is non-setup information. Both binary only (no
 ) source: entry for a package), and Maintainer are setup.ini fields.
 
 Were you suggesting using Maintainer: and relying on setup to ignore it?
 (Neither http://sources.redhat.com/cygwin-apps/setup-2.249.2.ini.html nor
 http://sources.redhat.com/cygwin-apps/setup.html seem to define a
 Maintainer: field.)

See inilex.l and iniparse.y. Maintainer is fully parsed, in the manner
that it appears in debian Sources list files.

The rest does make sense as not-for-setup.ini stuff.

I'm not sure why Maintainer: makes sense as a for-setup.ini field given
our stated policies.

cgf


Re: non-setup information in setup.hint (was Re: Maintainers/Pack ages List, 2003-11-22)

2003-11-25 Thread Robert Collins
On Wed, 2003-11-26 at 11:25, Christopher Faylor wrote:

 I'm not sure why Maintainer: makes sense as a for-setup.ini field given
 our stated policies.

It doesn't have to go into setup.ini - I was simply stating my confusion
about inventing a new syntax, when one already exists.

Rob 
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part


Update: wtf-0.0.4-6

2003-11-25 Thread Igor Pechtchanski
Hi,

I've updated wtf to 0.0.4-6.  Please upload from the URLs below and remove
0.0.4-5 (leaving 0.0.4-3):

http://cs.nyu.edu/~pechtcha/cygwin/wtf/setup.hint
http://cs.nyu.edu/~pechtcha/cygwin/wtf/wtf-0.0.4-6.tar.bz2
http://cs.nyu.edu/~pechtcha/cygwin/wtf/wtf-0.0.4-6-src.tar.bz2

Changes since 0.0.4-5:

- Really fixed wtfindex producing corrupt files on text mounts (reported
  in http://cygwin.com/ml/cygwin/2003-11/msg01028.html)
- Updated the file list in the README
- Fixed WTFPATH description and added examples to the manpage (requested
  in http://cygwin.com/ml/cygwin/2003-11/msg00041.html)
- Fixed the Makefile clean rule
- Synced the Cygwin acronyms with the webpage

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Update: wtf-0.0.4-6

2003-11-25 Thread Daniel Reed
On 2003-11-25T19:54-0500, Igor Pechtchanski wrote:
) I've updated wtf to 0.0.4-6.  Please upload from the URLs below and remove
) 0.0.4-5 (leaving 0.0.4-3):
)
) http://cs.nyu.edu/~pechtcha/cygwin/wtf/setup.hint
) http://cs.nyu.edu/~pechtcha/cygwin/wtf/wtf-0.0.4-6.tar.bz2
) http://cs.nyu.edu/~pechtcha/cygwin/wtf/wtf-0.0.4-6-src.tar.bz2

Done and done.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
Obsessions are like fire and water: good servants but bad masters.


Re: Maintainers/Packages List, 2003-11-22

2003-11-25 Thread Igor Pechtchanski
On Mon, 24 Nov 2003, Christopher Faylor wrote:

 On Mon, Nov 24, 2003 at 07:46:40PM +0100, Ronald Landheer-Cieslak wrote:
 On Sat, Nov 22, 2003 at 05:13:04PM -, Daniel Reed wrote:
  splint  Elfyn McBratney
 Has someone already proposed to take over maintainership of this package? If
 not, I'd be willing to do so..

 Gold star, please.

 Please give an automatic gold star to anyone who volunteers to take over a
 package like this, including Harold.

Done.  I'm not sure about the automatic bit -- I don't think there are
any packages left to take over... :-)

However, the page looks kinda boring right now, with just the names and
the stars.  I think I should add at least a short description of what each
star was received for.  Opinions?

 cgf
 (who's madly trying to think up some scheme to make the gold stars actually
 worth something)

Having your name mentioned on cygwin.com should be reward enough... ]:-
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


RE: non-setup information in setup.hint (was Re: Maintainers/Packages List, 2003-11-22)

2003-11-25 Thread Igor Pechtchanski
On Tue, 25 Nov 2003, Daniel Reed wrote:

 [snip]
 The current attributes I use in apps.xml are:
   binary-only  (no lack-of-source checks)
   ignore-before=X  (ignore new versions less than or equal to X)
   ignore-freshmeat  (for Cygwin-specific packages)
   maintainer  (just the name)
   obsolete  (binary-only+ignore-freshmeat+no out-of-date checks)
   related-to=X  (the directory this package goes in; libdb4.1-devel is
  related-to db4.1, which is related-to db)
   withhold  (do not display in the PPL/MPL)

 Plus, I include URLs, dates for proposals, votes, reviews, etc., but those
 are probably things I should continue to maintain independently.

BTW, another piece of non-setup information that might be useful is an up
for adoption (or orphaned) flag.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: non-setup information in setup.hint (was Re: Maintainers/Packages List, 2003

2003-11-25 Thread David F
) We could decide on a comment convention for setup.hint that could be
) used for some other tool to process:
)
) #!binary only
That works, or maybe even #!binary-only and either let multiple flags be on
one line or allow flags to have arguments.
It's a bit contrived, but...

~$ ./setup.hint
bash: ./setup.hint: binary-only: bad interpreter: No such file or directory
Perhaps the special comment should be something other than the shebang? Just 
a thought.

Cheers

_
online games and music with a high-speed Internet connection!  Prices start 
at less than $1 a day average.  https://broadband.msn.com (Prices may vary 
by service area.)



pre-PPL rundown

2003-11-25 Thread Daniel Reed
Things have been a little hectic lately, and I stopped the automatic PPL
until I had a chance to review all of its information. I just finished my
mini-audit and believe the PPL is accurate, though certainly very long.

Package tcm (Toolkit for Conceptual Modeling) has been in the list since
January of this year. It only received votes from two people, one being cgf
(who voted twice). It has received a good to go from Charles Wilson, but I
am not sure its layout has been approved.

tcm is an X application, and Harold handles the X tree, so I will leave
final authorization up to him. If he uploads it (or tells me to upload it
outside of release/XFree86/) it will be removed from the PPL automatically.


Packages ploticus (plots and graphs) and sgrep (SGML grep) are from
September. They both need more votes and someone to provide a functionality
review. I do not believe there are any other issues waiting, so once they
have met these procedural obligations I can upload them.


Package distcc (spread gcc builds across multiple machines) is from October,
and has a number of minor problems that remain unaddressed. It also has not
received a functionality review.


Package libsmi (I believe it is related to SNMP), also from October, needs 3
likeminded individuals to agree it would be a good idea to distribute with
Cygwin, and someone to review its functionality.


Package otcl (Tcl hooks for object-oriented programming), also from October,
is offered by the XFree86 maintainer, and is therefore vote-exempt. However,
he has asked for a functionality review.

All remaining packages are from November.


Package tclcl (related to otcl) is also offered by the XFree86 maintainer
and is waiting a functionality review.


Packages rdesktop (an implementation of Remote Desktop Display), tzcode
(related to timezone handling), cabextract (tar for .cab files), joe (a text
editor), rxp (an XML parser), and gnuplot (seems to be competition for
ploticus' spot) all need additional votes and functionality reviews.


I have determined the information for the PPL can not be reliably extracted
from the list archives unattended, but I will continue to use the new script
to help automate pulls, auto-reviews, and uploads.

If I appear to have have misstated (or missed) anything, please let me know.
I will send out a PPL tomorrow (Wednesday) morning, then resume the normal
Tuesday/Friday schedule either this Friday or next Tuesday.

Thanks,
-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
Authority without wisdom is like a heavy axe without an edge, fitter to
bruise than polish. -- Anne Bradstreet


Re: Problem with WinXP, XF86, Caps lock, xterm and cursor keys

2003-11-25 Thread Alexander Gottwald
On Mon, 24 Nov 2003, Alan Shutko wrote:

 I've just gotten a new laptop at work with WinXP, and put Cygwin and
 XF86 on it.  I'm currently running the latest as of today (4.3.0-25
 server).
 
 I've disabled my capslock key and turned it into a control key with
 this registry hack:
 
 REGEDIT4
 
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
 Scancode Map=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
 
 My caps lock key correctly works as a control key in all windows
 applications, and xev shows it acts just like Control_L.
 
 In xterm, I can use the caps lock key as a control key.  Except, each
 time I press it, my arrow keys toggle between sending the correct
 ^[[A and the strange ^[[1;2A (for up; left, down and right have
 similar changes).  Apparently, it's toggling the cursor keys into
 shifted state, because that's the shifted up arrow key.
 
 This only affects the arrow keys, and page up/page down (which are
 toggled into scrolling).  It seems like there's a bug somewhere
 tracking the caps lock, since I seem to have correctly disabled caps
 lock for number keys, but not arrows.

Cygwin/XFree uses raw scancodes and uses XKB for symbol translation.
Your tweaking will most likely break this conversion.

I declare such a modification as unsupported. You may still ask for
pointers to documentation but I (and most likely the other regulars
too) am not willing to debug such strange modifications.

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


Compiling SNNS (Stuttgart Neural Network Simulator) or using v.4.2 binaries

2003-11-25 Thread Lou Cyphre
Did anybody recompiled successfully SNNS 4.2 with Cygwin/X?
Its home page is at
  http://www-ra.informatik.uni-tuebingen.de/SNNS/
I firstly tried using SNNS 4.2 binaries with latest Cygwin/X as X-server, but 
something wasn't working in the user interface (couldn't select some menu list 
entries), so I decided to get sources at
  http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/SNNSv4.2.tar.gz
and try recompile them.

Beside a few #define missing (that I properly fixed) seemed that the configure
script was running fine, infact I can run the application, and now all the
menu lists do work, but... when loading even an example configuration file I
get syntax errors in file, and after some clicks, trying opening other
windows, crashes.
Note that I already used successfully on Linux some years ago, so not new to
program usage.
And yes, I know that JavaNNS does exist...
Any help or hint would be greatly appreciated.

Lou

-
Note: one 'h' is more than enough, in my e-mail address (spam prevention)


Re: startx problem on Win-XP

2003-11-25 Thread Andrew Markebo
If you from a cmd window run startxwin.bat, what is printed out? 

If you run the startxwin.sh from a cygwin window, what is printed out?
What does /tmp/XWin.log contain?

 /Andy

/ [EMAIL PROTECTED] (Reichel, Wolfgang ) wrote:
| Harold ,
|
|Reichel, Wolfgang wrote:
|Hello !
|I have installed the newest cygwin-version
|on my Win-XP box.
|But i can't start the X-System.
|It doesn't make any different how i try to start it.
|I tried the following way...
|startx 2/tmp/mistlog
|
| Use startxwin.bat instead:
| http://xfree86.cygwin.com/docs/ug/using.html#using-starting-bat
| Harold
|
| Thanks for your answer. But i tried all ways described in the
| docs to start. Nothing works.
|
| The startxwin.bat runs but nothing happens.
|
| What can be the reason ?
|
| Wolfgang
|

-- 
 The eye of the linker rests on the libs!



Re: Compiling SNNS (Stuttgart Neural Network Simulator) or using v.4.2 binaries

2003-11-25 Thread Harold L Hunt II
Lou,

Lou Cyphre wrote:

Did anybody recompiled successfully SNNS 4.2 with Cygwin/X?
Its home page is at
  http://www-ra.informatik.uni-tuebingen.de/SNNS/
I firstly tried using SNNS 4.2 binaries with latest Cygwin/X as 
X-server, but something wasn't working in the user interface (couldn't 
select some menu list entries), so I decided to get sources at
  http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/SNNSv4.2.tar.gz
and try recompile them.

Beside a few #define missing (that I properly fixed) seemed that the 
configure
script was running fine, infact I can run the application, and now all the
menu lists do work, but... when loading even an example configuration 
file I
get syntax errors in file, and after some clicks, trying opening other
windows, crashes.
Are you running Cygwin with binary mode mounts or did you change the 
default to text?  Send in the output of the mount command run in a 
Cygwin bash shell.  I would suspect that SNNS expects UNIX-style 
end-of-line characters and would thus be confused by DOS-style 
end-of-line characters.  Poor coding could lead to a crash as well.

Harold



Re: startx problem on Win-XP

2003-11-25 Thread Reichel, Wolfgang
If you from a cmd window run startxwin.bat, what is printed out? 

If you run the startxwin.sh from a cygwin window, what is printed out?
What does /tmp/XWin.log contain?

 /Andy

Hello Andy!

Thanks for you answer.

When i run startxwin.bat only
startxwin.bat - Starting on Windows NT/2000/XP/2003
 is printed out.

When i run startxwin.sh also nothing is printed out.

In /tmp/XWin.log i found a lot of messages.

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1280 h: 1024
winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
winAdjustForAutoHide - Original WorkArea: 0 0 1024 1280
winAdjustForAutoHide - Taskbar is auto hide
winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1023 1280
winCreateBoundingWindowWindowed - WindowClient w 1280 h 1023 r 1280 l 0 b 1023 
t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1023 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1280 height: 1023 depth: 32 size 
image: 5237760
winAllocateFBShadowGDI - Created shadow stride: 1280
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
(==) winConfigKeyboard - Layout: 0407 (0407) 
(==) Using preset keyboard for German (Germany) (407), type 4
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc105 Layout = de Variant = (null) Options = 
(null)
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from list!

Fatal server error:
could not open default font 'fixed'
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress


What do i have to do now ???

Wolfgang 




RE: startx problem on Win-XP

2003-11-25 Thread Robert McNulty Junior
You need to install the fonts.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Reichel, Wolfgang
Sent: Tuesday, November 25, 2003 9:39 AM
To: [EMAIL PROTECTED]
Subject: Re: startx problem on Win-XP


If you from a cmd window run startxwin.bat, what is printed out?

If you run the startxwin.sh from a cygwin window, what is printed out?
What does /tmp/XWin.log contain?

 /Andy

Hello Andy!

Thanks for you answer.

When i run startxwin.bat only
startxwin.bat - Starting on Windows NT/2000/XP/2003
 is printed out.

When i run startxwin.sh also nothing is printed out.

In /tmp/XWin.log i found a lot of messages.

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winCreateBoundingWindowWindowed - User w: 1280 h: 1024
winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
winAdjustForAutoHide - Original WorkArea: 0 0 1024 1280
winAdjustForAutoHide - Taskbar is auto hide
winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1023 1280
winCreateBoundingWindowWindowed - WindowClient w 1280 h 1023 r 1280 l 0 b
1023
t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1023 depth:
32
winAllocateFBShadowGDI - Dibsection width: 1280 height: 1023 depth: 32 size
image: 5237760
winAllocateFBShadowGDI - Created shadow stride: 1280
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shared memory support in the kernel
(==) winConfigKeyboard - Layout: 0407 (0407)
(==) Using preset keyboard for German (Germany) (407), type 4
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc105 Layout = de Variant = (null) Options =
(null)
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing
from list!

Fatal server error:
could not open default font 'fixed'
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress


What do i have to do now ???

Wolfgang






Re: Alt key isn't Meta in Cygwin xterm (Norwegian keyboard)

2003-11-25 Thread Steinar Bang
 Hans Dekker [EMAIL PROTECTED]:

 Change to es file:

   key RALT  { type[Group1]=TWO_LEVEL,
 [ Mode_switch, Multi_key ]   };
   modifier_map Mod5   { RALT };

The no file looks like this:

key RALT  { type[Group1]=TWO_LEVEL,
  [ ISO_Level3_Shift, Multi_key ]   };
modifier_map Mod5   { RALT };

But I'm not sure how this applies to the left Alt not being taken as
meta in xterm?

I'd guess it had something to do with keycaps rather than X keysym
mappings, since Alt works fine as Meta in Emacs...?



Re: How to get my auto repeat back?

2003-11-25 Thread Jeffrey C Honig
-25 has fixed autorepeat for me.

Thanks to everyone!

Thanks.

Jeff

-- 
Jeffrey C. Honig [EMAIL PROTECTED]
http://www.honig.net/jch
GnuPG ID:14E29E13 http://www.honig.net/jch/key.shtml


Re: Compiling SNNS (Stuttgart Neural Network Simulator) or usingv.4.2 binaries

2003-11-25 Thread Lou Cyphre
Answering to Harold: my system is mounted in binary mode.
Anyway that doesn't seem to be the cause for that crash: looks like that the 
first operation done in floating point (so I suspect) brings the application 
in an unstable state -- after reading the file that causes the syntax error I 
can still do other tasks in the user interface, for a while.

I'm sorry to be so approximative about this issue: the program itself is quite 
large, to investigate.
What I hoped was to find someone who did it already, to steal his/her 
experience on this... while maybe I will have to manage it myself, unless not 
switching to the Java version of SNNS.
Thanks again for reading and helping.

Lou



Re: Compiling SNNS (Stuttgart Neural Network Simulator) or usingv.4.2 binaries

2003-11-25 Thread Harold L Hunt II
Nevermind... that was a silly question.

Harold

Lou Cyphre wrote:

Answering to Harold: my system is mounted in binary mode.
Anyway that doesn't seem to be the cause for that crash: looks like that 
the first operation done in floating point (so I suspect) brings the 
application in an unstable state -- after reading the file that causes 
the syntax error I can still do other tasks in the user interface, for 
a while.

I'm sorry to be so approximative about this issue: the program itself is 
quite large, to investigate.
What I hoped was to find someone who did it already, to steal his/her 
experience on this... while maybe I will have to manage it myself, 
unless not switching to the Java version of SNNS.
Thanks again for reading and helping.

Lou




Re: Problem with WinXP, XF86, Caps lock, xterm and cursor keys

2003-11-25 Thread Alan Shutko
Alexander Gottwald [EMAIL PROTECTED] writes:

 Cygwin/XFree uses raw scancodes and uses XKB for symbol translation.
 Your tweaking will most likely break this conversion.

I could understand that, if it were consistent.  If Cygwin/XFree
considered that key to still be caps lock, I could easily fix it with
xmodmap.  But it doesn't, xev sees it as control.  Furthermore, why is
it shifting arrow keys and page up/down but not anything else?

Finally, why is caps lock affecting those keys at all?  I haven't seen
that on XFree86 on Linux, nor on any other X server I've tried.
Personally, I suspect that some piece of code is handling things
differently than the rest, so even the usual methods of fixing things
(ie, xresources, xmodmap) may not fix things.  (But I'll be giving it
a try, since it's easy.)

 I declare such a modification as unsupported. You may still ask for
 pointers to documentation 

I'll take you up on that offer.  Could you point me to some
info on how Cygwin/XFree86 gets those scancodes and runs the
conversion?  Maybe I could put together a variant XKB layout without
caps lock

-- 
Alan Shutko [EMAIL PROTECTED] - I am the rocks.
St. Vidicon of Cathode, pray for us!



Re: Problem with WinXP, XF86, Caps lock, xterm and cursor keys

2003-11-25 Thread Alan Shutko
Harold L Hunt II [EMAIL PROTECTED] writes:

 You see, we don't do this sort of translation on our own.  It may be
 that Windows is sending different codes when CapsLock is down, in
 which case we might want to translate those different codes to match
 the normal codes.  Does that make sense?

Makes sense.  Unfortunately, I don't have Spy++, but I'll keep
working on it

-- 
Alan Shutko [EMAIL PROTECTED] - I am the rocks.
Let the carnage begin! - Larry



in xemacs or emacs the highlight disappeared, problems related to clipboard

2003-11-25 Thread Hong Zhou
Dear All,

I use cygwin/Xserver on my win2000 as multiwindow mode. It is a great 
work. I have two problems.
1. )It is good to copy between windows and X programs, so I start the 
Xserver with the parameter '-clipborad'.  When press the left button of  
mouse to highlight a region and release the button the highlight 
disappeared automatically.  And in the xemacs(emacs)mini window shows a 
message mark set. The normal response should keep the highligh. Start 
the Xserver without the parameter '-clipboard', xemacs works normally.
2.)I have a dictionary program to pick up the words in the sreen. After 
I start local emacs in the cygwin shell , the program can't pick up any 
word..

I thought it was the clipboard 's bug, wasn't it?

Thank you very much,
Hong


Re: in xemacs or emacs the highlight disappeared, problems related to clipboard

2003-11-25 Thread Harold L Hunt II
That is by design.  Search the archives if you want to know why.

Hong Zhou wrote:

Dear All,

I use cygwin/Xserver on my win2000 as multiwindow mode. It is a great 
work. I have two problems.
1. )It is good to copy between windows and X programs, so I start the 
Xserver with the parameter '-clipborad'.  When press the left button of  
mouse to highlight a region and release the button the highlight 
disappeared automatically.  And in the xemacs(emacs)mini window shows a 
message mark set. The normal response should keep the highligh. Start 
the Xserver without the parameter '-clipboard', xemacs works normally.
2.)I have a dictionary program to pick up the words in the sreen. After 
I start local emacs in the cygwin shell , the program can't pick up any 
word..

I thought it was the clipboard 's bug, wasn't it?

Thank you very much,
Hong



winsup/testsuite ChangeLog winsup.api/known_bu ...

2003-11-25 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2003-11-25 19:24:46

Modified files:
testsuite  : ChangeLog 
testsuite/winsup.api: known_bugs.tcl 

Log message:
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/testsuite/ChangeLog.diff?cvsroot=uberbaumr1=1.71r2=1.72
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/testsuite/winsup.api/known_bugs.tcl.diff?cvsroot=uberbaumr1=1.5r2=1.6



src/winsup/cygwin ChangeLog thread.cc

2003-11-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-25 22:55:31

Modified files:
winsup/cygwin  : ChangeLog thread.cc 

Log message:
* thread.cc: Minor whitespace cleanup.  Remove some obsolete code.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2180r2=1.2181
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.141r2=1.142



src/winsup/cygwin thread.cc

2003-11-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-25 22:56:58

Modified files:
winsup/cygwin  : thread.cc 

Log message:
more white space

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.142r2=1.143



src/winsup/cygwin thread.cc

2003-11-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-25 22:57:22

Modified files:
winsup/cygwin  : thread.cc 

Log message:
more white space

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



src/winsup/cygwin thread.cc

2003-11-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-25 22:58:32

Modified files:
winsup/cygwin  : thread.cc 

Log message:
more white space

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.144r2=1.145



src/winsup/cygwin thread.cc

2003-11-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-25 22:59:37

Modified files:
winsup/cygwin  : thread.cc 

Log message:
more white space

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srcr1=1.145r2=1.146



winsup/cygserver ChangeLog Makefile.in

2003-11-25 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2003-11-26 03:52:13

Modified files:
cygserver  : ChangeLog Makefile.in 

Log message:
* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygserver/ChangeLog.diff?cvsroot=uberbaumr1=1.14r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygserver/Makefile.in.diff?cvsroot=uberbaumr1=1.8r2=1.9



[Patch]: Create Global Privilege

2003-11-25 Thread Pierre A. Humblet
This patch will stop the CreateFileMapping, Win32 error 5. Terminating.
complaints.

It changes shared_name() to avoid setting the Global\ prefix on file mappings
when the Create Global Object privilege may be required but the user doesn't
have it. 

Note that when running from the console or as a service, the names are
looked up
in the global name space by default (with or without privilege), thus it
doesn't
matter if the prefix is Global\ or . 
In other words, there is no need to determine if the user is running from 
Terminal Services.

As a side effect, the cygheap must be initialized earlier in the startup
sequence because it is needed for CloseHandle when debugging is enabled
(thus the changes in memory_init and shared_info::initialize).

I don't have access to Terminal Services to test the patch, but Fabrice
Larribe
reports that it works fine on a system where he needed, but couldn't get, the
privilege. 

Pierre

2003-11-25  Pierre Humblet [EMAIL PROTECTED]

* shared.cc (shared_name): Take into account the SE_CREATE_GLOBAL_NAME
privilege when building the name string.
(open_shared): Remove the call to OpenFileMapping.
(shared_info::initialize): Move cygheap initialization to ...   
(memory_init): ... here. Suppress now useless shared_h variable.
(user_shared_initialize): Make tu a cygpsid.
* sec_helper.cc (set_process_privilege): Call LookupPrivilegeValue
before opening the token.
Index: shared.cc
===
RCS file: /cvs/src/src/winsup/cygwin/shared.cc,v
retrieving revision 1.78
diff -u -p -r1.78 shared.cc
--- shared.cc   14 Nov 2003 23:40:05 -  1.78
+++ shared.cc   26 Nov 2003 01:37:57 -
@@ -35,9 +35,14 @@ char * __stdcall
 shared_name (char *ret_buf, const char *str, int num)
 {
   extern bool _cygwin_testing;
+  static const char * prefix = NULL;

-  __small_sprintf (ret_buf, %s%s.%s.%d,
-  wincap.has_terminal_services () ?  Global\\ : ,
+  if (!prefix)
+prefix = wincap.has_terminal_services ()
+  ( set_process_privilege (SE_CREATE_GLOBAL_NAME, true) = 0
+ || GetLastError () == ERROR_NO_SUCH_PRIVILEGE) ? Global\\ : ;
+
+  __small_sprintf (ret_buf, %s%s.%s.%d, prefix,
   cygwin_version.shared_id, str, num);
   if (_cygwin_testing)
 strcat (ret_buf, cygwin_version.dll_build_date);
@@ -91,15 +96,10 @@ open_shared (const char *name, int n, HA
   if (!name)
mapname = NULL;
   else
-   {
- mapname = shared_name (map_buf, name, n);
- shared_h = OpenFileMappingA (FILE_MAP_READ | FILE_MAP_WRITE,
-  TRUE, mapname);
-   }
-  if (!shared_h 
- !(shared_h = CreateFileMapping (INVALID_HANDLE_VALUE, psa,
+mapname = shared_name (map_buf, name, n);
+  if (!(shared_h = CreateFileMapping (INVALID_HANDLE_VALUE, psa,
  PAGE_READWRITE, 0, size, mapname)))
-   api_fatal (CreateFileMapping, %E.  Terminating.);
+   api_fatal (CreateFileMapping %s, %E.  Terminating., mapname);
 }

   shared = (shared_info *)
@@ -163,7 +163,7 @@ user_shared_initialize (bool reinit)
 {
   if (wincap.has_security ())
 {
- cygsid tu (cygheap-user.sid ());
+ cygpsid tu (cygheap-user.sid ());
  tu.string (name);
}
   else
@@ -216,13 +216,6 @@ shared_info::initialize ()
low_priority_sleep (0); // Should be hit only very very rarely
 }

-  /* Initialize the Cygwin heap, if necessary */
-  if (!cygheap)
-{
-  cygheap_init ();
-  cygheap-user.init ();
-}
-
   heap_init ();

   if (!sversion)
@@ -238,16 +231,21 @@ memory_init ()
 {
   getpagesize ();

+  /* Initialize the Cygwin heap, if necessary */
+  if (!cygheap)
+{
+  cygheap_init ();
+  cygheap-user.init ();
+}
+
   /* Initialize general shared memory */
-  HANDLE shared_h = cygheap ? cygheap-shared_h : NULL;
   cygwin_shared = (shared_info *) open_shared (shared,
   CYGWIN_VERSION_SHARED_DATA,
-  shared_h,
+  cygheap-shared_h,
   sizeof (*cygwin_shared),
   SH_CYGWIN_SHARED);

   cygwin_shared-initialize ();
-  cygheap-shared_h = shared_h;
   ProtectHandleINH (cygheap-shared_h);

   user_shared_initialize (false);
Index: sec_helper.cc
===
RCS file: /cvs/src/src/winsup/cygwin/sec_helper.cc,v
retrieving revision 1.45
diff -u -p -r1.45 sec_helper.cc
--- sec_helper.cc   4 Nov 2003 15:48:18 -   1.45
+++ sec_helper.cc   26 Nov 2003 01:38:17 -
@@ -305,18 +305,18 @@ set_process_privilege (const char *privi
   int ret = -1;
   DWORD size;

+  if 

Re: [Patch]: Create Global Privilege

2003-11-25 Thread Christopher Faylor
On Tue, Nov 25, 2003 at 09:13:12PM -0500, Christopher Faylor wrote:
Other than that minor point, this looks ok.

Sorry.  On rereading this this sounded rather lukewarm.  I'm very happy
that you are fixing this problem.  I should probably let Corinna have
the final word on this, though.

Thanks.

cgf


Re: [Patch]: Create Global Privilege

2003-11-25 Thread Christopher Faylor
On Tue, Nov 25, 2003 at 10:12:19PM -0500, Pierre A. Humblet wrote:
At 09:47 PM 11/25/2003 -0500, you wrote:
On Tue, Nov 25, 2003 at 09:13:12PM -0500, Christopher Faylor wrote:
Other than that minor point, this looks ok.

Sorry.  On rereading this this sounded rather lukewarm.  I'm very happy
that you are fixing this problem.  I should probably let Corinna have
the final word on this, though.

Thanks.

OK, I will be out of town for a few days, so it would be nice if Corinna 
could apply it as well.

Regarding your remark, I had thought of putting prefix on the cygheap,
but that looked like overkill (could be done some day, together with 
cygwin_user_h and a few others).

This is what I said:

Couldn't you just initialize prefix prior to calling shared_name?

I wasn't saying that it should be on the cygheap or that it should be
only initialized once per cygwin session.  I was saying that it could
be calculated once per program, prior to calling shared_name, avoiding
the test entirely.

cgf


Re: man produces ESC

2003-11-25 Thread Dr. Volker Zell
 David == David Andersen [EMAIL PROTECTED] writes:

David I've got the same problem after updating this evening.
David rxvt, bash shell.

Hi

Please change two lines in /usr/share/misc/man.conf to read

NROFF  /usr/bin/nroff -c -mandoc
PAGER  /usr/bin/less -isrR

I'll prepare a new man package for upload right now.

Ciao
  Volker


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



Re: building cross compiler from cygwin windows to linux: crti.o no such file or directory

2003-11-25 Thread qinfeng . zhang

You try to  create a empty crt0.c file.


cross-gcc crt0.c -c -o /usr/local/gnu/obj/gcc-3.3.1-3/gcc/crt0.o


Regards  /)/)
(-.-)
Qinfeng Zhang

Optical Storage  Digital TV
Philips Research East Asia - Shanghai
38F Tower 1 office building
218 Tian Mu Xi Rd.
Shanghai, P.R.China 200070

Tel: (86-21) 6354 1088 Ext. 5356
Fax: (86-21) 6354 4954
Email: [EMAIL PROTECTED]


   
  
   
  
   To:   [EMAIL PROTECTED]   
  
   cc:   [EMAIL PROTECTED]   

(bcc: Qinfeng 
Zhang/SHA/RESEARCH/PHILIPS)

   Subject:building cross compiler 
from cygwin windows to linux: crti.o no such file or directory
   mohanlal jangir   
  
   [EMAIL PROTECTED]Classification:   

   com
  
   
  
   Sent by:
  
   [EMAIL PROTECTED]   
  
   
  
   2003-11-25 15:02
  
   
  
   
  




[Excuse me for sending this mail to both mailing list. I am not very sure,
which mailing list this mail is more suitable]

I am trying to build cross compiler from cygwin window to linux. I did
configured and build binutils as follows:
source
dir/binutils-2.14/configure --host=i686-pc-cygwin --target=i686-pc-linux-gn
u --prefix=tool dir/host/i686-pc-cygwin   make

This worked well. Later I tried to compile gcc as follows:
 source
dir/gcc-3.3.1-3/configure --host=i686-pc-cygwin --target=i686-pc-linux-gnu
 --prefix=tool dir/host/i686-pc-cygwin --with-newlib --disable-threads

This ended up in following error message:
/usr/local/gnu/tools/host/i686-pc-cygwin/i686-pc-linux-gnu/bin/ld: cannot
open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make: *** [all-gcc] Error 2


When I executed find ./ -name crt?.* at command prompt, I got following
output:
./src/gcc-3.3.1-3/gcc/config/arm/crti.asm
./src/gcc-3.3.1-3/gcc/config/arm/crtn.asm
./src/gcc-3.3.1-3/gcc/config/fr30/crti.asm
./src/gcc-3.3.1-3/gcc/config/fr30/crtn.asm
./src/gcc-3.3.1-3/gcc/config/h8300/crti.asm
./src/gcc-3.3.1-3/gcc/config/h8300/crtn.asm
./src/gcc-3.3.1-3/gcc/config/ia64/crti.asm
./src/gcc-3.3.1-3/gcc/config/ia64/crtn.asm
./src/gcc-3.3.1-3/gcc/config/ip2k/crt0.S
./src/gcc-3.3.1-3/gcc/config/m68k/crti.s
./src/gcc-3.3.1-3/gcc/config/m68k/crtn.s
./src/gcc-3.3.1-3/gcc/config/mcore/crti.asm
./src/gcc-3.3.1-3/gcc/config/mcore/crtn.asm
./src/gcc-3.3.1-3/gcc/config/mips/crti.asm
./src/gcc-3.3.1-3/gcc/config/mips/crtn.asm
./src/gcc-3.3.1-3/gcc/config/mmix/crti.asm
./src/gcc-3.3.1-3/gcc/config/mmix/crtn.asm
./src/gcc-3.3.1-3/gcc/config/sh/crt1.asm
./src/gcc-3.3.1-3/gcc/config/sh/crti.asm
./src/gcc-3.3.1-3/gcc/config/sh/crtn.asm


Out of these files none belongs to i386 architecture. I am not sure if

Tix within Python on Cygwin - still not working

2003-11-25 Thread Kirsch, Rainer
Dear Cygwin development community,
up to now I did not see a working Tix installation within Python on Cygwin.

cygcheck -s 
replies with following for python and tcltk:
python  2.3.2-1
tcltk   20030901-1 
(I did not find a tix package and a tix library seems to be missing)

My interactive test run produced following output
(comment lines are inserted with ### prefix):
$ python
Python 2.3.2 (#1, Oct  9 2003, 12:03:29) 
[GCC 3.3.1 (cygming special)] on cygwin
Type help, copyright, credits or license for more information.
 import Tkinter
### is working fine
 import Tix
### up to here it still seems to be working !!!
 t=Tix.Tk()
Traceback (most recent call last):
  File stdin, line 1, in ?
  File /usr/lib/python2.3/lib-tk/Tix.py, line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix
### Here a first instance of a Tix object is tried to be created.
### Under normal conditions a window should pop up and 
### the  prompt should reappear without further error messages

I would be thankful to obtain Python with working Tix support 
especially to use the HList Class for constructing hierarchical list GUIs.
For example this would be handy to click through the /proc hierarchy.

Many thanks 
---
DI Rainer Kirsch - Systems Engineer
Tiscali Österreich GmbH

Diefenbachgasse 35
A-1150 Wien, Austria
Tel:   +43/(0)1/502 86 - 0
FAX:   +43/(0)1/502 86 - 399
mailto:[EMAIL PROTECTED]
 

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



Re: building cross compiler from cygwin windows to linux: crti.o no such file or directory

2003-11-25 Thread mohanlal jangir
I tried this option. Seems to be work around for current problem, but new
problem is that it can not fine libc. The error message is
/usr/local/gnu/tools/host/i686-pc-cygwin//i686-pc-linux-gnu/bin/ld: cannot
find -lc
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1


 You try to  create a empty crt0.c file.


 cross-gcc crt0.c -c -o /usr/local/gnu/obj/gcc-3.3.1-3/gcc/crt0.o



 I am trying to build cross compiler from cygwin window to linux. I did
 configured and build binutils as follows:
 source

dir/binutils-2.14/configure --host=i686-pc-cygwin --target=i686-pc-linux-gn
 u --prefix=tool dir/host/i686-pc-cygwin   make

 This worked well. Later I tried to compile gcc as follows:
  source

dir/gcc-3.3.1-3/configure --host=i686-pc-cygwin --target=i686-pc-linux-gnu
  --prefix=tool dir/host/i686-pc-cygwin --with-newlib --disable-threads

 This ended up in following error message:
 /usr/local/gnu/tools/host/i686-pc-cygwin/i686-pc-linux-gnu/bin/ld: cannot
 open crti.o: No such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [libgcc_s.so] Error 1
 make[2]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
 make[1]: *** [libgcc.a] Error 2
 make[1]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
 make: *** [all-gcc] Error 2



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



___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Bob E
Hello,
 
I have been trying to compile a SDL/OpenGL program. 
The program works under linux, and I am able to get
single-file OpenGL/SDL programs to compile and run
with cygwin.  When linking multiple files however, I
get this strange errors:
 
gcc  -g   view3ds.o gl_video.o sdl_event.o sdl_video.o
object.o  -o view3ds -lgl
ut32 -lopengl32 -lGLU32 -lopengl32 `sdl-config
--cflags --libs` -lm
view3ds.o(.text+0x94): In function `resizeWindow':
/home/Bob/prog/sdl2/view3ds.c:37: undefined reference
to `_gluPerspective'
view3ds.o(.text+0x3ca): In function `DrawScene':
/home/Bob/prog/sdl2/view3ds.c:93: undefined reference
to `_gluErrorString'
view3ds.o(.text+0x3d2):/home/Bob/prog/sdl2/view3ds.c:94:
undefined reference to
`___getreent'
view3ds.o(.text+0x7a2): In function `main':
/home/Bob/prog/sdl2/view3ds.c:160: undefined reference
to `___getreent'
view3ds.o(.text+0x7dc):/home/Bob/prog/sdl2/view3ds.c:167:
undefined reference to
 `___getreent'
view3ds.o(.text+0x809):/home/Bob/prog/sdl2/view3ds.c:174:
undefined reference to
 `___getreent'
view3ds.o(.text+0x841):/home/Bob/prog/sdl2/view3ds.c:183:
undefined reference to
 `___getreent'

 
I am using gcc 3.3.1
 
I find it strange that functions such as
gluPerspective will compile/link fine in a single file
program, but fail to work in project with multiple
source files.
 
Anyone have any suggestions?
 
Thanks,
 
Bob




__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Strategy for Finding Cygwin/Unix info

2003-11-25 Thread zzapper
Hi Ya

I recently went thru a few hoops to get cron working 

First of all I did a crontab -e and expected it  to work. Then I read
the Man pages no help. I then used this NG (thanx everybody).

What foxed me was not realising that there was CYGwin specific info.

So could a few experts explain their strategy for finding the right
info.

Additionally; a last question say I'm looking for a Unix tool to do a
particular job, but don't know if it exists or what it might be called
where do I start???

== JUST SOLVED ONE PROBLEM ===
just found out that you can use

 info Cygwin  (no Man equivalent)

zzapper
--

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

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


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



ioperm

2003-11-25 Thread Jan Pietrusky
Hello Marcel,
I use WIN2000 with cygnus and will use the lpt port. When I will 
activate the ioperm with -i, I get StartService failed. You know, 
where the problem is?

What is the result of ioperm -i? It is a copy od ioperm.sys in a windows 
directory? Can I do this with for myself?
It is recommended, that I have root permission for this?

thanks and best regards
Jan
--
 -
| Dipl.-Ing.(FH) Jan Pietrusky  Tel: +49 (0) 3677 678331
| Institut fuer Mikroelektronik- undFAX: +49 (0) 3677 678338
| Mechatronik-Systeme
| Langewiesener Strasse 22, 98693 Ilmenau
|-
| MAIL/WWW: [EMAIL PROTECTED], http://www.imms.de/
 -
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: perl localtime returns gmttime

2003-11-25 Thread Shaffer, Kenneth

I haven't seen closure on this subject yet.  I too have the same problem.

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.


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



INSTALACION!!!

2003-11-25 Thread Angel Linares


HOLA

ME LLAMO ANGEL Y QUIERO AYUDA SOBRE LA INSTALACION DEL CYGWIN. MI PROBLEMA 
ES EL SIGUIENTE:

BAJE LOS PAQUETES (PARA INSTALACION COMPLETA) DEL CYGWIN, A MI MAQUINA. A LA 
HORA DE EMPEZAR A INSTALAR SOBRE EL DIRECTORIO LOCAL, LA INSTALACION SE 
TERMINA EN EL 22%, Y SE SALTA AL 100% Y TERMINA LA INSTALACION, SIN INSTALAR 
TODOS LOS PAQUETES.
POR ULTIMO ME SACA UN MENSAJE QUE DICE: NO SE ENCUENTRA EL ARCHIVO 
CYGWIN1.DLL.

ESTOY INSTALANDO SOBRE WINDOWS 98 SEGUNDA EDICION.ESO SERIA TODO.

SALUDOS
ANGEL
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: ___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Suresh Venkatasubramanian

On Tue, 25 Nov 2003, Bob E wrote:

 Hello,
  
 I have been trying to compile a SDL/OpenGL program. 
 The program works under linux, and I am able to get
 single-file OpenGL/SDL programs to compile and run
 with cygwin.  When linking multiple files however, I
 get this strange errors:
  
 gcc  -g   view3ds.o gl_video.o sdl_event.o sdl_video.o
 object.o  -o view3ds -lgl
 ut32 -lopengl32 -lGLU32 -lopengl32 `sdl-config
 --cflags --libs` -lm
 view3ds.o(.text+0x94): In function `resizeWindow':
 /home/Bob/prog/sdl2/view3ds.c:37: undefined reference
 to `_gluPerspective'
 view3ds.o(.text+0x3ca): In function `DrawScene':
 /home/Bob/prog/sdl2/view3ds.c:93: undefined reference
 to `_gluErrorString'
 view3ds.o(.text+0x3d2):/home/Bob/prog/sdl2/view3ds.c:94:
 undefined reference to
 `___getreent'
 view3ds.o(.text+0x7a2): In function `main':
 /home/Bob/prog/sdl2/view3ds.c:160: undefined reference
 to `___getreent'
 view3ds.o(.text+0x7dc):/home/Bob/prog/sdl2/view3ds.c:167:
 undefined reference to
  `___getreent'
 view3ds.o(.text+0x809):/home/Bob/prog/sdl2/view3ds.c:174:
 undefined reference to
  `___getreent'
 view3ds.o(.text+0x841):/home/Bob/prog/sdl2/view3ds.c:183:
 undefined reference to
  `___getreent'

  
 I am using gcc 3.3.1
  


I don't claim this as a fix, but the opengl readme states that the correct
order for the lib files is:

-lglut32 -lglu32 -lopengl32

which is slightly different to what you have. Can you try it that way and
see ?

Suresh Venkatasubramanian, Ph: 973 360 8951 (o)
Member, Technical StaffWeb: http://www.research.att.com/~suresh/
ATT Shannon Labs

The guitar is the ideal instrument for anyone who is able to love
loneliness. --Angelo Gilardino

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



Re: Open bash in given directory - rxvthere.reg4 (0/1)

2003-11-25 Thread zzapper
On Mon, 24 Nov 2003 14:32:31 -0500 (EST), Igor Pechtchanski
[EMAIL PROTECTED] wrote:

On Mon, 24 Nov 2003, Tim-Oliver Husser wrote:

 Hi,

 is there any way to start the bash in a given directory? A context
 menu Open this directory in bash or something like that in the
 explorer would be nice. :)
 Any ideas, how to do this?

Do you Google?  http://google.com/search?q=cygwin+%22bash+here%22
   Igor

What I googled from above

Michael Hoffman [EMAIL PROTECTED]
The University of Texas at Austin

Works super fine

zzapper
--

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

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


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



Re: Open bash in given directory - rxvthere.reg4 (1/1)

2003-11-25 Thread zzapper

begin 644 rxvthere.reg4
M__Y7`D`;@!D`\`=P!S`[EMAIL PROTECTED]`:0!S`'0`@!Y```10!D`D`=`!O
M`'(`(`!6`4`@!S`D`;P!N```-0`N`#``,``-``H`#0`*`%L`2`!+`$4`
M60!?`$,`3`!!`%,`4P!%`%,`7P!2`$\`3P!4`%P`1`!I`'(`90!C`'0`;P!R
M`'D`7`!S`@`90!L`P`7``P`,`;0!D`T`@!X`'8`=`!=``T`@!``#T`
M(@!/`'``90!N```@!X`'[EMAIL PROTECTED]`:0!N`0`;P!W```2`!E`'(`90`B
M``T`@`-``H`6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4`4P!?`%(`3P!/`%0`
M7`!$`D`@!E`,`=`!O`'(`0!`',`:`!E`P`;`!`#``8P!M`0`+0!R
M`'@[EMAIL PROTECTED]T`;0!A`X`9`!=``T`@!``#T`(@!#`#H`7`!`,`
M0!G`'`:0!N`%P`7`!B`D`;@!`%P`@!X`'8`=``N`4``!E```+0!B
M``(`!B`P`80!C`L`(``M`[EMAIL PROTECTED]'`:`!I`'[EMAIL PROTECTED]T`P!R```
M+0!S`P`(``Q`#``,``P```+0!F`X`(`!`([EMAIL PROTECTED]'@`90!D`',`0!S
M`%P`(@[EMAIL PROTECTED]T`;`!S```+0!E```+P!U`',`@`O`(`:0!N`[EMAIL PROTECTED]',`
M:[EMAIL PROTECTED]T`+0!L`\`9P!I`X`(``M`,`(`!`(`8P!D```7`!`%P`(@!@
M`,`0!G`'``80!T`@`(``M`'4`(``G`4`,0`G```7`!`%P`(@`[```
890!X`[EMAIL PROTECTED](`80!S`@`7``B`(`
`
end


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



RE: Strategy for Finding Cygwin/Unix info

2003-11-25 Thread Hannu E K Nevalainen
 From: zzapper
 Sent: Tuesday, November 25, 2003 2:13 PM

 just found out that you can use
 
  info Cygwin  (no Man equivalent)
 

 Which needs a minor update WRT the new path
e.g. /usr/share/doc/Cygwin/


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

** on a mailing list; please keep replies on that particular list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--

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



Re: Regtool Recursive Option?

2003-11-25 Thread Marco Mason
Alan--

 Is it possible to use the Cygwin regtool recursively?  I would like
 to search for a term (i.e. My Documents) throughout the registry or
 at least within a subkey.  It looks like this can be done by doing a
 recursive grep on /proc/registry, but this generates a lot of errors
 such as No such file or directory and File or path name too long.
 You get the No such file or directory when you try to retrieve a value
 that doesn't exist.  This is typically encountered when you use a value
 path (i.e., a terminal node in the tree).

From the man page:

Options for 'list' Action:
-k, --keys
   print only KEYS

This tells regtool to give you only the list of keys in the node.
For example:

$ # Here's a value
$ regtool get '\user\software\Microsoft\Clock\iFormat'
1
$ # Getting a value is bad...
$ regtool list '\user\software\Microsoft\Clock\iFormat'
Error (2): The system cannot find the file specified.
$ # But a regular list command will return it...
$ regtool list '\user\software\Microsoft\Clock'
iFormat
$ # So tell regtool to list only other keys
[EMAIL PROTECTED] ~/Proj/RiskMgt/ACH
$ regtool -k list '\user\software\Microsoft\Clock'
$

--marco



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



TRANSLATION - Re: INSTALACION!!!

2003-11-25 Thread Joe Baptista

On Tue, 25 Nov 2003, Angel Linares wrote:




 HOLA

Hello


 ME LLAMO ANGEL Y QUIERO AYUDA SOBRE LA INSTALACION DEL CYGWIN. MI PROBLEMA
 ES EL SIGUIENTE:

My name is Angel an I need help with respect to the installation of
CYGWIN.  My problem is as follows:

 BAJE LOS PAQUETES (PARA INSTALACION COMPLETA) DEL CYGWIN, A MI MAQUINA. A LA
 HORA DE EMPEZAR A INSTALAR SOBRE EL DIRECTORIO LOCAL, LA INSTALACION SE
 TERMINA EN EL 22%, Y SE SALTA AL 100% Y TERMINA LA INSTALACION, SIN INSTALAR
 TODOS LOS PAQUETES.

I pick the packets needed for a full CYGWIN installation on my system.
When I start the installation to a local directory, it's stops installing
at 22% complete, it then jumps to 100% complete and terminated the
installation, without installing all the packets.

 POR ULTIMO ME SACA UN MENSAJE QUE DICE: NO SE ENCUENTRA EL ARCHIVO
 CYGWIN1.DLL.

I get the followin error message: Can;t find the archive (filename)
CYGWIN1.DLL

 ESTOY INSTALANDO SOBRE WINDOWS 98 SEGUNDA EDICION.ESO SERIA TODO.

i'm installing this on a windows 98 second edition.



regards
joe
Joe Baptista for Councillor City of Peterborough Town Ward 3
 Personal Web Space @ www.baptista.god



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



Re: Home-Dir disappears upon password-less rlogin

2003-11-25 Thread Larry Hall
At 04:39 AM 11/25/2003, Martin Apel you wrote:
Hello,

I'm having a problem with password-less rlogin on a Windows 2000 machine
running Cygwin 1.5.5-1. The machine, from which I start rlogin, is listed
in the hosts.equiv file of the Cygwin machine. I can then login without
password, but I receive a message
  No directory home-directory
which is located on a Samba share. As I soon as I remove the machine name\
from hosts.equiv, I have to provide a password upon login, but then my home
directory is accessable. The same applies to rsh.
Any help would be appreciated.


This has been discussed many times before, though generally in the context of
ssh.  Anyway, the short answer is that you cannot get access to shares that
are not publicly accessible without providing a password.  Without the 
password, Windows user authentication doesn't happen so Windows won't give
you access to shares that are user-restricted.  You'll have to provide the
password or open up your shares to all users.



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


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



RE: Any current plans for an SDL package?

2003-11-25 Thread Chris January
 Frédéric L. W. Meunier wrote:

  On Sun, 23 Nov 2003 [EMAIL PROTECTED] wrote:
 
 
 The only thing I found missing really are the libraries' header files.
 
 One such library is libjpeg, which has no development package, and i
 believe there was some compression lib also.
 
 
  The headers are in jpeg-6b-11.tar.bz2. As I don't see libjpeg
  or any compression library linked in my libSDL and libSDL_mixer
  libraries on Linux (I never tried on Windows), I'm assuming all
  missing headers are to compile SDL-image.
 
  It'd be nice if you could post the errors or any links to
  e-mails.
 
 
 Remember that I am talking about SDL, SDL-mixer, and
 SDL-image, as most programs that use one use all 3 (but it
 would not be difficult to package them as 3 seperate
 packages)
 
 
 As i now have the headers i cannot post the errors.

 At this point i have decided that I should try to make sdl linked with
 cygwin1.dll, this should be possible without too much work, but using
 mingw sounds like it is at least slightly more common.

 If i can make the lib like that i will have to see if i can find anybody
 who can maintain the packages.

I would love to have a Cygwin linked SDL and am willing to maintain it if
you are prepared to package it in the first place (along with SDL-mixer and
SDL-image).

Chris


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



The look utilty

2003-11-25 Thread Alex Vinokur
Does Cygwin provide something like the look utility which works with dictionary?


--
   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
 news://news.gmane.org/gmane.comp.lang.c++.perfometer
   =






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



Re: wtfindex and dos line endings

2003-11-25 Thread Igor Pechtchanski
On Tue, 25 Nov 2003, Vince Rice wrote:

 I reported a couple of weeks ago that wtfindex choked on text mounts,
 and Igor promptly fixed it (thanks, Igor!).  I just discovered that
 wtfindex can't handle DOS line endings, even on text mounts.

 That is, the standard acronyms file (for example) has Unix line
 endings, and wtfindex now properly processes that file on either a
 binary or text mount.  However, I created a new acronyms file
 yesterday with DOS line endings, and wtfindex produced a garbled
 file.  Changing the file back to Unix line endings corrected the
 problem.  So, I guess this could be a limitation or a bug, whichever
 you choose. :)

 @SRS8100:/home/vrice\ uname -a
 CYGWIN_NT-5.0 SRS8100 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
 unknown Cygwin
 @SRS8100:/home/vrice\ cygcheck -c wtf
 Cygwin Package Information
 Package  VersionStatus
 wtf  0.0.4-5OK

 Thanks,
 Vince

Vince,

I'm sorry, I can't reproduce this on my machine.  Please provide the
*exact* steps needed to reproduce it, including the correct mount command
(you can temporarily mount some directory, say /tmp/text, in text mode if
you need to).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



Re: cygcheck and mount -X

2003-11-25 Thread Christopher Faylor
On Tue, Nov 25, 2003 at 06:17:21AM -0800, Vince Rice wrote:
My apologies for this not being in the main thread; I'm not
subscribed to the list.

On Sun, Nov 23, 2003 at 12:55:32PM +0100, Christopher Faylor wrote:
 cygcheck and strace are mingw programs, so:

 mount -x -b -f c:/cygwin/bin/cygcheck.exe /bin/cygcheck.exe
 mount -x -b -f c:/cygwin/bin/cygcheck /bin/cygcheck

 etc.

I was just about to set /usr/bin to cygexec as well, so I did and
then tried the above, and I still can't get cygcheck to work (from
within bash or ash).

@SRS8100:/home/vrice\ uname -a
CYGWIN_NT-5.0 SRS8100 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin
@SRS8100:/home/vrice\ mount
d:\cygwin\bin\cygcheck.exe on /bin/cygcheck type system (binmode,exec)
   
d:\cygwin\bin\cygcheck.exe on /bin/cygcheck.exe type system (binmode,exec)
   
d:\cygwin\bin on /usr/bin type system (binmode,cygexec)
d:\cygwin\lib on /usr/lib type system (binmode)
d:\cygwin on / type system (binmode)
c: on /c type user (binmode,noumount)
d: on /d type user (binmode,noumount)
e: on /e type user (binmode,noumount)
k: on /k type user (binmode,noumount)
o: on /o type user (binmode,noumount)
r: on /r type user (binmode,noumount)
s: on /s type user (binmode,noumount)
@SRS8100:/home/vrice\ which -a cygcheck
/usr/bin/cygcheck
 

Doesn't this suggest anything to you?

cgf

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



[ANNOUNCEMENT] Updated: man-1.5k-1

2003-11-25 Thread Dr . Volker . Zell

Hi

A new version of 'man' has been uploaded to a server near you. This
message contains very important information that you should read before
you upgrade.

Enjoy
  Volker
  

** WARNING **
Everyone who downloaded my previous version man-1.5m2-1, please make sure
to remove /usr/share/misc/man.conf since it's broken and it would 
otherwise not be overwritten by the postinstall script.
** WARNING **


The following is from the package README:

--

Upgrade to the latest version man-1.5k-12.src.rpm found at 

 o http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/

This version includes almost all of the fixes found in the above rpm 
archive. Some of them are not relevant for cygwin.

More details about the individuell bugs can be found under the URL

 o http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=X
 
where X represents the numeric bug id.


Changelog: 
==

* Thu Oct 09 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-12
- force utf locale with jnroff (#105764)
- don't let awk in makewhatis scan files that aren't man pages (#105594)

* Wed Oct 01 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-11
- Use UTF-8 in makewhatis when searching for non-English versions of the
  phrase NAME in man pages
- add -o option to makewhatis to specify an alternate whatis db location

* Fri Aug 08 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-9
- cleaned up apropos script bugs (#97006)
- merged all apropos changes into one cleaner patch

* Thu May 22 2003 Jeremy Katz [EMAIL PROTECTED] 1.5k-7
- fix build with gcc 3.3

* Mon Feb 10 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-6
- added patch for korean (#83934)

* Thu Feb 06 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-5
- removed bad argcat patch which made bogus grep queries (#82684)

* Mon Jan 13 2003 Adrian Havill [EMAIL PROTECTED] 1.5k-2
- bump version from j to k
- adjust patches to reflect upstream integration


Cygwin specific changes:


 o added m and 8c to the default man sections list, cygwin has man pages
   in directories /usr/share/man/man8c and /usr/X11R6/man/manm
 o fixed italian man page
 o added /usr/X11R6/man:/usr/local/share/man:/usr/local/man to the default
   manpath in makewhatis
 o postinstall script adds symlinks from man to manpath for binary and
   manpage
   
Additionally the following things have been changed since the interim 
version man-1.5m2-1:

 o The following two lines in man.conf

   NROFF/usr/bin/nroff -c -mandoc
   PAGER/usr/bin/less -isrR
   
   seem to fix the output of ESC sequences
   

!!

Certain versions of the FHS recommend putting formatted versions of

 /usr/.../share/man/[locale/]manx/page.x 
 
into

 /var/cache/man/.../[locale/]catx/page.x.

The keyword FHS in man.conf will cause this behaviour and is now the default.
Explicitly given catdirs override. See comments in the man.conf file.

I would like to ask other package maintainers to remove /usr/.../share/catx
directories from their packages, as man.conf can be edited by the user and 
will not be overwritten by the next version of the man package.

!!


GENERIC INFORMATION:

INSTALLATION:
=
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.  Save it and run setup, answer the questions and pick up
the above mentioned package from the 'Doc' category.  This package includes 
the executable and all documentation.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

These mirrors already got the package, the others will probably have 
the latest version of this package fairly soon:

In the US

   ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ 

has reliable high bandwidth connections.


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to 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]


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



apt-listchanges for cygwin setup?

2003-11-25 Thread Andrew Waltman
One of the tools that I have really come to appreciate when using Debian is
the apt-listchanges script which can run as part of apt-get upgrade. For
those unfamiliar, it displays the recent changelog entries for packages
about to be upgraded and gives the user the option to continue with the
upgrade or cancel it. I have found it interesting to read about what bugs
were fixed and I occasionally choose not to upgrade depending on what is
written in the changelog.

I think it would be very cool if there was something like that that could run
as part of the Cygwin setup so one could pick and choose packages to
upgrade depending on what the changelogs say were fixed or modified.

Also, is anyone aware of a console mode version of setup? Call me old
fashioned, but I generally prefer console applications. :-)

Andrew

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



[PATCH] - /usr/share/doc path in cygwin-doc; WAS - RE: Strategy for Finding Cygwin/Unix info

2003-11-25 Thread Larry Hall
At 09:35 AM 11/25/2003, Hannu E K Nevalainen you wrote:
 From: zzapper
 Sent: Tuesday, November 25, 2003 2:13 PM

 just found out that you can use
 
  info Cygwin  (no Man equivalent)
 

 Which needs a minor update WRT the new path
e.g. /usr/share/doc/Cygwin/


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


OK, here's a patch for that:

2003-11-05 Larry Hall
* cygwin.texi: Add '/usr/share/doc[/Cygwin]' path.



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


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

Re: Tix within Python on Cygwin - still not working

2003-11-25 Thread Jason Tishler
On Tue, Nov 25, 2003 at 11:02:49AM +0100, Kirsch, Rainer wrote:
 cygcheck -s 
 replies with following for python and tcltk:
 python  2.3.2-1
 tcltk   20030901-1 
 (I did not find a tix package and a tix library seems to be missing)

Bingo!  AFAICT, you will have to build tix yourself.

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
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [PATCH] - /usr/share/doc path in cygwin-doc; WAS - RE: Strategy for Finding Cygwin/Unix info

2003-11-25 Thread Joshua Daniel Franklin
  just found out that you can use
  
   info Cygwin  (no Man equivalent)
 
  Which needs a minor update WRT the new path
 e.g. /usr/share/doc/Cygwin/
 
 
 OK, here's a patch for that:
 
 2003-11-05 Larry Hall
 * cygwin.texi: Add '/usr/share/doc[/Cygwin]' path.

Thanks Hannu and Larry, this will be in the next version
of cygwin-doc. The last update put the files in /usr/share/
but I forgot about the handmade pages.

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



Where am I anyway?

2003-11-25 Thread Dai Itasaka
[EMAIL PROTECTED] cd c:/temp/foo
(B[EMAIL PROTECTED] ls
(Bbar/  foo.file
(B[EMAIL PROTECTED] cd bar
(B[EMAIL PROTECTED] ls
(Bbar.file
(B[EMAIL PROTECTED] cd c:/temp/foo/bar
(B[EMAIL PROTECTED] ls
(Bbar.file
(B[EMAIL PROTECTED] ls ..
(Bbar/  foo.file
(B[EMAIL PROTECTED] cd c:/temp/foo/bar/
(B[EMAIL PROTECTED] ls
(Bbar.file
(B[EMAIL PROTECTED] ls ..
(Bbar.file
(B[EMAIL PROTECTED] cd ..
(B[EMAIL PROTECTED] ls
(Bbar.file
(B[EMAIL PROTECTED] ls ..
(Bbar/  foo.file
(B[EMAIL PROTECTED]
(B
(B
(BIf the directory name you give cd meets this criteria:
(B
(B- start with a drive letter
(B- end with a slash
(B
(Bthen it looks like cd takes you where you want to go but it really
(Btakes you one below so that you have to climb up one level to be safe.
(B
(BBash doesn't observe this problem. This is using tcsh.
(B
(B--
(BUnsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
(BProblem reports:   http://cygwin.com/problems.html
(BDocumentation: http://cygwin.com/docs.html
(BFAQ:   http://cygwin.com/faq/

Re: ___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Andre Bleau
Bob E wrote:

...

gcc? -g?? view3ds.o gl_video.o sdl_event.o sdl_video.o
object.o? -o view3ds -lgl
ut32 -lopengl32 -lGLU32 -lopengl32 `sdl-config
--cflags --libs` -lm
...

1- Move -lglut32 -lGLU32 -lopengl32 (in _that_ order) after `sdl-config ...`
2- Remove the extra -lopengl32
3- Remove -lm


André Bleau, Cygwin's OpenGL package maintainer.

Please address all questions and problem reports about Cygwin's OpenGL 
package to [EMAIL PROTECTED] . 

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


Re: inetd desktop interaction w/o console?

2003-11-25 Thread Brian Ford
On Sat, 22 Nov 2003, Igor Pechtchanski wrote:
 On Sat, 22 Nov 2003, Igor Pechtchanski wrote:
  On Sat, 22 Nov 2003, Brian Ford wrote:
   I know this has been discussed lots before, but I just spent the last few
   hours googling, archive searching, trying run.exe, etc. without finding a
   solid answer.
  
   What are the known issues around allowing Cygwin's inetd to interact with
   the desktop, but without showing the console window?
  
   It would be a real nice feature for us to just add that service option
   and have it work without the distracting console window.  So, I thought
   I'd ping about the known issues before wasting more hours trying to get it
   working.
  
   In the end, I am expecting to contribute a patch to inetd allowing this if
   it is reasonably possible.  So, I'm not looking for a handout, just a
   jumping off point.
  
   Thanks.
 
  /usr/X11R6/bin/run.exe
  Also http://neuro.gatech.edu/users/cwilson/cygutils/run/.

Like I stated above, I had tried run.exe.  But, I think its auto
backgrounding fooled both me and the service manager into thinking it
didn't work.  Maybe adding a -no-background, or some such option, to
run.exe would fix this.

So, the only way to do this is via special arguments to CreateProcess,
or to compile with -mwindows?

 Oops, forgot to add that this would probably be more useful as a patch to
 cygrunsrv (unless you mean running inetd --install-as-service).

Well, yes and yes.  At the time, I did not have inetd source, so I was
unsure exactly how to emulate inetd --install-as-service via cygrunsrv.
Incidentally, why does inetd not use cygrunsrv?  Just history, I guess.

Anyway, I know there has been lots of work around getting windows console
output from net, etc. to show up in an rlogin, telnet, ssh, etc. window.
Would hiding the console mess this up?  Also, when if ever is the console
window desireable for inetd, cygrunsrv spawned stuff, etc.?  Maybe
hiding should be the default if I figure out how.

I've got a lot of digging to do to understand any of this, obviously.
Thanks for the hand hold.

-- 
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
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: inetd desktop interaction w/o console?

2003-11-25 Thread David Byron
On Tue, 25 Nov 2003, Brian Ford wrote:

 Anyway, I know there has been lots of work around getting 
 windows console output from net, etc. to show up in an 
 rlogin, telnet, ssh, etc. window. Would hiding the console 
 mess this up?  Also, when if ever is the console window 
 desireable for inetd, cygrunsrv spawned stuff, etc.?  Maybe 
 hiding should be the default if I figure out how.
 
 I've got a lot of digging to do to understand any of this, 
 obviously. Thanks for the hand hold.

I've just been wrestling with related stuff.  Getting programs to start
without console blink caused me to build them as Win32 apps (w/ WinMain).
If I spawn them from bash (by typing in the name of the executable at the
prompt), I can't see a way to print anything to the console.  I can't get
any combination of GetStartupInfo, GetStdHandle, CreateFile(CONOUT$), and
WriteConsole to work under pre- or post-NT.  I always get Access Denied
message (GetLastError() = 5).  If only for --help and --version, it would be
nice.

Anyone know the way to get bash to set bInheritHandles to true when it
spawns my process?

Thanks much.

-DB

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



Re: ioperm

2003-11-25 Thread Marcel Telka
Hello Jan!

On Tue, Nov 25, 2003 at 02:49:57PM +0100, Jan Pietrusky wrote:
 Hello Marcel,
 I use WIN2000 with cygnus and will use the lpt port. When I will 
 activate the ioperm with -i, I get StartService failed. You know, 
 where the problem is?
 
 What is the result of ioperm -i? It is a copy od ioperm.sys in a windows 
 directory? Can I do this with for myself?
 It is recommended, that I have root permission for this?

`ioperm -i` installs ioperm.sys driver into service manager and starts it.
You need root (administrator) permissions on Windows to do that.


Regards.

-- 
+---+
| Marcel Telka   e-mail:   [EMAIL PROTECTED]  |
|homepage: http://telka.sk/ |
|jabber:   [EMAIL PROTECTED] |
+---+

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



Re: wtfindex and dos line endings

2003-11-25 Thread Vince Rice
 Igor Pechtchanski [EMAIL PROTECTED] wrote:
 On Tue, 25 Nov 2003, Vince Rice wrote:

 I reported a couple of weeks ago that wtfindex choked on text
mounts,
 and Igor promptly fixed it (thanks, Igor!). I just discovered that
 wtfindex can't handle DOS line endings, even on text mounts.
 ...

 Vince,

 I'm sorry, I can't reproduce this on my machine. Please provide the
 *exact* steps needed to reproduce it, including the correct mount
command
 (you can temporarily mount some directory, say /tmp/text, in text
mode if
 you need to).
 Igor

Well, then my apologies for not sending cygcheck.out last time; I
thought this would be as simple as the last one (it never is, is
it?). Here is a copy of the session to duplicate this, the file I did
it with, and cygcheck.out.

Thanks,

Vince

@IS2E296:/usr/text\ uname -a
CYGWIN_NT-5.0 IS2E296 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin
@IS2E296:/usr/text\ mount -b c:\cygwin\usr\text /usr/text
@IS2E296:/usr/text\ od -xa testwtf
000 4641 4941 0943 7361 6620 7261 6120 2073
  A   F   A   I   C  ht   a   s  sp   f   a   r  sp   a   s 
sp
020 2749 206d 6f63 636e 7265 656e 0a64 4641
  I   '   m  sp   c   o   n   c   e   r   n   e   d  nl   A  
F
040 4941 5243 6109 2073 6166 2072 7361 4920
  A   I   C   R  ht   a   s  sp   f   a   r  sp   a   s  sp  
I
060 6320 6e61 7220 6365 6c61 0a6c
 sp   c   a   n  sp   r   e   c   a   l   l  nl
074
@IS2E296:/usr/text\ wtfindex testwtf
@IS2E296:/usr/text\ wtfdump testwtf
Textfile: testwtf
Datafile: testwtf.dat
Items: 2
Offset  Key Value
0   AFAIC   as far as I'm concerned
1   AFAICR  as far as I can recall
@IS2E296:/usr/text\ unix2dos testwtf
testwtf: done.
@IS2E296:/usr/text\ od -xa testwtf
000 4641 4941 0943 7361 6620 7261 6120 2073
  A   F   A   I   C  ht   a   s  sp   f   a   r  sp   a   s 
sp
020 2749 206d 6f63 636e 7265 656e 0d64 410a
  I   '   m  sp   c   o   n   c   e   r   n   e   d  cr  nl  
A
040 4146 4349 0952 7361 6620 7261 6120 2073
  F   A   I   C   R  ht   a   s  sp   f   a   r  sp   a   s 
sp
060 2049 6163 206e 6572 6163 6c6c 0a0d
  I  sp   c   a   n  sp   r   e   c   a   l   l  cr  nl
076
@IS2E296:/usr/text\ wtfindex testwtf
@IS2E296:/usr/text\ wtfdump testwtf
Textfile: testwtf
Datafile: testwtf.dat
Items: 2
Offset  Key Value
0   AFAIC   as far as I'm concerned
1   AFAICR  as far as I can recall
@IS2E296:/usr/text\ dos2unix testwtf
testwtf: done.
@IS2E296:/usr/text\ umount /usr/text
@IS2E296:/usr/text\ mount -t c:\cygwin\usr\text /usr/text
@IS2E296:/usr/text\ od -xa testwtf
000 4641 4941 0943 7361 6620 7261 6120 2073
  A   F   A   I   C  ht   a   s  sp   f   a   r  sp   a   s 
sp
020 2749 206d 6f63 636e 7265 656e 0a64 4641
  I   '   m  sp   c   o   n   c   e   r   n   e   d  nl   A  
F
040 4941 5243 6109 2073 6166 2072 7361 4920
  A   I   C   R  ht   a   s  sp   f   a   r  sp   a   s  sp  
I
060 6320 6e61 7220 6365 6c61 0a6c
 sp   c   a   n  sp   r   e   c   a   l   l  nl
074
@IS2E296:/usr/text\ wtfindex testwtf
@IS2E296:/usr/text\ wtfdump testwtf
Textfile: testwtf
Datafile: testwtf.dat
Items: 2
Offset  Key Value
0   AFAIC   as far as I'm concerned
1   AFAICR  as far as I can recall
@IS2E296:/usr/text\ unix2dos testwtf
testwtf: done.
@IS2E296:/usr/text\ od -xa testwtf
000 4641 4941 0943 7361 6620 7261 6120 2073
  A   F   A   I   C  ht   a   s  sp   f   a   r  sp   a   s 
sp
020 2749 206d 6f63 636e 7265 656e 0d64 410a
  I   '   m  sp   c   o   n   c   e   r   n   e   d  cr  nl  
A
040 4146 4349 0952 7361 6620 7261 6120 2073
  F   A   I   C   R  ht   a   s  sp   f   a   r  sp   a   s 
sp
060 2049 6163 206e 6572 6163 6c6c 0a0d
  I  sp   c   a   n  sp   r   e   c   a   l   l  cr  nl
076
@IS2E296:/usr/text\ wtfindex testwtf
@IS2E296:/usr/text\ wtfdump testwtf
Textfile: testwtf
Datafile: testwtf.dat
Items: 2
Offset  Key Value
0
AFAIC   as far as I can recal
1   AFAIC   as far as I'm concerned
@IS2E296:/usr/text\


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/AFAIC   as far as I'm concerned
AFAICR  as far as I can recall

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Nov 25 14:38:03 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\usr\local\bin
c:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin

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

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

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

HOME = `C:\cygwin\home\vrice'
MAKE_MODE = `unix'
PWD = `/usr/text'
USER = `vrice'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and 

Cannot 'login' or 'ssh' after domain controller demotion

2003-11-25 Thread Michael Carr
I have a problem where the 'login' command (and all other commands that
require password authentication such as ssh) no longer accept my password.
Here are the steps I took to create this problem:

1. I started with a Windows 2000 Server acting as a domain controller with
cygwin and ssh server working fine.

2. I demoted the Windows 2000 Server back to a standard server (not domain
controller) using dcpromo.

3. At this point, the ssh server refused to accept any type of
authentication.

4. I rebooted and completely removed the cygwin installation directory, then
downloaded the latest version from www.cygwin.com (ver 1.5.5-1)

5. I reinstalled cygwin and the ssh server.

6. At this point, the server will not accept password authentication, and
the login command also fails:

$ login
login: administrator
Password:
Login incorrect
login:

$ ssh localhost
[EMAIL PROTECTED]'s password:
Permission denied, please try again.
[EMAIL PROTECTED]'s password:

Things I have tried to fix the problem:
1. Executed mkpasswd -l /etc/password
2. Reset the administrator password using Windows computer manager
3. Used passwd to change the administrator password within cygwin
4. Created a new user mcarr, ran mkpasswd again, tried to log in as mcarr

At first I thought that there were old domain users laying around the system
causing cygwin to get confused about what the administrator username
meant. However, the /etc/password file appears to be correct and I removed
all the old profiles.

Are there any special rules regarding cygwin that need to be followed when
demoting a Windows 2000 domain controller? I know that demoting a domain
controller leaves a lot of strange security settings laying around the
system (unknown users, etc). Is there perhaps a file that cygwin is trying
to access but doesn't have access to?

Thanks,
Michael Carr


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



1.5.5-1: cygpath bug

2003-11-25 Thread Masoud Mansouri-Samani
Hi,

In a script I am using cygpath for Cygwin version (1.5.5-1). It seems to 
have a bug:

  $ cygpath --path --windows C:\foo
  C;C:\cygwin\home\masoud\\foo
Which is clearly wrong. If one does it in two steps then it comes up 
with the right behaviour:

  $ cygpath --path --unix C:\foo
  /cygdrive/c/foo
  $ cygpath --path --windows /cygdrive/c/foo
  c:\foo
In my script I had to use this workaround.

Masoud

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


Re: cygwin mysql 4.0.16 compilation : undefined reference to `__static_initialization_and_destruction_0(int, int)'

2003-11-25 Thread Gerrit P. Haase
Hello Terrence,

I already posted about this issue few days ago, including this
statement:

Have you tried a google search with topic
'__static_initialization_and_destruction_0', it shows that this was 
aleady reported several times.  It also was discussed at the cygwin
mailing list, please see the archives, i.e. these postings:
http://www.cygwin.com/ml/cygwin/2003-07/msg00463.html
http://www.cygwin.com/ml/cygwin/2003-07/msg00589.html

In short, it seems that
#pragma interface
doesn't work and commenting it let you compile the code.  I always
comment also
#pragma implementation
but it seems the it is enough to comment out #pragma interface.

Though, I'm seeking for someone to shed light on this, why it is not
working on Cygwin?



-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:[EMAIL PROTECTED]


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



Re: Fresh cygwin install shows escape sequences (pager problems with man less)

2003-11-25 Thread Gerrit P. Haase
Guten Tag Bob Cunningham,

am Montag, 24. November 2003 um 22:29 schrieben Sie:

BC On the fresh cygwin install, even before installing ~/.bashrc,
BC when I did man bash all the ANSI escape sequences were visible.
BC If I specify MANPAGER=more, the sequences are interpreted as  
BC expected.

BC The problem seems to be with 'less'.  It appears less needs to be
BC aliased to 'less -r' for this behavior to go away.  Things are OK
BC with man if I set MANPAGER='less -r'.  

Or this:
export LESS=R

BC Anyone got a spare clue?  Any idea why the default installation of
BC 'man' and 'less' are behaving this way after a Monday install,
BC when all was fine last Friday?  

This problem exists with 'standard' perldoc output a little longer
now, about a year or two.  Using less -r or export LESS=R does the
trick.  It was already discussed here and elsewhere.  I used to patch
the perl sources to use text mode for the perldoc output as it is done
on Windows too, but I don't include the patch anymore.  Maybe an
update of less and the underlying tools would help here more than to
fix the symptoms?


-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:[EMAIL PROTECTED]


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



RE: Fresh cygwin install shows escape sequences (pager problems with man less)

2003-11-25 Thread Bob Cunningham
Well, this wasn't happening on a full Friday install, and it started happening on a 
full Monday install.  On completely different systems, both of which had a fresh 
install of Win2K.

So this behavior is due to a VERY recent change to the cygwin install.

-BobC


-Original Message-
From: Gerrit P. Haase [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 3:10 PM
To: Bob Cunningham
Cc: [EMAIL PROTECTED]
Subject: Re: Fresh cygwin install shows escape sequences (pager problems
with man  less)


Guten Tag Bob Cunningham,

am Montag, 24. November 2003 um 22:29 schrieben Sie:

BC On the fresh cygwin install, even before installing ~/.bashrc,
BC when I did man bash all the ANSI escape sequences were visible.
BC If I specify MANPAGER=more, the sequences are interpreted as  
BC expected.

BC The problem seems to be with 'less'.  It appears less needs to be
BC aliased to 'less -r' for this behavior to go away.  Things are OK
BC with man if I set MANPAGER='less -r'.  

Or this:
export LESS=R

BC Anyone got a spare clue?  Any idea why the default installation of
BC 'man' and 'less' are behaving this way after a Monday install,
BC when all was fine last Friday?  

This problem exists with 'standard' perldoc output a little longer
now, about a year or two.  Using less -r or export LESS=R does the
trick.  It was already discussed here and elsewhere.  I used to patch
the perl sources to use text mode for the perldoc output as it is done
on Windows too, but I don't include the patch anymore.  Maybe an
update of less and the underlying tools would help here more than to
fix the symptoms?


-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:[EMAIL PROTECTED]


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



RE: Patch and directions for compiling GNU screen 3.9.15 on cygwi n

2003-11-25 Thread Parker, Ron
 From: Christopher Faylor

 Wow, that was *it*?  It seems like a pretty simple patch if 
 this really gets
 things working.  Can I entice you into being the package 
 maintainer for screen?
 There's a gold star in it for you!

I may consider doing it, if I can get a couple of issues resolved and I have
a few spare minutes.

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



Re: perl localtime returns gmttime

2003-11-25 Thread Gerrit P. Haase
Hello Kenneth,

SK I haven't seen closure on this subject yet.  I too have the same
SK problem. 

PTA.

-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:[EMAIL PROTECTED]


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



Re: TRANSLATION - Re: INSTALACION!!!

2003-11-25 Thread Gerrit P. Haase
Guten Tag Joe Baptista,

am Dienstag, 25. November 2003 um 16:14 schrieben Sie:


JB On Tue, 25 Nov 2003, Angel Linares wrote:




 HOLA

JB Hello


 ME LLAMO ANGEL Y QUIERO AYUDA SOBRE LA INSTALACION DEL CYGWIN. MI PROBLEMA
 ES EL SIGUIENTE:

JB My name is Angel an I need help with respect to the installation of
JB CYGWIN.  My problem is as follows:

 BAJE LOS PAQUETES (PARA INSTALACION COMPLETA) DEL CYGWIN, A MI MAQUINA. A LA
 HORA DE EMPEZAR A INSTALAR SOBRE EL DIRECTORIO LOCAL, LA INSTALACION SE
 TERMINA EN EL 22%, Y SE SALTA AL 100% Y TERMINA LA INSTALACION, SIN INSTALAR
 TODOS LOS PAQUETES.

JB I pick the packets needed for a full CYGWIN installation on my system.
JB When I start the installation to a local directory, it's stops installing
JB at 22% complete, it then jumps to 100% complete and terminated the
JB installation, without installing all the packets.

 POR ULTIMO ME SACA UN MENSAJE QUE DICE: NO SE ENCUENTRA EL ARCHIVO
 CYGWIN1.DLL.

JB I get the followin error message: Can;t find the archive (filename)
JB CYGWIN1.DLL

 ESTOY INSTALANDO SOBRE WINDOWS 98 SEGUNDA EDICION.ESO SERIA TODO.

JB i'm installing this on a windows 98 second edition.

Ok, tell her to run setup again and to install the cygwin package at
first.  Then run setup.exe another time and install other packages.


-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:[EMAIL PROTECTED]


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



Re: wtfindex and dos line endings

2003-11-25 Thread Vince Rice
Aacch, I just saw that the mailer put the file and the cygcheck.out
in the message instead of attaching them.  They were attachments when
I hit Send; I had to use Yahoo's web emailer since I wasn't at the
office.  I apologize, I've never sent a text attachment from there
before, so I didn't know they did that.

Vince

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Re: man produces ESC

2003-11-25 Thread David Andersen
I removed /usr/share/misc/man.conf and then downloaded + installed
man-1.5k-1.

All seems to work. Thank you!




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



#pragma interface [Was: cygwin mysql 4.0.16 compilation]

2003-11-25 Thread Danny Smith
Gerrit P. Haase wrote:

 In short, it seems that
 #pragma interface
 doesn't work and commenting it let you compile the code.  I always
 comment also
 #pragma implementation
 but it seems the it is enough to comment out #pragma interface.
 
 Though, I'm seeking for someone to shed light on this, why it is not
 working on Cygwin?
 

It appears to crippled because of the attempt by G++ to support
dllimport. Grep the gcc/cp src directory for MULTIPLE_SYMBOL_SPACES,
which is defined for win32 targets only. Also note in ChangeLog the
last time anyone did any work on this.

Danny



http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.

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



Diff for generic readme and generic-build script to automatically generate pkg data and file listings

2003-11-25 Thread Alan Miles
All,

Was wondering if this patch got dropped, or is it on a todo list?

Alan
-Original Message-
From: Alan Miles [mailto:[EMAIL PROTECTED]
Sent: November 21, 2003 18:35
To: [EMAIL PROTECTED]
Subject: RE: Diff for generic readme and generic-build script


Igor,

New patch - basically I store the /usr/bin/basename of the Readme file
variable ==  /tmp/%PKG%.README

Then I do an effective mv -f /tmp/%PKG%.README
/usr/share/doc/Cygwin/%PKG%.README operation. Hopefully that mitigates all
of your concerns.



-Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
Sent: November 19, 2003 11:55
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Diff for generic readme and generic-build script


Alan,

The bug with 'sed -i' was that if it's unable to write to (or, rather,
creat) /tmp/sedGARBAGE, it assumes that the file exists and tries
another name (/tmp/sedMOREGARBAGE), and so on (in a loop).  If /tmp is
not writeable at all, sed will loop indefinitely.  As long as your script
checks only once (and redirection is usually better at handling existing
files, since you never claimed your script is reentrant), you should be
ok.  You can simply replace ${ThePackageReadMeFile}.tmp in your patch
with /tmp/${ThePackageReadMeFile}.tmp (or even `mktemp -t
${ThePackageReadMeFile}.XX`, but you'd need to store that in a
variable).
Igor

On Tue, 18 Nov 2003, Alan Miles wrote:

 Igor,

 With this change I discovered a very subtle problem - the files listed
will
 show two entries instead of one for the README:

 /usr/share/doc/Cygwin/%PKG%.README
 /usr/share/doc/Cygwin/%PKG%.README.tmp

 This is due to the way where I redirected the file to.

 There are two solutions:
 1/ Put the redirected temp file under /tmp, i.e., /tmp/%PKG%.README and
then
 doing a 'mv -f /tmp/%PKG%.README /usr/share/doc/Cygwin/%PKG%.README'. The
 listing won't be affected since before and after will contain the same
file
 name.

 2/ Adjusting the find command to filter-out the
 /usr/share/doc/Cygwin/%PKG%.README.tmp file in its listing.

 Which solution would be your preference? (Unless you have another one of
 course ...)

 Alan


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

Re: wtfindex and dos line endings

2003-11-25 Thread Igor Pechtchanski
On Tue, 25 Nov 2003, Vince Rice wrote:

 Aacch, I just saw that the mailer put the file and the cygcheck.out
 in the message instead of attaching them.  They were attachments when
 I hit Send; I had to use Yahoo's web emailer since I wasn't at the
 office.  I apologize, I've never sent a text attachment from there
 before, so I didn't know they did that.

 Vince

They came out as attachments on my end.  In any case, your report enabled
me to reproduce it, and I've managed to fix it, hopefully for good this
time.  Thanks and expect a new package release soon.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



Re: 1.5.5-1: cygpath bug

2003-11-25 Thread Larry Hall
At 05:05 PM 11/25/2003, Masoud Mansouri-Samani you wrote:
Hi,

In a script I am using cygpath for Cygwin version (1.5.5-1). It seems to have a bug:

  $ cygpath --path --windows C:\foo
  C;C:\cygwin\home\masoud\\foo

Which is clearly wrong. 


Actually no, it's not wrong.  You told cygpath that the parameter you 
are passing is a path list and you told it to convert it to a Windows
path.  In that case, it's going to interpret the path list as a UNIX 
path and convert C and \foo to a Windows path list format.  That
looks like what you got to me and would be exactly what I'd expect,
given the parameters you specified.

Try removing the --path flag.  I think you'll get what you want, though I
don't know why you have to ask cygpath to convert a Windows path to a
Windows path (i.e. a no-op).



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


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



Can't build Cscope 15.5 with ncurses 5.3-4 package - no ncurses.h!

2003-11-25 Thread Frank P. Hart
I am interested in using the Cscope package with ViM on
my Cygwin/WinXP installation.  Unfortunately, the 
configure script (and subsequent make attempts) for 
Cscope 15.5 fails because the file 'ncurses.h' is 
absent.  The ncurses package on my installation is version
5.3-4.  

I searched through the setup packages and found that the
last version of ncurses to have 'ncurses.h' was version
5.2-8.  Unfortunately, the choices available to me from
setup.exe are only 5.3-1 and 5.3-4.

I'd appreciate some advice on how to make this work, if
at all possible.  Where do I find version 5.2-8, and what
co-requisite libraries must be installed to make Cscope
function?

___
Frank P. Hart   NC State University
Dept. of Electrical and P.O. Box 7914
Computer Engineering  Raleigh, NC  27695-7914



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



Re: Can't build Cscope 15.5 with ncurses 5.3-4 package - no ncurses.h!

2003-11-25 Thread Frédéric L. W. Meunier
On Tue, 25 Nov 2003, Frank P. Hart wrote:

 I am interested in using the Cscope package with ViM on
 my Cygwin/WinXP installation.  Unfortunately, the
 configure script (and subsequent make attempts) for
 Cscope 15.5 fails because the file 'ncurses.h' is
 absent.  The ncurses package on my installation is version
 5.3-4.

 I searched through the setup packages and found that the
 last version of ncurses to have 'ncurses.h' was version
 5.2-8.  Unfortunately, the choices available to me from
 setup.exe are only 5.3-1 and 5.3-4.

 I'd appreciate some advice on how to make this work, if
 at all possible.  Where do I find version 5.2-8, and what
 co-requisite libraries must be installed to make Cscope
 function?

Install libncurses-devel-5.3-4.tar.bz2.

The headers are installed in /usr/include/ncurses, and symlinks
to them in /usr/include.

Or something is wrong on your end.

-- 
http://www.pervalidus.net/contact.html

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



CygUtils patch for last char repeat bug in lpr

2003-11-25 Thread Rick Rankin
Chuck,

I finally had a chance to track down the bug that a few people have reported
where lpr was repeating the last character of a file. One of those really
stupid, can't understand how I missed it before type coding errors. Anyway,
I've attached a patch file and a changlog.

--RickIndex: src/lpr/Printer.cc
===
RCS file: /cvs/cygwin-apps/cygutils/src/lpr/Printer.cc,v
retrieving revision 1.3
diff -u -r1.3 Printer.cc
--- src/lpr/Printer.cc  13 Jun 2003 23:39:10 -  1.3
+++ src/lpr/Printer.cc  26 Nov 2003 03:58:02 -
@@ -118,9 +118,8 @@
 
   char ch;
   char lastCh = '\0';
-  while (!in.eof())
+  while (in.get(ch))
   {
-in.get(ch);
 if (!m_rawFlag  ch == '\n'  lastCh != '\r')
   put('\r');
 put(ch);
Index: src/lpr/lpr.cc
===
RCS file: /cvs/cygwin-apps/cygutils/src/lpr/lpr.cc,v
retrieving revision 1.2
diff -u -r1.2 lpr.cc
--- src/lpr/lpr.cc  11 Jun 2003 03:22:17 -  1.2
+++ src/lpr/lpr.cc  26 Nov 2003 03:58:02 -
@@ -48,13 +48,15 @@
 }
 
 const char * usageMessage =
- [-h] [-D] [-d device] [-P device]\n
+ [-h] [-D] [-d device] [-l] [-P device]\n
 \n
 where:\n
 \n
   -hdoes nothing. Accepted for compatibility.\n
   -d device spools to the specified device.\n
   -Denable debugging output.\n
+  -lprevent LF - CRLF processing. By default, standalone
+LF characters are converted to CRLF.
   -P device spools to the specified device.\n
 \n
 Notes:\n
2003-11-25  Rick Rankin [EMAIL PROTECTED]

* src/lpr/Printer.cc: fix bug in print() operation that was
  causing duplication of the last character of a file.
* src/lpr/lpr.cc: add description of -l option to help message.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/