RE: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Peter Ring
I'd suggest adding a warning about potential name clashes between common
Windows and GNU utilities, e.g. 'sort' and 'find'.

I've yet to find a completely safe and general way to avoid picking up
/WINNT/system32/sort.exe rather than /usr/bin/sort, short of always
asserting than /usr/bin is before /WINNT/system32/ (or wherever sort.exe
would be) before invoking sort.

Even though you'd never ever need the DOS legacy sort.exe or find.exe, you
can't just remove /WINNT/system32/sort.exe; on Win2K and WinXP; it will be
resurrected within seconds by the system. So I've acquired a habit of 

  chmod -x /WINNT/system32/find.exe
  chmod -x /WINNT/system32/sort.exe

kind regards
Peter Ring

-Original Message-
From: Lisbeth Kellogg [mailto:[EMAIL PROTECTED]
Sent: 30. juli 2003 23:18
To: 'Joshua Daniel Franklin'; [EMAIL PROTECTED]
Subject: RE: "Using Cygwin Effectively with Windows" -- Draft of new
User's Guide section


I would suggest adding a section on the PATH environment and its use
when invoking bash from DOS.

---
Lisbeth Kellogg
Office: 651-675-2610
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Joshua Daniel Franklin
Sent: Wednesday, July 30, 2003 1:18 PM
To: [EMAIL PROTECTED]
Subject: "Using Cygwin Effectively with Windows" -- Draft of new User's
Guide section


I've thrown together a prospective "Using Cygwin Effectively with
Windows" 
section for the User's Guide. 

If you'd like to look at it as a web page:


I'm going to be leaving this broadband connection in under 48 hours, so
I'll probably put this into CVS tomorrow (with any corrections) 
unless there is a horrendous outcry against it. Then I'll be in and 
out of contact for probably a(nother) couple of weeks while I move. 

Some things:
--Q: Does anyone know of a page that lists command line configuration
utilities included with Windows 95/98/ME vs. Windows NT4/2000/XP?

--FYI: There are links to outside sites like download.com, Hummingbird's
free-beer SOCKS proxy, etc.

--Documentation of printing is sparse since I don't really do it much.
Does anyone have extensive documentation of their complex setup?

--There's basically nothing on Java except a sample about translating
the CLASSPATH to DOS format. I'm not sure what else to put in. There are
no Cygwin-native java compilers, right? 

Thanks.
Joshua Daniel Franklin

Attached is the text.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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/

--
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: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Gerrit P. Haase
Hallo Igor,

>> There are no Cygwin-native java compilers, right?

> Well, I use jikes, which, IIRC, built OOTB.  Haven't gotten around to
> packaging it up yet, but probably will work on that shortly.

There is also gcj included in the latest GCC package which seems to
produce binaries.


Gerrit
-- 
=^..^=


--
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: tcpflow under cygwin anybody?

2003-07-31 Thread Gerrit P. Haase
Hallo Ralf,

Am Mittwoch, 30. Juli 2003 um 20:01 schriebst du:

> I need to find out what is sent by some forms to my httpd on a per port
> basis. Under Linux,
> http://www.circlemud.org/~jelson/software/tcpflow/ does an excellent
> job at this.

There is a native Windows version of tcpdump available, see tcpdump
homepage for infos.

> Did anybody get this to work under cygwin yet?

I don't know.  However, it requires libpcap and I think that this library
is not ported (it is same problem with tcpdump which also requires
libpcap).


Gerrit
-- 
=^..^=


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



Developing with cygwin: library troubles

2003-07-31 Thread Mischa
Hi

I want to develop a windows program that reads the GUID from a MSI package
with C. It was no problem to create an exe-file with gcc that runs on
non-cygwin platforms (with -mno-cygwin). My problem is the following:
I need several functions from the Msi.lib (included in Windows Installer
SDK). I've created a libMsi.a with dlltool and moved it to /lib/w32api/ and
linked my .o with -lmsi. Compiling and linking worked fine, but if i try to
run the exe, it want to load a Msi.lib as a Dynamic  Link Library.
I've tried to create a DLL from the Msi.lib but then an error appears that
the Function [EMAIL PROTECTED] could not be found.

I don't see the problem, perhaps it is the convert process from the Msi.lib
to the libmsi.a? Or is it impossible to use some function from a .lib-file?

Please help me, i'm desperate! :-)

Thanks

Mischa


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



RFC: Allowing cygwin setup to patch up old versions

2003-07-31 Thread chris
Hello,

I am sorry if this covers things already discussed on this list or some 
other list (I suspect it might), but a quick search through the archives 
failed to provide anything.

I tend (like I suspect many other people) to update my cygwin every 
couple of weeks. As cygwin by default keeps packages it downloads it 
would make sense to distribute patches to existing files.

As a tiny example:

emacs-21.2-11.tar.bzip2 : 8MB
emacs-21.2-12.tar.bzip2 : 8MB
patch: 177K
emacs-21.2-11-src.tar.bzip2 : 19MB
emacs-21.2-12-src.tar.bzip2 : 19MB
patch : 3K (!)
My plan (at the moment) for how the patches will work is as follows:
Each file: /dir1/dir2/file.tar.bz2
can have a patch def file, called /dir1/dir2/file.tar.bz2.patchlist
This will include a list of files there are patches from (with md5) and 
a list of all the patches that exist, and their size.

A simple algorithm will then take this list, a list of all copies of the 
package that are currently on the computer, and the package we want to 
reach, and see what the cheapest patching route is to get there (for 
those interested, this would be done by a simple application of 
dykstra's algorithm)

If this is cheaper than downloading the whole package, then one or more 
patch files are downloaded and then applied to get the new package.

Exactly where to store patches I haven't decided yet.

Patches will be a "privalige", not a "right". If it turns out that some 
large package has such a large update (or for example the optimisation 
level is changed on the binary package) that the patch is too large, 
then there will simply not be a patch.

As I would like to try to do something useful for the cygwin project, I 
am currently working on a proof-of-principle patcher that seems to be 
working well.

I would like to try to pull this into the main cygwin setup tree, and 
was wondering if there is any kind of document that specifies exactly 
how files will be set out on both the computer and the server, of if I 
should just parse the code and see where it says files live? :)

Any comments (even "Someone is already working on that" or "Go away and 
stop bothering us") much appresiated! :)

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/


Re: RFC: Allowing cygwin setup to patch up old versions

2003-07-31 Thread Robert Collins
On Thu, 2003-07-31 at 19:11, chris wrote:

> I would like to try to pull this into the main cygwin setup tree, and 
> was wondering if there is any kind of document that specifies exactly 
> how files will be set out on both the computer and the server, of if I 
> should just parse the code and see where it says files live? :)
> 
> Any comments (even "Someone is already working on that" or "Go away and 
> stop bothering us") much appresiated! :)

Ok, a few thoughts:
1) You'll want to decorate the download logic to have the patching occur
seamlessly.
2) It's a nice concept, but you'll also want to generate the patch files
automatically, so that maintainers don't need to think about this. A
perl fragment is probably what Chris needs to integrate into the web
server update scripts, but this is probably the last piece of the
puzzle.
3) As to file locations: put the patches in the same dir as the files.
Extend setup.ini (and the lexer/parser in inilex.l and iniparse.y, + the
IniBuilder interface) to recognize your patch metadata... as part of the
packageversion information. Do NOT put the patch metadata in a separate
file - that would extend the cost to calculate what needs downloading
hugely. I suggest that you store the patch in the packageversion object
it patches to, allowing trivial reverse iteration to calculate the
shortest path (as we know it's a DAG, we can cheat).

Lastly, follow the contributor Guidelines I've posted links to recently,
and be sure to submit patches against HEAD.

If you'd like a CVS branch to work on, that can be arranged.

Cheers,
Rob

-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.
---


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


ncurses libraries

2003-07-31 Thread giuseppe catania
Hi,
I recently upgraded to full newer cygwin version via network setup 
installation, but cannot find libncurses.a.  I followed the 2 step 
installation instructions found in FAQ, i.e. first installed ncurses and 
then terminfo and libncurses5,6.
I only found dlls such as cygncurses5(6,7).dll in /bin path, but do not 
know how to link them.  My makefile has -lcurses actually.  Do I have to 
change it ?  How can I make routines such as initscr, stdscr, etc. be 
linked in my programs ?
Thanks a  lot.
giuseppe



--
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 and NTFS

2003-07-31 Thread Menon, Girish (MED, WIPRO-GE MED)
Nope. That did not work.

-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: cygwin and NTFS


On Wed, 30 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote:

> Does anybody know of any issues that cygwin 1.3.22 has with NTFS?
> 
> Here's what happened.
> 
> So far, I have been using cygwin 1.3.10 on NTFS with no problems. 
> Recently, I upgraded cygwin to 1.3.22 and all of a sudden I am 
> starting to get permission errors with NTFS. I then reloaded by system

> and configured as FAT32 instead of NTFS. Now everything works fine. No

> permission problems at all. So I reloaded with NTFS now. Now again, I 
> am getting the permissions problems.

I can't remember exactly what version the behaviour changed but, Cygwin
went to 
ntsec off by default (your NTFS bliss) to ntsec on by default. So,
adding 
'nontsec' to your CYGWIN environment variable should fix that for you.

Elfyn

-- 
Elfyn McBratney, EMCB  |  http://www.nongnu.org/wwwauth/
http://www.emcb.co.uk  |  http://www.emcb.co.uk/webauth/
[EMAIL PROTECTED]   |  wwwauth-users AT nongnu DOT org


--
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: ncurses libraries

2003-07-31 Thread Max Bowsher
giuseppe catania wrote:
> Hi,
> I recently upgraded to full newer cygwin version via network setup
> installation, but cannot find libncurses.a.  I followed the 2 step
> installation instructions found in FAQ, i.e. first installed ncurses and
> then terminfo and libncurses5,6.
> I only found dlls such as cygncurses5(6,7).dll in /bin path, but do not
> know how to link them.  My makefile has -lcurses actually.  Do I have to
> change it ?  How can I make routines such as initscr, stdscr, etc. be
> linked in my programs ?

libncurses-devel

In future, please use http://cygwin.com/packages/ to get this kind of info.


Max.


--
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: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Igor Pechtchanski
On Thu, 31 Jul 2003, Gerrit P. Haase wrote:

> Hallo Igor,
>
> >> There are no Cygwin-native java compilers, right?
>
> > Well, I use jikes, which, IIRC, built OOTB.  Haven't gotten around to
> > packaging it up yet, but probably will work on that shortly.
>
> There is also gcj included in the latest GCC package which seems to
> produce binaries.
>
> Gerrit

True, but people complained that it doesn't work, and doesn't provide a
full java implementation.  Besides, gcj is arguably mostly a java
run-time (albeit with a static compiler).  jikes is a source-to-bytecode
compiler, a replacement for javac.
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: Allowing cygwin setup to patch up old versions

2003-07-31 Thread Max Bowsher
chris wrote:
> I tend (like I suspect many other people) to update my cygwin every
> couple of weeks. As cygwin by default keeps packages it downloads it
> would make sense to distribute patches to existing files.
>
> As a tiny example:
>
> emacs-21.2-11.tar.bzip2 : 8MB
> emacs-21.2-12.tar.bzip2 : 8MB
> patch: 177K
>
> emacs-21.2-11-src.tar.bzip2 : 19MB
> emacs-21.2-12-src.tar.bzip2 : 19MB
> patch : 3K (!)

This sounds like a very useful thing to do.
Question: What format are the patches? Some kind of binary format, I assume,
since they will need to be able to reconstruct the archives exactly, so the
MD5 checks can pass.

> As I would like to try to do something useful for the cygwin project, I
> am currently working on a proof-of-principle patcher that seems to be
> working well.
>
> I would like to try to pull this into the main cygwin setup tree, and
> was wondering if there is any kind of document that specifies exactly
> how files will be set out on both the computer and the server, of if I
> should just parse the code and see where it says files live? :)

Such as it is, documentation is at:
http://sources.redhat.com/cygwin-apps/setup.html

Please join the [EMAIL PROTECTED] list. That is where setup development
discussion happens.

Max.


--
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: Allowing cygwin setup to patch up old versions

2003-07-31 Thread chris
Max Bowsher wrote:

chris wrote:
 

I tend (like I suspect many other people) to update my cygwin every
couple of weeks. As cygwin by default keeps packages it downloads it
would make sense to distribute patches to existing files.
As a tiny example:

emacs-21.2-11.tar.bzip2 : 8MB
emacs-21.2-12.tar.bzip2 : 8MB
patch: 177K
emacs-21.2-11-src.tar.bzip2 : 19MB
emacs-21.2-12-src.tar.bzip2 : 19MB
patch : 3K (!)
   

This sounds like a very useful thing to do.
Question: What format are the patches? Some kind of binary format, I assume,
since they will need to be able to reconstruct the archives exactly, so the
MD5 checks can pass.
 

The patch system I am currently using is my personal conversion of the 
bsdiff package from *BSD. I was intending to submit a cygwinized 
version, but have decided that to be honest the program is not of the 
highest quality, so think a re-write of the program would be useful 
before releasing it on innocent people :) Howev bsdiff does create some 
very small patches, and is specially designed to cope with binaries, and 
the kind of differences you get in binaries, better than normal diff 
(mainly things in a different order, and lots of things shifted in value 
by a similar amount) ( http://www.daemonology.net/bsdiff/ if anyone 
wants to see)

