Small patch for the FAQ

2003-11-13 Thread David Starks-Browning
On Friday 29 Aug 03, Elfyn McBratney writes:
 Index: how-programming.texinfo
 ...
 Index: how-resources.texinfo
 ...
 Index: what.texinfo
 ...

Thank you for these Elfyn.  Applied with just a few minor changes.

Sorry for being so far behind.  I'm trying to catch up now.

If anyone has patches against winsup/doc/*.texinfo files for me, send
them here (cygwin-patches) and I'll try to get to them at least once a
week.

It will be *quite* some time before I am able to wade through the main
cygwin list and discover things for the FAQ on my own.  But I should
be able to apply patches on a fairly regular and timely basis, at
least for a while.

Thanks for your patience and understanding.

Regards,
David



Re: Small patch for the FAQ

2003-11-13 Thread David Starks-Browning
When I started over as FAQ maintainer (sheesh -- *years* ago?) I was
told that Changelog entries were not necessary for documentation, as
long as the cvs commit messages were informative.  (Perhaps this was
only intended for the FAQ, and not the other documentation, I don't
know.)  Occasionally, someone will add a Changelog entry anyway.
Hopefully this is out of habit, rather than to suggest a change in
policy.

I hope the policy hasn't changed, because I'm happy not maintaining a
Changelog for the FAQ texinfo source, and I agree with the original
opinion that it isn't necessary.

Best wishes,
David

On Monday 1 Sep 03, Corinna Vinschen writes:
 Dig, dig, dig... hmm, I don't find the ChangeLog entry here...
 
 Corinna
 
 On Fri, Aug 29, 2003 at 01:18:14PM +0100, Elfyn McBratney wrote:
  Index: how-programming.texinfo
  ...




/usr/bin/su.exe in sh-utils always fails

2003-09-29 Thread David Starks-Browning
On Monday 29 Sep 03, Matt Swift writes:
 The Cygwin FAQ says that there is no `su' command in recent versions
 of Cygwin, The sh-utils package, however, currently contains an `su'
 command, but it doesn't work.  The shell transcript below illustrates
 the problem.  You have to trust me that I offer the same password to
 `su' as I do to `ssh'.

So the FAQ should point out that the su from sh-utils doesn't work,
instead of saying that there is no su command.  I'll update it.

David


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



winsup MAINTAINERS

2003-08-03 Thread David Starks-Browning
Sorry for this blast from the past:

On  13 Feb 03, [EMAIL PROTECTED] writes:
 CVSROOT:  /cvs/uberbaum
 Module name:  winsup
 Changes by:   [EMAIL PROTECTED]   2003-02-13 02:41:44
 
 Modified files:
   .  : ChangeLog 
 Removed files:
   .  : MAINTAINERS 
 
 Log message:
   * MAINTAINERS: Remove out-of-date file.

In that case you might wish to apply this patch to /src/MAINTAINERS,
or instruct me to do it.

Regards,
David

diff -u -r1.19 MAINTAINERS
--- MAINTAINERS 3 May 2003 00:44:23 -   1.19
+++ MAINTAINERS 3 Aug 2003 22:02:12 -
@@ -98,7 +98,6 @@
cygwin: http://sources.redhat.com/cygwin
Patches to [EMAIL PROTECTED]
General discussion [EMAIL PROTECTED]
-   See also winsup/MAINTAINERS.
 
 expect/; config-ml.in; mpw-README; mpw-build.in; mpw-config.in;
 mpw-configure; mpw-install; setup.com; missing; makefile.vms; utils/;





chmod not working on Win98

2003-03-08 Thread David Starks-Browning
On Saturday 8 Mar 03, Greg Matheson writes:
 When I installed fetchmail-6.2.2.1, fetchmail started refusing to
 use my .fetchmailrc. I think the requirement that permissions be
 600 on it is new.
 
 However when I tried chmodding it to 600, it stays at 644

This is in the FAQ.

David


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



Re: libtool 20030216: problem recognizing import libraries

2003-03-07 Thread David Starks-Browning
On Friday 7 Mar 03, Teun Burgers writes:
 I've found the culprit. I installed the perl LWP module which
 installs a HEAD script that fetches the header of an URL.
 On unix HEAD and head are different but on cygwin having
 both HEAD and head.exe along the path causes a problem...

Would CYGWIN=check_case:strict solve that?

David


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



Re: gcc Core Dump

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, Max Bowsher writes:
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm a newbie in programming under Cygwin, and I have a very basic
  problem with gcc:
  Any help is appreciated.
 
 OK, right mailing list this time, but, as I said in my previous reply, it
 works fine for me. So, you are going to have to try to debug it a bit more
 yourself.
 
 Ever used gdb?
 
 You could try:
 $ gdb prog3
 (gdb) run
 (gdb) bt

Klaus,

Since it's not a bug in your code (it works for me too, at least as
written), I suspect a problem with your gcc installation, or you're
picking up the wrong gcc.

What do:

type -a gcc
cygcheck gcc
cygcheck -c gcc

return and what does

gcc -v -Wall prog3.c -o prog3

say?

Regards,
David


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



Re: gcc Core Dump

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, [EMAIL PROTECTED] writes:
  cygcheck -c gcc
 Cygwin Package Information
 Package Version 
 gcc 3.2-1   

Have you tried using setup to update the gcc package to the latest
available?

What does uname -a say?

Regards,
David


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



Re: gcc Core Dump

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, [EMAIL PROTECTED] writes:
 uname -a says:
 CYGWIN_NT-5.0 ZWG15-0274 1.3.15(0.63/3/2) 2002-11-06 22:41 i686 unknown
   ^^

This is rather old.  I would upgrade the Cygwin package first.

David


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



Permission denied calling configure on Win95

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, karim Hamed-Abdelouahab writes:
 Hi,
 I've just installed cygwin (version 1.95)

Huh?  There is no such thing.  Where did you get it?

David


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



Re: gcc Core Dump

2003-03-06 Thread David Starks-Browning
 just that the installation has crashed my bash installation (I had
 [EMAIL PROTECTED] before...)

It crashed your bash installation?  Poor choice of words.

You mean your user name is not displayed properly.  Look at the
mkpasswd command (mkpasswd --help) and possibly regenerate your
/etc/passwd file.

Regards,
David


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



Re: Permission denied calling configure on Win95

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, Christopher Faylor writes:
 Before you do that, however, you might want to try this:
 
 cd /
 chmod -R a+r .
 chmod -R a+x bin sbin usr/sbin usr/local/bin lib/gcc-lib
 
 If you get errors from the a+x line above that's ok.

This needs to get into the FAQ.  But first I'd like to understand
what's going on.

Do we know why or whether it's read permission or execute permission
or both?

If just execute permission, assuming it's not already solved by changes to
setup.exe, couldn't it be handled by mounting those directories as
executable?

Sorry, but I tend to skip stuff until it's becoming a FAQ, but by then
the technical background is lost to me.  (At least, harder to dig out
and I have very little time for this.)

Actually I asked Karim to send me ls -l /bin for example, privately,
so I could look at this.

Thanks,
David


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



undefined reference to `___w32_sharedptr_initialize'

2003-03-06 Thread David Starks-Browning
On Thursday 6 Mar 03, Jean-Luc Vay writes:
 I have just updated cygwin on a Windows2000 pc and recompiled a code.
 At the linking phase, I now get the following error message:
 
 gcc -shared -Wl,--enable-auto-image-base -Wl,--export-all-symbols \
 -Wl,--allow-multiple-definition \
 -o warpC.dll warpC.o toppymodule.o envpymodule.o w3dpymodule.o 
 f3dpymodule.o wxy
 pymodule.o fxypymodule.o wrzpymodule.o frzpymodule.o cirpymodule.o 
 herpymodule.o
  chopymodule.o top.p.o env.p.o w3d.p.o f3d.p.o wxy.p.o fxy.p.o wrz.p.o 
 frz.p.o c
 ir.p.o her.p.o cho.p.o pybasisC.o env.o frz.o wxy.o f3d.o fxy.o util.o 
 w3d.o dto
 p.o f3d_mgrid.o f3d_conductors.o fxy_mgrid.o frz_mgrid.o dw3d.o dwrz.o 
 fft.o top
 .o wrz.o cir.o her.o cho.o pmath_rng.o  ranf.o initpgfortran.o \
 -L/usr/local/LAPACK -llapack_CYGWIN -lblas_CYGWIN \
 c:/cygwin/lib/python2.2/site-packages/Numeric*/*/*/*.o \
  ^^

I could be wrong, but I wouldn't expect this to work.  Use Cygwin
(POSIX) paths to refer to object files on the gcc command line.

Regards,
David


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



Re: Setup Download from Internet Question

2003-02-27 Thread David Starks-Browning
On Thursday 27 Feb 03, BB writes:
 As a followup question, In order to create a CD to install from, would it be
 better to simply ftp the files from one of the mirror sites.

Yes.

  What would the
 correct directory structure have to be for setup to install from the
 d:\cygwin-setup as a local source assuming d: was a cd?  Would this be
 enough?
 
 d:\setup.exe
 d:\cygwin-setup\setup.ini
 d:\cygwin-setup\release\...

Yes, if what you mean to convey is that you follow the full
sub-directory structure under release.

The tricky part is providing setup.exe with the right download path
to get setup to pull things from the CD.  Unless someone chimes in
with the right answer,  you might have to experiment a bit.

Regards,
David


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



CD/DVD writers

2003-02-26 Thread David Starks-Browning
On Wednesday 26 Feb 03, Maurício writes:
Hi,
 
Is it possible to write CD or DVDs using cygwin (obviously, giving 
 that I have the appropriate equipment working under windows)?

Try
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html.
It might work.

David


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



Re: gcc problem with filename case insensitivity

2003-02-25 Thread David Starks-Browning
On Monday 24 Feb 03, Elfyn McBratney writes:
  ...
  and I compile with gcc -Imy/include/dir sourcefile.c where
  String.h lives in my/include/dir.
 
  GCC uses my/include/dir/String.h to satisfy the string.h directive.
 
 I just tried this with check_case:strict in my CYGWIN environment
 variable, and that works. It finds /usr/include/string.h and my local
 include/String.h .

Wow, that was it.  Thank you very very much!

Cheers,
David


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



Re: Cygwin crashes on .Net Server 2003 with Terminal Services enabled

2003-02-25 Thread David Starks-Browning
On Tuesday 25 Feb 03, Thorsten Kampe writes:
  cygwin works like a charm on my .NET Standard Server 2003 RC2 with remote 
  desktop enabled.
 
 I tried it myself and it is definitely Terminal Services that make 
 Cygwin fail. In a few months there will be dozen of questions like 
 Cygwin doesn't work on Windows Server 2003, because there won't be 
 lots of changes from the Release Candidate to the actual release.

I think it's reasonable to describe what we know about the Terminal
Services in the FAQ.

David


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



ssh-add could not open connection

2003-02-24 Thread David Starks-Browning
On Sunday 23 Feb 03, Matt writes:
 I am running cygwin on WinXP I am having trouble with
 ssh-agent not being able to establish the
 SSH_AUTH_SOCK and SSH_AGENT_PID environment variables.
  then when i go to run ssh-add it can't find the
 authentication agent.  I know this is the problem
 becuase i manually executed the commands the ssh-agent
 is supposed to do automatically.  however i did find
 that i needed to add set in front of the environment
 variable assignment.  Have i messed spmething up when
 changing around permissions or what isn't this
 supposed to work in cygwin?
 
 results of ssh-agent:
 $ ssh-agent
 SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576; export
 SSH_AUTH_SOCK;
 SSH_AGENT_PID=284; export SSH_AGENT_PID;
 echo Agent pid 284;

You need to run

eval `ssh-agent`

instead of

ssh-agent

(not Cygwin-specific).

Regards,
David


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



Re: ssh-add could not open connection

2003-02-24 Thread David Starks-Browning
Please keep this on the list.

On Monday 24 Feb 03, Matt writes:
 nope, sorry, i forgot to mention i tried that having
 seen it in posts.  i tried it again and here's what i
 get
 
 $ eval 'ssh-agent'

These are the wrong quotes.

 SSH_AUTH_SOCK=/tmp/ssh-HKmR3576/agent.3576; export
 SSH_AUTH_SOCK;
 SSH_AGENT_PID=2312; export SSH_AGENT_PID;
 echo Agent pid 2312;
 
 [EMAIL PROTECTED] ~
 $ set | grep SSH
 SSH_AUTH_SOCK=/tmp/ssh-CjVj1576/agent.1576

What about SSH_AGENT_PID?

Your description of events has to be accurate or we won't be able to
help you.

David


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



Cygwin crashes on .Net Server 2003 with Terminal Services enabled

2003-02-24 Thread David Starks-Browning
On Monday 24 Feb 03, Christoph Hense writes:
 I try to use cygwin on a .Net Server 2003 RC2 with Terminal Services
 enabled.
 
 However none of the cygwin tools work.

That's too bad...

 ...
 
 Does anyone have any idea?

Please don't ask anyone to look at this until after .Net Server is
formally released.  Cygwin makes no attempt to work on un-released
versions of Windows.

Should the FAQ explicitly mention .Net release candidates?

Thanks,
David


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



1.30 gcc cannot exec \'cc1\'

2003-02-24 Thread David Starks-Browning
On Monday 24 Feb 03, [EMAIL PROTECTED] writes:
 
 Hi
 
 I am trying to compile ORCA (www.orcaware.com) under cygwin and get an error under 
 configure. I have traced the error to gcc under cygwin.
 gcc -v --help gives:

You've got a bit of learning to do if you think the Cygwin mailing
list would be interested in the output of 'gcc -v --help'!

Regards,
David


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



RE: upgrading broke cygwin?

2003-02-24 Thread David Starks-Browning
On Monday 24 Feb 03, Val Schmidt writes:
 Yes, this has caused much trouble.  
 
 I'm assuming I must create a new XP account to that of a single word
 username, and then change that in the cygwin passwd file. Would a reasonable
 procedure be something like the following:

Did you read the FAQ?  You just have give Cygwin a new userid, you
don't have to change anything in XP.  Also check the mailing list
archives, there have been other recent discussions of this that have
not (yet) been incorporated into the FAQ.

Regards,
David


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



gcc problem with filename case insensitivity

2003-02-24 Thread David Starks-Browning
Greetings,

I have a problem which I realise comes from Windows' being
case-insensitive with filenames.  Even so, maybe someone here knows
how to solve it.

Suppose I have this source file:

#include string.h
#include String.h

int main() {
  // some stuff
}

and I compile with gcc -Imy/include/dir sourcefile.c where
String.h lives in my/include/dir.

GCC uses my/include/dir/String.h to satisfy the string.h directive.

Is there any way to get GCC to check case when locating include files?

Interestingly, this used to work in B18!  (Hahaha!)
Seriously, though, the B18 release announcement has this remark:

   The conflict between String.h and string.h (and other such pairs of
header files) where you include one and get the other has been fixed.

(describing gcc in the release).

A Google search on filename case gcc site:cygwin.com turned up only
10 hits, and the B18 release announcement was one of them. :-)

Is there any possibility to get case-sensitive behavior from GCC in
this respect?

Thanks,
David


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



problem with info files

2003-02-21 Thread David Starks-Browning
Greetings package maintainers,

I notice that _update-info-dir assumes that all info files worth
indexing are of the form /usr/info/*.info.

Unfortunately, there are 3 packages (if I count correctly) that do
not follow this rule:

emacs
texinfo
groff

Are the maintainers of those packages aware of the problem?  Can these
packages be fixed?

Alternatively, it might be possible to re-write
/etc/postinstall/update-info-dir.sh to catch these exceptional cases.

Thanks for your attention.

Regards,
David



problem with info files

2003-02-21 Thread David Starks-Browning
On Friday 21 Feb 03, David Starks-Browning writes:
 Greetings package maintainers,
 
 I notice that _update-info-dir assumes that all info files worth
 indexing are of the form /usr/info/*.info.
 
 Unfortunately, there are 3 packages (if I count correctly) that do
 not follow this rule:
 
   emacs
   texinfo
   groff
 
 Are the maintainers of those packages aware of the problem?  Can these
 packages be fixed?
 
 Alternatively, it might be possible to re-write
 /etc/postinstall/update-info-dir.sh to catch these exceptional cases.

Actually, the alternative is easy.  At the expense of globbing
everything in /usr/info, rather than just *.info (which was no
problem on my PII-400 BTW), this appears to do the right thing for
both variants of info pages:

===
--- update-info-dir.sh.orig 2002-03-31 20:14:58.0 +0100
+++ update-info-dir.sh  2003-02-21 18:12:48.0 +
 -1,9 +1,13 
 #!/bin/sh
 cd /usr/info
-for f in *.info; do
+for f in *; do
 case $f in
*\**)
;;
+   *-?)
+   ;;
+   *-??)
+   ;;
*)
install-info --quiet $f dir ||
install-info  --quiet --entry=* $$f ($f): $$f $$f dir
===

(It got my texinfo info working, anyway!)

I don't see any documentation for the autodep setup hint, but I can
guess that this is necessary too:

===
--- setup.hint.orig 2002-04-10 04:11:08.0 +0100
+++ setup.hint  2003-02-21 18:16:52.0 +
 -1,6 +1,6 
 sdesc: Generate info/dir file automatically
 category: PostInstallLast
 requires: texinfo ash
-autodep: usr/info/.*\.info
+autodep: usr/info/.*
 incver_ifdep: yes
 # verpat: (_update_info)(dir-\d+-\d+)(.*)
===

If you choose to use it, I hope it's trivial enough not to require an
assignment.

Thanks,
David



toggling DOS versus UNIX line ends

2003-02-21 Thread David Starks-Browning
On Friday 21 Feb 03, Rich DeFuria writes:
 Hello,
 
 I am (happily) running cygwin on a win2k box.
 
 During installation, I chose the DOS line end option; big mistake!
 
 Now I want to change the setting to UNIX line ends.
 
 How do I toggle that setting?
 
 BTW, I have read the cygwin FAQ section
 4.3.3 How is the DOS/Unix CR/LF thing handled?
 but that is not explored there.

DOS line endings correspond to the -t (text) option to mount.
UNIX line endings correspond to the -b (binary) option to mount.
Type mount to see your current mount table, and change them from
text to binary.

Regards,
David


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




1.3.20 most recent upgrades : rxvt creates 100% load on CPU

2003-02-21 Thread David Starks-Browning
On Friday 21 Feb 03, [EMAIL PROTECTED] writes:
 Hello, list,
 
 I was experimenting with emacs, found out about C-h and Backspace
 problem, and then, in suggestion to found answers, I decided to try
 rxvt.
 
 rxvt seems to have a load problem, however. I haven't found anything
 in the mailing list archives either, and I just upgraded all my software
 this morning. When I start rxvt, the load of the CPU jumps to 100% and
 I do not seem to get a prompt. That is I can't see one, but I can type
 and execute commands.

I looked at your cygcheck output and did not see the rxvt package.
You might confirm this with cygcheck rxvt or cygcheck -c rxvt.

Then use setup to install rxvt if necessary.

Regards,
David


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




Re: toggling DOS versus UNIX line ends

2003-02-21 Thread David Starks-Browning
On Friday 21 Feb 03, Igor Pechtchanski writes:
 You can re-run Setup and switch that setting (without installing any
 packages, just set all to Keep or Skip, unless you want to upgrade at
 the same time).

I didn't think of that.  I should add it to the FAQ.

Thanks,
David


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




Re: Why the rash of people bypassing setup.exe to install?

2003-02-21 Thread David Starks-Browning
On Monday 17 Feb 03, David Starks-Browning writes:
 On Saturday 15 Feb 03, andrew clarke writes:
  ...
  Section 2 of the FAQ might also put people off using Setup because it's
  described as a work-in-progress and seemingly a bit of a moving target.
 
 I'll see if I can make this sound less off-putting.

This should be a bit better now.

David


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




Re: (fwd) non us keyboards and cygwin xfree86

2003-02-20 Thread David Starks-Browning
On Thursday 6 Feb 03, Alexander Gottwald writes:
 On Thu, 6 Feb 2003, J S wrote:
 
  Hi Tom,
  
  I tried that but got:
  
  $ xkbcomp -xkm -m gb /usr/X11R6/lib/X11/xkb/keymap/xfree86 
  /etc/X11/xkb/keymap/gb
  Error:Include file wrong type (expected KeyNames, got Keymap)
Include file xfree86 ignored
Abandoning keycodes file gb
 
 Why are still people working with this way? The keyboard is configurable
 in the config file /etc/X11/XF86Config. A sample config file can be found
 at http://www.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2

But how do we use /etc/X11/XF86Config?  I don't have one there
already.  I downloaded your sample, but there was a lot of other stuff
besides the keyboard options.  Is there a trick to getting it to work?
I tried deleting everything in your sample except:

Section InputDevice
Option XkbRules   xfree86
Option XkbModel   pc105
Option XkbLayout  gb
EndSection

(I'm trying to use a UK keyboard layout.)  Did I delete too much?

Note the FAQ (4.5) talks about this, but doesn't say anything about
XF86Config.  I also have no XF86Config man page.  I use
/usr/X11R6/bin/startx to start X.

Thanks for your help!

Regards,
David




rxvt dialog at shutdown suggests failure to exit due to ssh-agent?

2003-02-20 Thread David Starks-Browning
On Wednesday 19 Feb 03, Jim Kleckner writes:
 Consistently when I shutdown Win2K I get a dialog
 asking to end an rxvt process:
 End Program: rxvt0510
 Windows cannot end this program.  It may need
 more time to complete an operation. ...
 End Now/Cancel
 
 I launch rxvt via an rxvt.lnk that contains
 the following as the Target:
C:\cygwin\bin\rxvt.exe -e bash.exe -i
 I typically launch two instances of rxvt so
 that I can toggle from one to the other.  Prior
 to shutdown, I type exit into each shell and the
 window closes.  ...  I use keychain and ssh-agent
 is still running.  If I shut down ssh-agent
 with keychain -k prior to exiting the bash
 shells, then shutdown proceeds properly.
 
 Is there a way for keychain to launch ssh-agent
 such that it doesn't cause this hang?

(caveat: I don't use Win2K and I don't use keychains, and I don't know
precisely how keychains work.  Presumably it just manages ssh-agent
and ssh-add.)

I don't know how to launch ssh-agent such that it doesn't cause this
hang.  But I do know how to kill ssh-agent automatically when you
exit a shell.  Just add:

trap 'test -n $SSH_AGENT_PID  eval `ssh-agent -k`' EXIT

to your .bash_profile (or whatever).  Actually, the test for
$SSH_AGENT_PID should not be necessary, but on Win9x I had problems
running 'ssh-agent -k' when there was no agent to kill.  Maybe
keychain users need to replace

eval `ssh-agent -k`
with
keychain -k

(but I'm just guessing).

If *all* shells source that line, then you have the problem that the
first one to exit will kill ssh-agent, and maybe you don't want that.
You could put something a bit more sophisticated in your .bash_profile
(or whatever) to identify a master shell, depending on your
requirements.

Killing ssh-agent when your shell exits is not a Cygwin-specific
problem.  (Though the need to kill ssh-agent before logging off or
shutting down *is*.)

Hope this helps.

Regards,
David


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




Re: rxvt dialog at shutdown suggests failure to exit due to ssh-agent?

2003-02-20 Thread David Starks-Browning
On Thursday 20 Feb 03, Jim Kleckner writes:
 Thank you for the suggestion.
 
 David Starks-Browning wrote:
 
  On Wednesday 19 Feb 03, Jim Kleckner writes:
 [snip]
  If *all* shells source that line, then you have the problem that the
  first one to exit will kill ssh-agent, and maybe you don't want that.
  You could put something a bit more sophisticated in your .bash_profile
  (or whatever) to identify a master shell, depending on your
  requirements.
 
 Unfortunately, this is exactly what keychain is for -
 to start the agent in one shell and then share access
 from many shells.  I start up and shut down many rxvt/bash
 shells during the day without having to provide my
 passphrase.  Stopping the agent with keychain is easy by
 just typing keychain -k.  I forget to do that just
 about every time.

Your exit trap function could be something that checks to see if it's
the last rxvt window remaining, and if so, runs keychain -k.

(I agree, this is a workaround.  It would be nicer if ssh-agent would
die quickly and quietly at Windows logout or shutdown.  I don't know
if that's possible.)

Regards,
David


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




Re: GPL Violation

2003-02-20 Thread David Starks-Browning
On Thursday 20 Feb 03, Frédéric L. W. Meunier writes:
 Corinna Vinschen wrote:
 
  I make cygwin1.dll.bz2 available so that people can run the
  static binaries.
 
  If you provide the Cygwin DLL in binary form, you must
  provide the sources of that version as well.
 
 Would a link to the latest version, say
 
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/release/cygwin-1.3.20-1-src.tar.bz2
 suffice ?

*Sigh*

I realise the FAQ needs to address this.

David


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




Username with space in it

2003-02-18 Thread David Starks-Browning
On Tuesday 18 Feb 03, David Rasmussen writes:
 My Windows user name is David Rasmussen. I've found
 that some things choke on the space in the user name,
 for example bootstrapping gcc. So I would like to use
 another name, david as my username. Can that be
 done? And how?

Do you really need to change your user name?  You probably just need
to change your home directory.  See what's currently done in
/etc/profile.  Set HOME to something else.  Make sure you create that
directory, and also edit /etc/passwd accordingly.

Regards,
David


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




Re: Why the rash of people bypassing setup.exe to install?

2003-02-17 Thread David Starks-Browning
On Saturday 15 Feb 03, andrew clarke writes:
 ...
 Section 2 of the FAQ might also put people off using Setup because it's
 described as a work-in-progress and seemingly a bit of a moving target.

I'll see if I can make this sound less off-putting.

But I also agree with Chris, that the people who read the FAQ are not
the people messing up their installations by not using setup.

Regards,
David


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




Re: cron and network drives

2003-02-17 Thread David Starks-Browning
On Friday 14 Feb 03, Larry Hall (RFK Partners, Inc.) writes:
 We need an entry in the FAQ about the inaccessiblity of network shares
 from Cygwin run services.
  
  
  FWIW, it's in the User's Guide:
  http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3
  Igor
 
 Thanks Igor.  I'll ask David if he can add this verbiage to the FAQ
 too.

I'll look into it.  Thanks for bringing it to my attention.

David


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




a2ps

2003-02-17 Thread David Starks-Browning
On Monday 17 Feb 03, Ajay Simha writes:
 hi,
 
 I tried to run configure on a2ps-4.13 and get this error:
 
 [asimha@ASIMHA-W2K /tmp/a2ps-4.13]$ ./configure
 ...
 checking for flex... no
 checking for lex... no
 checking for flex... ${SHELL} /tmp/a2ps-4.13/auxdir/missing --run flex
 checking for yywrap in -ll... no
 checking lex output file root... ${SHELL}: not found
 configure: error: cannot find output from ${SHELL} /tmp/a2ps-4.13/auxdir/missing
  --run flex; giving up

Did you install flex?

David


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




Can't set mark in emacs

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

Have you tried it under rxvt?  Might work a lot better.

David


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




cygdrive

2003-02-12 Thread David Starks-Browning
On Wednesday 12 Feb 03, Maurício writes:
Hi,
 
Why can't we see /cygdrive with ls in /, and also can't see it using 
 word completion in bash (i.e., typing cd /cyg and pressing tab)?
 
Thanks,
Maurício

I guess this belongs in the FAQ.  (It's not there already?)

/cygrive is not really there in the sense that ls or bash need them
to be for the actions you describe.  It's an internal means to access
unmounted drives.  That's all.

Regards,
David
(Cygwin FAQ maintainer)


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




Re: I can't exit emacs

2003-02-07 Thread David Starks-Browning
On Friday 7 Feb 03, Stephen Ford writes:
 Put 'set CYGWIN=tty' in cygwin.bat and now C-x C-c exits emacs. The 'M-x
 save-buffers-kill-emacs' works too, but C-h does not. Any further ideas?

What do you want C-h to do?

Use F1 for help.

Regards,
David


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




Re: Mirrors list order is snafued - What is the order supposed tobe?

2003-01-22 Thread David Starks-Browning
On Wednesday 22 Jan 03, Igor Pechtchanski writes:
  IMO, the best solution would be adding a sort by best bandwidth button
  or something similar to the mirror display.  Then, setup can query all of
  the mirrors and put the closest one at top.  It could save that order in
  some file locally, too.
 
  cgf
 
 Yep, and have a Re-ping button that the user could press to re-evaluate
 the bandwidth.  This way, the only time it happens automatically is the
 first time setup is run, and after that it's under user control.  

If I may interject, I hope setup never does this automatically, not
even the first time it runs.  Can an arbitrary sort order be
acceptable by default, unless the user wants to sort by ping
performance?

Thanks,
David




Re: Mirrors list order is snafued - What is the order supposedto be?

2003-01-22 Thread David Starks-Browning
On Wednesday 22 Jan 03, Lapo Luchini writes:
 David Starks-Browning wrote:
 
 If I may interject, I hope setup never does this automatically, not
 even the first time it runs.  Can an arbitrary sort order be
 acceptable by default, unless the user wants to sort by ping
 performance?
 
 What harm can do a single 50-byte UDP packet when there is high 
 probabiilty that a real connection needshundreds of big TCP packets 
 just to download setup.bz2?
 Less harm than people using always the first mirror as they never 
 re-order it, imho.

OK, good point.  As long as nothing *blocks* waiting for pings to
finish, I guess I don't care if setup pings.

Thanks,
David




RE: SIGINT to bash behaves differently in rxvt as compared to console

2003-01-22 Thread David Starks-Browning
On Wednesday 22 Jan 03, [EMAIL PROTECTED] writes:
 Igor,
 
 Cheers - but I just tried that and it didn't have any effect. That variable
 is not set by default in either the console or rxvt.
 
 Bummer.
 
 Duncan.

Did you set CYGWIN before starting *any* Cygwin programs?  Put it in
your system environment and reboot.

David

 -Original Message-
 From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]]
 Sent: 21 January 2003 19:25
 To: Loveday,DAH,Duncan,YEE24 R
 Cc: [EMAIL PROTECTED]
 Subject: Re: SIGINT to bash behaves differently in rxvt as compared to
 console 
 
 
 On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote:
 
  I find on a Windows NT4 (SP6) platform with the latest versions
 (downloaded
  today) of cygwin1.dll, rxvt, bash etc that if I run a windows command
  script, say a.cmd, which in turn runs some other process (e.g. a pause),
 if
  I hit ^C then the behaviour is different in rxvt as compared to the cygwin
  console.
 
  In the console, the process being run by the command script is always
  interrupted and then sometimes the rest of the command script continues to
  execute but sometimes it says 'Terminate batch job (Y/N)' in which case if
 I
  answer 'Y' the whole command script stops.
 
  In rxvt, the ^C returns me to a prompt but the process being run is not
  interrupted and continues in the background.
 
  What I'd really like is for the ^C to consistently abort the whole command
  script.
 
  Has anyone come across this and/or is able to offer advice/solutions ?
 
  Duncan
 
 Duncan,
 
 You need to add tty to your CYGWIN environment variable.  Read
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for details.
   Igor
 -- 
   http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_  [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
 '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 
 Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
   -- /usr/games/fortune
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


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




Re: Emacs Problem

2003-01-15 Thread David Starks-Browning
Scott,

You don't say anything about:

 - whether you mean emacs to an X display or emacs -nw aka emacs-nox
 - assuming the latter, whether in the standard Cygwin command window,
   or rxvt.

I don't think you'll have this problem in rxvt (I don't).  If a
standard command window, does Randall's advice fix the problem?  If so
I'll add something to the FAQ.

Thanks,
David
(Cygwin FAQ maintainer)

On Wednesday 15 Jan 03, Randall R Schulz writes:
 
 This is reaching the proportions of a FAQ: You need to include tty in 
 your CYGWIN environment variable, lest the Cygwin tty driver commandeer the 
 CTRL-C and send a SIGINT when it's typed.
 
 Randall Schulz


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




Re: FAQ now misleads about cygcheck output

2002-12-03 Thread David Starks-Browning
On Monday 2 Dec 02, Igor Pechtchanski writes:
 I submitted a patch for this a while ago, but it didn't seem to make it
 into the FAQ...  Any news on that?

I haven't gotten to it yet, sorry.  Perhaps tonight.

Thanks,
David


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




FAQ now misleads about cygcheck output

2002-12-02 Thread David Starks-Browning
On Sunday 1 Dec 02, Jason C. Johnston writes:
 For the Cygwin FAQ maintainer:
 
 Quoted from the FAQ under Posting Guidelines --
 
   Details about your Cygwin setup, accomplished by pasting the
 output of 'cygcheck -s -v -r' into your message. (Do not send the
 output as a   file attachment.)

Right.  Sorry, I'll fix that.

 Recent discussion suggests the advice is now obsolete. It may also be an
 idea to state that the now-desirable attachment should not be
 compressed.

Thanks,
David
(Cygwin FAQ maintainer)


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




Newbie setup question

2002-11-29 Thread David Starks-Browning
On Friday 29 Nov 02, [EMAIL PROTECTED] writes:
 My appologies for this simple question.  Please let me know if this is the
 wrong place to ask, but I've been struggling with this for some time now...
 
 I'm trying to use GCC for Palm programming.  I followed the Installing
 prc-tools on MS Windows with Cygwin instructions,

What instructions are you talking about?  The place to get prc-tools
is http://prc-tools.sourceforge.net/.  You followed those
instructions?  If they are incorrect, report them to prc-tools project
maintainer, not the cygwin mailing list.

(Unless, of course, you can determine that you've found a Cygwin
problem.  But it doesn't sound like you are that far along yet.)

Regards,
David


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




Re: ls problem

2002-11-22 Thread David Starks-Browning
Carlo,

Do you have any anti-virus software running?  'ls -l' has to open each
file, and this typically triggers your AV software to scan it.
Depending on your AV product, and how you have configured it, this
might explain unusual delays.

If you do have AV software running, try repeating the tests with it
disabled, and report back.

Thanks,
David


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




Re: cygwin release

2002-11-18 Thread David Starks-Browning
On Sunday 17 Nov 02, Igor Pechtchanski writes:
 Thanks for the prompt response.  I realized that he asked for a better
 window, that's why I tried searching for both.
 For the future, though, would sending a patch to winsup/doc/faq.texinfo
 instead make your job easier, or harder?

Patches are always gratefully considered.

But I've already added the FAQ entry Is there a better alternative to
the standard console window?.  Have a look, and if you think it needs
improving, let me know.  (Rather, let the list know.)

Thanks,
David


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




ls problem

2002-11-18 Thread David Starks-Browning
On Monday 18 Nov 02, Carlo Florendo writes:
 Hello,
 
 I've been using cygwin for 3 years now and last week, I downloaded the
 latest cygwin from one of the mirrors and everything in well except for one
 problem.  I noticed that whenever I type 'ls -', the output gets delayed for
 a few seconds.  This never happened to me using the old cygwin.

There is a FAQ entry, Why is Cygwin suddenly *so* slow?.  Maybe it
describes your problem.

Regards,
David


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




Re: cygwin release

2002-11-17 Thread David Starks-Browning
On Sunday 17 Nov 02, Igor Pechtchanski writes:
 On Sun, 17 Nov 2002, Lapo Luchini wrote:
 
  Dennis Lubert wrote:
 
   just saw the new cygwin release, and since I don't know who to ask, I
   ask you ;) Is there any other shell, oder shell-like program I can use
   cygwin with ? I use is currently with the MS-DOS command-line, but I
   can't resize this, can't do copy/paste and so on... I would like to
   use it like a usual linux terminal...
 
  download rxvt package, it works also on native Win32
  'nuff said
  Lapo
 
 Note to the FAQ maintainer: this seems to be an FAQ, and hard to search
 for in the archives (better shell turns up nothing, better window
 turns up lots of irrelevant matches).

Although Dennis asks for a better shell, he means window.

I may get something in the FAQ tonight, but if not, it'll be another
week because I am travelling.

Regards,
David
(Cygwin FAQ maintainer)


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




Mirrors very slow?

2002-11-16 Thread David Starks-Browning
On  16 Nov 02, Henry S. Thompson writes:
 Am I the only one who has found the mirrors very slow to get synced
 lately?  None of the recently announcement packages are available at
 any of the mirrors I've checked, and over the last few weeks it's
 sometimes taken two or three days for things to appear.

Generally speaking, there's nothing much Cygwin can do about mirrors.
However, there is a check-mirrors script that runs every night.  It
checks a list of putative mirrors and those that are out of date
don't make it to the verified mirrors list, which you can read at
http://cygwin.com/mirrors.html, and which is checked by setup.exe
when you run it.

If mirrors are *very* out of date, but still make it to the verified
list, there might be a problem with the check-mirrors script.

I don't think check-mirrors is so strict that it will de-list mirrors
which are just a couple of days behind.  You just have to hunt around
to find one that works well for you, if you need the very latest
packages.

Regards,
David


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




later w32api package required to build cygwin

2002-11-16 Thread David Starks-Browning
Thanks Chris, your new gcc package makes it possible to build Cygwin
from cvs, using Cygwin on Windows 98.

VERY impressive.  Nice work Cygwinners!

Regards,
David

On Thursday 14 Nov 02, David Starks-Browning writes:
 Greetings,
 
 I've been attempting to build cygwin1.dll from within Cygwin.
 
 I checked out winsup from cvs, and am building in a separate
 directory.
 
 It fails because my installed /usr/include/w32api/winioctl.h (from the
 w32api-2.0-1 package) is out of date compared to that in cvs
 (winsup/w32api/include/winioctl.h).
 
 ...


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




Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]

2002-11-15 Thread David Starks-Browning
On Friday 15 Nov 02, Christopher Faylor writes:
 Note that there were multiple snapshots generated yesterday so if you
 grabbed one and it didn't work, it's worthwhile to grab the latest.

Multiple versions dated 2002-11-14?

Could that explain why Bill still sees the problem with his 2002-11-14
snapshot?

David




emacs lockup w/ TERM = linux

2002-11-15 Thread David Starks-Browning
On Friday 15 Nov 02, Bill Priest writes:
 I've tried this with the cygwin1-20021114.dll.bz2
 snapshot as well as the net release.

Are you sure that you're using the 2002-11-14 snapshot?  Did
you rename it to cygwin1.dll, replacing the previous one?

Because that snapshot fixes all those problems for me.

I've been using /usr/bin/emacs (X and no X) all day now with no
problems at all.

Thanks,
David



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




emacs lockup w/ TERM = linux

2002-11-15 Thread David Starks-Browning
On Friday 15 Nov 02, Bill Priest writes:
 All,
 Another piece of the puzzle.
 
 if TERM = linux inside rxvt (windows version) then
 emacs hangs while loading the lisp files; status line
 freezes on Loading international/mule-cmds...

OK, there is indeed something wierd going on with TERM=linux.  Not as
you describe, but the screen fills with ;2cl; (or something like that)
and C-x C-c doesn't work.  I can't attach with strace.  This is Win98.

I have no problems with TERM=cygwin or TERM=vt200, for example:

TERM=cygwin emacs-nox -q
TERM=vt200 emacs-nox -q

But the default for rxvt is xterm.  Why are you using linux?  Have
you tried using the default xterm?

 if TERM = cygwin inside rxvt (windows version) then
 emacs displays the first character on the far right.
 
 if TERM = vt200 inside rxvt (windows version) then
 emacs works correctly.
 
 TERM = linux used to work (I've been using it this way
 since Joe put up the first version).

Regards,
David


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




Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this oneis for you]

2002-11-14 Thread David Starks-Browning
Harold,

I identify the latest snapshot without the problem here:

http://sources.redhat.com/ml/cygwin/2002-11/msg00654.html

Regards,
David

On Thursday 14 Nov 02, Harold L Hunt II writes:
 I have seen plenty of reports that emacs is going into an infinite loop 
 upon startup, but I have not been able to offer any solution to help 
 people fix this problem.
 
 Well, now I have the same problem on my machine.  This is obviously due 
 to a bug in some new Cygwin package, and I am guessing that cygwin1.dll 
 is most likely the culprit (as there have been no new XWin.exe nor emacs 
 releases in quite some time).
 
 The problem showed up after I ran setup.exe on Monday, I believe... but 
 I did not run emacs again until today.
 
 So, which release do we think caused this problem?  I am running 
 cygwin1.dll version 1.3.15-1 from November 7th.




later w32api package required to build cygwin

2002-11-14 Thread David Starks-Browning
Greetings,

I've been attempting to build cygwin1.dll from within Cygwin.

I checked out winsup from cvs, and am building in a separate
directory.

It fails because my installed /usr/include/w32api/winioctl.h (from the
w32api-2.0-1 package) is out of date compared to that in cvs
(winsup/w32api/include/winioctl.h).

Is there a good way to deal with this?  It's easy enough for me to
fix this one file, but I only spotted it because make failed
completely.  It's likely that there are other differences between my
Cygwin installation and the winsup CVS, that might cause me to build
cygwin1.dll incorrectly.

Is there some way that

  #include winioctl.h

(for example) can automatically look in .../winsup/w32api/include
instead of the standard location /usr/include/w32api?

Thanks very much.

Regards,
David


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




patched cygwin emacs available (for signal looping problem)

2002-11-14 Thread David Starks-Browning
Joe,

Good work!  This fixes the problem for me.  I tried emacs.exe with X
and was not able to get it to spin.

Thanks very much!

David

On Thursday 14 Nov 02, Joe Buehler writes:
 Would those people having a problem with the Cygwin emacs
 going into an infinite signal loop please try testing the
 new emacs binaries that can be found at the following location?
 
 http://68.98.180.124:3000/cygwin/emacs/
 
 No guarantee that it will fix anything, but I have applied a patch
 that was necessary to fix a similar problem under a version of UNIX.
 
 If this fixes anything, I will release a new version of emacs for
 Cygwin.


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




patched cygwin emacs available (for signal looping problem)

2002-11-14 Thread David Starks-Browning
Uggh, no, sorry Joe, I got mixed up somehow.

Your new executable is no different.  I get the same spinning loops as
before.

Very occasionally, I am unable to get emacs to spin.  In fact, when I
thought you had fixed it, I was actually running the wrong (old)
emacs.exe.  Crazy coincidence that it would not fail the *one time* I
mistakenly thought I was running your new test version.  Crazy.

These tests, in which both versions of emacs.exe spin, were with the
latest cygwin1.dll snapshot (2002-11-13).

Regards,
David

On Thursday 14 Nov 02, David Starks-Browning writes:
 Joe,
 
 Good work!  This fixes the problem for me.  I tried emacs.exe with X
 and was not able to get it to spin.
 
 Thanks very much!
 
 David
 
 On Thursday 14 Nov 02, Joe Buehler writes:
  Would those people having a problem with the Cygwin emacs
  going into an infinite signal loop please try testing the
  new emacs binaries that can be found at the following location?
  
  http://68.98.180.124:3000/cygwin/emacs/
  
  No guarantee that it will fix anything, but I have applied a patch
  that was necessary to fix a similar problem under a version of UNIX.
  
  If this fixes anything, I will release a new version of emacs for
  Cygwin.


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




Re: patched cygwin emacs available (for signal looping problem)

2002-11-14 Thread David Starks-Browning
On Thursday 14 Nov 02, Christopher Faylor writes:
 On Thu, Nov 14, 2002 at 10:31:09AM -0500, Joe Buehler wrote:
 Would those people having a problem with the Cygwin emacs
 going into an infinite signal loop please try testing the
 new emacs binaries that can be found at the following location?
 
 http://68.98.180.124:3000/cygwin/emacs/
 
 No guarantee that it will fix anything, but I have applied a patch
 that was necessary to fix a similar problem under a version of UNIX.
 
 If this fixes anything, I will release a new version of emacs for
 Cygwin.
 
 There is a new cygwin snapshot which *may* fix this behavior, too.
 Please try it.

No, I tried it, it does not help.

Regards,
David


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




Re: later w32api package required to build cygwin

2002-11-14 Thread David Starks-Browning
On Thursday 14 Nov 02, Igor Pechtchanski writes:
 See http://cygwin.com/ml/cygwin-developers/2002-11/msg00045.html

Actually, I'm not convinced this is correct.  I'm investigating.
Unfortunately each iteration takes quite a while on my lowly PII-300
laptop.

Regards,
David


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




Re: Emacs in XWin is performing oddly

2002-11-13 Thread David Starks-Browning
On Wednesday 13 Nov 02, Harold L Hunt II writes:
 Hmm...
 
 I am beginning to wonder if I built the last release with the munged 
 binutils release that was only around for a day or two.  That same 
 release of binutils caused my class project code to segfault on startup 
 everytime... updating to the latest bintuils cured the problem.  Maybe I 
 will make a new release soon...
 
 Harold

Harold,

I've been posting to the main cygwin list.  I don't know about your
segfaults, but the spinning described below is reproducible outside
of X.

Regards,
David

 Artur Hefczyc wrote:
 
 I have installed all of the cygwin emacs packages and I now am
 experiencing problems with emacs with the X server.  Launching emaces
 causes one of the following:
 
 1) the application never displays its window (CPU utilization to 100%)
 2) the application displays its window but it is unresponsive (CPU
 utilization to 100%)




Re: Emacs in XWin is performing oddly

2002-11-13 Thread David Starks-Browning
On Wednesday 13 Nov 02, Harold L Hunt II writes:
 David,
 
 Excellent.  I believe I can now punt this problem over to the emacs 
 packagers.

No, it's not just emacs, either.

 Hey, are you the emacs packager for Cygwin?

No, just a grateful user.

Regards,
David




Not just X (Was: Cygwin Emacs-X uses 99% of cpu)

2002-11-13 Thread David Starks-Browning
I also observe emacs spinning.  I see it with both emacs and
emacs-nox.  I also see it on an old cygwin non-X build of xemacs-21.5.
So it's not strictly related to X.  (Except that it is very easily
triggered by emacs + X.)

I observe it in cygwin-1.3.15-1 and 1.3.15-2.  It all goes away if I
revert to cygwin-1.14-1.  This is WinNT 4.0.

With emacs-nox, I can trigger it by quickly and repeatedly calling a
child process (stunnel, from VM, to get mail via SSL).  It's the only
way I can trip up emacs-nox.  In normal usage (get mail
occasionally, not quickly  repeatedly), it's quite difficult to
reproduce.  (Happens only very rarely.)

With emacs-nox, on WinNT 4.0, cygwin-1.3.15-2, here is the bit that
repeats indefinitely:

  222 553656862 [sig] emacs-nox 380 wait_sig: looping
  222 553657084 [sig] emacs-nox 380 wait_sig: awake
  220 553657304 [sig] emacs-nox 380 wait_sig: processing signal 20
  219 553657523 [sig] emacs-nox 380 wait_sig: Got signal 20
  223 553657746 [sig] emacs-nox 380 sig_handle: signal 20
  219 553657965 [sig] emacs-nox 380 sig_handle: signal 20, about to call 0x200DFBFC
  222 553658187 [sig] emacs-nox 380 setup_handler: suspending mainthread
  285 553658472 [sig] emacs-nox 380 interruptible: pc 0x610BD706, h 0x6100, 
interruptible 1, testvalid 1
  227 553658699 [sig] emacs-nox 380 interruptible: pc 0x610BD706, h 0x6100, 
interruptible 0, testvalid 0
  238 553658937 [sig] emacs-nox 380 setup_handler: couldn't send signal 20
  223 553659160 [sig] emacs-nox 380 setup_handler: ResumeThread returned 1
  221 553659381 [sig] emacs-nox 380 setup_handler: returning 0
  216 553659597 [sig] emacs-nox 380 sig_handle: returning 0
  243 553659840 [sig] emacs-nox 380 proc_subproc: args: 3, 0
  220 553660060 [sig] emacs-nox 380 proc_subproc: looking for processes to reap
  218 553660278 [sig] emacs-nox 380 proc_subproc: finished processing 
terminated/stopped child
  235 553660513 [sig] emacs-nox 380 proc_subproc: returning 1

Notice in this case it's signal 20 (SIGCHLD).

When I repeat the exercise using emacs and X, it's signal 14
(SIGALRM), like others have reported.  It spins before a window is
even drawn.

  228 107117477 [sig] emacs 402 wait_sig: looping
  230 107117707 [sig] emacs 402 wait_sig: awake
  220 107117927 [sig] emacs 402 wait_sig: processing signal 14
  218 107118145 [sig] emacs 402 wait_sig: Got signal 14
  215 107118360 [sig] emacs 402 sig_handle: signal 14
  217 107118577 [sig] emacs 402 sig_handle: signal 14, about to call 0x201240A4
  233 107118810 [sig] emacs 402 setup_handler: suspending mainthread
  311 107119121 [sig] emacs 402 interruptible: pc 0x77F1D642, h 0x77F0, 
interruptible 1, testvalid 1
  329 107119450 [sig] emacs 402 interruptible: pc 0x77F1D642, h 0x77F0, 
interruptible 0, testvalid 0
  264 107119714 [sig] emacs 402 setup_handler: couldn't send signal 14
  221 107119935 [sig] emacs 402 setup_handler: ResumeThread returned 1
  219 107120154 [sig] emacs 402 setup_handler: returning 0
  222 107120376 [sig] emacs 402 sig_handle: returning 0

Here's what it looks like with an old cygwin (non-X11) build of
xemacs-21.5.  It spins when a child terminates, such as exiting bash
in a M-x shell buffer.  The simple combination M-x shell + exit
has no problem, but if I do M-x shell, then a few basic bash commands like cd's
and ls's, then exit, it spins.  Here is the repeating part:

  228 92598188 [sig] xemacs 370 wait_sig: looping
  230 92598418 [sig] xemacs 370 wait_sig: awake
  225 92598643 [sig] xemacs 370 wait_sig: processing signal 20
  231 92598874 [sig] xemacs 370 wait_sig: Got signal 20
  221 92599095 [sig] xemacs 370 sig_handle: signal 20
  224 92599319 [sig] xemacs 370 sig_handle: signal 20, about to call 0x4D7EE0
  227 92599546 [sig] xemacs 370 setup_handler: suspending mainthread
  325 92599871 [sig] xemacs 370 interruptible: pc 0x77F1D642, h 0x77F0, 
interruptible 1, testvalid 1
  279 92600150 [sig] xemacs 370 interruptible: pc 0x77F1D642, h 0x77F0, 
interruptible 0, testvalid 0
  257 92600407 [sig] xemacs 370 setup_handler: couldn't send signal 20
  229 92600636 [sig] xemacs 370 setup_handler: ResumeThread returned 1
  234 92600870 [sig] xemacs 370 setup_handler: returning 0
  231 92601101 [sig] xemacs 370 sig_handle: returning 0
  226 92601327 [sig] xemacs 370 proc_subproc: args: 3, 0
  224 92601551 [sig] xemacs 370 proc_subproc: looking for processes to reap
  233 92601784 [sig] xemacs 370 proc_subproc: finished processing terminated/stopped 
child
  228 92602012 [sig] xemacs 370 proc_subproc: returning 1

Would it help if I tried snapshots between 1.3.14 and 1.3.15 to narrow
it down?

Thanks,
David


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




Not just X (Was: Cygwin Emacs-X uses 99% of cpu)

2002-11-13 Thread David Starks-Browning
On Wednesday 13 Nov 02, David Starks-Browning writes:
 I also observe emacs spinning.  I see it with both emacs and
 emacs-nox.  I also see it on an old cygwin non-X build of xemacs-21.5.
 So it's not strictly related to X.  (Except that it is very easily
 triggered by emacs + X.)
 
 I observe it in cygwin-1.3.15-1 and 1.3.15-2.  It all goes away if I
 revert to cygwin-1.14-1.  This is WinNT 4.0.
 
 ...
 
 Would it help if I tried snapshots between 1.3.14 and 1.3.15 to narrow
 it down?

I find that this is the last snapshot without the problem:

CYGWIN_NT-4.0 BRYCE 1.3.15s(0.62/3/2) 20021103 23:52:20 i686 unknown

This snapshot exhibits the problem:

CYGWIN_NT-4.0 BRYCE 1.3.16s(0.63/3/2) 20021106 21:24:12 i686 unknown

(Although I'm quite ignorant about Cygwin internals, my money is on
the sigproc.cc changes...)

Hope this helps.

Regards,
David


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




ssh-add fails on win98 w/ cygwin1.dll 1.3.14,15

2002-11-07 Thread David Starks-Browning
Greetings,

With cygwin-1.3.13 on Win98, these work great, and I use them all the
time:

bash$ eval `ssh-agent`
bash$ ssh-add

But since 1.3.14, and still with 1.3.15, ssh-add fails with:

Could not open a connection to your authentication agent.

When I run ssh-add under strace, it dumps:

bash$ strace -o trace-output ssh-add -l
  79588 [main] ssh-add 382023 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  80807 [main] ssh-add 382023 open_stackdumpfile: Dumping stack trace to 
SSH-ADD.EXE.stackdump

Here is the stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=00401F70
eax=100C0288 ebx= ecx=CE0746D0 edx=00401F70 esi=0001 edi=00415F40
ebp=0074FDB8 esp=0074FD5C program=C:\CYGWIN\BIN\SSH-ADD.EXE
cs=015F ds=0167 es=0167 fs=18E7 gs= ss=0167
Stack trace:
Frame Function  Args
0074FDB8  00401F70  (61007457, FFFE, 0020, 610C7958)
0074FE08  6100753D  (, , BFFC9490, 0074FF68)
0074FE28  00414F02  (00401F70, 037F0500, 0074FF78, BFF8B537)
0074FE38  0040103C  (, 817579FC, 0054, 2D687353)
0074FF78  BFF8B537  (81757C10, 817579FC, 0008, )
1492178 [main] ssh-add 382023 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
1536314 [main] ssh-add 382023 handle_exceptions: Error while dumping
state (probably corrupted stack)

Trace output below (177 lines).  Is there something else I can do?

Thanks,
David

**
Program name: C:\CYGWIN\BIN\SSH-ADD.EXE (382023)
App version:  1003.14, api: 0.62
DLL version:  1003.15, api: 0.63
DLL build:2002-11-06 22:41
OS version:   Windows 98-4.10
Heap size:402653184
Date/Time:2002-11-07 22:53:00
**
 15944552 [main] SSH-ADD 382023 environ_init: 0x100C0430: BLASTER=A220 I5 D1 T4
  6455197 [main] SSH-ADD 382023 environ_init: 0x100C0450: CMDLINE=WIN
  6415838 [main] SSH-ADD 382023 environ_init: 0x100C0460: COLORFGBG=15;default;0
  6436481 [main] SSH-ADD 382023 environ_init: 0x100C0480: COLORTERM=rxvt-xpm
  6407121 [main] SSH-ADD 382023 environ_init: 0x100C0498: 
COMSPEC=C:\WINDOWS\COMMAND.COM
  6777798 [main] SSH-ADD 382023 environ_init: 0x100C04C0: CVS_RSH=ssh
  7108508 [main] SSH-ADD 382023 environ_init: 0x100C04D0: DISPLAY=:0
  7199227 [main] SSH-ADD 382023 getwinenv: can't set native for HOME= since no 
environ yet
  6529879 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: conv_to_posix_path 
(C:\cygwin\home\starksb, no-keep-rel, no-add-slash)
  362   10241 [main] SSH-ADD 382023 normalize_win32_path: C:\cygwin\home\starksb = 
normalize_win32_path (C:\cygwin\home\starksb)
  368   10609 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: /home/starksb = 
conv_to_posix_path (C:\cygwin\home\starksb)
  948   11557 [main] SSH-ADD 382023 win_env::add_cache: posix /home/starksb
  338   11895 [main] SSH-ADD 382023 win_env::add_cache: native 
HOME=C:\cygwin\home\starksb
  348   12243 [main] SSH-ADD 382023 posify: env var converted to HOME=/home/starksb
  662   12905 [main] SSH-ADD 382023 environ_init: 0x100C0500: HOME=/home/starksb
  657   13562 [main] SSH-ADD 382023 environ_init: 0x100C0648: HOMEDRIVE=C:
  647   14209 [main] SSH-ADD 382023 environ_init: 0x100C0660: 
HOMEPATH=\cygwin\home\starksb
  644   14853 [main] SSH-ADD 382023 environ_init: 0x100C0688: LESS=-X
  642   15495 [main] SSH-ADD 382023 environ_init: 0x100C0698: LESSCHARSET=latin1
  645   16140 [main] SSH-ADD 382023 environ_init: 0x100C06B0: MAKE_MODE=unix
  646   16786 [main] SSH-ADD 382023 environ_init: 0x100C06C8: 
MANPATH=/usr/local/man:/usr/man:/home/starksb/man
  668   17454 [main] SSH-ADD 382023 environ_init: 0x100C04E0: OLDPWD=/home/starksb
  667   18121 [main] SSH-ADD 382023 environ_init: 0x100C0700: PAGER=less
  726   18847 [main] SSH-ADD 382023 getwinenv: can't set native for PATH= since no 
environ yet
  670   19517 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: conv_to_posix_path 
(C:\cygwin\home\starksb\bin, keep-rel, no-add-slash)
  442   19959 [main] SSH-ADD 382023 normalize_win32_path: C:\cygwin\home\starksb\bin = 
normalize_win32_path (C:\cygwin\home\starksb\bin)
  358   20317 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: /home/starksb/bin 
= conv_to_posix_path (C:\cygwin\home\starksb\bin)
  363   20680 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: conv_to_posix_path 
(C:\cygwin\usr\local\bin, keep-rel, no-add-slash)
  354   21034 [main] SSH-ADD 382023 normalize_win32_path: C:\cygwin\usr\local\bin = 
normalize_win32_path (C:\cygwin\usr\local\bin)
  362   21396 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: /usr/local/bin = 
conv_to_posix_path (C:\cygwin\usr\local\bin)
  361   21757 [main] SSH-ADD 382023 mount_info::conv_to_posix_path: conv_to_posix_path 
(C:\cygwin\bin, keep-rel, no-add-slash)
  352   22109 [main] SSH-ADD 382023 normalize_win32_path: C:\cygwin\bin = 
normalize_win32_path (C:\cygwin\bin)
  352   22461 [main] SSH-ADD 382023 

Re: Cannot compile my first Cygwin program

2002-10-30 Thread David Starks-Browning
On Wednesday 30 Oct 02, Janos Blazi writes:
 Now everything works.
 ...
 and I could compile my test.cpp.

Congratulations.  Now for the next lesson:  don't call your test
application test (or test.exe).  You will probably have difficulty
distinguishing it from the bash shell builtin test and
/usr/bin/test.

Regards,
David


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




Re: emacs on cygwin

2002-10-10 Thread David Starks-Browning

On Wednesday 9 Oct 02, Christopher Faylor writes:
 On Wed, Oct 09, 2002 at 07:10:31PM -0700, Joshua Daniel Franklin wrote:
 I was looking at the FAQ and realized some questions need an update.
 I plan to do this. However, some of them I don't have the knowledge
 to frame a correct updated answer. One I particularly noticed was:
 
 Is there a Cygwin port of GNU Emacs?
 
 No. If you want NT Emacs to understand Cygwin paths, get cygwin-mount.el from
 http://www.emacswiki.org/elisp/index.html.
 
 If you want to run emacs -nw, say from a remote login shell, you can't. (The
 error is emacs: standard input is not a tty.) Instead, use a Cygwin version 
 of XEmacs, from http://www.xemacs.org/. Using xemacs -nw from a remote shell
 
 works fine. 
 
 To be exact, I know that there is now a Cygwin version of GNU Emacs, that
 XEmacs does not have a (setup.exe) Cygwin package, and that those URLs work.
 However, I don't the status of GNU Emacs or NT Emacs in a remote login shell.
 
 I haven't seen David Starks-Browning (FAQ maintainer) around lately but
 I suspect that he might be interested in fixing this.

Indeed!  I will certainly have to fix that question.  Thanks for
bringing it to my attention.

However, I don't use the Cygwin port of Emacs (yet?), so I also do not
know the status of using emacs -nw from a remote shell.

Has anyone tried this?  Does it work?

Thanks,
David


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




Re: emacs on cygwin

2002-10-10 Thread David Starks-Browning

On Thursday 10 Oct 02, Bjoern Kahl AG Resy writes:
  However, I don't use the Cygwin port of Emacs (yet?), so I also do not
  know the status of using emacs -nw from a remote shell.
 
  Has anyone tried this?  Does it work?
 
  I have installed Cygwin including the GNU-emacs package offered by
  cygwin-setup. I use the GNU-emacs both, with X11 and in terminal
  (emacs -nw) mode. No problems in local or remote (via ssh) execution.
  Works well in xterm (emacs -nw), direkt via X11 (emacs draws its own
  window) and in cygwin-terminal (cygwin.bat and emacs -nw).

Thanks very much for this report.

I'll try to update the FAQ tonight.

Kind regards,
David


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




/etc/profile package maintainer (Was: problems with XFree)

2002-07-25 Thread David Starks-Browning

On  25 Jul 02, in cygwin-xfree, Robert Collins writes:
 I've been trying for *ages* to get /etc/profile to be an external file.
 All' it needs is *someone* willing to be a package maintainer for it.
 Hardly an onerous role, yet no one seems willing to do it. 
 
 As soon as someone emails me with their willingness, I can provide the
 relevant tarall immediately, and that person then can just add
 /usr/X11R6/bin to the path in /etc/profile.

Rob,

I'm willing to do this.

It will be a few days before I can assemble the package, though.

Thanks,
David




/etc/profile package maintainer (Was: problems with XFree)

2002-07-25 Thread David Starks-Browning

On  25 Jul 02, in cygwin-xfree, Robert Collins writes:
 I've been trying for *ages* to get /etc/profile to be an external file.
 All' it needs is *someone* willing to be a package maintainer for it.
 Hardly an onerous role, yet no one seems willing to do it. 
 
 As soon as someone emails me with their willingness, I can provide the
 relevant tarall immediately, and that person then can just add
 /usr/X11R6/bin to the path in /etc/profile.

Rob,

I'm willing to do this.

It will be a few days before I can assemble the package, though.

Thanks,
David




Installing problem

2002-05-18 Thread David Starks-Browning

On Saturday 18 May 02, CiccioSPICE writes:
 Hi,
 a friend of mine has copied setup and every pachage on a CD, but I find a 
 prolem during the installation. The list of avalaible package are empty and 
 there is a messagenothing to install/update. My os is win 98. What can I 
 do? Excuse me for my very bad english and thank you for your precious help.

We can't see what's on the CD, and you don't tell us how you are
trying to install it, so it's difficult to diagnose your problem.
Perhaps your friend did not copy setup.ini properly.

My advice is to have your friend exactly mirror one of the Cygwin
mirrors, including setup.exe, setup.ini and the release directory,
preserving the directory structure.  Burn that on a CD.  When running
setup.exe, choose install from internet and give a custom URL of the
form //HOST/CD where \\HOST\CD is the share name of your CD-ROM
drive (which you'll have to assign if you haven't already).

There may be other ways of doing this, especially with the latest
setup, but this approach worked for me a few weeks ago.

Regards,
David


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




two installs one works; one doesn't

2002-05-17 Thread David Starks-Browning

On Thursday 16 May 02, Jim George writes:
 I have cygwin, cygwin-xfree, and postgres installed on two Win2K systems.
 The first is a W2K Professional on a Toshiba Laptop, the second is a W2K
 Advanced Server on a desktop.
 
 The first works like grease lightening, the second runs like a dog in xfree
 and postgres (indeed I can't even run initDB).

Both have the same anti-virus software setup?

I notice massive performance differences depending on which product I
use and how it's configured.

David


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




Window Size

2002-05-14 Thread David Starks-Browning

On Tuesday 14 May 02, Eric Ng writes:
 May I know how I can expand the cygwin window size? do i use the 'BASH' 
 command or something else?

Use rxvt.

Regards,
David


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




RE: Cut and paste standard input and output

2002-05-13 Thread David Starks-Browning

  Is there a way to mount /dev so one can see everything that's 
  available there?
 
 No.

This should certainly be in the FAQ.  I'll add it.

Regards,
David
(Cygwin FAQ maintainer)


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




FAQ Alert? (was Re: Problems in shm.cc from cvs)

2002-05-13 Thread David Starks-Browning

On Monday 13 May 02, Jason Tishler writes:
  Jason Tishler has already suggested a possible cause for this problem:
  http://cygwin.com/ml/cygwin/2002-05/msg00639.html
 
 Should the above become a FAQ?  At least, until cygipc goes away?

Yes, I suppose so.  Thanks for bringing it to my attention.

David
(Cygwin FAQ maintainer)


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




where's control-o?

2002-05-13 Thread David Starks-Browning

On Monday 13 May 02, Tye Zdrojewski writes:
 Hello,
 
 It appears that control-o is not reaching the shell through either the
 console nor rxvt.  It seems like it is being caught by Windows.  This
 is in-and-of-itself not such a big deal.  But if I'm using rxvt and hit
 control-o while in a telnet session, the rxvt window is *toast*.  I did
 this by accident a few times, and lost a few telnet sessions, due to my
 frequent use of C-p and bad aim!  

This has been discussed in the mailing list archives.  You should find
a workaround there.  I plan to add something to the FAQ about this.

Regards,
David


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




F-Secure anti-virus causes system crash when scanning the C:\cygwin directory.

2002-05-09 Thread David Starks-Browning

On Thursday 9 May 02, Brad Morgan writes:
 I have a Cygwin (setup.exe version 2.194.2.15) full install on my Windows
 2000 (SP2)
 desktop and on my (W2000) laptop computers.  My anti-virus software is
 F-Secure Anti-virus 5.22.
 
 On both machines, if I run a Scan all Hard Disks I get a blue screen or a
 spontaneous reboot while scanning the C:\cygwin directory.  Removing that
 directory
 eliminates the problem.
 
 Is there anything special about the cygwin directory structure that might
 cause this problem?  Any specific file which might cause this problem?

I find it useful to get reports like this to the mailing list.  Now
Cygwin users know to avoid F-Secure.  However, the only people who can
help you are F-Secure.  Report the problem to them so they can fix
their broken anti-virus software.

mcnulty I happen to be shopping around for anti-virus software
myself, which is why I'm grateful for this report.  I had always found
my-etrust to be reliable and problem-free, but I'm tired of receiving
HTML-only email from them, something they only started doing a few
months ago. *sigh* /mcnulty

Cheers,
David


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




Re: gcc 2.95.3-5 inline patch [FAQ alert]

2002-05-07 Thread David Starks-Browning

On Monday 6 May 02, Christopher Faylor writes:
 I'm not going to be issuing any new gcc releases until sometime after
 3.1.
 
 I guess this needs to be a FAQ or something.

OK.

David
(Cygwin FAQ maintainer)


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




problem with telnet and ftp server on win 2K

2002-04-30 Thread David Starks-Browning

On Tuesday 30 Apr 02, John Vincent writes:
 I've discovered that I cannot successfully telnet into my Win 2K box using 
 the cygwin inetd, there is also a problem with the ftp service. I've 
 installed inetd as per instructions, and installed it as a service.
 
 When I use telnet to attempt to log in, everything goes OK until the point 
 where a shell should be started, at that point I get a pop-up box appearing 
 on my Win 2K screen with the title bash.exe - Application Error and the 
 text The application failed to initialize properly (0xc022). Click on 
 OK to terminate the application. When I click on OK my telnet session ends 
 with the message Connection closed by foreign host.

This has been discussed on the mailing list before, search the
archives.  I noticed it with cygwin-1.3.10 on NT4, and found that
enabling ntsec solved the problem for me.  But there are lots of
things to check, like the correctness of your /etc/passwd and
/etc/group files, rights given to the inetd service account,
execute permissions on the applications and cygwin1.dll, ...

It's a mystery, to me, why it fails without ntsec but works with
ntsec, all other things being the same.  But I've stopped worrying
about it, now that I use ntsec.

Good luck.  Report back if you have something new to add.

Regards,
David


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




advise on using fetchmail

2002-04-30 Thread David Starks-Browning

On Tuesday 30 Apr 02, Mark Cooke writes:
 Ive created a /etc/hosts and inserted the correct info, but I still get the 
 error,

It doesn't go in /etc/hosts.  On NT, it goes in
C:\WINNT\System32\drivers\etc\HOSTS (or equivalent for your
NT installation).

Sorry, I know this belongs in the FAQ.

Regards,
David
(Cygwin FAQ maintainer)


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




Control-O not working in Pico When telneting

2002-04-26 Thread David Starks-Browning

On Friday 26 Apr 02, Jeff Rozycki writes:
 
 
 When I telnet to a remote host (Cygwin/bash) and run Pico, Control-O (save
 contents but don't exit Pico) does not work.  

You leave out important details, like whether you use rxvt, or whether
Cygwin is the local or remote system (or both).

Others have reported problems with C-o in rxvt, though I myself have
none.  See http://sources.redhat.com/ml/cygwin/2002-04/msg00820.html
and the thread containing it.  This could end up in the FAQ, so I'm
interested in whether it solves your problem too.

Thanks,
David
(Cygwin FAQ maintainer)


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




Re: Control-O not working in Pico When telneting

2002-04-26 Thread David Starks-Browning

On Friday 26 Apr 02, Jeff Rozycki writes:
 
 
 I'm running Cygwin locally (NT) only.
 I am not using rxvt (just tried rxvt though and it froze when I tried
 control-o to save a file while telneting)
 I type telnet from a bash shell. Then pico on a remote linux server...

OK, interesting, but did you read the mail message I cited and try the
workaround given there?

 ...
 Others have reported problems with C-o in rxvt, though I myself have
 none.  See http://sources.redhat.com/ml/cygwin/2002-04/msg00820.html
 and the thread containing it.  This could end up in the FAQ, so I'm
 interested in whether it solves your problem too.
 
 Thanks,
 David
 (Cygwin FAQ maintainer)


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




Re: bash 2.05a-3: option to allow drive letter prefixes for completion?

2002-04-17 Thread David Starks-Browning

On Tuesday 16 Apr 02, Chris Metcalf writes:
 On Tue, 16 Apr 2002, Chet Ramey wrote:
  Readline has a set of characters it uses as word
  delimiters for completion, and the calling application can modify that
  set to its tastes.  Bash includes `:' as a word break character, which
  makes it convenient to complete colon-separated lists like $PATH. 
  Since the colon breaks words, the only thing that gets passed to the
  filename completer is `/' and whatever follows it.  Quoting the colon
  (the simplest thing to use is a backslash) causes readline to not
  consider it a word break character.
 
 In that case, it sounds like the right question to be asking is whether
 there is a user-visible knob that we can tweak to modify the set of
 characters which bash passes to readline as word break characters.
 Both : and  seem like reasonable candidates to allow removing
 from the word-break list, with the obvious caveats about functionality
 that would no longer be supported within the shell: $PATH-type list
 modification and automatic hostname completion, respectively.

Fair enough, but that would be an issue for bash, not Cygwin.

Since it's probably only a source of confusion for Cygwin users, I'll
add something to the Cygwin FAQ about this.

Thanks Chet, for helping us out with the answer!

Regards,
David
(Cygwin FAQ maintainer)


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




True Static Linking

2002-04-17 Thread David Starks-Browning

On Tuesday 16 Apr 02, Westley Weimer writes:
 I am using gcc under cygwin and I would like to ship hello.exe to a friend
 who does not have cygwin1.dll on his computer.
 ...
 (1) Is there a -static switch that statically links in cygwin1.dll?

Read the FAQ entry Can I build a Cygwin program that does not require
cygwin1.dll at runtime?

 (2) If not, how else can I solve this problem?

Have them install Cygwin.  If they only want the cygwin package from
the Base category, they can de-select all the other packages that
would otherwise be installed by default.

Regards,
David


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




Control-O hangs rxvt

2002-04-15 Thread David Starks-Browning

On Friday 12 Apr 02, Christopher Glaeser writes:
 Control-O in emacs via a telnet session hangs rxvt.  Is there a way to remap
 Control-O so that it can be used in emacs to insert a new line?  If not, is
 there a way to un-hang rxvt after using Contorl-O?

I don't have any problem using C-o in emacs in rxvt.  You'll have to
solve the problem yourself or provide a lot more detail than what you
supplied here.

Regards,
David


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




Re: Bash shell extension ?

2002-04-12 Thread David Starks-Browning

On Friday 12 Apr 02, Sam Edge writes:
 (Most of this is really nothing to do with cygwin - it's all standard
 Windows stuff.)
 
 REGEDIT4
 
 ...

But it is a Frequently Asked Question and I've been meaning to add
something to the FAQ about it, so I appreciate that you went into such
detail.

Thanks,
David
(Cygwin FAQ maintainer)



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




can somebody show me an example Rxvt config file?

2002-04-11 Thread David Starks-Browning

On Thursday 11 Apr 02, jinhyuk choi writes:
 I found rxvt works so cool.
 now It replaced stupid command.com but can not find
 any example Rxvt config file in doc directory.
 somebody can show me an example Rxvt configuration
 file?

man rxvt

David


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




is it impossible to use 2000-like command.com on 98?

2002-04-10 Thread David Starks-Browning

On Wednesday 10 Apr 02, jinhyuk choi writes:
 I use win98.
 I just wanna use cmd.exe like bash shell not
 command.com
 free scroll, cut and paste, input locale language,
 etc.

Try rxvt.

Regards,
David


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




question about local variables in bash for cygwin

2002-04-08 Thread David Starks-Browning

On Monday 8 Apr 02, Evan Teran writes:
 Hello I have cygwin installed on my WinXP box and am loving it.  However
 I just noticed today that when I tried to use the local keyword in my
 bash script it gives me the error local: not found.  The script works
 on a RedHat box as expected so I would think that this is a cygwin/bash
 problem.

Read the Cygwin FAQ entry Why doesn't my shell script work?

David


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




Re: cx-logos

2002-04-05 Thread David Starks-Browning

On Friday 5 Apr 02, Nikolaus Bates-Haus writes:
 You're right. I missed the message when it came through;
 http://sources.redhat.com/ml/cygwin-xfree/2002-02/msg00234.html
 
 Logo by Tucker McLean; I like it.

Yes, this one is very good IMO.

David




Re:bash script Q

2002-04-05 Thread David Starks-Browning

Unless there is something Cygwin-specific to your question here, I
would point out that this is off-topic for this list, and ask you to
take your shell programming questions elsewhere.

Thanks,
David

On Friday 5 Apr 02, Gupta, Sanjay writes:
 I assuming that I am reading all files from /tmp/ directory
 
 for File in /tmp/*
 do
## Check, if it is a File
if [ -f $File ] ; then
  ## Yes, it is a file
  ## Get the basename and cut two characters
   TWOBYTES=`basename $File | cut -b1,2`
   if  [ $TWOBYTES  = %! ] ; then
   echo File Name Valid
   else
   echo File Name Not Valid
   fi
else
   ## This is a directory
   ## I do not know what you want to do here , put your code here.
fi
 done
 
 
 
 
 Hi,
   anyone point me to the best bash script option for checking the
 first 2
 characters of all the files in a directory?
 
 logic of the script is
 
 for each file in directory
   test if the first 2 chars are %!
   print Filename  valid
   if not
   print Filename  not valid
 
 
 Does magic do something like this ?
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


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




RE: ncftp current release won't run - missing CYGREADLINE5.DLL

2002-04-04 Thread David Starks-Browning

On Thursday 4 Apr 02, Robert Collins writes:
  Sorry, but I ran the newest setup This Week (monday), and it 
  broke my ftpd operation, (Can't set uid) and tossed out the 
  cygreadline5.dll breaking ncftp.exe so I'm not spreading old 
  information.
  
  One of the posters aimed me at the Faq which talks about
  how dll's can get deleted, and how to manually walk thru
  the installation and install separate packages in order to 
  restore deleted dlls, 
  which I then paraphrased and posted in reply
  to Robert Collins question. 
  
  If setup.exe is now fixed, thats great,
  I guess the Faq needs to be updated. 
 
 Yes, you're right. 

Someone will have to explain to me how the FAQ is wrong here.
(Apologies if it's been stated.  This thread has been difficult for me
to follow, even after studying it in the list archives.)

Thanks,
David
(Cygwin FAQ maintainer)


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




RE: cygqwin with mingw32 question

2002-03-30 Thread David Starks-Browning

On Saturday 30 Mar 02, Norman Vine writes:
 Since this question comes up quite frequently
 maybe we could add the following 'tip' to the faq
 
 Q) What preprocessor symbols does Cygwin define
 A)  Use the tool Luke :-)
 
 % echo  jnk.c
 % gcc -E -dM jnk.c
 % gcc -mno-cygwin -E -dM jnk.c
 % rm jnk.c

Thanks, I will do that.

David


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




Re: cygqwin with mingw32 question

2002-03-29 Thread David Starks-Browning

On Friday 29 Mar 02, Jonathan Wilson writes:
 I did see that but what I dont understand is if __CYGWIN__ is defined 
 when -mno-cygwin is selected.

Try it!  Bet you would have learned faster than asking here!  (Would
have saved *me* some time, that's for sure...)

 I also need to know if cygwin GCC defines some specific flag that I can 
 test for that identifies it as GCC.

info cpp

Hope this helps.

David


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




ntsec, ssh and cygwin

2002-03-28 Thread David Starks-Browning

On Thursday 28 Mar 02, Daniel Holtkamp writes:
 Hello everyone,
 
I´m using cygwin for some time now but today i ran into a problem.
I´ve got a user-request that they want to be able to scp files to a
host without entering their password everytime. No problem i
thought, deploy the public-key on the server and that should do it,
but it won´t work.

Well there's a bit more to it than that but we don't know if you did
the steps or not.  I don't think that ntsec is a prerequisite for
using ssh-agent.  I found it to be a prerequisite for logging in to my
domain account, but that's another story.

I´ve read some manual stuff and came to the conclusion that i
should use the ntsec variable. I do this because i think the
problem lies with the file-permissions on the ~/.ssh/id_rsa file
(group and world readable). Well, no problem, set the variable,
fire up cygwin and what happens ? Everything is messed up, can´t
even write to my home-directory anymore. I think it´s because i´m a
domain-user and not the local computer user. I reinstalled Cygwin
several times and always ran into the same problem. (Domain user is
not included in /etc/passwd ... only the local ones).

So add it then.  Use mkpasswd -d  mkgroup -d to determine the right
entries.

David


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




Re: bash: more: command not found

2002-03-28 Thread David Starks-Browning

On Thursday 28 Mar 02, Larry Hall (RFK Partners, Inc) writes:
 David (Starks-Browning), would it be worthwhile to add the How do I find out 
 what package utility XXX is in? to the FAQ?

What packages should I download? is already there.

David


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




Re: [ANNOUNCEMENT] Setup.exe update

2002-03-25 Thread David Starks-Browning

On Monday 25 Mar 02, Cliff Hones writes:
 Despite having followed the various posts, I am
 still confused by the current status of setup.exe,
 and I doubt if I'm alone.
 
 Robert announced the new version on 19th March.
 I downloaded setup.exe shortly after (but didn't use it)
 and found I had got version 2.194.2.15.  After a flurry
 of mails about -luser32 and problems with mountpoints and w32api,
 cgf announced on 21st March that setup.exe was being reverted
 until the problem was fixed.
 
 I just tried downloading setup.exe again and found I
 still got 2.194.2.15.

We figured out how to work around the missing -luser32 problem by
repacking a couple of packages.  So it was no longer necessary to have
pulled the latest setup.  So it's back.

David


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




RE: [ANNOUNCEMENT] Setup.exe update

2002-03-25 Thread David Starks-Browning

On Monday 25 Mar 02, Gaethofs, Danny writes:
 Dear David,
 
 I earlier posted a mail of setup creating new menu entries in my install
 directory. I have looked at the setup version that was being used and found,
 just downloaded it today, version: 2.194.2.15, while I was under the
 impression using an other version. 

(huh?)

 Can somebody elaborate on which version we currently are?

Can't you just download http://cygwin.com/setup.exe and run it?  It
should tell you what version it is.

David


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




  1   2   >