The other major thing is that what I diff is (obviously) the .tar files, 
not the .tar.bz2 files, as even a small change to a file usually totally 
changes a compressed version of it. The only problem I can see this 
causing is that the bzip2 files must be compressed in exactly the same 
way. However I expect that everyone will compress their .bzip2s with the 
default, and best setting. If it turns out these files drift then I may 
be forced to MD5 the .tar files. I would like to keep the changes 
required as small as possible tho.

Chris

 

Such as it is, documentation is at:
http://sources.redhat.com/cygwin-apps/setup.html
Please join the [EMAIL PROTECTED] list. That is where setup development
discussion happens.
Max.

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



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


Re: cygwin and NTFS

2003-07-31 Thread Larry Hall
Oh, I see.  Did you try jiggering the fizzle?  How about
reconstructing the scrontz manually?  Hm, if that doesn't
do it, you're hosed.  You'll need a new computer to fix
this.
OR

You could visit  and follow
the instructions there so folks here have some idea what your
configuration is.  At least it would provide us with some basic
information on which to base further questions.
Larry

Menon, Girish (MED, WIPRO-GE MED) wrote:

Nope. That did not work.

-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: cygwin and NTFS

On Wed, 30 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote:


Does anybody know of any issues that cygwin 1.3.22 has with NTFS?

Here's what happened.

So far, I have been using cygwin 1.3.10 on NTFS with no problems. 
Recently, I upgraded cygwin to 1.3.22 and all of a sudden I am 
starting to get permission errors with NTFS. I then reloaded by system


and configured as FAT32 instead of NTFS. Now everything works fine. No


permission problems at all. So I reloaded with NTFS now. Now again, I 
am getting the permissions problems.


I can't remember exactly what version the behaviour changed but, Cygwin
went to 
ntsec off by default (your NTFS bliss) to ntsec on by default. So,
adding 
'nontsec' to your CYGWIN environment variable should fix that for you.

Elfyn

--
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: cygwin and NTFS

2003-07-31 Thread Pavel Rozenboim


> -Original Message-
> From: Menon, Girish (MED, WIPRO-GE MED) 
> [mailto:[EMAIL PROTECTED]
> Sent: Thu, July 31, 2003 1:50 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: cygwin and NTFS
> 
> 
> Nope. That did not work.

Did you set cygwin environment var, or windows variable?
You need to go to "My computer/Properties", "Advanced" tab and set
environment variable there, then re-run cygwin.

> 
> -Original Message-
> From: Elfyn McBratney [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: cygwin and NTFS
> 
> 
> On Wed, 30 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote:
> 
> > Does anybody know of any issues that cygwin 1.3.22 has with NTFS?
> > 
> > Here's what happened.
> > 
> > So far, I have been using cygwin 1.3.10 on NTFS with no problems. 
> > Recently, I upgraded cygwin to 1.3.22 and all of a sudden I am 
> > starting to get permission errors with NTFS. I then 
> reloaded by system
> 
> > and configured as FAT32 instead of NTFS. Now everything 
> works fine. No
> 
> > permission problems at all. So I reloaded with NTFS now. 
> Now again, I 
> > am getting the permissions problems.
> 
> I can't remember exactly what version the behaviour changed 
> but, Cygwin
> went to 
> ntsec off by default (your NTFS bliss) to ntsec on by default. So,
> adding 
> 'nontsec' to your CYGWIN environment variable should fix that for you.
> 
> Elfyn
> 
> -- 
> Elfyn McBratney, EMCB  |  http://www.nongnu.org/wwwauth/
> http://www.emcb.co.uk  |  http://www.emcb.co.uk/webauth/
> [EMAIL PROTECTED]   |  wwwauth-users AT nongnu DOT org
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 

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



Re: Developing with cygwin: library troubles

2003-07-31 Thread Larry Hall
Mischa wrote:

Hi

I want to develop a windows program that reads the GUID from a MSI package
with C. It was no problem to create an exe-file with gcc that runs on
non-cygwin platforms (with -mno-cygwin). My problem is the following:
I need several functions from the Msi.lib (included in Windows Installer
SDK). I've created a libMsi.a with dlltool and moved it to /lib/w32api/ and
linked my .o with -lmsi. Compiling and linking worked fine, but if i try to
run the exe, it want to load a Msi.lib as a Dynamic  Link Library.
I've tried to create a DLL from the Msi.lib but then an error appears that
the Function [EMAIL PROTECTED] could not be found.
I don't see the problem, perhaps it is the convert process from the Msi.lib
to the libmsi.a? Or is it impossible to use some function from a .lib-file?
Please help me, i'm desperate! :-)


Indeed.  Forgive me but I have no experience with the MSI toolkit.  Are
you suggesting that msi.lib that's provided with the toolkit is a static
library rather than an import library?  If so, you don't want to use
dlltool at all.  You should be able to just link against msi.lib if it's
a static library (actually you should be able to do this regardless).  If
msi.lib is an import library, then you must have given dlltool some wrong
information if it's trying to load it as the DLL.  There must be msi.dll
(or whatever DLL the import library has stubs for) somewhere.  That's
what you need to tell dlltool to use.  Still, that's likely to be allot
of work for nothing.  You should try just linking against msi.lib (or
even the DLL directly).
--
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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Joshua Daniel Franklin
> > On Wed, Jul 30, 2003 at 09:41:51PM -0500, Joshua Daniel Franklin wrote:
> > >backslash notation (\\COMPUTER\Printer Share), which must be escaped
> > >from shells such as bash (COMPUTER\\Printer Share).  If you have a
> > 
> > Rather than talk about escaping backslashes, why not just use
> > //computer/printer ?
> > 

On Wed, Jul 30, 2003 at 08:52:23PM -0700, Rick Rankin wrote:

> OK, so I need to read *all* my messages before replying...

That's alright, I didn't just miss this one, but the whole updated
lpr. I saw some posts in the last couple of months about updating your 
lpr in cygutils, but I thought it was just something still planned for 
the future. Hannu telling me to check the man page clued me in. It
had all the information I really needed.

Here's the update:

--BEGIN
There are several options for printing from Cygwin, including the
lpr found in cygutils (not to be confused with the native Windows
lpr.exe). The easiest way to use cygutils' lpr is to specify a default
device name in the PRINTER environment variable. You may also specify
a device on the command line with the -d or -P options, which will
override the environment variable setting. A device name may be a UNC
path (\\server_name\printer_name), a reserved DOS device name (prn,
lpt1), or a local port name that is mapped to a printer share. Note that
forward slashes may be used in a UNC path (//server_name/printer_name),
which is helpful when using lpr from a shell that uses the backslash as
an escape character. No formatting is done; data is sent raw. If your
printer supports PostScript, packages such as a2ps and enscript can
prepare text files for printing. The ghostscript package also provides
some translation from PostScript to various native printer languages
(a native Windows application for printing PostScript, gsprint, is
available from the GhostScript website).
--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: "Using Cygwin Effectively with Windows" -- Draft of new User' s Guide section

2003-07-31 Thread Joshua Daniel Franklin
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Joshua Daniel Franklin
> Sent: Wednesday, July 30, 2003 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: "Using Cygwin Effectively with Windows" -- Draft of new User's
> Guide section
> 
> 
> I've thrown together a prospective "Using Cygwin Effectively with
> Windows" 
> section for the User's Guide. 
> 
> If you'd like to look at it as a web page:
> 
> 
> I'm going to be leaving this broadband connection in under 48 hours, so
> I'll probably put this into CVS tomorrow (with any corrections) 
> unless there is a horrendous outcry against it. Then I'll be in and 
> out of contact for probably a(nother) couple of weeks while I move. 
> 
> Some things:
> --Q: Does anyone know of a page that lists command line configuration
> utilities included with Windows 95/98/ME vs. Windows NT4/2000/XP?
> 
> --FYI: There are links to outside sites like download.com, Hummingbird's
> free-beer SOCKS proxy, etc.
> 
> --Documentation of printing is sparse since I don't really do it much.
> Does anyone have extensive documentation of their complex setup?
> 
> --There's basically nothing on Java except a sample about translating
> the CLASSPATH to DOS format. I'm not sure what else to put in. There are
> no Cygwin-native java compilers, right? 
> 
> Thanks.
> Joshua Daniel Franklin

> -Original Message-
> From: Lisbeth Kellogg [mailto:[EMAIL PROTECTED]
> 
> I would suggest adding a section on the PATH environment and its use
> when invoking bash from DOS.
> 
On Thu, Jul 31, 2003 at 10:37:04AM +0200, Peter Ring wrote:
> I'd suggest adding a warning about potential name clashes between common
> Windows and GNU utilities, e.g. 'sort' and 'find'.
> 
> I've yet to find a completely safe and general way to avoid picking up
> /WINNT/system32/sort.exe rather than /usr/bin/sort, short of always
> asserting than /usr/bin is before /WINNT/system32/ (or wherever sort.exe
> would be) before invoking sort.
> 
> Even though you'd never ever need the DOS legacy sort.exe or find.exe, you
> can't just remove /WINNT/system32/sort.exe; on Win2K and WinXP; it will be
> resurrected within seconds by the system. So I've acquired a habit of 
> 
>   chmod -x /WINNT/system32/find.exe
>   chmod -x /WINNT/system32/sort.exe

OK. This make sense now. Also I read about Lisbeth's issues with shell
scripts. I believe this is one reason recommended best practice is to
specify the full path to binaries in scripts (/usr/bin/sort). I added
a sentence to the end of the introduction:

--BEGIN
A few Windows tools, such as find.exe and sort.exe, can conflict with the 
Cygwin versions; make sure that you use the full path (/usr/bin/find) or 
that your Cygwin bin directory comes first in your PATH.
--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: cygwin and NTFS

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 09:58:47AM -0400, Larry Hall wrote:
>Oh, I see.  Did you try jiggering the fizzle?  How about reconstructing
>the scrontz manually?  Hm, if that doesn't do it, you're hosed.  You'll
>need a new computer to fix this.

That's usually the best solution.  Either that or break the computer
down to component parts, wash them thoroughly and then reassemble.
Note that this will probably require a soldering iron and cold chisel
for maximum effectiveness.

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/



Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi 

I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
Service Pack 2), and I am having trouble with getting man pages. Here is
some output:

[EMAIL PROTECTED] ~
$ man man
/usr/bin/tbl: not found
/bin/cat: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
'/usr/man/man1/man.1'
; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
| /usr/
bin/less -isrR) exited with status 32512.
No manual entry for man

I have read the FAQ, and yes, I have ash installed. Trying the same from
a sh:

[EMAIL PROTECTED] ~
$ sh
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ man man
/usr/bin/tbl: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
'/usr/man/man1/man.1'
; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
| /usr/
bin/less -isrR) exited with status 32512.
No manual entry for man
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]

What do I have configured wrong?

Thanks,
Duane (see attached)



setup.log.full
Description: Binary data

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jul 31 10:51:46 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\PROGRA~1\COMMON~1\ADAPTE~1\System
c:\SQL60\BINN
c:\SQL60\DLL
c:\PROGRA~1\MICROS~3\Common\Tools\WinNT
c:\PROGRA~1\MICROS~3\Common\MSDev98\Bin
c:\PROGRA~1\MICROS~3\Common\Tools
c:\PROGRA~1\MICROS~3\VC98\bin
c:\jdk1.3.1_02\bin
c:\PROGRA~1\COMMON~1\GTK\2.0\lib
d:\Perl\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\PROGRA~1\COMMON~1\ADAPTE~1\System
c:\SQL60\BINN
c:\SQL60\DLL

D:\cygwin\bin\id.exe output (nontsec)
UID: 11054(duane)GID: 10513(mkgroup_l_d)
544(Administrators)  545(Users)   
10513(mkgroup_l_d)

D:\cygwin\bin\id.exe output (ntsec)
UID: 11054(duane)GID: 10513(mkgroup_l_d)
544(Administrators)  545(Users)   
10513(mkgroup_l_d)

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

CYGWIN = `tty notitle glob'
HOME = `c:\DOCUME~1\duane'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/DOCUME~1/duane'
USER = `duane'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   17359Mb  55% CP CS UN PA FC 
d:  hd  NTFS   17359Mb  59% CP CS UN PA FC 
e:  cd   N/AN/A
h:  net NTFS   69463Mb  97% CP CS UN PA FC 
i:  net NTFS4999Mb 100% CP CS UN PA FC 
j:  net CDFS 546Mb 100%CS UN   Carr Lane Catalo
k:  net NTFS1024Mb  25% CP CS UN PAHOME3
l:  net NTFS   69463Mb  97% CP CS UN PA FC 
p:  net FAT172172Mb  96% CP Large data protection disk
q:  net FAT172172Mb  96% CP Large data protection disk
s:  net NTFS   69463Mb  97% CP CS UN PA FC 
t:  net NTFS   69461Mb  63% CP CS UN PA FC 
x:  net NTFS   69463Mb  97% CP CS UN PA FC 

D:\cygwin  /  system  binmode
D:\cygwin/bin  /usr/bin   system  binmode
D:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\mv.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe

   58k 2002/05/07 D:\cygwin\bin\cygbz2-1.dll
   13k 2003/06/18 D:\cygwin\bin\cygcharset-1.dll
  848k 2003/04/11 D:\cygwin\bin\cygcrypto-0.9.7.dll
  645k 2003/04/11 D:\cygwin\bin\cygcrypto.dll
  551k 2003/04/02 D:\cygwin\bin\cygcurl-2.dll
  380k 2002/07/24 D:\cygwin\bin\cygdb-3.1.dll
  487k 2002/07/24 D:\cygwin\bin\cygdb_cxx-3.1.dll
  135k 2003/04/13 D:\cygwin\bin\cygexpat-0.dll
   61k 2003/06/10 D:\cygwin\bin\cygexslt-0.dll
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll
   76k 2003/03/09 D:\cygwin\bin\cygform7.dll
   28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll
   30k 2003/07/26 D:\cygwin\bin\cyggdbm-4.dll
   19k 2003/03/22 D:\cygwin\bin\cyggdbm.dll
   15k 2003/07/20 D:\cygwin\bin\cyggdbm_compat-3.dll
   15k 2003/07/26 D:\cygwin\bin\cyggdbm_compat-4.dll
   69k 2003/07/13 D:\cygwin\bin\cyggettextlib-0-12-1.dll
   12k 2003/07/13 D:\cygwin\bin\cyggettextpo-0.dll
  134k 2003/07/13 D:\cygwin\bin\cyggettextsrc-0-12-1.dll
  490k 2002/09/21 D:\cygwin\bin\cygguile-12.dll
   63k 2002/09/21

Re: Problems with man

2003-07-31 Thread Larry Hall
Kaufman, Duane (MED, LUNAR) wrote:

Hi 

I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
Service Pack 2), and I am having trouble with getting man pages. Here is
some output:
[EMAIL PROTECTED] ~
$ man man
/usr/bin/tbl: not found
/bin/cat: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
'/usr/man/man1/man.1'
; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
| /usr/
bin/less -isrR) exited with status 32512.
No manual entry for man
I have read the FAQ, and yes, I have ash installed. Trying the same from
a sh:
[EMAIL PROTECTED] ~
$ sh
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ man man
/usr/bin/tbl: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
'/usr/man/man1/man.1'
; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
| /usr/
bin/less -isrR) exited with status 32512.
No manual entry for man
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
What do I have configured wrong?
This looks like a permission problem but there's nothing obviously wrong
from your setup log or cygwcheck output.  Can you invoke any of these
directly from bash without problems?  What do the ownerships look like
on these files?  What does 'getfacl' say for these files?
--
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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Joshua Daniel Franklin

> On Wed, Jul 30, 2003 at 06:20:37PM -0400, Christopher Faylor wrote:
> > My comments:
> >
> > Please don't suggest that setting CYGWIN=tty is necessary for running
> > rxvt.  The only reason to set CYGWIN=tty is if you are running bash
> > in a standard command window.
>
> Here's the updated wording for that:
> --BEGIN--
> To help deal with these issues, Cygwin supports customizable levels of
> Windows verses Unix compatibility behavior. To be most compatible with
> Windows programs, use a DOS prompt, running only the occasional Cygwin
> command or script. Next would be to run bash with the default DOS box. To
> make Cygwin more Unix compatible in this case, set CYGWIN=tty (see the
> section called The CYGWIN environment variable). Alternatively, rxvt,
> an optional package available from setup.exe, provides a native-Windows
> version of the popular X11 terminal emulator. Using rxvt.exe provides
> the most Unix-like environment, but expect some compatibility problems
> with Windows programs.

Maybe add somthing like:
  Once again, having "CYGWIN=tty" isn't meaningful when running rxvt.
here at the end - just to emphasize it.

> --END--

 There might be a better wording for it. I strongly believe that it is
better
to have a _slight_ redundancy in text like this.


Oh... The paragraph about .lnk-files (included below for ref.):
The sentences "feels" long and winding with many commas (,) - this usually
tends to make it harder to read and understand.

NOTE: I'm not saying they actually are - the "feel" is essential here.
I'm not that clear over where my disappointment is, just got a feel about it
;-)

Might be better to try to split the long and winding things into shorter
versions.
Might be just enough to split the paragraph into _several, smaller_
paragraphs
- with a bright and clear "paragraph headline" on top of all of them.
 I'm not saying this is easy, but might be worth the effort to try.

Expected result of rephrasing: Less questions from users.

 I'm not here to tell you what to write - just to give you the impression I
got while reading the text. In hope that this helps create good wording.

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E


--
> --BEGIN--
> Another problem area is between Unix-style links, which link one file
> to another, and Microsoft .lnk files, which provide a shortcut to a
> file. They seem similar at first glance but, in reality, are fairly
> different. While cygwin uses standard Microsoft .lnk files as its
> default symlink mechanism, it does not include much of the information
> that is available in a standard Microsoft .lnk file, such as the working
> directory, an icon, etc. If Cygwin would handle these native shortcuts
> like any other symlink, you could not archive Microsoft .lnk files into
> tar archives and keep all the information in them. After unpacking,
> these shortcuts would be no different than standard Cygwin symlinks,
> so they would have lost all the extra information. Therefore these two
> types of links are treated differently. Unfortunately, this means that
> the usual Unix way of creating and using symlinks does not work with
> Windows shortcuts. The cygutils package includes a mkshortcut utility
> for creating standard Microsoft .lnk shortcuts.
> --END--
--

--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: "Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Joshua Daniel Franklin

> On Wed, Jul 30, 2003 at 11:56:15PM +0200, Hannu E K Nevalainen wrote:
> > > From: Joshua Daniel Franklin
> >
> > > I've thrown together a prospective "Using Cygwin Effectively with
> > > Windows" section for the User's Guide.
> > >
> > > If you'd like to look at it as a web page:
> > > 
> >
> > In the next to last paragraph there is a strange thing ;-)
> >  "Therefore these two types of links differently."
>
> Good catch.

 =-)

> > > Some things:
> > --8<--
> > > --Documentation of printing is sparse since I don't really do it much.
> > > Does anyone have extensive documentation of their complex setup?
> >
> >  I'd say stay basic: i.e. tell that:  (This is quickly sribbled
> text, take
> > heed!)
>
> OK, here is the updated section:
>
> --BEGIN
> There are several options for printing from Cygwin, including the
> native Windows lpr.exe, and the simlple lpr found in cygutils.
> The cygutils version will print to the printer definted in your
> PRINTER environment variable. It also accepts network printer
> names in backslash notation (\\COMPUTER\Printer Share), which
> must be escaped from shells such as bash (COMPUTER\\Printer
> Share). If you have a command in a script such that it may be
> processed twice by the shell, you may need to double-escape the
> name (COMPUTERPrinter Share).

 Have you had a look at "man lpr" ?  //computer/printer, and LPTn:
is stated to be supported. Success may vary as it seems - I currently
have a setup where LPT1: does strange things. Can't tell whether it
is cygwin, my (old and slow) computer - or a combination.

> Note that lpr does no
> conversion of data; the printer must recognize the format of the
> data that is sent to it. Failing to do so will make the printer
> do random things, hang, or ignore the input. If your printer
> supports PostScript, packages such as a2ps and enscript can
> prepare text files for printing. The ghostscript package also
> provides some translation from PostScript to various native
> printer languages.
> --END

 Someone else pointed out that there are printers that _do_ accept
pure text file contents.
 e.g. I do know for sure that old matrix printers this by default. IIRC this
also applies to "PCL" printers (e.g. HP Laserjet 4L).

I have one that doesn't fit into that category though (old HP Deskjet 720C)
and my experience is that one should expect PS-printers to be the same.


> > Hannu E K Nevalainen (garbage mail) wrote:
>
> By the way, why not just set your reply address to [EMAIL PROTECTED] instead
> of the garbage? (Unless your real address *is* [EMAIL PROTECTED])

 It is a fully functional email-address, BUT expect it to change without
notice!
I will change it as soon as I feel that the spam amount is too large. I use
it
for some mailing lists and for filling in "unavoidable" forms on the web.
 It has been in use some time and just recently begun to be subject for
spam.
So far just some, but it might not be long before harmageddon.

 As to setting reply-to... As I use it for several other things it might not
be a good idea. Though I have not checked upon it, I do expect MS Outlook to
NOT be able to differentiate behaviour based on what the "To:" field
contains.
(Maybe some "Macro" stuff could be used for this... :-7)

FYI wrt SPAM: This is a pdf from some "Center for democracy & Technology" -
I do not
know who or what they are, but it seems (from a glance) to be a sensible
text:
 http://www.visi.com/~rwglynn/030319spamreport.pdf

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E
--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: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi,
Thanks for the response!
> 
> > I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
> > Service Pack 2), and I am having trouble with getting man 
> pages. Here is
> > some output:
> > 
> > [EMAIL PROTECTED] ~
> > $ man man
> > /usr/bin/tbl: not found
> > /bin/cat: not found
> > /usr/bin/nroff: not found
> > /usr/bin/less: not found
> > Error executing formatting or display command.
> > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > '/usr/man/man1/man.1'
> > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> > | /usr/
> > bin/less -isrR) exited with status 32512.
> > No manual entry for man
> > 
> > I have read the FAQ, and yes, I have ash installed. Trying 
> the same from
> > a sh:
> > 
> > [EMAIL PROTECTED] ~
> > $ sh
> > \[\033]0;\w\007
> > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> > $ man man
> > /usr/bin/tbl: not found
> > /usr/bin/nroff: not found
> > /usr/bin/less: not found
> > Error executing formatting or display command.
> > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > '/usr/man/man1/man.1'
> > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> > | /usr/
> > bin/less -isrR) exited with status 32512.
> > No manual entry for man
> > \[\033]0;\w\007
> > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> > 
> > What do I have configured wrong?
> 
> This looks like a permission problem but there's nothing 
> obviously wrong
> from your setup log or cygwcheck output.  Can you invoke any of these
> directly from bash without problems?  What do the ownerships look like
> on these files?  What does 'getfacl' say for these files?
>
Oddly enough, I can invoke the entire 'System command' from above in
bash, and it works...but even /bin/cat doesn't work from sh.

Below is the output from getfacl:
# file: /usr/bin/tbl
# owner: Administrators
# group: mkgroup_l_d
user::---
group::---
mask:rwx
other:---

# file: /bin/cat
# owner: Administrators
# group: mkgroup_l_d
user::---
group::---
mask:rwx
other:---

# file: /usr/bin/nroff
# owner: Administrators
# group: mkgroup_l_d
user::---
group::---
mask:rwx
other:---

# file: /usr/bin/less
# owner: Administrators
# group: mkgroup_l_d
user::---
group::---
mask:rwx
other:--- 
> -- 
> 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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 06:35:27PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>> Of Joshua Daniel Franklin
>
>> On Wed, Jul 30, 2003 at 06:20:37PM -0400, Christopher Faylor wrote:
>> > My comments:
>> >
>> > Please don't suggest that setting CYGWIN=tty is necessary for running
>> > rxvt.  The only reason to set CYGWIN=tty is if you are running bash
>> > in a standard command window.
>>
>> Here's the updated wording for that:
>> --BEGIN--
>> To help deal with these issues, Cygwin supports customizable levels of
>> Windows verses Unix compatibility behavior. To be most compatible with
>> Windows programs, use a DOS prompt, running only the occasional Cygwin
>> command or script. Next would be to run bash with the default DOS box. To
>> make Cygwin more Unix compatible in this case, set CYGWIN=tty (see the
>> section called The CYGWIN environment variable). Alternatively, rxvt,
>> an optional package available from setup.exe, provides a native-Windows
>> version of the popular X11 terminal emulator. Using rxvt.exe provides
>> the most Unix-like environment, but expect some compatibility problems
>> with Windows programs.
>
>Maybe add somthing like:
>  Once again, having "CYGWIN=tty" isn't meaningful when running rxvt.
>here at the end - just to emphasize it.

I agree.  You could even add that it would just add CPU processing
overhead to rxvt for no gain.

cgf

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



Re: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 11:38:35AM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>Oddly enough, I can invoke the entire 'System command' from above in
>bash, and it works...but even /bin/cat doesn't work from sh.

That would imply that your /bin/sh.exe was suspect.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi,
> 
> On Thu, Jul 31, 2003 at 11:38:35AM -0500, Kaufman, Duane 
> (MED, LUNAR) wrote:
> >Oddly enough, I can invoke the entire 'System command' from above in
> >bash, and it works...but even /bin/cat doesn't work from sh.
> 
> That would imply that your /bin/sh.exe was suspect.

And how does one go about fixing something that _appears_ correct? BTW,
I have tries re-installing ash.

Thanks,
Duane

> --
> Please use the resources at cygwin.com rather than sending 
> personal email.
> Special for spam email harvesters: send email to 
> [EMAIL PROTECTED]
> and be permanently blocked from mailing lists at sources.redhat.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/
> 

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



RE: Problems with man

2003-07-31 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Larry Hall

> Kaufman, Duane (MED, LUNAR) wrote:
>
> > Hi
> >
> > I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
> > Service Pack 2), and I am having trouble with getting man pages. Here is
> > some output:
> >

 Is it bash you're running below here?

> > [EMAIL PROTECTED] ~
> > $ man man
> > /usr/bin/tbl: not found
> > /bin/cat: not found
> > /usr/bin/nroff: not found
> > /usr/bin/less: not found
> > Error executing formatting or display command.
> > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > '/usr/man/man1/man.1'
> > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
> > | /usr/
> > bin/less -isrR) exited with status 32512.
> > No manual entry for man
> >
> > I have read the FAQ, and yes, I have ash installed. Trying the same from
> > a sh:
> >
> > [EMAIL PROTECTED] ~
> > $ sh
> > \[\033]0;\w\007
> > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]

 IIRC the default "sh" is the same as "ash" which in turn is a very
_cutdown_ build. It is included just for "install script" stuff.

 Please, do correct me if I'm wrong!

I'd reccommend using /bin/bash based on these facts. Unless you plan to go
and recompile "sh" or "ash" yourself.

> > $ man man
> > /usr/bin/tbl: not found
> > /usr/bin/nroff: not found
> > /usr/bin/less: not found
> > Error executing formatting or display command.
> > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > '/usr/man/man1/man.1'
> > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
> > | /usr/
> > bin/less -isrR) exited with status 32512.
> > No manual entry for man
> > \[\033]0;\w\007
> > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> >
> > What do I have configured wrong?
>
> This looks like a permission problem but there's nothing obviously wrong
> from your setup log or cygwcheck output.  Can you invoke any of these
> directly from bash without problems?  What do the ownerships look like
> on these files?  What does 'getfacl' say for these files?

 Might this be about not running bash, but something else?

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E
--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: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi,
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf
> > Of Larry Hall
> 
> > Kaufman, Duane (MED, LUNAR) wrote:
> >
> > > Hi
> > >
> > > I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
> > > Service Pack 2), and I am having trouble with getting man 
> pages. Here is
> > > some output:
> > >
> 
>  Is it bash you're running below here?
>
Yep, and the errors occur down in the innards of the 'man' command. I
(perhaps naively) assumed 'man' was using sh for its internal affairs,
because running those same commands in bash, work.
 
> > > [EMAIL PROTECTED] ~
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /bin/cat: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > >
> > > I have read the FAQ, and yes, I have ash installed. 
> Trying the same from
> > > a sh:
> > >
> > > [EMAIL PROTECTED] ~
> > > $ sh
> > > \[\033]0;\w\007
> > > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> 
>  IIRC the default "sh" is the same as "ash" which in turn is a very
> _cutdown_ build. It is included just for "install script" stuff.
> 
>  Please, do correct me if I'm wrong!
> 
> I'd reccommend using /bin/bash based on these facts. Unless 
> you plan to go
> and recompile "sh" or "ash" yourself.
>
Even if I use bash for the 'man' command, 'man' seems to want to use sh,
which isn't working correctly.
 
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > > \[\033]0;\w\007
> > > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> > >
> > > What do I have configured wrong?
> >
> > This looks like a permission problem but there's nothing 
> obviously wrong
> > from your setup log or cygwcheck output.  Can you invoke 
> any of these
> > directly from bash without problems?  What do the 
> ownerships look like
> > on these files?  What does 'getfacl' say for these files?
> 
>  Might this be about not running bash, but something else?
>
Sorry, I don't quite understand this bit.

Thanks,
Duane
 
> /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 
> 59?14'N, 17?12'E
> --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/
> 

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



Re: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 11:53:53AM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>Hi,
>> 
>> On Thu, Jul 31, 2003 at 11:38:35AM -0500, Kaufman, Duane 
>> (MED, LUNAR) wrote:
>> >Oddly enough, I can invoke the entire 'System command' from above in
>> >bash, and it works...but even /bin/cat doesn't work from sh.
>> 
>> That would imply that your /bin/sh.exe was suspect.
>
>And how does one go about fixing something that _appears_ correct? BTW,
>I have tries re-installing ash.

To me, this implies that you are not running the /bin/sh that you think
you're running.  Do you have more than one copy of sh.exe on your
system?

Have you tried:

c:\>
c:\>d:\cygwin\bin\sh
$ /bin/cat /etc/passwd

?
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 12:03:03PM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>> > From: [EMAIL PROTECTED]  On Behalf Of Larry Hall
>>>Kaufman, Duane (MED, LUNAR) wrote:
>>>
I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
Service Pack 2), and I am having trouble with getting man pages.  Here
is some output:

>>
>>Is it bash you're running below here?
>>
>Yep, and the errors occur down in the innards of the 'man' command.  I
>(perhaps naively) assumed 'man' was using sh for its internal affairs,
>because running those same commands in bash, work.

You weren't naive in assuming this.  There are a lot of scripts out
there which begin with /bin/sh.  They are obviously supposed to work
within the limits of bourne shell (v1?) syntax.  ash hasn't been
stripped down so much that it doesn't understand cygwin paths.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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/



vnc under cygwin

2003-07-31 Thread Mihai Gheorghiu
I want to install vnc under cygwin.
I found a message posted on 03/23/03, but I would like to know if there are
any new developments or if there is a URL where I can get more guidance.
Thank you all.


--
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: "Using Cygwin Effectively with Windows" -- Draft of new User' s Guide section

2003-07-31 Thread Lisbeth Kellogg
I think it would be appropriate to discuss --login also.

---
Lisbeth Kellogg
Office: 651-675-2610
 

-Original Message-
From: Joshua Daniel Franklin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 10:44 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: "Using Cygwin Effectively with Windows" -- Draft of new
User' s Guide section


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Joshua Daniel Franklin
> Sent: Wednesday, July 30, 2003 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: "Using Cygwin Effectively with Windows" -- Draft of new 
> User's Guide section
> 
> 
> I've thrown together a prospective "Using Cygwin Effectively with 
> Windows" section for the User's Guide.
> 
> If you'd like to look at it as a web page: 
> 
> 
> I'm going to be leaving this broadband connection in under 48 hours, 
> so I'll probably put this into CVS tomorrow (with any corrections) 
> unless there is a horrendous outcry against it. Then I'll be in and 
> out of contact for probably a(nother) couple of weeks while I move.
> 
> Some things:
> --Q: Does anyone know of a page that lists command line configuration 
> utilities included with Windows 95/98/ME vs. Windows NT4/2000/XP?
> 
> --FYI: There are links to outside sites like download.com, 
> Hummingbird's free-beer SOCKS proxy, etc.
> 
> --Documentation of printing is sparse since I don't really do it much.

> Does anyone have extensive documentation of their complex setup?
> 
> --There's basically nothing on Java except a sample about translating 
> the CLASSPATH to DOS format. I'm not sure what else to put in. There 
> are no Cygwin-native java compilers, right?
> 
> Thanks.
> Joshua Daniel Franklin

> -Original Message-
> From: Lisbeth Kellogg [mailto:[EMAIL PROTECTED]
> 
> I would suggest adding a section on the PATH environment and its use 
> when invoking bash from DOS.
> 
On Thu, Jul 31, 2003 at 10:37:04AM +0200, Peter Ring wrote:
> I'd suggest adding a warning about potential name clashes between 
> common Windows and GNU utilities, e.g. 'sort' and 'find'.
> 
> I've yet to find a completely safe and general way to avoid picking up

> /WINNT/system32/sort.exe rather than /usr/bin/sort, short of always 
> asserting than /usr/bin is before /WINNT/system32/ (or wherever 
> sort.exe would be) before invoking sort.
> 
> Even though you'd never ever need the DOS legacy sort.exe or find.exe,

> you can't just remove /WINNT/system32/sort.exe; on Win2K and WinXP; it

> will be resurrected within seconds by the system. So I've acquired a 
> habit of
> 
>   chmod -x /WINNT/system32/find.exe
>   chmod -x /WINNT/system32/sort.exe

OK. This make sense now. Also I read about Lisbeth's issues with shell
scripts. I believe this is one reason recommended best practice is to
specify the full path to binaries in scripts (/usr/bin/sort). I added a
sentence to the end of the introduction:

--BEGIN
A few Windows tools, such as find.exe and sort.exe, can conflict with
the 
Cygwin versions; make sure that you use the full path (/usr/bin/find) or

that your Cygwin bin directory comes first in your PATH.
--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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Rick Rankin

--- Joshua Daniel Franklin <[EMAIL PROTECTED]> wrote:
> > > On Wed, Jul 30, 2003 at 09:41:51PM -0500, Joshua Daniel Franklin wrote:
> > > >backslash notation (\\COMPUTER\Printer Share), which must be escaped
> > > >from shells such as bash (COMPUTER\\Printer Share).  If you have a
> > > 
> > > Rather than talk about escaping backslashes, why not just use
> > > //computer/printer ?
> > > 
> 
> On Wed, Jul 30, 2003 at 08:52:23PM -0700, Rick Rankin wrote:
> 
> > OK, so I need to read *all* my messages before replying...
> 
> That's alright, I didn't just miss this one, but the whole updated
> lpr. I saw some posts in the last couple of months about updating your 
> lpr in cygutils, but I thought it was just something still planned for 
> the future. Hannu telling me to check the man page clued me in. It
> had all the information I really needed.
> 
> Here's the update:
> 
> --BEGIN
> There are several options for printing from Cygwin, including the
> lpr found in cygutils (not to be confused with the native Windows
> lpr.exe). The easiest way to use cygutils' lpr is to specify a default
> device name in the PRINTER environment variable. You may also specify
> a device on the command line with the -d or -P options, which will
> override the environment variable setting. A device name may be a UNC
> path (\\server_name\printer_name), a reserved DOS device name (prn,
> lpt1), or a local port name that is mapped to a printer share. Note that
> forward slashes may be used in a UNC path (//server_name/printer_name),
> which is helpful when using lpr from a shell that uses the backslash as
> an escape character. No formatting is done; data is sent raw. If your
> printer supports PostScript, packages such as a2ps and enscript can
> prepare text files for printing. The ghostscript package also provides
> some translation from PostScript to various native printer languages
> (a native Windows application for printing PostScript, gsprint, is
> available from the GhostScript website).
> --END
> 

This looks OK to me.

--Rick

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



using a dll created by cygwin in msvc++

2003-07-31 Thread Jérôme DESPATIS
i've created a .dll with cygwin

i'd like now to create a simple program under msvc++
that use functions of this dll

when i compile my very simple program, i get those
errors at link step: unresolved external symbol _foo
where foo is a function of my dll

so how can i use this dll in my program ? maybe a
foo.lib is missing (is there a way to create it from a
dll ?), or maybe is there another way to do so ?

thanks
enzo


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.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: "Using Cygwin Effectively with Windows" -- Draft of new User' s Guide section

2003-07-31 Thread Joshua Daniel Franklin
On Thu, Jul 31, 2003 at 12:25:57PM -0500, Lisbeth Kellogg wrote:
> I think it would be appropriate to discuss --login also.

Sorry, but customizing bash is already discussed here:



This new section is about Windows, not bash. It is true that using
bash --login helped solve your original problem, but there are equally
good solutions that do not require customizing bash that I mention
(like using bash -c '/bin/sort'). I don't see how a discussion about 
using --login and changing the PATH in .profile pertains to this
since it is alrady mentioned elsewhere.
If you disagree, please provide a sample paragraph that makes the 
connection clear and I'd be happy to take a look at it.

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



Re: using a dll created by cygwin in msvc++

2003-07-31 Thread Larry Hall
Jérôme DESPATIS wrote:

i've created a .dll with cygwin

i'd like now to create a simple program under msvc++
that use functions of this dll
when i compile my very simple program, i get those
errors at link step: unresolved external symbol _foo
where foo is a function of my dll
so how can i use this dll in my program ? maybe a
foo.lib is missing (is there a way to create it from a
dll ?), or maybe is there another way to do so ?


You need an import library to link against, yes.  See
 for instructions
on building DLLs and import libraries with Cygwin.  Keep in
mind that if you're using cygwin1.dll in your resulting DLL
(i.e. you're not using the '-mno-cygwin' flag for gcc) then
you may end up with 2 C runtimes in your final executable.
See the FAQ and 
for some information on this.  There's plenty more in the email
archives too if you're interested.
--
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: "Using Cygwin Effectively with Windows" -- Draft of new User'sGuide section

2003-07-31 Thread Andrew DeFaria
Joshua Daniel Franklin wrote:

--BEGIN
There are several options for printing from Cygwin, including the 
native Windows lpr.exe, and the simlple lpr found in cygutils. The 
cygutils version will print to the printer definted in your PRINTER 
environment variable. It also accepts network printer names in 
backslash notation (\\COMPUTER\Printer Share), which must be escaped 
from shells such as bash (COMPUTER\\Printer Share). If you have a 
command in a script such that it may be processed twice by the shell, 
you may need to double-escape the name (COMPUTERPrinter 
Share). Note that lpr does no conversion of data; the printer must 
recognize the format of the data that is sent to it. Failing to do so 
will make the printer do random things, hang, or ignore the input. If 
your printer supports PostScript, packages such as a2ps and enscript 
can prepare text files for printing. The ghostscript package also 
provides some translation from PostScript to various native printer 
languages.
--END
Why not just use //COMPUTER/Printer Share and avoid the issue entirely?



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


ncurses and terminal definitions

2003-07-31 Thread Terry Dabbs

I've been using gcc to compile some simple applications for NT win98 and
win95 for automating machinery. I have a problem on one screen where you
can't read the command.com screen (windows98) clearly, so I loaded
ncurses, redid the application so it the text is very bright and
colorful even on the poor screen. Very nice.
The problem is, I was up to now only needing to place the cygwin1.dll on
each machine I put a program on, and that's all, with the exception of
the executable and miscellaneous setup files. I thought I would only
have to place the cygncurses7.dll on the machines as well.
I moved the executable and placed cygncurses7.dll on a machine, tried
it, and got "Error opening terminal: cygwin". I read references to this
in the mailing lists, which say do an "install" on each machine with
multiple packages using setup.
For a number of reasons I wish to avoid this, the least of which is they
are not on the net.
What is the least amount of files I need, and where should I put them
for ncurses to identify the terminal on the machines I need to put my
executable? Can you help?

Thanks

Terry Dabbs


--
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: guile-1.6.4-2, NEW: libguile12abi13-1.6.4-2

2003-07-31 Thread Jan Nieuwenhuizen

The guile package has been updated to the new upstream version
1.6.4-2.  This should fix some small problems and speed should be
better.

This IS NOT a 64bit, cygwin-1.5 test release.  It is a cygwin-1.3.22
release; upgrade now.  The libguile DLL has a new name; the main
purpose of this release is to prepare for cygwin-1.5.


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


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link on
the http://www.cygwin.com/ web page.  This downloads setup.exe
to your system.

Run setup and answer all of the questions.  Note that you can
no longer download directly from sources.redhat.com; use a
mirror.  The mirrors below have the latest version of this
package:

ftp://mirrors.rcn.net/pub/sourceware/cygwin/ (US)
ftp://linux.sarang.net/mirror/development/compiler/cygwin/ (Korea)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin (UK)

The setup.exe program will figure out what needs to be updated on your
system and should install the guile package automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly. This includes
ideas and comments about the setup utility or Cygwin general.

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

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want 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/



Re: ncurses and terminal definitions

2003-07-31 Thread Larry Hall
Terry Dabbs wrote:

I've been using gcc to compile some simple applications for NT win98 and
win95 for automating machinery. I have a problem on one screen where you
can't read the command.com screen (windows98) clearly, so I loaded
ncurses, redid the application so it the text is very bright and
colorful even on the poor screen. Very nice.
The problem is, I was up to now only needing to place the cygwin1.dll on
each machine I put a program on, and that's all, with the exception of
the executable and miscellaneous setup files. I thought I would only
have to place the cygncurses7.dll on the machines as well.
I moved the executable and placed cygncurses7.dll on a machine, tried
it, and got "Error opening terminal: cygwin". I read references to this
in the mailing lists, which say do an "install" on each machine with
multiple packages using setup.
For a number of reasons I wish to avoid this, the least of which is they
are not on the net.
What is the least amount of files I need, and where should I put them
for ncurses to identify the terminal on the machines I need to put my
executable? Can you help?


It's just looking for the 'cygwin' terminal database.  You can find that
in /usr/share/terminfo/c/cygwin.
--
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: ncurses and terminal definitions

2003-07-31 Thread Terry Dabbs
Larry,

I just copied the path so the file is c:\usr\share\terminfo\c\cygwin directly
from the machine I compile with. This does work, and cygwin, yet again, has
made my little project happier. I do note that the laptop running win98 I
tried this on took a good 20 seconds to give up the terminal to the program.
Is this just because the lap top is slow (it is...) or is win98 simply that
poor compared to NT in performance. The delay on NT, if any, is not
perceptable

Thanks,

Terry Dabbs

Larry Hall wrote:

> Terry Dabbs wrote:
>
> > I've been using gcc to compile some simple applications for NT win98 and
> > win95 for automating machinery. I have a problem on one screen where you
> > can't read the command.com screen (windows98) clearly, so I loaded
> > ncurses, redid the application so it the text is very bright and
> > colorful even on the poor screen. Very nice.
> > The problem is, I was up to now only needing to place the cygwin1.dll on
> > each machine I put a program on, and that's all, with the exception of
> > the executable and miscellaneous setup files. I thought I would only
> > have to place the cygncurses7.dll on the machines as well.
> > I moved the executable and placed cygncurses7.dll on a machine, tried
> > it, and got "Error opening terminal: cygwin". I read references to this
> > in the mailing lists, which say do an "install" on each machine with
> > multiple packages using setup.
> > For a number of reasons I wish to avoid this, the least of which is they
> > are not on the net.
> > What is the least amount of files I need, and where should I put them
> > for ncurses to identify the terminal on the machines I need to put my
> > executable? Can you help?
>
> It's just looking for the 'cygwin' terminal database.  You can find that
> in /usr/share/terminfo/c/cygwin.
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


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



postgresql, cygwin newbie, issues

2003-07-31 Thread Michael Teter
Howdy.

I and to run PostgreSQL on Cygwin.  I've found a few differing "guides" of how
to do this, but I'm unable to get any to fit my situation.

I have CYGWIN_NT-5.1 with "all" packages downloaded and installed.  I'm
running XP Pro SP1.  Guides I've found for Postgres+Cygwin tell of running
ipc-daemon, then starting postgres.

I found ipc-daemon2 in the cygipc package (which had to be specifically
selected in cygwin setup, despite my having specified during install that I
wanted everything.

THE PROBLEM: when I run ipc-daemon2, I get a windows error dialog that states:
Title: ipc-daemon2.exe - Entry Point Not Found
Body: The procedure entry point __getreent could not be located in the dynamic
link library cygwin1.dll.

Suggestions?

Incidentally, I find it odd that Postgres is included in Cygwin when it can't
be used, or not without seeking out external packages.

Thanks for any help or pointers to information.

Michael




__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.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/



[ANNOUNCEMENT] Updated: lilypond-1.6.11-1

2003-07-31 Thread Jan Nieuwenhuizen

The lilypond package has been updated to the new upstream version
1.6.11-1.  A number of small problems have been fixed, see the
ChangeLog for details.

This IS NOT a 64bit, cygwin-1.5 test release.  It is a cygwin-1.3.22
release; upgrade now.  The main purpose of this release is to prepare
for cygwin-1.5.

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


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link on
the http://www.cygwin.com/ web page.  This downloads setup.exe
to your system.

Run setup and answer all of the questions.  Note that you can
no longer download directly from sources.redhat.com; use a
mirror.  The mirrors below have the latest version of this
package:

ftp://mirrors.rcn.net/pub/sourceware/cygwin/ (US)
ftp://linux.sarang.net/mirror/development/compiler/cygwin/ (Korea)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin (UK)

The setup.exe program will figure out what needs to be updated on your
system and should install the lilypond package automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly. This includes
ideas and comments about the setup utility or Cygwin general.

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

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want 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/



RE: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hello,
> 
> On Thu, Jul 31, 2003 at 11:53:53AM -0500, Kaufman, Duane 
> (MED, LUNAR) wrote:
> >Hi,
> >> 
> >> On Thu, Jul 31, 2003 at 11:38:35AM -0500, Kaufman, Duane 
> >> (MED, LUNAR) wrote:
> >> >Oddly enough, I can invoke the entire 'System command' 
> from above in
> >> >bash, and it works...but even /bin/cat doesn't work from sh.
> >> 
> >> That would imply that your /bin/sh.exe was suspect.
> >
> >And how does one go about fixing something that _appears_ 
> correct? BTW,
> >I have tries re-installing ash.
> 
> To me, this implies that you are not running the /bin/sh that 
> you think
> you're running.  Do you have more than one copy of sh.exe on your
> system?
>
I did a search of the system, no other sh-s to be found.
 
> Have you tried:
> 
> c:\>
> c:\>d:\cygwin\bin\sh
> $ /bin/cat /etc/passwd
>
I have now:
C:\>d:\cygwin\bin\sh
$ /bin/cat /etc/passwd
/bin/cat: not found
$

Looks to be the same as within cygwin.

Thanks,
Duane
 
> ?
> --
> Please use the resources at cygwin.com rather than sending 
> personal email.
> Special for spam email harvesters: send email to 
> [EMAIL PROTECTED]
> and be permanently blocked from mailing lists at sources.redhat.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/
> 

--
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: ncurses and terminal definitions

2003-07-31 Thread Larry Hall
Hi Terry,

Don't know exactly what accounts for the performance drain you see with
98.  Like you say, could be just a slow machine.  You'd have to debug it
to know for sure.
One point.  /usr/share/terminfo/c/cygwin == c:\usr\share\terminfo\c\cygwin
only if the Cygwin root mount point (/) == c:\.  As you can see, you get
this for free if your current drive is c: but that's not guaranteed.  You
may want to add one step and one binary to your installation procedure.
That is, after plopping the files down where you want them, invoke the
following:
  mount -s c:/ /

This will require privileges to write to the system hive of the registry.
If you don't have this right or can't get it, you can omit the '-s' flag,
but the mount will only be available for the current user.  You will need
to repeat the command (minus the '-s') for all the users that need your
application on that machine.  You don't need to leave 'mount' on the
machine after installation.
Larry



Terry Dabbs wrote:

Larry,

I just copied the path so the file is c:\usr\share\terminfo\c\cygwin directly
from the machine I compile with. This does work, and cygwin, yet again, has
made my little project happier. I do note that the laptop running win98 I
tried this on took a good 20 seconds to give up the terminal to the program.
Is this just because the lap top is slow (it is...) or is win98 simply that
poor compared to NT in performance. The delay on NT, if any, is not
perceptable
Thanks,

Terry Dabbs

Larry Hall wrote:


Terry Dabbs wrote:


I've been using gcc to compile some simple applications for NT win98 and
win95 for automating machinery. I have a problem on one screen where you
can't read the command.com screen (windows98) clearly, so I loaded
ncurses, redid the application so it the text is very bright and
colorful even on the poor screen. Very nice.
The problem is, I was up to now only needing to place the cygwin1.dll on
each machine I put a program on, and that's all, with the exception of
the executable and miscellaneous setup files. I thought I would only
have to place the cygncurses7.dll on the machines as well.
I moved the executable and placed cygncurses7.dll on a machine, tried
it, and got "Error opening terminal: cygwin". I read references to this
in the mailing lists, which say do an "install" on each machine with
multiple packages using setup.
For a number of reasons I wish to avoid this, the least of which is they
are not on the net.
What is the least amount of files I need, and where should I put them
for ncurses to identify the terminal on the machines I need to put my
executable? Can you help?
It's just looking for the 'cygwin' terminal database.  You can find that
in /usr/share/terminfo/c/cygwin.
--
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: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 03:44:28PM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>I did a search of the system, no other sh-s to be found.

How about other versions of bash? 

>> Have you tried:
>> 
>> c:\>
>> c:\>d:\cygwin\bin\sh
>> $ /bin/cat /etc/passwd
>>
>I have now:
>C:\>d:\cygwin\bin\sh
>$ /bin/cat /etc/passwd
>/bin/cat: not found
>$
>
>Looks to be the same as within cygwin.

Try the above with d:\cygwin\bin\bash .

cgf

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



Re: ncurses and terminal definitions

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 04:47:13PM -0400, Larry Hall wrote:
>Hi Terry,
>
>Don't know exactly what accounts for the performance drain you see with
>98.  Like you say, could be just a slow machine.  You'd have to debug it
>to know for sure.
>
>One point.  /usr/share/terminfo/c/cygwin == c:\usr\share\terminfo\c\cygwin
>only if the Cygwin root mount point (/) == c:\.  As you can see, you get
>this for free if your current drive is c: but that's not guaranteed.  You
>may want to add one step and one binary to your installation procedure.
>That is, after plopping the files down where you want them, invoke the
>following:
>
>  mount -s c:/ /
>
>This will require privileges to write to the system hive of the registry.
>If you don't have this right or can't get it, you can omit the '-s' flag,
>but the mount will only be available for the current user.  You will need
>to repeat the command (minus the '-s') for all the users that need your
>application on that machine.  You don't need to leave 'mount' on the
>machine after installation.

Larry - mount defaults to "-s" these days.  If you want user-mode mounts,
you need to use "-u".

cgf

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



RE: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi,

Thanks for taking the time to look into this.
> 
> On Thu, Jul 31, 2003 at 03:44:28PM -0500, Kaufman, Duane 
> (MED, LUNAR) wrote:
> >I did a search of the system, no other sh-s to be found.
> 
> How about other versions of bash? 
>
Searched, no others to be found.
 
> >> Have you tried:
> >> 
> >> c:\>
> >> c:\>d:\cygwin\bin\sh
> >> $ /bin/cat /etc/passwd
> >>
> >I have now:
> >C:\>d:\cygwin\bin\sh
> >$ /bin/cat /etc/passwd
> >/bin/cat: not found
> >$
> >
> >Looks to be the same as within cygwin.
> 
> Try the above with d:\cygwin\bin\bash .
>
OK:
C:\>d:\cygwin\bin\bash
bash-2.05b$ /bin/cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
.
.
.
duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane,S-1-5-21-
25853599
-59532045-941767090-1054:/cygdrive/c/C:/DOCUME~1/duane:/bin/bash
bash-2.05b$ 

Like from within cygwin


Duane

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

--
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: using a dll created by cygwin in msvc++

2003-07-31 Thread Jérôme DESPATIS
Re

So you say Larry that i need an import library
(foo.lib) to link against in msvc++.
I think so also.

My problem is now to create this .lib.
Indeed, in the bottom of the link
http://cygwin.com/cygwin-ug-net/dll.html, it's
explained to create a .def file and .a file, but not a
.lib file that i need in msvc++

In fact i don't need a Cygwin-compatible import
library but a MSVC++ -compatible import library,
because i want to compile my prog with msvc++

(if you ask me why, the simple program is in fact a qt
program, and trolltech proposes only compilation with
borland C++ and msvc++ which both use .lib import
library)

maybe there's some docs in the mailing liste archive,
but i have great great difficulties with the search
engine http://cygwin.com/ml/cygwin/

i search for dll + link and i get weird results, maybe
you have some link or good keywords to reach important
results ?

Thanks
enzo

 --- Larry Hall <[EMAIL PROTECTED]> a écrit : >
Jérôme DESPATIS wrote:
> 
> > i've created a .dll with cygwin
> > 
> > i'd like now to create a simple program under
> msvc++
> > that use functions of this dll
> > 
> > when i compile my very simple program, i get those
> > errors at link step: unresolved external symbol
> _foo
> > where foo is a function of my dll
> > 
> > so how can i use this dll in my program ? maybe a
> > foo.lib is missing (is there a way to create it
> from a
> > dll ?), or maybe is there another way to do so ?
> 
> 
> You need an import library to link against, yes. 
> See
>  for
> instructions
> on building DLLs and import libraries with Cygwin. 
> Keep in
> mind that if you're using cygwin1.dll in your
> resulting DLL
> (i.e. you're not using the '-mno-cygwin' flag for
> gcc) then
> you may end up with 2 C runtimes in your final
> executable.
> See the FAQ and
> 
> for some information on this.  There's plenty more
> in the email
> archives too if you're interested.
> 
> 
> -- 
> Larry Hall 
> http://www.rfk.com
> RFK Partners, Inc.  (508)
> 893-9779 - RFK Office
> 838 Washington Street   (508)
> 893-9889 - FAX
> Holliston, MA 01746
> 
> 
>
#
>
#
>
#
> #
> #
> #
>
#
>
#
>
# 

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.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: postgresql, cygwin newbie, issues

2003-07-31 Thread Larry Hall
Michael Teter wrote:

Howdy.

I and to run PostgreSQL on Cygwin.  I've found a few differing "guides" of how
to do this, but I'm unable to get any to fit my situation.
I have CYGWIN_NT-5.1 with "all" packages downloaded and installed.  I'm
running XP Pro SP1.  Guides I've found for Postgres+Cygwin tell of running
ipc-daemon, then starting postgres.
I found ipc-daemon2 in the cygipc package (which had to be specifically
selected in cygwin setup, despite my having specified during install that I
wanted everything.
THE PROBLEM: when I run ipc-daemon2, I get a windows error dialog that states:
Title: ipc-daemon2.exe - Entry Point Not Found
Body: The procedure entry point __getreent could not be located in the dynamic
link library cygwin1.dll.
Suggestions?

Incidentally, I find it odd that Postgres is included in Cygwin when it can't
be used, or not without seeking out external packages.
Thanks for any help or pointers to information.


You're mixing stuff up.  You've installed cygipc version 2, which is
built for the test release of the upcoming Cygwin 1.5 DLL.  But postgresql
isn't built against this yet.  You should run setup again, leave the
'Curr' button selected, and let it install whatever it thinks it needs
to.  That will give you consistent binaries for Cygwin 1.3.22.  Then
read .  This
contains pointers to all the information you need to know to install and
configure PostgreSQL.
--
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: Problems with man

2003-07-31 Thread Larry Hall
Kaufman, Duane (MED, LUNAR) wrote:

Hi,

Thanks for taking the time to look into this.

On Thu, Jul 31, 2003 at 03:44:28PM -0500, Kaufman, Duane 
(MED, LUNAR) wrote:

I did a search of the system, no other sh-s to be found.
How about other versions of bash? 

Searched, no others to be found.
 

Have you tried:

c:\>
c:\>d:\cygwin\bin\sh
$ /bin/cat /etc/passwd
I have now:
C:\>d:\cygwin\bin\sh
$ /bin/cat /etc/passwd
/bin/cat: not found
$
Looks to be the same as within cygwin.
Try the above with d:\cygwin\bin\bash .

OK:
C:\>d:\cygwin\bin\bash
bash-2.05b$ /bin/cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
.
.
.
duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane,S-1-5-21-
25853599
-59532045-941767090-1054:/cygdrive/c/C:/DOCUME~1/duane:/bin/bash
   ^

One thing that can only help is fixing your home directory to point to
something reasonable.
--
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: ncurses and terminal definitions

2003-07-31 Thread Larry Hall
Christopher Faylor wrote:

On Thu, Jul 31, 2003 at 04:47:13PM -0400, Larry Hall wrote:

Hi Terry,

Don't know exactly what accounts for the performance drain you see with
98.  Like you say, could be just a slow machine.  You'd have to debug it
to know for sure.
One point.  /usr/share/terminfo/c/cygwin == c:\usr\share\terminfo\c\cygwin
only if the Cygwin root mount point (/) == c:\.  As you can see, you get
this for free if your current drive is c: but that's not guaranteed.  You
may want to add one step and one binary to your installation procedure.
That is, after plopping the files down where you want them, invoke the
following:
mount -s c:/ /

This will require privileges to write to the system hive of the registry.
If you don't have this right or can't get it, you can omit the '-s' flag,
but the mount will only be available for the current user.  You will need
to repeat the command (minus the '-s') for all the users that need your
application on that machine.  You don't need to leave 'mount' on the
machine after installation.


Larry - mount defaults to "-s" these days.  If you want user-mode mounts,
you need to use "-u".


Heh.  Right.  Sorry about that.

 I will always consult the documentation before posting.
 I will always consult the documentation before posting.
 I will always consult the documentation before posting.
 .
 .
 .
(Good advice for new users too. ;-) )

--
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: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hello,
> 
> Kaufman, Duane (MED, LUNAR) wrote:
> 
> > Hi,
> > 
> > Thanks for taking the time to look into this.
> > 
> >>On Thu, Jul 31, 2003 at 03:44:28PM -0500, Kaufman, Duane 
> >>(MED, LUNAR) wrote:
> >>
> >>>I did a search of the system, no other sh-s to be found.
> >>
> >>How about other versions of bash? 
> >>
> > 
> > Searched, no others to be found.
> >  
> > 
> Have you tried:
> 
> c:\>
> c:\>d:\cygwin\bin\sh
> $ /bin/cat /etc/passwd
> 
> >>>
> >>>I have now:
> >>>C:\>d:\cygwin\bin\sh
> >>>$ /bin/cat /etc/passwd
> >>>/bin/cat: not found
> >>>$
> >>>
> >>>Looks to be the same as within cygwin.
> >>
> >>Try the above with d:\cygwin\bin\bash .
> >>
> > 
> > OK:
> > C:\>d:\cygwin\bin\bash
> > bash-2.05b$ /bin/cat /etc/passwd
> > SYSTEM:*:18:544:,S-1-5-18::
> > Administrators:*:544:544:,S-1-5-32-544::
> > .
> > .
> > .
> > 
> duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane
> ,S-1-5-21-
> > 25853599
> > -59532045-941767090-1054:/cygdrive/c/C:/DOCUME~1/duane:/bin/bash
> ^
> 
> One thing that can only help is fixing your home directory to point to
> something reasonable.
>
Holy Cow! Good eye, though I don't know how _that_ happened?? When does
this entry get created? Did I have something funky in my Windows Env
Variables? Changing them in Windows doesn't change them _everywhere_ in
Cygwin, eh?

Unfortunately, maybe it helped for something else, but my man problems
still remain:

[EMAIL PROTECTED] ~
$ man man
/usr/bin/tbl: not found
/bin/cat: not found
/usr/bin/nroff: not found
/usr/bin/less: not found
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
'/usr/man/man1/man.1'
; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
| /usr/
bin/less -isrR) exited with status 32512.
No manual entry for man

[EMAIL PROTECTED] ~
$

Thanks,
Duane 
> 
> -- 
> 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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Joshua Daniel Franklin
On Thu, Jul 31, 2003 at 06:35:27PM +0200, Hannu E K Nevalainen wrote:
>   Once again, having "CYGWIN=tty" isn't meaningful when running rxvt.
> here at the end - just to emphasize it.

Got it. 

> Oh... The paragraph about .lnk-files (included below for ref.):
> The sentences "feels" long and winding with many commas (,) - this usually
> tends to make it harder to read and understand.

I was thinking that myself. I split it and the printing paragraph up.
 
> Expected result of rephrasing: Less questions from users.

Isn't that always the goal? :)
Actually, I don't mind good questions that help improve things.

The updated sectioned webpage is now up, just in time for the new month.
It will be at least a couple of weeks before I can get the single HTML file
and PDF on the website, or release an updated cygwin-doc package.
WE APOLOGIZE FOR ANY INCONVENIENCE.

Keep any additional documentation suggestions on the list, I'll be back
to read them. (Oh, and I *can* read them now. I advise everyone to respect
the sources.redhat.com anti-spam measures.)

--
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: Re: how to make cygwin run under shells other than bash

2003-07-31 Thread Damien Suttle
So I changed the shell invocation line in cygwin.bat from:

bash --login -i

to this:

tcsh -i -

Then, i get the following output:
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
true: Command not found.
stty: Command not found.
tput: Command not found.
stty: Command not found.
limit: Command not found.
vesperus / %

so it starts tcsh at the end, finally, but i'm in the root dir instead of my home dir 
(the way bash does) and i am unable to use many standard commands (e.g., ls, pwd).

Does anyone know what files I need to change, where they are, and what to change them 
to?


From: [EMAIL PROTECTED]
Date: 2003/07/24 Thu PM 11:46:01 EDT
To: Damien Suttle <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: how to make cygwin run under shells other than bash

On 24 Jul, Damien Suttle wrote:
>  Hi,>  my favorite shell is tcsh, but cygwin always starts up in bash.
>  I tried playing with the cygwin.bat file, but i couldn't get it
>  to work. does anyone know how to reconfigure cygwin to start up
>  in other shells?

$ mkshortcut -D -A -n "tcshw"  -a '-l' /usr/bin/tcsh.exe

Or just right click on the cywgin icon's properties and change the shell
it runs, if you want to hack.  Or change the shell for your account, in
/etc/passwd I think.

luke





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



Re: using a dll created by cygwin in msvc++

2003-07-31 Thread Larry Hall
Jérôme DESPATIS wrote:

Re

So you say Larry that i need an import library
(foo.lib) to link against in msvc++.
I think so also.
My problem is now to create this .lib.
Indeed, in the bottom of the link
http://cygwin.com/cygwin-ug-net/dll.html, it's
explained to create a .def file and .a file, but not a
.lib file that i need in msvc++


The .a you made with the above is an import file.  Try it.  It's
easier than creating the .lib.  But if you have to, check out lib.exe
that comes with VC++.  You can create an import library with this too.

In fact i don't need a Cygwin-compatible import
library but a MSVC++ -compatible import library,
because i want to compile my prog with msvc++
(if you ask me why, the simple program is in fact a qt
program, and trolltech proposes only compilation with
borland C++ and msvc++ which both use .lib import
library)
maybe there's some docs in the mailing liste archive,
but i have great great difficulties with the search
engine http://cygwin.com/ml/cygwin/


You're better off with google and just pointing at 'cygwin.com'
for better or worse.
--
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: "Using cygwin Effectively with Windows" -- Draft of new User's Guide section

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 04:37:32PM -0500, Joshua Daniel Franklin wrote:
>The updated sectioned webpage is now up, just in time for the new month.
>It will be at least a couple of weeks before I can get the single HTML file
>and PDF on the website, or release an updated cygwin-doc package.
>WE APOLOGIZE FOR ANY INCONVENIENCE.

Hey! I just noticed that the single HTML file and pdf aren't up-to-date.

So, I downloaded the cygwin-doc package and *that* wasn't up to date!!!

It seems to me like project documentation should be up to date!

Could someone please correct this

cgf
(Just wanted to be the first.  Thanks for doing this Joshua.  Much appreciated
as always.)

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



Re: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 04:33:18PM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>$ man man
>/usr/bin/tbl: not found
>/bin/cat: not found
>/usr/bin/nroff: not found
>/usr/bin/less: not found
>Error executing formatting or display command.
>System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
>'/usr/man/man1/man.1'
>; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -c -mandoc
>| /usr/
>bin/less -isrR) exited with status 32512.
>No manual entry for man

Ok, something else to try.  From sh, try:

$ d:/cygwin/bin/cat /etc/passwd
$ /cygdrive/d/cygwin/bin/cat /etc/passwd

Does either command work?

cgf

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



Re: Problems with man

2003-07-31 Thread Larry Hall
Kaufman, Duane (MED, LUNAR) wrote:



OK:
C:\>d:\cygwin\bin\bash
bash-2.05b$ /bin/cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
.
.
.
duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane
,S-1-5-21-
25853599
-59532045-941767090-1054:/cygdrive/c/C:/DOCUME~1/duane:/bin/bash
   ^

One thing that can only help is fixing your home directory to point to
something reasonable.
Holy Cow! Good eye, though I don't know how _that_ happened?? When does
this entry get created? Did I have something funky in my Windows Env
Variables? Changing them in Windows doesn't change them _everywhere_ in
Cygwin, eh?


Nope.  /etc/passwd is generated by mkpasswd which is invoked as a
postinstall script when you run setup.  I can't fathom how it came
up with way you have though.


--
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: ncurses and terminal definitions

2003-07-31 Thread Terry Dabbs
Thanks for the help. Since your advice kept me from having to "install" cygwin
on the machines I'm going to run this on, the mounting, I suppose defaults to
what it was on my compiling machine, which is the C drive for cygwin in my case.

Thanks.

Larry Hall wrote:

> Christopher Faylor wrote:
>
> > On Thu, Jul 31, 2003 at 04:47:13PM -0400, Larry Hall wrote:
> >
> >>Hi Terry,
> >>
> >>Don't know exactly what accounts for the performance drain you see with
> >>98.  Like you say, could be just a slow machine.  You'd have to debug it
> >>to know for sure.
> >>
> >>One point.  /usr/share/terminfo/c/cygwin == c:\usr\share\terminfo\c\cygwin
> >>only if the Cygwin root mount point (/) == c:\.  As you can see, you get
> >>this for free if your current drive is c: but that's not guaranteed.  You
> >>may want to add one step and one binary to your installation procedure.
> >>That is, after plopping the files down where you want them, invoke the
> >>following:
> >>
> >> mount -s c:/ /
> >>
> >>This will require privileges to write to the system hive of the registry.
> >>If you don't have this right or can't get it, you can omit the '-s' flag,
> >>but the mount will only be available for the current user.  You will need
> >>to repeat the command (minus the '-s') for all the users that need your
> >>application on that machine.  You don't need to leave 'mount' on the
> >>machine after installation.
> >
> >
> > Larry - mount defaults to "-s" these days.  If you want user-mode mounts,
> > you need to use "-u".
>
> Heh.  Right.  Sorry about that.
>
>   I will always consult the documentation before posting.
>   I will always consult the documentation before posting.
>   I will always consult the documentation before posting.
>   .
>   .
>   .
>
> (Good advice for new users too. ;-) )
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


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



RE: Problems with man

2003-07-31 Thread Kaufman, Duane (MED, LUNAR)
Hi,

> On Thu, Jul 31, 2003 at 04:33:18PM -0500, Kaufman, Duane 
> (MED, LUNAR) wrote:
> >$ man man
> >/usr/bin/tbl: not found
> >/bin/cat: not found
> >/usr/bin/nroff: not found
> >/usr/bin/less: not found
> >Error executing formatting or display command.
> >System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> >'/usr/man/man1/man.1'
> >; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> >| /usr/
> >bin/less -isrR) exited with status 32512.
> >No manual entry for man
> 
> Ok, something else to try.  From sh, try:
> 
> $ d:/cygwin/bin/cat /etc/passwd
> $ /cygdrive/d/cygwin/bin/cat /etc/passwd
> 
> Does either command work?
>
Nope:
[EMAIL PROTECTED] ~
$ sh
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ d:/cygwin/bin/cat /etc/passwd
d:/cygwin/bin/cat: not found
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ /cygdrive/d/cygwin/bin/cat /etc/passwd
/cygdrive/d/cygwin/bin/cat: not found
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]

But wait! When I try:
$ cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
.
.
.
duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane,S-1-5-21-
25853599
-59532045-941767090-1054:/cygdrive/c/DOCUME~1/duane:/bin/bash
\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$

What is going on? It seems as if ash _doesn't_ like the _full_ path (or
one beginning with a /), but knows where to find cat and friends (ls,
pwd, ...)

Thanks,
Duane

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

--
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: ncurses and terminal definitions

2003-07-31 Thread Larry Hall
Terry Dabbs wrote:

Thanks for the help. Since your advice kept me from having to "install" cygwin
on the machines I'm going to run this on, the mounting, I suppose defaults to
what it was on my compiling machine, which is the C drive for cygwin in my case.


Actually, no.  I guess I wasn't clear.  Whether the file is found or not
depends on the current drive.  If the user's current drive is C: and you've
installed the file on the C drive, then the path will work.  Otherwise,
it will complain that the file isn't found.  If you want to avoid this,
you need to create the mount point I suggested or otherwise wrap your
application to make sure that C: is always the current drive when it
runs.
--
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/


Administrator lacking super-user privileges on cygwin installation

2003-07-31 Thread Myk Melez
I have two machines with what look like identical cygwin installations 
on them, but the Administrator account on one of them doesn't have 
super-user privileges.  This causes sshd not to have access to 
/home/some-user/.ssh (which is restricted to only "some-user") and thus 
prevents key-based authentication.  Regular password-based 
authentication works, so the problem isn't sshd itself.  Logging in as 
the Administrator and doing "ls /home/some-user/.ssh/*" gives me a 
"permission denied" error, which also confirms that the problem is with 
the permissions of the Administrator account and not sshd.

The Administrator NT accounts (and Administrators NT groups) seem 
identical on the two machines, as are permissions for the C:\cygwin 
directory.  Both systems had old cygwin installations on them that we 
blew away before installing the latest.  What am I missing?

-myk



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


'setup.exe' under Win2K Terminal Server in AS mode

2003-07-31 Thread msg
Greetings:

I've been running 1.3.22 for some months now on a Win2K Server running
Terminal Services in Application Server mode for a variety of
development
projects and am pleased overall; however the entire installation was
done manually for the most part due to a vast number of failures
of the 'setup.exe' process compounded by slow dial-up access to the
'net.  I won't elaborate on these issues in this message nor post
a 'cygcheck' output at this time; my intent here is to inquire whether
the maintainers have considered the implications of the install process
on a Win2K Server running TS in AS mode.  Apps should be installed
using 'Control Panel' to permit proper registry and user profile mapping
mechanisms to work, and apps should be TS aware in order to
avoid a variety of problems during install and multiuser use. I believe
'setup.exe' should be TS aware to avoid a variety of problems or at
least the cygwin FAQ and homepage should include some caveats (at the
least to avoid running 'setup.exe' from the web links).

Michael Grigoni
Cyberthque Museum

--
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: Re: how to make cygwin run under shells other than bash

2003-07-31 Thread luke . kendall
On 31 Jul, Damien Suttle wrote:
>  So I changed the shell invocation line in cygwin.bat from:
>  
>  bash --login -i
>  
>  to this:
>  
>  tcsh -i -
>  
>  Then, i get the following output:
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  true: Command not found.
>  stty: Command not found.
>  tput: Command not found.
>  stty: Command not found.
>  limit: Command not found.
>  vesperus / %
>  
>  so it starts tcsh at the end, finally, but i'm in the root dir instead of my home 
> dir (the way bash does) and i am unable to use many standard commands (e.g., ls, 
> pwd).
>  
>  Does anyone know what files I need to change, where they are, and what to change 
> them to?
>  
>  
>  From: [EMAIL PROTECTED]
>  Date: 2003/07/24 Thu PM 11:46:01 EDT
>  To: Damien Suttle <[EMAIL PROTECTED]>
>  CC: [EMAIL PROTECTED]
>  Subject: Re: how to make cygwin run under shells other than bash
>  
>  On 24 Jul, Damien Suttle wrote:
> >  Hi,>  my favorite shell is tcsh, but cygwin always starts up in bash.
> >  I tried playing with the cygwin.bat file, but i couldn't get it
> >  to work. does anyone know how to reconfigure cygwin to start up
> >  in other shells?
>  
>  $ mkshortcut -D -A -n "tcshw"  -a '-l' /usr/bin/tcsh.exe
>  
>  Or just right click on the cywgin icon's properties and change the shell
>  it runs, if you want to hack.  Or change the shell for your account, in
>  /etc/passwd I think.
>  
>  luke

Sounds like PATH doesn't include the path to Cygwin?!  If you send me
your cygwin.bat file, and tell me the shortcut properties used to run
it from the desktop, I'm happy to have a look and see what's going on.

luke


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



Question regarding problem during uninstall using setup.exe

2003-07-31 Thread Alan Miles
All,

I tried to send this message to [EMAIL PROTECTED], since as I
understand from the web-site setup.exe issues go there, but my message got
bounced. Hence I am sending it here.

Keep up the excellent work on cygwin. Can't wait for 1.5.* to come out.

Using the latest setup and installation of cygwin I have a problem when I
use setup.exe to un-install cygwin, so I can get a ** completely ** fresh
install.
I periodically like to uninstall cygwin and re-install to remove any cruft
etc. Also this helps with maintenance of my computer, as I can always
re-install later. That way I don't have to use so many backup CD's.

To get around my ** own ** customizations, I have built my own install
packages that integrate into the setup.exe. To do this integration, I use
the "generic" build script template, setup.hints + upset to construct my
setup.ini. This works great. However, when I de-install setup.exe seems to
remove several directories that are ** NOT ** in the cygwin directory
structure but are elsewhere, and I mount them under cygwin.

Output of my mount:

H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\build on
/CygwinMachine_Package_Files/Build type system (binmode)
H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\dest on
/CygwinMachine_Package_Files/Release type system (binmode)
H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\src on
/CygwinMachine_Package_Files/src type system (binmode)
C:\Documents and Settings\Alan Miles on /mnt/User type user (binmode)
H:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
(binmode)
H:\cygwin\bin on /usr/bin type system (binmode)
H:\cygwin\lib on /usr/lib type system (binmode)
H:\cygwin on / type system (binmode)
c: on /mnt/Drives/c type system (binmode,noumount)
d: on /mnt/Drives/d type system (binmode,noumount)
e: on /mnt/Drives/e type system (binmode,noumount)
h: on /mnt/Drives/h type system (binmode,noumount)
i: on /mnt/Drives/i type system (binmode,noumount)
j: on /mnt/Drives/j type system (binmode,noumount)
k: on /mnt/Drives/k type system (binmode,noumount)
l: on /mnt/Drives/l type system (binmode,noumount)

Setup.exe seems to remove

H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\build and
H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\dest

(which I use but were empty at the time). Interestingly, it does ** NOT **
remove

H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\src which is NOT
empty.

Subsequent re-installation causes problems with the mount command, until I
unmount, manually re-create these directories, and remount.

For example, a fragment of info from my setup.log.full file (related to the
installation):

...
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/Setup-Help
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin/Cy
gwin/Setup/CVS
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin/Cy
gwin/Setup
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin/Cy
gwin/CVS
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin/Cy
gwin
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin/CV
S
rmdir
H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/cygwin
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin/CVS
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/bin
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra/CVS
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder/infra
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/PackageBuilder
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/CygwinMachine-Help
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0/Auxillary_Scripts
rmdir H:\cygwin/usr/doc/_CygwinMachine_Base-1.0
rmdir H:\cygwin/mnt/User
rmdir H:\cygwin/mnt/Drives/Z
rmdir H:\cygwin/mnt/Drives/Y
rmdir H:\cygwin/mnt/Drives/X
rmdir H:\cygwin/mnt/Drives/W
rmdir H:\cygwin/mnt/Drives/V
rmdir H:\cygwin/mnt/Drives/U
rmdir H:\cygwin/mnt/Drives/T
rmdir H:\cygwin/mnt/Drives/S
rmdir H:\cygwin/mnt/Drives/R
rmdir H:\cygwin/mnt/Drives/Q
rmdir H:\cygwin/mnt/Drives/P
rmdir H:\cygwin/mnt/Drives/O
rmdir H:\cygwin/mnt/Drives/N
rmdir H:\cygwin/mnt/Drives/M
rmdir H:\cygwin/mnt/Drives/L
rmdir H:\cygwin/mnt/Drives/K
rmdir H:\cygwin/mnt/Drives/J
rmdir H:\cygwin/mnt/Drives/I
rmdir H:\cygwin/mnt/Drives/H
rmdir H:\cygwin/mnt/Drives/G
rmdir H:\cygwin/mnt/Drives/F
rmdir H:\cygwin/mnt/Drives/E
rmdir H:\cygwin/mnt/Drives/D
rmdir H:\cygwin/mnt/Drives/C
rmdir H:\cygwin/mnt/Drives/B
rmdir H:\cygwin/mnt/Drives/A
rmdir H:\cygwin/mnt/Drives
rmdir H:\cygwin/etc/skel/.ncftp
rmdir H:\cygwin/etc/CygwinMachines.Diffs
rmdir H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\dest
rmdir H:\CygnusSolutions-Cygwin Files\CygwinMachine_Package_Dirs\build
2003/07/31 11:24:35 Uninstalling _CygwinMachine_Custom_Utilities
unlink H:\cygwin/bin//FieldCounter.exe
unlink H:\cygwin/bin//FieldCounter_Pipe.exe
u

Re: Problems with man

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 05:09:10PM -0500, Kaufman, Duane (MED, LUNAR) wrote:
>Hi,
>
>> On Thu, Jul 31, 2003 at 04:33:18PM -0500, Kaufman, Duane 
>> (MED, LUNAR) wrote:
>> >$ man man
>> >/usr/bin/tbl: not found
>> >/bin/cat: not found
>> >/usr/bin/nroff: not found
>> >/usr/bin/less: not found
>> >Error executing formatting or display command.
>> >System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
>> >'/usr/man/man1/man.1'
>> >; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
>> /usr/bin/nroff -c -mandoc
>> >| /usr/
>> >bin/less -isrR) exited with status 32512.
>> >No manual entry for man
>> 
>> Ok, something else to try.  From sh, try:
>> 
>> $ d:/cygwin/bin/cat /etc/passwd
>> $ /cygdrive/d/cygwin/bin/cat /etc/passwd
>> 
>> Does either command work?
>>
>Nope:
>[EMAIL PROTECTED] ~
>$ sh
>\[\033]0;\w\007
>[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
>$ d:/cygwin/bin/cat /etc/passwd
>d:/cygwin/bin/cat: not found
>\[\033]0;\w\007
>[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
>$ /cygdrive/d/cygwin/bin/cat /etc/passwd
>/cygdrive/d/cygwin/bin/cat: not found
>\[\033]0;\w\007
>[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
>
>But wait! When I try:
>$ cat /etc/passwd
>SYSTEM:*:18:544:,S-1-5-18::
>Administrators:*:544:544:,S-1-5-32-544::
>.
>.
>.
>duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane,S-1-5-21-
>25853599
>-59532045-941767090-1054:/cygdrive/c/DOCUME~1/duane:/bin/bash
>\[\033]0;\w\007
>[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
>$
>
>What is going on? It seems as if ash _doesn't_ like the _full_ path (or
>one beginning with a /), but knows where to find cat and friends (ls,
>pwd, ...)

What does "which cat" say?

cgf

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



Re: Question regarding problem during uninstall using setup.exe

2003-07-31 Thread Christopher Faylor
On Thu, Jul 31, 2003 at 07:21:11PM -0500, Alan Miles wrote:
>I tried to send this message to [EMAIL PROTECTED], since as I
>understand from the web-site setup.exe issues go there, but my message
>got bounced.

As the web page says:

cygwin-apps: a subscriber-only list...

You are not subscribed.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: Administrator lacking super-user privileges on cygwin installation

2003-07-31 Thread Larry Hall
Myk Melez wrote:

I have two machines with what look like identical cygwin installations 
on them, but the Administrator account on one of them doesn't have 
super-user privileges.  This causes sshd not to have access to 
/home/some-user/.ssh (which is restricted to only "some-user") and thus 
prevents key-based authentication.  Regular password-based 
authentication works, so the problem isn't sshd itself.  Logging in as 
the Administrator and doing "ls /home/some-user/.ssh/*" gives me a 
"permission denied" error, which also confirms that the problem is with 
the permissions of the Administrator account and not sshd.

The Administrator NT accounts (and Administrators NT groups) seem 
identical on the two machines, as are permissions for the C:\cygwin 
directory.  Both systems had old cygwin installations on them that we 
blew away before installing the latest.  What am I missing?


1. SYSTEM is the account that sshd runs as, not administrator.  It's
   the only default account that has permissions to switch user contexts
   without authenticating the new user through Windows password mechanism
   (for NT/W2K/XP).
2. Only the owner of the private key files in .ssh should have permissions
   to access these files.  Public key files should be readable by anyone.
   You'll want to check the permissions on these files relative to the
   above.
3. Generally, you should read .



--
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: 'setup.exe' under Win2K Terminal Server in AS mode

2003-07-31 Thread Larry Hall
msg wrote:

Greetings:

I've been running 1.3.22 for some months now on a Win2K Server running
Terminal Services in Application Server mode for a variety of
development
projects and am pleased overall; however the entire installation was
done manually for the most part due to a vast number of failures
of the 'setup.exe' process compounded by slow dial-up access to the
'net.  I won't elaborate on these issues in this message nor post
a 'cygcheck' output at this time; my intent here is to inquire whether
the maintainers have considered the implications of the install process
on a Win2K Server running TS in AS mode.  Apps should be installed
using 'Control Panel' to permit proper registry and user profile mapping
mechanisms to work, and apps should be TS aware in order to
avoid a variety of problems during install and multiuser use. I believe
'setup.exe' should be TS aware to avoid a variety of problems or at
least the cygwin FAQ and homepage should include some caveats (at the
least to avoid running 'setup.exe' from the web links).


Thanks for the feedback.  Cygwin is a volunteer-run project.  If you're
interested in working towards the goal you mentioned above, please send
some email to the cygwin-apps list.  That list exists to discuss setup-
related issues and development.  As with many such project, resources
are scarce so I'm sure any help you might be willing to provide would
be appreciated.
--
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: Problems with man

2003-07-31 Thread Igor Pechtchanski
On Thu, 31 Jul 2003, Kaufman, Duane (MED, LUNAR) wrote:

> Hi,
> Thanks for the response!
> >
> > > I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
> > > Service Pack 2), and I am having trouble with getting man
> > pages. Here is
> > > some output:
> > >
> > > [EMAIL PROTECTED] ~
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /bin/cat: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl |
> > /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > >
> > > I have read the FAQ, and yes, I have ash installed. Trying
> > the same from
> > > a sh:
> > >
> > > [EMAIL PROTECTED] ~
> > > $ sh
> > > \[\033]0;\w\007
> > > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl |
> > /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > > \[\033]0;\w\007
> > > [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
> > >
> > > What do I have configured wrong?
> >
> > This looks like a permission problem but there's nothing
> > obviously wrong
> > from your setup log or cygwcheck output.  Can you invoke any of these
> > directly from bash without problems?  What do the ownerships look like
> > on these files?  What does 'getfacl' say for these files?
> >
> Oddly enough, I can invoke the entire 'System command' from above in
> bash, and it works...but even /bin/cat doesn't work from sh.
>
> Below is the output from getfacl:
> # file: /usr/bin/tbl
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /bin/cat
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /usr/bin/nroff
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /usr/bin/less
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---

Judging by the above, it is a permission problem.  For some reason, your
/usr/bin does not have the correct flags.  bash, which uses a different
mechanism for locating executables, doesn't notice this, but sh gets
confused.  Try "chmod 755 /usr/bin/*".  Also, the group name indicates
that your /etc/group file is not up to date (by showing the command you
need to run, i.e., "mkgroup -l" and "mkgroup -d").
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: Administrator lacking super-user privileges on cygwin installation

2003-07-31 Thread Mark Priest
Myk,

I assume you are using Openssh?  If you installed Openssh as a Windows
service then SYSTEM is the owner of the files, otherwise the owner is
whatever user did the installation.  This is, of course, assuming that you
used the ssh-host-config script in /bin.  However, I have installed it both
ways and I have not received the error you are describing.  You might want
to check the value of the CYGWIN environment variable.  By default ntsec is
turned on but if that variable includes "nontsec" or "ntea" then that might
be what is causing your problem.

-Mark

- Original Message -
From: "Larry Hall" <[EMAIL PROTECTED]>
To: "Myk Melez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 9:40 PM
Subject: Re: Administrator lacking super-user privileges on cygwin
installation


> Myk Melez wrote:
>
> > I have two machines with what look like identical cygwin installations
> > on them, but the Administrator account on one of them doesn't have
> > super-user privileges.  This causes sshd not to have access to
> > /home/some-user/.ssh (which is restricted to only "some-user") and thus
> > prevents key-based authentication.  Regular password-based
> > authentication works, so the problem isn't sshd itself.  Logging in as
> > the Administrator and doing "ls /home/some-user/.ssh/*" gives me a
> > "permission denied" error, which also confirms that the problem is with
> > the permissions of the Administrator account and not sshd.
> >
> > The Administrator NT accounts (and Administrators NT groups) seem
> > identical on the two machines, as are permissions for the C:\cygwin
> > directory.  Both systems had old cygwin installations on them that we
> > blew away before installing the latest.  What am I missing?
>
>
> 1. SYSTEM is the account that sshd runs as, not administrator.  It's
> the only default account that has permissions to switch user contexts
> without authenticating the new user through Windows password mechanism
> (for NT/W2K/XP).
>
> 2. Only the owner of the private key files in .ssh should have permissions
> to access these files.  Public key files should be readable by anyone.
> You'll want to check the permissions on these files relative to the
> above.
>
> 3. Generally, you should read .
>
>
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>



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



loading DLLs created with Cygwin into Sun JDK

2003-07-31 Thread Marcus G. Daniels
I'm having a problem getting DLLs compiled with Cygwin to load into Sun 
JDK 1.4.1.  In the past this has worked, so I hope this is fixable 
without too much work.

Here's an example.  Take a simple Java Native Interface method like this:

$ cat jniTest.c
void Java_Test_test () { printf ("test\n");}
And compile it like so:

gcc -shared -o jniTest.dll jniTest.c

Also needed is the Java-side file:

public class Test {
  public native void test ();
  public static void main (String args[]) {
Test test = new Test ();
System.out.println ("loading jniTest");
System.loadLibrary ("jniTest");
System.out.println ("calling native method");
test.test ();
System.out.println ("success");
  }
}
Compiled it like so from a Cygwin terminal (replace 
/cygdrive/i/j2sdk1.4.1_02 as appropriate):

$ /cygdrive/i/j2sdk1.4.1_02/bin/javac Test.java

Now run it, you should see it print "loading jniTest", but nothing more.

$ CLASSPATH=. /cygdrive/i/j2sdk1.4.1_02/bin/java Test

In contrast, relink the DLL, but not using "-mno-cygwin":

$ gcc -mno-cygwin -shared -o jniTest.dll jniTest.c
$ CLASSPATH=. /cygdrive/i/j2sdk1.4.1_02/bin/java Test
Now it should print:

loading jniTest
calling native method
test
success


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


yerli kaliteyi al, issizlik azalsin!

2003-07-31 Thread yabanci mal almiyorum
İŞSİZ KALMAMAK İÇİN 
İŞSİZLERE İŞ SAĞLANMASI İÇİN
TÜRKİYE?NİN KAMPANYASI?NA KATIL!
--
 

YERLİ KALİTEYİ AL!

yatırımlar çoğalsın

İŞSİZLİK AZALSIN!



YABANCI MALI ALMA! İŞSİZ KALMA!

1 milyon 200 bin işyeri kapandı, 
9 milyon meslek sahibi insanımız işsiz kaldı!
Bugün ülkemizde sanayide ve iş hayatında 
-iş bilmezlikten ya da kişisel beceriksizlikten kaynaklanmayan- 
seri iflaslarla işyerleri kapanıyor. 
Açık işletmeler ise sürekli küçülüyor, işçi çıkarıyor. 


HER 6.500 DOLARA 1 İŞSİZ!

Tüketim malları ithalatına giden her 6 bin 500 dolar, 
Türkiye?de 1 kişiyi işsiz bırakıyor. 
Son dört yıldaki 60 milyar dolarlık ithalat yerine 
9 milyon kişiye iş sağlayabilirdik!
 

İŞSİZLİĞİ KENDİ ELLERİNLE BÜYÜTME!

Azalan yatırım, çoğalan işsizliktir.
Kaliteli yerlisi varken, yabancısını tercih etmek, zaten kıt olan paranın
dışarı gitmesine yol açmakta, yatırımları azaltmaktadır. 
Bugün Türkiye?de pek çok ürün, dünya standartlarında üretilmektedir.
Türkiye kaliteyi yakalamıştır! 


YERLİ KALİTEYİ AL!

İşçiye ücret, memura maaş olsun! 
Okul olsun, yol olsun, hizmet olsun! 
İşsizlerimize iş, bebelerimize aş olsun!

 
---
Kampanyanın gerekçeleri ve destekleyenlerin listesi

www.YABANCI-MAL-ALMIYORUM.com ?dadır. 

(Bu ileti 6 milyon Türk İnternet kullanıcısına gönderildi;
kampanya, 300.000 bin yerli üreticiye, sanayi ve ticaret odalarına,
odalara ve birliklere, dört işçi konfederasyonuna, sendikalarına,
şubelerine, derneklere ve üniversitelere duyuruldu.) 
---

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



Viruses in the Cygwin mail lists

2003-07-31 Thread Zamo
Chris,

This is a list of viruses I discovered in the Cygwin mailing lists when
browsing earlier this week.

Regards,
-Brian


cygwin.viruses.xls
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: Viruses in the cygwin mail lists

2003-07-31 Thread Christopher Faylor
On Fri, Jan 14, 2000 at 09:41:06PM -0800, Zamo wrote:
>This is a list of viruses I discovered in the Cygwin mailing lists when
>browsing earlier this week.

I don't know who you are or why you've taken this upon yourself but
please don't send this kind of thing to the cygwin mailing list.

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/



Using usernames and permissions from Windows domain accounts

2003-07-31 Thread Hugo Bouckaert
Hi 

How can you set up cygwin so that Windows domain usernames are being
used, rather than what I have now, which is, at the cygwin prompt:

[EMAIL PROTECTED]>

Note that people are logging into the machine as a domain user, but as
that domain user they are administrator on their local machine. This is
(I think) why cygwin puts [EMAIL PROTECTED]> at the prompt. However,
I would like people to have a cygwin prompt which recognises their
Windows domain username as well as the permissions, so that if they go
into a directory with cygwin (for example a mapped Z drive), the windows
permissions are taken into account when commands are given at the cygwin
prompt. 

How can this be done? 

Any help will be greatly appreciated. 

Thanks

Hugo 

Dr Hugo Bouckaert 
Systems and Programming Engineer 
GeoInformatics Exploration Australia P/L 
57 Havelock St 
West Perth, WA 6005 
PO Box 1675, West Perth 6872 
Ph: 61 08 9420 7400 
Fax: 61 08 9226 1299 
www.geoinformex.com 


This email and any attachments may be confidential or legally
privileged. If you received this message in error or are not the
intended recipient, you should destroy the e-mail message and any
attachments or copies, and you are prohibited from retaining,
distributing, disclosing or using any information contained herein.
Please inform us of the erroneous delivery by return e-mail. Thank you
for your cooperation. 

--
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: vnc under cygwin

2003-07-31 Thread Larry Hall
Mihai Gheorghiu wrote:

I want to install vnc under cygwin.
I found a message posted on 03/23/03, but I would like to know if there are
any new developments or if there is a URL where I can get more guidance.
Thank you all.
Usually, it's considered polite to post a link to the message you refer
to.  I'm going to wager you meant this one:


However, if this is the message to which you refer, I'm confused as to
why you didn't at least email cygwin-xfree list instead.  Seems more
appropriate to me.
Personally, I think the message as the URL above says it all, with
the exception that cygipc is now available as a package in the Cygwin
distribution.  So that's your answer.  If you disagree, I recommend
you follow-up on the cygwin-xfree list.  I've reset the reply-to to
facilitate that.
--
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/