Re: RFC: add a dummy configure to the packaging templates

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Dr. Volker Zell wrote:

  Igor == Igor Pechtchanski writes:

 Igor A couple of reasons.  First, lndir is not always available, and I'd hate
 Igor to make developers install the whole XFree86-bin package just to build,
 Igor say, wtf.  Secondly, lndir doesn't have the same invocation semantics as
 Igor configure, so we'd have to change the generic-build-script yet again to
 Igor accomodate it.  I'd rather include a dummy configure that does the right
 Igor thing (i.e., populates the build directory with enough files to be able
 Igor to build the package there).  If it makes you feel better, we could put in
 Igor some code to detect whether lndir is available and if it is, use it under
 Igor the covers.

 That would be great.

 Ciao
   Volker

Umm, what would be great?  Adding the script, or having it use lndir under
the covers?
Thanks for the vote, in any case.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


Status on coreutils? (was: Re: ITP moratorium still in effect?)

2004-04-01 Thread Ronald Landheer-Cieslak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Igor Pechtchanski wrote:
| The latest on coreutils is that it's still not ready to go mainstream
| (http://cygwin.com/ml/cygwin-apps/2004-03/msg00150.html).
What is the current status on this? I still have it in my ITP queue and
my Bugzilla is starting to whine about it, but if there's another ITP
that is ready to go mainstream, I'll be happy to kick it out of my queue
and be done with it ;)
If there's no progress, I'll use the little time I have a Windows
computer next to me on my desk to work on coreutils rather than example
programs for Cygwin-docs (should have a Windows box this afternoon).
rlc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAbDeOU1nODpimgXsRAsTWAKCsNCUEo5QnLBO3fYY/sc0KSo7siwCgofV0
EVl4J/U/lw+D54+BbK6Wy7w=
=7vzt
-END PGP SIGNATURE-



Re: On forming a SC [was Re: ITP moratorium still in effect?]

2004-04-01 Thread Ronald Landheer-Cieslak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Christopher Faylor wrote:
| On Sun, Mar 28, 2004 at 04:02:55PM -0500, Nicholas Wourms wrote:
|
|cgf wrote:
|
|
|I'd like to explore new methods for getting packages into the
|distribution, however.
|
|Possibly we need a gdb packages steering committee which decides on
|these things.  It could have rules like a package needs a simple
|majority vote to be a candidate for inclusion.  I'd envision seven
|people on the committee.  I have names in mind but the only two
|definites are really Corinna and me, both of whom would also have veto
|power.
|
|I'd also like to see a formal justification for why a package should be
|included, remembering that we have a software web page at cygwin.com
|which can be used to advertise packages that aren't quite up to snuff
|for the cygwin release.  I think we have accepted a couple of
packages here
|which really only deserve to be advertised on the web site.
|
|I'd really like to object to this SC idea, as most of us *have*
|exercised restraint while a select few have not.  Why should the
|responsible maintainers be punished for someone's binge ITP'ing?  I
|think we should keep it the way it is, perhaps with a little more of you
|laying the smack-down on anyone who is abusing it.  I would respect a
|veto from you, Corinna, or Chuck, but the voting should still be left to
|the existing maintainers.  After seeing what a steering committee has
|done to gcc, I'd be very hesitant to subject Cygwin to one.
|
|
| I guess we have differing views on how the steering committee affected
| gcc but this is really very different from the gcc (or gdb) steering
| committee.  In general, I think they do a good job.
|
| However, just because I used a similar term to describe this doesn't
| mean that it will be exactly like gcc's steering committee.
|
| I'm coming to feel that their should be a higher bar for package entry
| into the release and don't think that any old package maintainer should
| get an equal vote in the process.
Why not make the vote proportional to the number of packages the
maintainer maintains? I agree any ol' maintainer should not have as many
votes as, say, you, but an SC might make things a bit too massive..
|Here's one idea to limit the binge ITP's:
|No more than 1 ITP per month unless approved by either you or Corinna.
| I can't speak for Corinna, but I would rather *not* have to be the bad
| guy or a single (double?) point of contact.  I would rather have more
| community involvement.  I'm already drowning in being the focal point
| for most cygwin bugs with help from only two other developers.  I don't
| want to invent new things for me or Corinna to do, especially when there
| is no requirement for in-depth cygwin knowledge.
In that case, why not make the SC, but just five the SC members veto
right whereas all package maintainers would still have the right to
vote? In that case, you and Corinna would be permanent members of the SC
and the package maintainers could nominate the five other members (two
nominees per maintainer). The five members that get the most nominations
become the members. If there's a tie, we vote.
| Setting up a council or committee to approve or disprove apps means
| that the load is shared and there theoretically a consistent way for
| packages to be included.
Yes, but it also takes away community involvement, concentrating it on a
few elected members.
long-winded_idea
Let me elaborate my idea a bit: the SC would consist of seven members,
all package maintainers and/or cygwin (or cygwin-setup) developers. Two
members - cgf and Corinna - have a permanent seat on the SC. The other
five members have a six-month (or perhaps 12-month) term renewable ad
infinitum.
All package maintainers get to vote on ITPs. The number of votes they
carry is equal to the number of packages they maintain. Package
admission requires at least 50% of the total votes (i.e. if there are
100 packages in the distro, 50 votes are required for a new packages to
be admitted, but those 50 votes could come from only three people).
To avoid one person getting a decisive positive vote, the 50% of votes
must come from at least three different package maintainers.
The SC members all get a veto right and may prioritize certain packages
- - i.e. they may emit an ITP request (this would be a nice addition to
the Cygwin distro - maintainer wanted). People that are not in the SC
don't have the right to emit ITP requests.
An ITP that is a response to an ITP request is exempt of voting. This
gives the SC members positive power as well as the negative (veto) power
they already have. It is up to the SC members to discuss ITP requests
amongst themselves (on a dedicated cygwin-sc list, perhaps?)
The SC members will also have the power to ban a package from the distro
when it is already in the distro - either because the maintainer is MIA,
the package has no real business being in the distro, or any other
reason that is justifiable. Again, this 

Re: Status on coreutils? (was: Re: ITP moratorium still in effect?)

2004-04-01 Thread Corinna Vinschen
On Apr  1 10:39, Ronald Landheer-Cieslak wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Igor Pechtchanski wrote:
 | The latest on coreutils is that it's still not ready to go mainstream
 | (http://cygwin.com/ml/cygwin-apps/2004-03/msg00150.html).
 What is the current status on this? I still have it in my ITP queue and
 my Bugzilla is starting to whine about it, but if there's another ITP
 that is ready to go mainstream, I'll be happy to kick it out of my queue
 and be done with it ;)
 
 If there's no progress, I'll use the little time I have a Windows
 computer next to me on my desk to work on coreutils rather than example
 programs for Cygwin-docs (should have a Windows box this afternoon).

Ask Mark what's the problem.  He was already as far as removing
su, kill and uptime from the binary package but then...


Corinna

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


Re: Status on coreutils?

2004-04-01 Thread Mark Blackburn
Corinna Vinschen wrote:
On Apr  1 10:39, Ronald Landheer-Cieslak wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Igor Pechtchanski wrote:
| The latest on coreutils is that it's still not ready to go mainstream
| (http://cygwin.com/ml/cygwin-apps/2004-03/msg00150.html).
What is the current status on this? I still have it in my ITP queue and
my Bugzilla is starting to whine about it, but if there's another ITP
that is ready to go mainstream, I'll be happy to kick it out of my queue
and be done with it ;)
If there's no progress, I'll use the little time I have a Windows
computer next to me on my desk to work on coreutils rather than example
programs for Cygwin-docs (should have a Windows box this afternoon).


Ask Mark what's the problem.  He was already as far as removing
su, kill and uptime from the binary package but then...
Corinna

I was trying to get make check to finish completely but it looks like it will take more 
time than it's worth. One problem it has is with the present version of cygwin (1.5.9) 
recursive commands don't work (ie chgrp -R). That problem was fixed in CVS but I was 
hoping that a version of cygwin would become available which fixes that problem. If I 
released coreutils now we would end up with a lot of (former) fileutils commands which 
would fail when doing recursion and a lot of unhappy people on the mailing list.

Mark Blackburn.



--
If it's not POSIX... it's CRAP!


Re: Status on coreutils?

2004-04-01 Thread Corinna Vinschen
On Apr  1 15:18, Mark Blackburn wrote:
 Corinna Vinschen wrote:
 On Apr  1 10:39, Ronald Landheer-Cieslak wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Igor Pechtchanski wrote:
 | The latest on coreutils is that it's still not ready to go mainstream
 | (http://cygwin.com/ml/cygwin-apps/2004-03/msg00150.html).
 What is the current status on this? I still have it in my ITP queue and
 my Bugzilla is starting to whine about it, but if there's another ITP
 that is ready to go mainstream, I'll be happy to kick it out of my queue
 and be done with it ;)
 
 If there's no progress, I'll use the little time I have a Windows
 computer next to me on my desk to work on coreutils rather than example
 programs for Cygwin-docs (should have a Windows box this afternoon).
 
 
 Ask Mark what's the problem.  He was already as far as removing
 su, kill and uptime from the binary package but then...
 
 
 Corinna
 
 
 I was trying to get make check to finish completely but it looks like it 
 will take more time than it's worth. One problem it has is with the present 
 version of cygwin (1.5.9) recursive commands don't work (ie chgrp -R). That 

Huh?  What should be the reason for this?  The recursive commands from
fileutils are runnning fine under 1.5.9.  And I have a local build of
coreutils which also doesn't have problems under 1.5.9.

Corinna

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


Re: Updated: XFree86-xserv-4.3.0-66

2004-04-01 Thread Lev Bishop
 1) winclipboardxevents.c/winClipboardFlushXEvents/SelectionRequest -
 Change the 'format' value for the first call to XChangeProperty from 8
 to 32 since we are passing a data array of Atoms, which are 32 bits
 long.  (Lev Bishop)

TARGETS still doesn't work right. Now, a request for TARGETS puts the 
following in XWin.log (once for each request):
winMultiWindowXMsgProcErrorHandler - ERROR: BadValue (integer parameter 
out of range for operation)

I can't find the above change in the CVS (is it there?) but perhaps you
need to change from sizeof(atomTargetArr) to
sizeof(atomTargetArr)/sizeof(Atom) ?? Sorry I can't compile my own
versions to test these things but I don't even have room on my HD for the
X sources...

Lev



Re: numlock

2004-04-01 Thread Alexander Gottwald
On Thu, 1 Apr 2004, J S wrote:

 Why is it that I need to turn off the numlock key on Xfree to get the keys 
 to work properly? Is this  a feature or a bug?

X11 Design feature

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


X Error of failed request BadMatch (invalid parameter

2004-04-01 Thread kamilzapart
Hi 
I have problem with running application on machine : Sun-Solaris with Unix using 
Cygwin/X on machine with Windows XP 
I connect with Solaris after command :
xwin -querry host ip.
I add even -fp tcp/host ip:7100 ,but it seems it isn't a problem, because I can run 
all other Unix programs even without that. 

Normally when I start this secret program on machine Sun-Solaris there aren't any 
problems.


Only with this special program I have problem using Cygwin/X. 

In Unix Terminal I become a communique :

 __ 
X Error of failed request BadMatch (invalid parameter
attributes)
Major opcode of failed request: 11775
Current serial number in output stream: 12102

___

What can be the problem with? Can you help me?

Thanks for all helps.

Greetings.
Kamil 




Re: numlock

2004-04-01 Thread J S
Why is it that I need to turn off the numlock key on Xfree to get the keys 
to work properly? Is this  a feature or a bug?
X11 Design feature

bye
ago
Ah, not the answer I was expecting! Are you pulling my leg or was that a 
serious answer?!

JS.

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



Re: numlock

2004-04-01 Thread Alexander Gottwald
On Thu, 1 Apr 2004, J S wrote:

 Ah, not the answer I was expecting! Are you pulling my leg or was that a 
 serious answer?!

This is a serious answer. Numlock is treated as modifier key just like caps
lock or control. pressing a key while numlock is on is just like pressing
ctrl + key. 

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


Re: numlock

2004-04-01 Thread Thomas Dickey
On Thu, 1 Apr 2004, Alexander Gottwald wrote:

 On Thu, 1 Apr 2004, J S wrote:

  Ah, not the answer I was expecting! Are you pulling my leg or was that a
  serious answer?!

 This is a serious answer. Numlock is treated as modifier key just like caps
 lock or control. pressing a key while numlock is on is just like pressing
 ctrl + key.

Perhaps he was wondering why NumLock is turned on initially.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


How to set other languages in Emacs mule?

2004-04-01 Thread David
Hi,

I am trying to read and type Korean chracters in emacs,
and could anyone tell me how?

It's for a Korean Parser, and the input sentences are, of
course, Korean. 

I'd like to read and type Korean characters
in XWin shell, and in emacs too.

Please help.

Thank you in advance.

David


License for x-startup-scripts

2004-04-01 Thread Dick Repasky

I'm looking for the statment of license for the x-startup-scripts package.
The COPYING file in the binary tarball and in the source tarball is just
one byte long.  This is true for the version released on 25 March.

Thanks,

Dick

-

Dick Repasky
Bioinformatics Support
UITS Cubicle 101.08
Indiana University
USA

[EMAIL PROTECTED]


Re: Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Michel Bardiaux
Dave Korn wrote:

 

-Original Message-
From: cygwin-owner On Behalf Of David


I got mails from both two groups:cygwin, and cygXwin.


  Well, that's because you're on two completely different mailing lists.


It's sometimes confusing.


  You're very easily confused then.  Why don't you set up your mailer to
sort them into different folders?

Don't we need to seperate one from the other by putting
a head into Subject, for example, [cygwin] vs. [cygXwin]?


  What on earth is the use of putting a tag in the subject line when it only
pointlessly duplicates information that is already in the From/To lines:

From: cygwin-owner On Behalf Of .
Unfortunately, cygwin-xfree is congured in such a way that the FROM is 
the Original Poster, it's the REPLYTO that is cygwin. That makes it 
rather awkward to setup filter rules based on the FROM!

The vast majority of mailing lists on RH and SF use a [listname] prefix.



and when there's presumably many people who are only on one list.

  You could always just learn how to set up mail-sorting rules in your email
program, rather than expect everyone else to suddenly start doing things
your way just to save you the five minutes of effort it would take you to
sort your own problem out.
cheers, 
  DaveK


--
Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41


Re: License for X-startup-scripts package

2004-04-01 Thread Harold L Hunt II
Dick,

startx and xinitrc come from the X Window System Sample Implementation 
tree that follows the rule of including a license at the top of each 
file; these two files did not have a license in that tree, so they do 
not have a license in this package.

startxwin.bat, startxwin.sh, and startxdmcp.bat originate from this 
project and have similarly never had a license.

The run utility was written by Charles S. Wilson, and is licensed 
under the GNU General Public License as you can see from downloading 
the source package and looking at the top of 
/usr/src/x-startup-scripts-1.0.6/run/run.c.

Hope that helps,

Harold


Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David
I think I know the answer to this already, but thought I'd check to make sure.
(I googled first, but didn't find anything.)

I know how to use X11 forwarding with Cygwin so that I can have GUI apps from
my Linux box run remotely on my Windows box.

Is is possible, though, to do the opposite:  i.e., use X11 forwarding to have
GUI apps from my Windows box run remotely on my Windows box?

I'm assuming the answer is no, since Windows apps aren't X Windows apps, but
thought I'd check just in case.

I actually tried this as an experiment:  started up Cygwin's sshd on the win
box and did an ssh -X into it.  I was able to ssh in - and even launch an
app (notepad).  Problem was, of course, that notepad opened on the Windows
box, and not remotely on the Linux box.

Anyway, if there's any way to do something like this, please let me know.

Thanks,

DR

P.S.  Yes, I already know about VNC and the like.  But I want to run
individual Windows apps remotely, not the whole desktop.


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



Re: Cygwin/X11 forwarding ques.

2004-04-01 Thread Alexander Gottwald
On Thu, 1 Apr 2004, Rosenstrauch, David wrote:

 Is is possible, though, to do the opposite:  i.e., use X11 forwarding to have
 GUI apps from my Windows box run remotely on my Windows box?

No. This is not possible with X11 Forwarding.

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


Re: Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Michel Bardiaux wrote:

 Dave Korn wrote:

 -Original Message-
 From: cygwin-owner On Behalf Of David
 
 I got mails from both two groups:cygwin, and cygXwin.
 
Well, that's because you're on two completely different mailing lists.
 
 It's sometimes confusing.
 
You're very easily confused then.  Why don't you set up your mailer to
  sort them into different folders?
 
 Don't we need to seperate one from the other by putting
 a head into Subject, for example, [cygwin] vs. [cygXwin]?
 
What on earth is the use of putting a tag in the subject line when it only
  pointlessly duplicates information that is already in the From/To lines:
 
 From: cygwin-owner On Behalf Of .

 Unfortunately, cygwin-xfree is congured in such a way that the FROM is
 the Original Poster, it's the REPLYTO that is cygwin. That makes it
 rather awkward to setup filter rules based on the FROM!

Michel,

Here are some of the available headers from your message:

Mailing-List: contact cygwin-xfree-help at cygwin dot com; run by ezmlm
List-Subscribe: mailto:cygwin-xfree-subscribe at cygwin dot com
List-Archive: http://sources.redhat.com/ml/cygwin-xfree/
List-Post: mailto:cygwin-xfree at cygwin dot com
List-Help: mailto:cygwin-xfree-help at cygwin dot com, http://sources dot redhat 
dot com/ml/#faqs
Sender: cygwin-xfree-owner at cygwin dot com
Mail-Followup-To: cygwin-xfree at cygwin dot com
Delivered-To: mailing list cygwin-xfree at cygwin dot com

Take your pick. :-)
Igor
P.S. These are from the web version, so some may not be available...

 The vast majority of mailing lists on RH and SF use a [listname] prefix.

  and when there's presumably many people who are only on one list.
 
You could always just learn how to set up mail-sorting rules in your email
  program, rather than expect everyone else to suddenly start doing things
  your way just to save you the five minutes of effort it would take you to
  sort your own problem out.
 
  cheers,
DaveK

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

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


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David


 -Original Message-
 From: Alexander Gottwald
 [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin/X11 forwarding ques.
 
 
 On Thu, 1 Apr 2004, Rosenstrauch, David wrote:
 
  Is is possible, though, to do the opposite:  i.e., use X11 
 forwarding to have
  GUI apps from my Windows box run remotely on my Windows box?
 
 No. This is not possible with X11 Forwarding.
 
 bye
   ago


Thanks for the response.  Your answer probably still stands, but I just wanted
to point out a typo of mine, just in case it threw anyone off.  That should
have read:

Is is possible, though, to do the opposite:  i.e., use X11 forwarding to have
GUI apps from my Windows box run remotely on my *LINUX* box?


Thanks,

DR

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



Re: Cygwin/X11 forwarding ques.

2004-04-01 Thread Harold L Hunt II
Rosenstrauch, David wrote:


-Original Message-
From: Alexander Gottwald
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Cygwin/X11 forwarding ques.
On Thu, 1 Apr 2004, Rosenstrauch, David wrote:


Is is possible, though, to do the opposite:  i.e., use X11 
forwarding to have

GUI apps from my Windows box run remotely on my Windows box?
No. This is not possible with X11 Forwarding.

bye
ago


Thanks for the response.  Your answer probably still stands, but I just wanted
to point out a typo of mine, just in case it threw anyone off.  That should
have read:
Is is possible, though, to do the opposite:  i.e., use X11 forwarding to have
GUI apps from my Windows box run remotely on my *LINUX* box?
No, but you can use either VNC or RDP (Remote Desktop Protocol) to 
accomplish this.  VNC will work on pretty much any version of Windows, 
while RDP would require Windows XP Professional or Windows Server 2003 
(set to remote admin mode, which allows a max of two remote sessions at 
a time).  There are VNC and RDP clients for X systems, including those 
running Linux.

Hope that helps,

Harold


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David


 -Original Message-
 From: Harold L Hunt II [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin/X11 forwarding ques.

 No, but you can use either VNC or RDP (Remote Desktop Protocol) to 
 accomplish this.


Thanks for the response, but ... from my original post:

P.S.  Yes, I already know about VNC and the like.  But I want to run
individual Windows apps remotely, not the whole desktop.

Thanks,

DR

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



Re: Cygwin/X11 forwarding ques.

2004-04-01 Thread Harold L Hunt II
Rosenstrauch, David wrote:


-Original Message-
From: Harold L Hunt II [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Cygwin/X11 forwarding ques.


No, but you can use either VNC or RDP (Remote Desktop Protocol) to 
accomplish this.


Thanks for the response, but ... from my original post:

P.S.  Yes, I already know about VNC and the like.  But I want to run
individual Windows apps remotely, not the whole desktop.
Didn't see it.  I rarely read past the signature line now because of the 
gigantic BS quasi-legal disclaimers at the bottoms of most messages... 
like the one in yours :)

Harold


Re: Shouldn't we put or [CygXwin] here depending on the question?

2004-04-01 Thread David
That's really helpful !

Thank you.

David


- Original Message - 
From: Jack Tanner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:41 AM
Subject: Re: Souldn't we put or [CygXwin] here depending on the question?


 David,
 
 You can always use Gmane's web or news interfaces[1] to read the Cygwin 
 mailing lists, which doesn't require subscribing at all. To be able to 
 post while unsubscribed, add your e-mail address to the whitelist[2].
 
 1. http://news.gmane.org/search.php?match=cygwin
 2. http://sources.redhat.com/lists.html#archive-archive, question 9.
 
 Good luck.
 
 


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Alexander Gottwald
On Thu, 1 Apr 2004, Rosenstrauch, David wrote:

 Thanks for the response.  Your answer probably still stands, but I just wanted
 to point out a typo of mine, just in case it threw anyone off.  That should
 have read:
 
 Is is possible, though, to do the opposite:  i.e., use X11 forwarding to have
 GUI apps from my Windows box run remotely on my *LINUX* box?

The limiting factor is not the destination os but the graphics system on the
source. There is no way to export the windows drawing commands via X11.

There have been ideas to implement this with mirror video adapter drivers like 
utravnc uses them or with the x11drv from wine. But the last time i looked into 
it (esp. the wine x11drv driver) i found it nearly impossible to build it without
spending a half live on it.

I could redirect you to a mailing list which had this goal too but the list is dead
for about a year now after an initial lets take it on and discuss the correct name
for our project and then let it die again hype. Anyway if you are interested, you
can enjoy the silence in http://sources.redhat.com/ml/win32-x11/ (they've got about
30 messages in the last 18 months)

bye
ago, trying to stop ranting
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David


 -Original Message-
 From: Harold L Hunt II [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 12:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin/X11 forwarding ques.

 Didn't see it.  I rarely read past the signature line now 
 because of the 
 gigantic BS quasi-legal disclaimers at the bottoms of most 
 messages... 
 like the one in yours :)
 
 Harold


Yup.  They are really annoying.  Mine included.  Don't blame me; I just work
here.  :-)

Thanks,

DR

MMS csfb.cs-group.com made the following annotations.
--
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Sylvain Petreolle
How did you know that ? :-)
 yourself.  I'm not your mum, and nor is anyone else on the list, so why do
 you expect us to spoon-feed you? 


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David


 -Original Message-
 From: Alexander Gottwald
 [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 12:13 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Cygwin/X11 forwarding ques.

 The limiting factor is not the destination os but the 
 graphics system on the
 source. There is no way to export the windows drawing 
 commands via X11.
 
 There have been ideas to implement this with mirror video 
 adapter drivers like 
 utravnc uses them or with the x11drv from wine. But the last 
 time i looked into 
 it (esp. the wine x11drv driver) i found it nearly impossible 
 to build it without
 spending a half live on it.


OK.  Thanks for the background info - greatly appreciated!

DR

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



Re: Cygwin/X11 forwarding ques.

2004-04-01 Thread Sylvain Petreolle
Why would you want to run a notepad ? is your vi infected by a new cygwin virus ? :)

 I actually tried this as an experiment:  started up Cygwin's sshd on the win
 box and did an ssh -X into it.  I was able to ssh in - and even launch an
 app (notepad).  Problem was, of course, that notepad opened on the Windows
 box, and not remotely on the Linux box.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com


Re: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Harold L Hunt II
Okay, I think I asked that this email help thing not be discussed here.

Harold


RE: Cygwin/X11 forwarding ques.

2004-04-01 Thread Rosenstrauch, David


 -Original Message-
 From: Sylvain Petreolle [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin/X11 forwarding ques.
 
 
 Why would you want to run a notepad ? is your vi infected by 
 a new cygwin virus ? :)


Notepad was the test.  Outlook's the goal.

DR

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==



RE: Various starting X problems

2004-04-01 Thread Phil Betts
Hi Harold,

Firstly, it's generally bad form to quote verbatim email addresses -
although Luke did so in his original posting, so he can't complain
if a spam harvester latches onto him ;-).

Now...

Luke said:
 In my .xinitrc I *don't* have an explicit path for xterm.  However, I
 see xterm has moved from /usr/X11R6/bin to /usr/bin!  Did many other
X
 applications also move into there?My system does not have a
 problem finding xterm in /usr/bin because  /usr/bin should always be
 in your Cygwin shell path... something else is  wrong with your
Cygwin
 setup if that is not the case.

Slightly OT: I noticed that the start menu entry for xterm no longer
works.  Entering the command from the shortcut directly into the cmd.exe
shell returns without an error or any output (that I can find).  From
bash, the command works fine.  The other shortcuts that I've tried
(e.g.. xcalc) all worked, so there is presumably something unusual about
the way that xterm starts that causes a silent exit when started from a
vanilla DOS/Windows shell.  My guess is that it's relying on some env
var.

 I only noticed that xterm had moved because when I start X with
 -multiwindow (or with -clipboard), it complains like this and exits:
 
 $ PATH=$PATH:/usr/X11R6/bin startx -multiwindow -- :0

Surely this should be:

  $ PATH=$PATH:/usr/X11R6/bin startx -- -multiwindow

My understanding is that all args before the -- are client args and all
following it are server args.  If no client is specified, the default
client, which is hardcoded to be /usr/X11R6/bin/xterm is used and
-multiwindow is passed as an argument to it.

 So if I remove the exec wmaker from .xinitrc, X starts and stops
 instantly.  So I add an xterm at the end of .xinitrc (since X
doesn't
 realise the wmaker would have started lots of windows from its saved
 workspace state if it had been given a few seconds to run).

 Yeah, you have to have a magic client that is started with an exec
at 
 the end of your .xinitrc, otherwise the behavior that you described is

 exactly what is supposed to happen.

The point is that xinitrc is somewhat misnamed as it drives the entire x
session from conception to grave.  It's just a shell script and once the
last command exits and the script ends, the session is terminated.  Any
old command that won't return until you've finished with X will do.
From
the xinit(1) man page:

   An important point is that programs which are run by .xinitrc should
be
   run  in  the  background  if  they do not exit right away, so that
they
   don't prevent other programs from starting up.  However, the last
long-
   lived  program  started (usually a window manager or terminal
emulator)
   should be left in the foreground so that the script won't  exit
(which
   indicates that the user is done and that xinit should exit).

 I wonder how I can run multiwindow with wmaker as my window manager?

Why would you want to Luke?  multiwindow IS a window manager that just
wraps the X window's client area in MS Windows' frames and has an
invisible root window.

If your aim is to have wmaker style frames without an X root window, try
the -rootless option with wmaker.  I used to use X this way until
multiwindow got so good :-)


 Maybe keep the exec wmaker and set display to :1 ...  No, startx
 -multiwindow -- :1 triggers the no program named
 /usr/X11R6/bin/xterm in PATH crash.  So I don't quite see how to
 achieve that.  I tried xinit -multiwindow but that started up a full
 desktop.

Seriously, the easiet way is to use startxwin.bat and modify it 
according to the instructions in that file.  Or, if you really want to 
start from a Cygwin shell, use startxwin.sh and modify it accorinding
to 
its instructions.  There are pre-made lines that are just commented out

that start a window manager etc.

Lets have you try these things first and see where it goes.

Harold

Harold, I'm quickly coming to the opinion that .bat should really be
spelled .bad !!

My / is the recommended C:\cygwin, but /usr is mounted on D:\cygwin\usr.
This means that the all of the %CYGWIN_ROOT%\usr based paths in the
script
are all wrong.  There is no way (major kludges aside) to generate the
correct paths in a generic .bat file.  Consequently, every time I
install
a newer version, I need to hack the new .bat file (or patch my own
script
with any changes you've made).

If you'd be interested in a unified approach, where the .bat just runs
bash -c startxwin.sh (which will probably in turn be just a wrapper for
startx) I might be able to make time for this.

The ultimate goal being to make any configuration of startup
parameters external to the scripts and therefore remove ANY need for
users to hack the scripts themselves.

There was mention a while ago of making multiwindow a standalone window
manager.  Has anything been done in this direction?  It would certainly
ease making a one size fits all startup and remove much of the
confusion
this thread typifies - i.e. the rule would be:
  always 

Re: Updated: XFree86-xserv-4.3.0-66

2004-04-01 Thread Harold L Hunt II
Lev,

1) winclipboardxevents.c/winClipboardFlushXEvents/SelectionRequest -
Change the 'format' value for the first call to XChangeProperty from 8
to 32 since we are passing a data array of Atoms, which are 32 bits
long.  (Lev Bishop)
TARGETS still doesn't work right. Now, a request for TARGETS puts the 
following in XWin.log (once for each request):
winMultiWindowXMsgProcErrorHandler - ERROR: BadValue (integer parameter 
out of range for operation)

I can't find the above change in the CVS (is it there?)
No, it was missing.  When I applied the patch I got a complaint about 
the diff that followed the winclipboardxevents.c file, so I applied that 
following one by hand; but it turns out that the diff for the 
winclipboardxevents.c file was ignored as well, despite there not being 
an error indicating this.  So, I have applied the patch again and 
committed it to CVS.

but perhaps you
need to change from sizeof(atomTargetArr) to
sizeof(atomTargetArr)/sizeof(Atom) ??
Yup, that looks correct to me.  I don't think the TARGETS support has 
ever worked... it is pretty easy to see that the call to XChangeProperty 
was not correct by just looking at the next call to XChangeProperty 
about a hundred lines down in the file, and the docs make it obvious 
that it was wrong as well.  I thank you for catching this because no one 
noticed this until now and I don't think anyone else was looking for it 
either.

Sorry I can't compile my own
versions to test these things but I don't even have room on my HD for the
X sources...
Hmm... actually, you might.  I think you would only need the following 
source packages:

-base
-bin
-prog
-xserv
Those packages total only 12 MiB in bzip2 form.  Uncompressed they take 
68.2 MiB but 84.1 MiB on a disk with 4 KiB clusters.

You'd need the Cygwin packages listed on the following page (except I 
think you can skip perl since we aren't going to build the fonts):

http://x.cygwin.com/docs/cg/prog-build-native.html

Then you would edit /usr/src/xc/CYGWIN-PATCHES/host.def.in and add these 
lines to minimize the amount of code built:

===
#define BuildServersOnlyYES
#define XnestServer NO
#define XVirtualFramebufferServer   NO
===
Then you are just three simple steps away from a build of XWin.exe:

==
$ cd /usr/src
$ cp xc/CYGWIN-PATCHES/XFree86-4.3.0.sh .
$ ./XFree86-4.3.0.sh mkdirs  \
./XFree86-4.3.0.sh conf  \
./XFree86-4.3.0.sh build  build.log 21
==
Then you can find your own XWin.exe at:

/usr/src/xc/.build/programs/Xserver/XWin.exe

You can just copy this to /usr/X11R6/bin/XWin.exe and start testing the 
changes you have made.

After the initial build you can remake only the server by:

=
$ cd /usr/src/xc/.build/programs/Xserver  make XWin.exe
=
The total amount of data generated by the build was 30 MiB requiring 60 
MiB on a disk with 4 KiB clusters.  The build took 12 minutes on my machine.

So, unless you have less than 250 MiB of free disk space, then I think 
that you actually can do your own builds and probably should.

Note: I tested the above build steps and confirmed that they work; the 
numbers presented are from an actual build, not just guesses.

Harold


Re: Various starting X problems

2004-04-01 Thread Harold L Hunt II
Phil,

Phil Betts wrote:

Hi Harold,

Firstly, it's generally bad form to quote verbatim email addresses -
although Luke did so in his original posting, so he can't complain
if a spam harvester latches onto him ;-).
You know, I know that, but as you said, if they did it to themself first 
then I'm not going to lose sleep over it, nor am I going to waste my 
time confirming that I'm not reposting something that has already been 
posted since the cat is already out of the bag.

Now...

Luke said:

In my .xinitrc I *don't* have an explicit path for xterm.  However, I
see xterm has moved from /usr/X11R6/bin to /usr/bin!  Did many other
X

applications also move into there?My system does not have a
problem finding xterm in /usr/bin because  /usr/bin should always be
in your Cygwin shell path... something else is  wrong with your
Cygwin

setup if that is not the case.


Slightly OT: I noticed that the start menu entry for xterm no longer
works.  Entering the command from the shortcut directly into the cmd.exe
shell returns without an error or any output (that I can find).  From
bash, the command works fine.  The other shortcuts that I've tried
(e.g.. xcalc) all worked, so there is presumably something unusual about
the way that xterm starts that causes a silent exit when started from a
vanilla DOS/Windows shell.  My guess is that it's relying on some env
var.
I'm aware of this.  I don't remember the exact details, but there is a 
sort of Catch-22 situation for setting the start in folder for the 
xterm shortcut; neither '/usr/bin' nor '/usr/X11R6/bin' work for 
different reasons.  Furthermore, I believe that the script that creates 
the shortcuts needs to be modified to be able to support shortcuts to 
programs that live in /usr/bin.  You'll notice that the emacs shortcut 
also does not work for the same reason.

I don't have time to fix this.  I would appreciate it if someone else 
would grab the -src package for X-start-menu-icons via setup.exe and 
work on fixing it; I don't want a half-assed untested patch either, I 
want one that has been thoroughly tested (you know, tough stuff like 
clicking at least one of the tree classes of shortcuts: /usr/bin X 
programs, /usr/X11R6/bin X programs, and /usr/X11R6/bin terminal 
programs) since the sort of changes required may break the other links 
that the scripts create (this is part of the Catch-22 I was talking about).

Maybe keep the exec wmaker and set display to :1 ...  No, startx
-multiwindow -- :1 triggers the no program named
/usr/X11R6/bin/xterm in PATH crash.  So I don't quite see how to
achieve that.  I tried xinit -multiwindow but that started up a full
desktop.
Seriously, the easiet way is to use startxwin.bat and modify it 
according to the instructions in that file.  Or, if you really want to 
start from a Cygwin shell, use startxwin.sh and modify it accorinding
to 

its instructions.  There are pre-made lines that are just commented out


that start a window manager etc.

Lets have you try these things first and see where it goes.

Harold


Harold, I'm quickly coming to the opinion that .bat should really be
spelled .bad !!
My / is the recommended C:\cygwin, but /usr is mounted on D:\cygwin\usr.
This means that the all of the %CYGWIN_ROOT%\usr based paths in the
script
are all wrong.  There is no way (major kludges aside) to generate the
correct paths in a generic .bat file.  Consequently, every time I
install
a newer version, I need to hack the new .bat file (or patch my own
script
with any changes you've made).
I wrote a short utility called find_cygwin using Open Watcom but I 
haven't finished it yet.  The problems I ran into were that I could get 
the paths I needed, but exposing them to the batch file as a variable of 
some sort was darn near impossible.

If you'd be interested in a unified approach, where the .bat just runs
bash -c startxwin.sh (which will probably in turn be just a wrapper for
startx) I might be able to make time for this.
Yes, I think that may be the way to go at this point since we are 
starting to waste a lot of cycles trying to do things in batch files 
that are easily supported in shell scripts using *nix-style utilities.

Give it a try.  Download the X-startup-scripts -src package via 
setup.exe and hack away.  I don't think it would be too hard... the 
batch file will basically be just like /cygwin.bat but it will launch a 
given script instead of displaying a console... you might have to use 
run to prevent it from popping up a console that sticks around until 
all of the spawned processes finish, but maybe not.

The ultimate goal being to make any configuration of startup
parameters external to the scripts and therefore remove ANY need for
users to hack the scripts themselves.
I wouldn't go for the gold yet... just make a batch file that runs the 
shell script first so that people can still create Windows shortcuts to 
the batch file, then we can go from there.

There was mention a while ago of making multiwindow 

Re: Various starting X problems

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Harold L Hunt II wrote (irrelevant parts snipped):

 Phil Betts wrote:

  Luke said:
 
 In my .xinitrc I *don't* have an explicit path for xterm.  However, I
 see xterm has moved from /usr/X11R6/bin to /usr/bin!  Did many other
 
  Slightly OT: I noticed that the start menu entry for xterm no longer
  works.  Entering the command from the shortcut directly into the cmd.exe
  shell returns without an error or any output (that I can find).  From
  bash, the command works fine.  The other shortcuts that I've tried
  (e.g.. xcalc) all worked, so there is presumably something unusual about
  the way that xterm starts that causes a silent exit when started from a
  vanilla DOS/Windows shell.  My guess is that it's relying on some env
  var.

 I'm aware of this.  I don't remember the exact details, but there is a
 sort of Catch-22 situation for setting the start in folder for the
 xterm shortcut; neither '/usr/bin' nor '/usr/X11R6/bin' work for
 different reasons.  Furthermore, I believe that the script that creates
 the shortcuts needs to be modified to be able to support shortcuts to
 programs that live in /usr/bin.  You'll notice that the emacs shortcut
 also does not work for the same reason.

 I don't have time to fix this.  I would appreciate it if someone else
 would grab the -src package for X-start-menu-icons via setup.exe and
 work on fixing it; I don't want a half-assed untested patch either, I
 want one that has been thoroughly tested (you know, tough stuff like
 clicking at least one of the tree classes of shortcuts: /usr/bin X
 programs, /usr/X11R6/bin X programs, and /usr/X11R6/bin terminal
 programs) since the sort of changes required may break the other links
 that the scripts create (this is part of the Catch-22 I was talking about).

I don't recall any discussion or a heads-up that xterm now resides in
/usr/bin...  Any particular reason for this decision?

 I wrote a short utility called find_cygwin using Open Watcom but I
 haven't finished it yet.  The problems I ran into were that I could get
 the paths I needed, but exposing them to the batch file as a variable of
 some sort was darn near impossible.

How about the macro replace in a postinstall script approach I suggested
earlier?  Also, postinstall scripts already run *in* Cygwin, so there
should be no reason to detect it, right?  Just use cygpath...

  If you'd be interested in a unified approach, where the .bat just runs
  bash -c startxwin.sh (which will probably in turn be just a wrapper for
  startx) I might be able to make time for this.

 Yes, I think that may be the way to go at this point since we are
 starting to waste a lot of cycles trying to do things in batch files
 that are easily supported in shell scripts using *nix-style utilities.

Perhaps you're right.  As long as you run bash --login -c ..., so that
the PATH is set properly.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


Re: numlock

2004-04-01 Thread Cary Jamison
Alexander Gottwald [EMAIL PROTECTED] wrote in 
message 
news:[EMAIL PROTECTED]...
 On Thu, 1 Apr 2004, J S wrote:
 
  Ah, not the answer I was expecting! Are you pulling my leg or was that 
a 
  serious answer?!
 
 This is a serious answer. Numlock is treated as modifier key just like 
caps
 lock or control. pressing a key while numlock is on is just like 
pressing
 ctrl + key. 
 

I think perhaps the other part of this question is why some X11 servers on 
other platforms don't treat numlock as a modifier but XFree86 does.  Could 
this be made configurable?

I think this has been discussed before, though, so perhaps a search of the 
archives is in order...

Cary



Re: Various starting X problems

2004-04-01 Thread Harold L Hunt II
Igor,

Igor Pechtchanski wrote:
On Thu, 1 Apr 2004, Harold L Hunt II wrote (irrelevant parts snipped):


Phil Betts wrote:


Luke said:


In my .xinitrc I *don't* have an explicit path for xterm.  However, I
see xterm has moved from /usr/X11R6/bin to /usr/bin!  Did many other
Slightly OT: I noticed that the start menu entry for xterm no longer
works.  Entering the command from the shortcut directly into the cmd.exe
shell returns without an error or any output (that I can find).  From
bash, the command works fine.  The other shortcuts that I've tried
(e.g.. xcalc) all worked, so there is presumably something unusual about
the way that xterm starts that causes a silent exit when started from a
vanilla DOS/Windows shell.  My guess is that it's relying on some env
var.
I'm aware of this.  I don't remember the exact details, but there is a
sort of Catch-22 situation for setting the start in folder for the
xterm shortcut; neither '/usr/bin' nor '/usr/X11R6/bin' work for
different reasons.  Furthermore, I believe that the script that creates
the shortcuts needs to be modified to be able to support shortcuts to
programs that live in /usr/bin.  You'll notice that the emacs shortcut
also does not work for the same reason.
I don't have time to fix this.  I would appreciate it if someone else
would grab the -src package for X-start-menu-icons via setup.exe and
work on fixing it; I don't want a half-assed untested patch either, I
want one that has been thoroughly tested (you know, tough stuff like
clicking at least one of the tree classes of shortcuts: /usr/bin X
programs, /usr/X11R6/bin X programs, and /usr/X11R6/bin terminal
programs) since the sort of changes required may break the other links
that the scripts create (this is part of the Catch-22 I was talking about).


I don't recall any discussion or a heads-up that xterm now resides in
/usr/bin...  Any particular reason for this decision?
It wasn't a change... the xterm package has always been this way since 
its inception a couple weeks ago.

Chris and I discussed on cygwin-apps that there was no reason to put new 
X packages in /usr/X11R6 so I have not been doing this for most new X 
packages; barring those that do broken things and need to be stuck in 
/usr/X11R6, like libXft.

I wrote a short utility called find_cygwin using Open Watcom but I
haven't finished it yet.  The problems I ran into were that I could get
the paths I needed, but exposing them to the batch file as a variable of
some sort was darn near impossible.


How about the macro replace in a postinstall script approach I suggested
earlier?  Also, postinstall scripts already run *in* Cygwin, so there
should be no reason to detect it, right?  Just use cygpath...
Still don't like that approach... it makes scripts that are dependent 
upon the setup of a machine at one point in time.  I can just see the 
complaints rolling in when users cut d:\cygwin and paste it to 
c:\cygwin, fix their mount points, and see that X fails to start.

The reason I wrote a find_cygwin utility was because the assumption was 
that you don't know where cygwin1.dll is, nor do you know where cygpath 
is, not do I want the utility to be dependent upon any Cygwin utilities 
at all.  Of course, it isn't totally finished and probably never will 
be, but it was satisfying to see a 34 KiB program that could answer my 
question.

Another thing that the utility would be useful for is for launching 
programs from the start menu... if the Cygwin mount points change, all 
of the menu links are invalidated because cygwin1.dll can't be found, 
nor can anything else.  With a utility like find_cygwin you can have it 
look up where cygwin1.dll is via the mount points in the registry, then 
set the path to include that directory.  Course, this sort of doesn't 
work because batch files suck.

If you'd be interested in a unified approach, where the .bat just runs
bash -c startxwin.sh (which will probably in turn be just a wrapper for
startx) I might be able to make time for this.
Yes, I think that may be the way to go at this point since we are
starting to waste a lot of cycles trying to do things in batch files
that are easily supported in shell scripts using *nix-style utilities.


Perhaps you're right.  As long as you run bash --login -c ..., so that
the PATH is set properly.
Yup, it seems time to do this.

Harold


Problem report: Netscape program launched from a client server

2004-04-01 Thread Tam T Nguyen
Hi,

I launched the Netscape program from a remote Sun Solaris machine to be 
displayed on a Xterm window of laptop PC using X-Cygwin. The Netscape 
could not start and came back with an error message as the followings:

   Error of failed request: Badrawable (invalid Pixmap or Window Parameter)
   Major opcode o failed request: 73 (X_GetImage)
   Resource ID in failed request: 0x3a
   Serial number of failed request: 78
   Current serial number in output stream: 78
Exit 1netscape

That was the message. I have tried the XView program to display images 
of the Sun Solaris using Xterm/Cywin on a PC and it works just fine.
Please let me know how to fix this problem.

Thanks,

Tam
--
  o
(  )  |
  \\  |
  //  |
  --  Off:   818-354-7296
 ()/-|  |
 |  | Fax:   818-354-8172
/---/\Addr:  Bldg 107-104G
   ( ) ( )   ( )  Mail Addr: Bldg 107


Fwd: Re: Various starting X problems

2004-04-01 Thread luke . kendall
I'm re-sending this since the mail server rejected the .zip attachment,
it seems:

The Postfix program

[EMAIL PROTECTED]: host sources.redhat.com[67.72.78.213] said: 552 we
don't accept email with executable content (#5.3.4) (in reply to end of
DATA command)


Instead, I'll just paste them inline.  Apologies for the length.

luke

-- Forwarded message --
 From: [EMAIL PROTECTED]
  Subject: Re: Various starting X problems
 Date: Thu, 1 Apr 2004 17:08:28 +1000 (EST)
   To: [EMAIL PROTECTED]

On 31 Mar, Harold L Hunt II wrote:
  Luke,
  
  [EMAIL PROTECTED] wrote:
  Now with the workaround of knowing to run startx -- :0 to get X to
  start, I thought I'd have a poke about to see what exactly makes it
  crash.  I came up with several interesting problems.
  
  In my .xinitrc I *don't* have an explicit path for xterm.  However, I
  see xterm has moved from /usr/X11R6/bin to /usr/bin!  Did many other X
  applications also move into there?
  
  My system does not have a problem finding xterm in /usr/bin because 
  /usr/bin should always be in your Cygwin shell path... something else is 
  wrong with your Cygwin setup if that is not the case.

Hmm, okay.  /usr/bin and /bin and /usrX11R6/bin are all in my PATH. 
The error message is:

xinit:  No such file or directory (errno 2):  no program named /usr/X11R6/bin/xterm 
in PATH

Since there is no /usr/X11R6/bin/xterm (only a /usr/bin/xterm), I
suppose it's correct.  I haven't been able to find what it is that's
referencing the absolute path to the old location for xterm.

(It still seems strange to me that it moved to /usr/bin.)

  I only noticed that xterm had moved because when I start X with
  -multiwindow (or with -clipboard), it complains like this and exits:
  
  $ PATH=$PATH:/usr/X11R6/bin startx -multiwindow -- :0
  
  You shouldn't have to set the PATH to include /usr/X11R6/bin... as you 
  said, it cannot find /usr/bin/xterm.

No, if it was asking for /usr/bin/xterm it would have been okay. 
Something is asking for /usr/X11R6/bin/xterm.

  XCOMM: not found
  
  Oops... that isn't supposed to be in the startx script.  Those XCOMMs 
  are supposed to be replaced with # signs at the beginning of the line. 
  I've fixed this in a new version of the script.

Thanks.

  cat: /cygdrive/d/home/luke/.Xauthority: No such file or directory
  xinit:  No such file or directory (errno 2):  no program named 
  /usr/X11R6/bin/xterm in PATH
  
  Something else must be wrong with your path.

I don't think so.  FWIW, here is my full and ugly PATH, wrapped for
easy reading but no other changes:

/cygdrive/C/PROGRA~1/MICROS~3/VC98/BIN:
/cygdrive/C/PROGRA~1/MICROS~3/Common/MSDev98/BIN:
/cygdrive/d/home/luke/op-support:
/cygdrive/d/home/luke/bin:
/opt/bin:
/usr/X11R6/bin:
/usr/local/bin:
/usr/bin:
/bin:
/cygdrive/c/Tcl/bin:
/cygdrive/c/WINDOWS/system32:
/cygdrive/c/WINDOWS:
/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/nsr/bin:
/usr/bin:
/cygdrive/x/bin:
/cygdrive/c/mysql/bin:
/cygdrive/c/jdk1.3.1_01/jre/bin/hotspot:
/cygdrive/d/home/mport/mp/build/win32/bin:
/cygdrive/c/Program Files/Common Files/Adaptec Shared/System:
/cygdrive/c/Program Files/Canon/mport/bin:
/cygdrive/c/Program Files/Canon/mport/bin:
/cygdrive/c/Program Files/Canon/mport/bin:
/cygdrive/c/Program Files/Canon/mport/bin:
/cygdrive/c/Program Files/Canon/mport/bin:
/cygdrive/x/cygnus/cisra:
/opt/script:
/usr/local/bin:/
/handel/d/bin/script:
//handel/d/bin

Apart from some classically-stupid repetitions, and one complete stupid
and excessive repetition I didn't expect (mport), it seems functional
if inefficient.


 
  I think you have a custom ~/.xinitrc or your /etc/X11/xinit/xinitrc has 
  been modified.  Or, you might have ~/.xserverrc or 
  /etc/X11/xinit/xserverrc (which are not installed by anything I have 
  written).  Please send in any of these files if you find them so that we 
  can see what they are doing.  For starters, they are obviously starting 
  a window manager, which is not something that the version from 
  X-startup-scripts-1.0.5-1 does.

I definitely have a custom .xinitrc file.  In fact part of our site
post-install process was to create a default one, since initially
Cygwin's XFree didn't include it.  I hadn't realised it was colliding
with one from Cygwin.  Our standard site post-install creates the
~/.xinitrc.  Sounds like I'd better try to back that out.

How much does Cygwin's XFree depend on the (traditionally)
user-controlled .xinitrc file, to work properly?  Does it also depend
on specific Cygwin things in ~/.Xresources?

I'll zip up and attach the files, anyway.  I've included an XWin.log
from a failure when started with -multiwindow.

Archive:  /u/luke/xwin.zip
  Length Date   TimeName
    
 1698  04-01-04 14:22   .xinitrc
  509  11-06-02 17:31   .Xresources
  688  03-17-04 14:53   cygwin/startx.bat
 3857  04-01-04 14:25   

Re: Updated: XFree86-xserv-4.3.0-66

2004-04-01 Thread Lev Bishop
Harold:I tried the build method you described, but I get an error:

I get:
...
making all in programs/Xserver/xkb...
make[1]: Entering directory `/usr/src/xc/.build/programs/Xserver/xkb'
make[1]: *** No rule to make target `/xkmread.c', needed by `xkmread.c'.  
Stop.
make[1]: Leaving directory `/usr/src/xc/.build/programs/Xserver/xkb'
make: *** [xkb] Error 2

Seems to be something to do with the BuildXKBlib macro. Probably 
caused by the lines in config/cf/X11.tmpl:

#define BuildXKBfilelib  (BuildXKB  !BuildServersOnly)

#if BuildXKBlib
XKBFILELIBSRC = $(LIBSRC)/xkbfile


I tried adding the line:
XKBFILELIBSRC = $(LIBSRC)/xkbfile
To xc/CYGWIN-PATCHES/hosts.def.in

and building again. Which gives me an XWin.exe that appears to work (I 
haven't tested it much yet). 

I find the X build system (like many other build systems) completely 
bewildering so that's as far as I got. Did I do the right thing?

Lev









Re: Updated: XFree86-xserv-4.3.0-66

2004-04-01 Thread Harold L Hunt II
Lev,

Lev Bishop wrote:
Harold:I tried the build method you described, but I get an error:

I get:
...
making all in programs/Xserver/xkb...
make[1]: Entering directory `/usr/src/xc/.build/programs/Xserver/xkb'
make[1]: *** No rule to make target `/xkmread.c', needed by `xkmread.c'.  
Stop.
make[1]: Leaving directory `/usr/src/xc/.build/programs/Xserver/xkb'
make: *** [xkb] Error 2

Seems to be something to do with the BuildXKBlib macro. Probably 
caused by the lines in config/cf/X11.tmpl:

#define BuildXKBfilelib  (BuildXKB  !BuildServersOnly)

#if BuildXKBlib
XKBFILELIBSRC = $(LIBSRC)/xkbfile

I tried adding the line:
XKBFILELIBSRC = $(LIBSRC)/xkbfile
To xc/CYGWIN-PATCHES/hosts.def.in
and building again. Which gives me an XWin.exe that appears to work (I 
haven't tested it much yet). 
Yeah, that will work for now.  It appears that this has been fixed in 
the version that we will begin distributing next week sometime, so there 
is no need to fix this permanently in our current tarballs.

I find the X build system (like many other build systems) completely 
bewildering so that's as far as I got. Did I do the right thing?
Yup, you should be good to go... all you needed to do in this case was 
to shut up the compiler and make, which you did just fine if you got an 
XWin.exe in the end.

Now you can start sending me patches instead of instructions on what to 
do.  Send a few good patches and you'll get a cvs account to start doing 
things directly yourself.  I think that the things you are working on 
for making the clipboard support more robust and reliable are very 
worthwhile and I appreciate that you are looking into them.

For making patches, let me suggest using the little makefile I stuck in 
/usr/src/xc/programs/Xserver/hw/xwin.  If you want to make a backup of 
just the files in hw/xwin (most likely this is all you'll be sending 
patches for, or all that you'll want to backup before you make big 
changes), then just do the following:

cd /usr/src/xc/programs/Xserver/hw/xwin
make -f backup.mk VERSION=MMDD-HHMM
The scripts will make a backup of all relevent files in hw/xwin while 
ignoring stupid files created by emacs like foo~ and #foo#, or other 
backup files.  It will create a directory called 
/usr/src/xc/programs/Xserver/hw/xwin-MMDD-HHMM (of course, 
substitute the date and time there, in that ISO-style format so that 
sorting works properly).

I do this right before I make a big change and right after I am done, 
then I do the following to make a patch (where * marks the previous 
version and ^ marks the current version):

cd /usr/src/xc/programs/Xserver/hw
diff -upN xwin-MMDD-HHMM* xwin-MMDD-HHMM^  \
xwin-MMDD-HHMM^.diff
Hope that helps,

Harold


Re: Fwd: Re: Various starting X problems

2004-04-01 Thread Harold L Hunt II
Luke,



[EMAIL PROTECTED] wrote:
   cat: /cygdrive/d/home/luke/.Xauthority: No such file or directory
   xinit:  No such file or directory (errno 2):  no program named 
/usr/X11R6/bin/xterm in PATH


Something else must be wrong with your path.


I don't think so.  FWIW, here is my full and ugly PATH, wrapped for
easy reading but no other changes:
Oh no, once again I am right on this one... read on for a full 
explanation of what you need to tell us in the future when you have such 
problems.

I think you have a custom ~/.xinitrc or your /etc/X11/xinit/xinitrc has 
been modified.  Or, you might have ~/.xserverrc or 
/etc/X11/xinit/xserverrc (which are not installed by anything I have 
written).  Please send in any of these files if you find them so that we 
can see what they are doing.  For starters, they are obviously starting 
a window manager, which is not something that the version from 
X-startup-scripts-1.0.5-1 does.


I definitely have a custom .xinitrc file.  In fact part of our site
post-install process was to create a default one, since initially
Cygwin's XFree didn't include it.  I hadn't realised it was colliding
with one from Cygwin.  Our standard site post-install creates the
~/.xinitrc.  Sounds like I'd better try to back that out.
/etc/X11/xinit/xinitrc can be copied to ~/.xinitrc, but your copy looks 
pretty close to stock except for the window manager that you are running.

How much does Cygwin's XFree depend on the (traditionally)
user-controlled .xinitrc file, to work properly?  Does it also depend
on specific Cygwin things in ~/.Xresources?
Not sure what you are asking here... I don't think the things you are 
worried about matter in this case.

I'll zip up and attach the files, anyway.  I've included an XWin.log
from a failure when started with -multiwindow.
Archive:  /u/luke/xwin.zip
  Length Date   TimeName
    
 1698  04-01-04 14:22   .xinitrc
  509  11-06-02 17:31   .Xresources
  688  03-17-04 14:53   cygwin/startx.bat
 3857  04-01-04 14:25   cygwin/tmp/XWin.log
    ---
 6752   4 files

So if I remove the exec wmaker from .xinitrc, X starts and stops
instantly.  So I add an xterm at the end of .xinitrc (since X doesn't
realise the wmaker would have started lots of windows from its saved
workspace state if it had been given a few seconds to run).


Yeah, you have to have a magic client that is started with an exec at 
the end of your .xinitrc, otherwise the behavior that you described is 
exactly what is supposed to happen.


Yep, I recognised the behaviour.


I think you can override the defaultserverargs in your .xinitrc so that 
you could have a .xinitrc that both starts its own wm and prevents 
startx from passing -multiwindow to XWin.exe.  I'm not an xinit/startx 
expert, so you'll have to look for docs on that elsewhere.


Are there any docs on -multiwindow and using the Windows desktop as
your window manager?

It looks like no window manager is running at all.

I wonder how I can run multiwindow with wmaker as my window manager?
Maybe keep the exec wmaker and set display to :1 ...  No, startx
-multiwindow -- :1 triggers the no program named
/usr/X11R6/bin/xterm in PATH crash.  So I don't quite see how to
achieve that.  I tried xinit -multiwindow but that started up a full
desktop.


Seriously, the easiet way is to use startxwin.bat and modify it 
according to the instructions in that file.  Or, if you really want to 
start from a Cygwin shell, use startxwin.sh and modify it accorinding to 
its instructions.  There are pre-made lines that are just commented out 
that start a window manager etc.


Ah, yes, I knew there were some new startup scripts but I couldn't
remember what they were.  I'm still using the version of /startx.bat
that I modified, and pointed to from a desktop shortcut I've set up.

Lets have you try these things first and see where it goes.


Absolutely.  Thanks, Harold.

I tried startxwin.sh without a lot of joy.  I can't see where it gets
its starting set of windows, and I can't see how to start up any
windows conveniently either.  (Currently it has -multiwindow and
-clipboard hardwired in - it doesn't seem to do any argument
processing.)
I may change that and send you a revised one, if you'd be interested.

Perhaps my question is, why would anyone choose to run multiwindow
using the Windows desktop?  There seems to be no easy way to start X
applications, except presumably from the command line.
It doesn't seem to use .xinitrc how I'd expect.  Sure, if I add an
exec wmaker then it all fails because it thinks a window manager (the
Windows desktop) is running, and bails out.  But if instead I add an
xmessage Quit X at the end instead, that never appears.  I just end
up with the console window with yellow text on black background, and
an icon in the Windows tray, that I can use to exit X or unhide the
root window.
If I unhide the root window, then the X cursor 

Re: Fwd: Re: Various starting X problems

2004-04-01 Thread Christopher Faylor
On Fri, Apr 02, 2004 at 09:10:18AM +1000, [EMAIL PROTECTED] wrote:
I'm re-sending this since the mail server rejected the .zip attachment,
it seems:

   The Postfix program

[EMAIL PROTECTED]: host sources.redhat.com[67.72.78.213] said: 552 we
don't accept email with executable content (#5.3.4) (in reply to end of
DATA command)

There is no need to inform the list of your mailing list discoveries.
Really.  It is not interesting.


Re: Various starting X problems

2004-04-01 Thread luke . kendall
On  1 Apr, Igor Pechtchanski wrote:
  How about the macro replace in a postinstall script approach I suggested 
  earlier?  Also, postinstall scripts already run *in* Cygwin, so there 
  should be no reason to detect it, right?  Just use cygpath... 
   
If you'd be interested in a unified approach, where the .bat just runs 
bash -c startxwin.sh (which will probably in turn be just a wrapper for 
startx) I might be able to make time for this. 
   
   Yes, I think that may be the way to go at this point since we are 
   starting to waste a lot of cycles trying to do things in batch files 
   that are easily supported in shell scripts using *nix-style utilities. 
   
  Perhaps you're right.  As long as you run bash --login -c ..., so that 
  the PATH is set properly. 

That's what I do as part of my post-install.  Here's the generic
startx.bat:

rem The D: gets replaced by the real Cygwin drive during installation:
D:

chdir \cygwin\bin

rem For use with sample .profile: stop the exec in user's .profile for the
rem case where we're really starting the X server.
set STARTX=df

rem bash --login -c PATH=$PATH:/usr/X11R6/bin; startx
bash --login -c PATH=$PATH:/usr/X11R6/bin; startx -- -multiwindow
rem bash --login -c PATH=$PATH:/usr/X11R6/bin; startx -- -rootless

With this line from my 345 line post-install script:

sed s/^D:/$CYGDRIVE:/;s/\\cygwin/$CYGDIR/ startx.bat  /startx.bat
chmod 777 /startx.bat

I learned many years ago that writing Windows .bat scripts is like
typing with your nose.  There's a certain satisfaction at getting a
result, but you work a lot harder.  My rule of thumb was about 10 times
the effort of writing a shell script goes into writing a .bat script.

luke



Computer upgrade complete and a nice biography treat

2004-04-01 Thread Harold L Hunt II
I've been meaning to inform the list that I was able to purchase an 
Athlon XP 2100+ for my system and it works great.  Unfortunately, the 
low price of $50 that I was seeing was for a Thoroughbred chip while I 
needed a Palomino which ended up costing my $90.  Thankfully the chip 
worked and my build times are down over 30% from my Athlon 1.2 GHz; the 
CPU is still pegged at 100% during builds so I know the speed is not 
being limited by memory throughput or hard drive throughput.  A friend 
built the entire Cygwin/X distribution on his Pentium 4 2.8 GHz machine 
in just over 45 minutes; my relatively cheap upgrades have gotten me a 
65 minute build time, which is great for me.

Before I spoil the rest of the story, I was going to take some pictures 
of my upgraded system, and instead ended up doing a sort of mini 
biography of myself and my toys:

http://msu.edu/~huntharo/bio/

Check it out, I hope you enjoy all of the pictures... oh yeah, there is 
a picture of me for all of you that are just starving to know what I 
look like after all of these years.  ;)

Harold


Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
I got mails from both two groups:cygwin, and cygXwin.
It's sometimes confusing.

Don't we need to seperate one from the other by putting
a head into Subject, for example, [cygwin] vs. [cygXwin]?

Just an opinion, as a beginner ^^

David


RE: Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 
 -Original Message-
 From: cygwin-owner On Behalf Of David

 I got mails from both two groups:cygwin, and cygXwin.

  Well, that's because you're on two completely different mailing lists.

 It's sometimes confusing.

  You're very easily confused then.  Why don't you set up your mailer to
sort them into different folders?

 Don't we need to seperate one from the other by putting
 a head into Subject, for example, [cygwin] vs. [cygXwin]?

  What on earth is the use of putting a tag in the subject line when it only
pointlessly duplicates information that is already in the From/To lines:

 From: cygwin-owner On Behalf Of .

and when there's presumably many people who are only on one list.

  You could always just learn how to set up mail-sorting rules in your email
program, rather than expect everyone else to suddenly start doing things
your way just to save you the five minutes of effort it would take you to
sort your own problem out.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today



Re: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
I've been using Outlook Express, and
it doesn't seem that I can sort mails to
different folders. I can?
If so, would you tell me how?
I need to read/write Korean fully, so I did not
try other mail clients before. I think most of the
mail clients can cover foreign languages now, but
at this time, it may be inefficient to move to other mailer.

Anyway,
I'm on several mailing lists with this email acount, and
I thought it would be good if cygwin has a similiar mark
as others do unless, as you pointed out, I can sort them.

Thank you.

David


- Original Message -
From: Dave Korn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 9:30 AM
Subject: RE: Souldn't we put [Cygwin] or [CygXwin] here depending on the
question?



  -Original Message-
  From: cygwin-owner On Behalf Of David

  I got mails from both two groups:cygwin, and cygXwin.

   Well, that's because you're on two completely different mailing lists.

  It's sometimes confusing.

   You're very easily confused then.  Why don't you set up your mailer to
 sort them into different folders?

  Don't we need to seperate one from the other by putting
  a head into Subject, for example, [cygwin] vs. [cygXwin]?

   What on earth is the use of putting a tag in the subject line when it
only
 pointlessly duplicates information that is already in the From/To lines:

  From: cygwin-owner On Behalf Of .

 and when there's presumably many people who are only on one list.

   You could always just learn how to set up mail-sorting rules in your
email
 program, rather than expect everyone else to suddenly start doing things
 your way just to save you the five minutes of effort it would take you to
 sort your own problem out.

 cheers,
   DaveK
 --
 Can't think of a witty .sigline today




Re: Souldn't we put or [CygXwin] here depending on the question?

2004-04-01 Thread Jack Tanner
David,

You can always use Gmane's web or news interfaces[1] to read the Cygwin 
mailing lists, which doesn't require subscribing at all. To be able to 
post while unsubscribed, add your e-mail address to the whitelist[2].

1. http://news.gmane.org/search.php?match=cygwin
2. http://sources.redhat.com/lists.html#archive-archive, question 9.
Good luck.



RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of David
 Sent: 01 April 2004 17:12

 I've been using Outlook Express, and
 it doesn't seem that I can sort mails to
 different folders. I can?

Yes.

 If so, would you tell me how?

You see the Tools item on the menu bar?  You see the entry under it that
says Message Rules?

Now why on earth couldn't you work that out yourself?  There's a Help
option on your copy of OE, isn't there?  You know how to use Google, don't
you?

It seems you didn't even bother to put the tiniest amount of effort into it
or spend even one second thinking about it or trying things out for
yourself.  I'm not your mum, and nor is anyone else on the list, so why do
you expect us to spoon-feed you?  And why are you asking for advice on how
to operate Microsoft mailing packages on a cygwin related list?  This topic
has *nothing* to do with cygwin.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today



Re: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
1) I understand what you feel.

But, as I put,  it doesn't seem that I can sort mails to
different folders., I tried, and I realized that I could not
make it at all.

It turned out that it's impossible to do that
with this email account.

2) I'm still trying to read/write Korean characters, and I made it
for cygwin, but cygXwin. I searched web and the mailing list,
and there is no clear information on it, and
I could not figure it out well yet. If you can, please help.

Thank you.

David


- Original Message -
From: Dave Korn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:10 AM
Subject: RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the
question?


  -Original Message-
  From: cygwin-owner On Behalf Of David
  Sent: 01 April 2004 17:12

  I've been using Outlook Express, and
  it doesn't seem that I can sort mails to
  different folders. I can?

 Yes.

  If so, would you tell me how?

 You see the Tools item on the menu bar?  You see the entry under it that
 says Message Rules?

 Now why on earth couldn't you work that out yourself?  There's a Help
 option on your copy of OE, isn't there?  You know how to use Google, don't
 you?

 It seems you didn't even bother to put the tiniest amount of effort into
it
 or spend even one second thinking about it or trying things out for
 yourself.  I'm not your mum, and nor is anyone else on the list, so why do
 you expect us to spoon-feed you?  And why are you asking for advice on how
 to operate Microsoft mailing packages on a cygwin related list?  This
topic
 has *nothing* to do with cygwin.

 cheers,
   DaveK
 --
 Can't think of a witty .sigline today




RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of David
 Sent: 01 April 2004 18:54

 1) I understand what you feel.

  No, you don't.

 But, as I put,  it doesn't seem that I can sort mails to
 different folders., I tried, and I realized that I could not
 make it at all.

 It turned out that [SNIPFLUSH]

  This is still nothing to do with cygwin.  Bye.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today



Re: Shouldn't we put [cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Christopher Faylor
On Thu, Apr 01, 2004 at 11:53:42AM -0600, David wrote:
1) I understand what you feel.

But, as I put,  it doesn't seem that I can sort mails to different
folders., I tried, and I realized that I could not make it at all.

It turned out that it's impossible to do that with this email account.

That's a shame, but please don't ask us to change the mailing list to
accommodate you.

Can we stop talking about this now, please?

cgf


src/winsup/cygwin ChangeLog fhandler_socket.cc ...

2004-04-01 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-04-01 09:48:17

Modified files:
winsup/cygwin  : ChangeLog fhandler_socket.cc net.cc 
 wsock_event.h 

Log message:
* fhandler_socket.cc (fhandler_socket::sendto): Drop out of loop if
has_been_closed gets set.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::wait): Don't initialize evts.  Don't try to
evaluate network events if WSAEnumNetworkEvents fails.
(wsock_event::release): Save last WSA error and set it again unless
resetting to blocking socket fails.
* wsock_event.h (class wsock_event): Remove destructor.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2391r2=1.2392
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srcr1=1.125r2=1.126
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srcr1=1.165r2=1.166
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wsock_event.h.diff?cvsroot=srcr1=1.2r2=1.3



src/winsup/mingw ChangeLog crt1.c

2004-04-01 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-04-01 10:04:05

Modified files:
winsup/mingw   : ChangeLog crt1.c 

Log message:
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
_fmode if not __MSVCRT__.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.186r2=1.187
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/crt1.c.diff?cvsroot=srcr1=1.6r2=1.7



src/winsup/cygwin ChangeLog net.cc

2004-04-01 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-04-01 10:36:40

Modified files:
winsup/cygwin  : ChangeLog net.cc 

Log message:
* net.cc (wsock_event::wait): Make wsa_err an int.  Don't set
ret to 0 if any error has happened.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2392r2=1.2393
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srcr1=1.166r2=1.167



Re: 64-bit file operations (lseek64() etc) misbehaving

2004-04-01 Thread Corinna Vinschen
On Mar 31 17:36, Igor Pechtchanski wrote:
 Mike,
 
 Please make sure your mailer respects the Reply-To: header.  Thanks.
 
 Frankly, I don't see any reason why open() *wouldn't* succeed on
 \\.\PhysicalDrive0...  All it'll do is recognize a Win32 pathname (because
 of the '\'), and pass it along to Windows.  OTOH, Cygwin will not see this
 name as special -- from Cygwin's point of view it's just another file.  So
 any operations invoked on it (including open) will be regular Windows
 file calls, not special ones (e.g., NtOpenFile with the right attributes,
 as done in fhandler_dev_raw::open).  This might be the reason for your
 initial problem.
   Igor

Perfect explanation, Igor!

Corinna

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

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



[ANNOUNCEMENT] GNU emacs 21.3.50-2 is available

2004-04-01 Thread Joe Buehler
GNU emacs 21.3.50-2 is available.

This release is available as a test release in the Cygwin setup.exe
installer program.  It is compiled from the current official FSF CVS
tree for those who want to try it out.  I have compiled this version
with Xaw3d scrollbars.

THIS RELEASE IS PROVIDED WITHOUT SUPPORT ON MY PART.  Please go through
normal GNU emacs bug channels to report bugs, keeping in mind that this
is not an officially released version and you are essentially testing
prereleased software...

Execute C-h n to get a list of changes that have been made to
emacs since 21.2.  A couple things I noticed:

- tramp is now included -- a package for remote file editing via ssh etc.
- the emacs intro and emacs lisp manuals are now included
- there is support for editing larger files (approx. 256 MB -- the limit
   used to be 128 MB)

New users please be aware:

- You will want tty included in your CYGWIN environment variable
   setting, and probably binmode.  Look at the following for some
   documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

Joe Buehler

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select Base
and then click on the appropriate field until the above announced
version number appears if it is not displayed already.

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

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

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

I implore you to READ this information before sending email about how
you tried everything to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.


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



Re: Changing jobs

2004-04-01 Thread Corinna Vinschen
On Mar 31 20:20, Joshua Daniel Franklin wrote:
 On Wed, 31 Mar 2004 13:08:30 -0500, Christopher Faylor
 [EMAIL PROTECTED] said:
  I just wanted to send a brief note to inform everyone that today is my
  last day at Red Hat.  I have accepted a position with TimeSys
  Corporation.
 
 As if you expect us to believe that! Clearly you were forced out by
 stockholders due to Cygwin's poor fiscal performance. Lucky for you
 you found a new job quick.
  
  Corinna Vinschen has volunteered to be the official Red Hat maintainer
  for Cygwin.  So, she'll be involved with any special cygwin licensing
  issues (she gets all of the distasteful stuff).  Corinna and I will be
  co-project leads for Cygwin.
 
 May the fleas of a thousand camels infest the lawyers of your enemies!
 
 I hope both of you enjoy your postions.

I hope that as well, thanks.

I want to take the opportunity of being in charge now for my first
really official action:  

Igor, could you please give Chris 20 gold stars for his good work on
Cygwin for the past 7 years and being mean only when it's absolutely
necessary? 

Why only 20 you're asking?  Well, Chris is leaving Red Hat, so I had
to hold back the other 480 as a punishment, of course.

Thanks,
Corinna

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

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



Re: zsh and line breaks

2004-04-01 Thread Oliver Kiddle
Peter A. Castro wrote:
  It is easy for us to add `#ifdef __CYGWIN__' around changes or #define
  O_TEXT to zero on other systems so if you do correct the problem,
  please send the changes back to us.
 
 There are about 43 open() calls which I've updated with the O_TEXT
 option.  Having all those ifdef's seemed rather ugly (makes the code hard
 to look at, expectially when they are within a few lines of each other)
 so I took a more elegent approach, though you may want to revise it if
 it doesn't meet your style requirements :)

I can believe that adding ifdef's to all is ugly. That's what I meant
by #define O_TEXT to zero on other systems - just one thought on a
possible more elegant approach.

 Yep, I'm experimenting with this right now.  As it stands, tests which
 print out to a file and then cat it back in (currently A04redirect and
 E01options) produce a diff, but don't otherwise seem to have any
 problems.

Are the diffs just the line endings? From what I understand, the
reported problems were with text files used as input to the shell (i.e.
scripts, sourced files, autoloaded functions and stdin). Quite whether
it is also right for redirected output, I wouldn't know.

Oliver

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



german characters

2004-04-01 Thread Markus R.
Hi together,

I have read many articles in the newsgroup and studied the FAQ on the
cygwin homepage to enable german characters in the bash. But I didn't
find a solution.

I have a fresh cygwin install on my system. I have created a '.inputrc'
in my home directory with the following entries:

set meta-flag on
set convert-meta off
set output-meta on


the file permissions are read, write and execute for everybody (only
for test purpose). Now when I open my bash I get '\366' for an 'ö'
and '\344' for an 'ä' and so on. When I type 'cat' then I can enter
german character 'ö' 'ä' and so on.

When I delete the .inputrc file then I can't see nothing when I type
a german character like 'ö','ä' and so on. This seems for me that the
.inputrc file is read by a bash execute.

Any ideas?? It's really confusing


Kind regards
Markus


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



unable to start services with snapshots 20040326 and 20040329

2004-04-01 Thread Thorsten Kampe
The subject says it all. This is a full patched Windows XP SP1 box.
The services in question are cron and ssh. cygrundsrv is shown in
the taskmanager but not the corresponding sshd and cron.

20040325 works.

Thorsten


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



Re: unable to start services with snapshots 20040326 and 20040329

2004-04-01 Thread Corinna Vinschen
On Apr  1 13:23, Thorsten Kampe wrote:
 The subject says it all. This is a full patched Windows XP SP1 box.
 The services in question are cron and ssh. cygrundsrv is shown in
 the taskmanager but not the corresponding sshd and cron.
 
 20040325 works.

Known problem.  Is solved in CVS.

Corinna

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

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



Re: cygwin for Government Use

2004-04-01 Thread Reini Urban
Christopher Faylor schrieb:
On Thu, Apr 01, 2004 at 05:23:54AM +0100, Reini Urban wrote:
Corinna Vinschen schrieb:

when reading http://cygwin.com/licensing.html, you will find that the
licensing of Cygwin is pretty clear.
Cygwin is Open Source, provided under the GNU Public License.

That means basically, that all software linked against the Cygwin library
is automatically Open Source as well.
Two exception from this rule exist:

- If your applications linked against the Cygwin library are only used
for youyr own internal purposes, you don't have to make the sources
public as well.
Well, what about the poor internal guys using it?  To my understanding
these internal guys must get access to the sources as well, even if
it's a closed community.


Why not bolster your understanding with a refreshing read of the
documentation available at the GNU web site?
For instance: http://www.gnu.org/licenses/gpl-faq.html#InternalDistribution
I know that and the GPL, and it doesn't contradict my words.
This FAQ just does not make it clear enough, so companies or 
organzations might get that wrong. Esp. such large organizations.

Companies or organizations must make the source available to their 
internal users! They don't have to make it available to everybody asking 
for it, but to everybody who uses it. That's the GPL. Ask your lawyers.
--
Reini Urban

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


strange install problems

2004-04-01 Thread Erik Weibust
I have a very strange cygwin problem.

Background.  I have been using cygwin without problem
for 2 years.  Yesterday I needed/wanted to use the
uptime cmd.  I didn't have it so I downloaded the
setup program and tried to add it.  I had a number of
problems getting it installed so I decieded to just
blow everything away, after backing up my home dir and
re-install cygwin.  I followed the instructions:
removed the cygwin dir, the cygwin download tmp dir,
the shortcuts on my desktop, and removed the two
entries in my registry.

After the download and the install I get the following
text when I start cygwin:

mkdir: cannot create directory `/cygdrive/h': No such
file or directory
Copying skeleton files.
These files are for the user to personalise
their cygwin experience.

These will never be overwritten.

/usr/bin/install: creating directory `/cygdrive'
/usr/bin/install: cannot create directory
`/cygdrive/h': No such file or directo
ry
/usr/bin/install: cannot create directory
`/cygdrive/h': No such file or directo
ry
/usr/bin/install: cannot create directory
`/cygdrive/h': No such file or directo
ry
bash: cd: /cygdrive/h: No such file or directory
Your group name is currently mkgroup_l_d. This
indicates that not
all domain users and groups are listed in the
/etc/passwd and
/etc/group files.
See the man pages for mkpasswd and mkgroup then, for
example, run
mkpasswd -l -d  /etc/passwd
mkgroup  -l -d  /etc/group

This message is only displayed once (unless you
recreate /etc/group)
and can be safely ignored.
cp: cannot create regular file
`/cygdrive/h/group.mkgroup_l_d': No such file or
directory


I'm not sure what or why it's trying to do with an h:
drive.  I have a local c and d drive, and I have i and
s network drives, and a z samba mount.  I did have an
h drive in the past, but with the uninstall I
performed I don't know why it would be a problem now. 
Any ideas?

Also, I didn't see a /home/$USER ?  Could this be
because of the problems I listed above?

Thanks,

Erik

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



Re: cygwin for Government Use

2004-04-01 Thread Christopher Faylor
On Thu, Apr 01, 2004 at 01:08:49PM +0100, Reini Urban wrote:
Christopher Faylor schrieb:
On Thu, Apr 01, 2004 at 05:23:54AM +0100, Reini Urban wrote:
Corinna Vinschen schrieb:
when reading http://cygwin.com/licensing.html, you will find that the
licensing of Cygwin is pretty clear.

Cygwin is Open Source, provided under the GNU Public License.

That means basically, that all software linked against the Cygwin
library is automatically Open Source as well.

Two exception from this rule exist:

- If your applications linked against the Cygwin library are only used
for youyr own internal purposes, you don't have to make the sources
public as well.

Well, what about the poor internal guys using it?  To my understanding
these internal guys must get access to the sources as well, even if
it's a closed community.

Why not bolster your understanding with a refreshing read of the
documentation available at the GNU web site?

For instance:
http://www.gnu.org/licenses/gpl-faq.html#InternalDistribution

I know that and the GPL, and it doesn't contradict my words.  This FAQ
just does not make it clear enough, so companies or organzations might
get that wrong.  Esp.  such large organizations.

Why don't you explain what that entry is talking about, then, or,
better, in the spirit of free software, send some better words to the
FSF?

cgf

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



Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Yufeng Xiong
Hi All,

I'm using the xemacs comes with Cygwin on WindowXP for file editing, but it
has a problem with file mode:

My original file (test.php) has the following mode using ls -l:

-rwx--+.   test.php

after I edit it with xemacs, it generated a file called test.php~, which is
like an exact copy of the old file, but
the original file mode changed, ls -l showed:

-rwx-   .. test.php
-rwx-+ .. test.php~

Now I have some questions:

1. What is the '+' in the file mode? I know it has something to do with file
permission, after
the editing, my web server/PHP does not have permission to open test.php
anymore
2. How do I set the '+' in mode manually? I used 'fstat' on the two files
and it shows the exact
same mode (o100700).
3. Why xemacs changed the file mode? Could it be because of different file
system?

Thanks for any help.

Yufeng


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



Re: PCYMTNQREAIYR

2004-04-01 Thread Gregory Borota

On Wed, 31 Mar 2004, Igor Pechtchanski wrote:

 On Wed, 31 Mar 2004 LarrysPCRemediesataoldotcom wrote:

  Igor, How do I go about configuring my mailer to no quote raw-e-mail
  addresses if I'm using Outlook? I could find no configuration option
  related to this. I understand the need (i.e., e-mail address
  picker-uppers, etc), I'm just curious which e-mail mailer(s) has this
  wondrous option.
 
  Larry

 Well, for starters, you could try setting it to wrap long lines... :-)
 Also, see http://cygwin.com/ml/cygwin/2004-03/msg00910.html.

 BTW, since you don't have your realname set, pine, at least, automatically
 quotes the e-mail address, and I have to modify it by hand (which I
 sometimes forget to do).  The usual understanding is that if realname is
 set, that's the name that should be used in replies.  This may be a view
 that's too pine-centric.
   Igor

In PINE something like this should qoute the realname if it's there
otherwise just the username part of email address:

reply-leadin=On _DAYDATE_, _FROM_(_ADDRESS_, _MAILBOX_, _FROM_) wrote:


 P.S. I understand the frustration -- searching the web for this is a pain.
Greg

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



Re: PCYMTNQREAIYR

2004-04-01 Thread Gregory Borota
Here is an illustration of the previous post about configuring PINE.
Just LarrysPCRemedies is quoted.

On Wed, 31 Mar 2004, LarrysPCRemedies wrote:

 Igor, How do I go about configuring my mailer to no quote raw-e-mail addresses if 
 I'm using Outlook? I could find no configuration option related to this. I 
 understand the need (i.e., e-mail address picker-uppers, etc), I'm just curious 
 which e-mail mailer(s) has this wondrous option.

 Larry


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



How to set other languages in Emacs mule?

2004-04-01 Thread David
Hi,

I am trying to read and type Korean chracters in emacs,
and could anyone tell me how?

It's for a Korean Parser, and the input sentences are, of
course, Korean. 

I'd like to read and type Korean characters
in XWin shell, and in emacs too.

Please help.

Thank you in advance.

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/



RE: strange install problems

2004-04-01 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Erik Weibust
 Sent: 01 April 2004 15:32

 I'm not sure what or why it's trying to do with an h:
 drive.  I have a local c and d drive, and I have i and
 s network drives, and a z samba mount.  I did have an
 h drive in the past, but with the uninstall I
 performed I don't know why it would be a problem now. 
 Any ideas?

  Because it's still referred to in an environment variable somewhere?

 Also, I didn't see a /home/$USER ?  Could this be
 because of the problems I listed above?

  It couldn't create the /etc/group or /etc/passwd files, because for some
reason it was trying to do so on the non-existent H drive; this in turn
means that cygwin's notion of what your username and/or group are must be in
a mess; it also suggests that you've got an environment variable which
cygwin is importing and trying to use to set as your home directory or
something.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Buchbinder, Barry (NIH/NIAID)
I was wondering about that, myself, recently.

According to the fileutils/ls info page:
 Following the permission bits is a single character that specifies
 whether an alternate access method applies to the file.  When that
 character is a space, there is no alternate access method.  When it
 is a printing character (e.g., `+'), then there is such a method.

Since alternate access methods are, as I understand it, under control of
Windows, this may be off-topic:  For my general education, I'd also be
interested in what the alternate access method, how one can set it, and
how one might use it.

Since + moves from test.php to test.php~, xemacs evidently renames
test.php to test.php~ before saving the modified file under the original
name (test.php).

- Barry

-Original Message-
From: Yufeng Xiong
Sent: Thursday, April 01, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Questions on cygwin filemode in WindowsXP

Hi All,

I'm using the xemacs comes with Cygwin on WindowXP for file editing, but it
has a problem with file mode:

My original file (test.php) has the following mode using ls -l:

-rwx--+.   test.php

after I edit it with xemacs, it generated a file called test.php~, which is
like an exact copy of the old file, but
the original file mode changed, ls -l showed:

-rwx-   .. test.php
-rwx-+ .. test.php~

Now I have some questions:

1. What is the '+' in the file mode? I know it has something to do with file
permission, after
the editing, my web server/PHP does not have permission to open test.php
anymore
2. How do I set the '+' in mode manually? I used 'fstat' on the two files
and it shows the exact
same mode (o100700).
3. Why xemacs changed the file mode? Could it be because of different file
system?

Thanks for any help.

Yufeng


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

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



RE: strange install problems

2004-04-01 Thread Erik Weibust
Dave,

Where might those ENV settings be hiding?  Any ideas? 
I followed the uninstall instructions exactly.

Erik
--- Dave Korn [EMAIL PROTECTED] wrote:
  -Original Message-
  From: cygwin-owner On Behalf Of Erik Weibust
  Sent: 01 April 2004 15:32
 
  I'm not sure what or why it's trying to do with an
 h:
  drive.  I have a local c and d drive, and I have i
 and
  s network drives, and a z samba mount.  I did have
 an
  h drive in the past, but with the uninstall I
  performed I don't know why it would be a problem
 now. 
  Any ideas?
 
   Because it's still referred to in an environment
 variable somewhere?
 
  Also, I didn't see a /home/$USER ?  Could this be
  because of the problems I listed above?
 
   It couldn't create the /etc/group or /etc/passwd
 files, because for some
 reason it was trying to do so on the non-existent H
 drive; this in turn
 means that cygwin's notion of what your username
 and/or group are must be in
 a mess; it also suggests that you've got an
 environment variable which
 cygwin is importing and trying to use to set as your
 home directory or
 something.
 
 
 cheers, 
   DaveK
 -- 
 Can't think of a witty .sigline today
 
 
 --
 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/
 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread David Rothenberger
Yufeng Xiong wrote:

1. What is the '+' in the file mode? I know it has something to do with file
permission, after
the editing, my web server/PHP does not have permission to open test.php
anymore
I believe the + indicates that there are some Windows permissions that 
do not map to the Unix-style user/group/other.  For example, if I create 
a new file using cygwin (say, with touch), and then open the file's 
properties with Windows and explicitly add permission for another user 
to modify the file, I see the +.

2. How do I set the '+' in mode manually? I used 'fstat' on the two files
and it shows the exact
same mode (o100700).
Well, you can copy all the file attributes from one file (sourceFile) to 
another (destFile) with a command like this:

% getfacl - sourceFile | setfacl -f- destFile

3. Why xemacs changed the file mode? Could it be because of different file
system?
Do M-x customize-apropros on backup-by-copying.  The default 
behavior is to move the old file to the backup file and then create a 
new file.  If you set this option on (non-nil), the backup copy will be 
made as a copy and the original file will be modified.  This will 
preserve the extra file permissions on the original file (although the 
backup copy won't have them).

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


RE: strange install problems

2004-04-01 Thread Dave Korn

 -Original Message-
 From: Erik Weibust 
 Sent: 01 April 2004 16:11

 Dave,
 
 Where might those ENV settings be hiding?  Any ideas? 
 I followed the uninstall instructions exactly.
 
 Erik

These are your windoze environment vars I'm referring to; you can see them
by right clicking on the My Computer icon and choosing Properties from
the menu; on the Advanced tab of the properties there should be a button
that says Environment variables.  Click that and you should see them
appear, listed in two groups, one of overall settings for the entire machine
and one of per-user settings just for you.  Have a good look through them to
see if any refer to H:

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
I got mails from both two groups:cygwin, and cygXwin.
It's sometimes confusing.

Don't we need to seperate one from the other by putting
a head into Subject, for example, [cygwin] vs. [cygXwin]?

Just an opinion, as a beginner ^^

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/



RE: strange install problems

2004-04-01 Thread Erik Weibust
Dave,

I'm very familiar with setting Env vars in windows.  I
checked that.  Nothing there.  Then I opened a cmd
prompt and ran set | more and found this:

HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\dalfss02\erikweibust$

Those vars aren't visible through the My Computer gui
view?  Any idea where they are being set or how to
change them?

Thanks
--- Dave Korn [EMAIL PROTECTED] wrote:
 
  -Original Message-
  From: Erik Weibust 
  Sent: 01 April 2004 16:11
 
  Dave,
  
  Where might those ENV settings be hiding?  Any
 ideas? 
  I followed the uninstall instructions exactly.
  
  Erik
 
 These are your windoze environment vars I'm
 referring to; you can see them
 by right clicking on the My Computer icon and
 choosing Properties from
 the menu; on the Advanced tab of the properties
 there should be a button
 that says Environment variables.  Click that and
 you should see them
 appear, listed in two groups, one of overall
 settings for the entire machine
 and one of per-user settings just for you.  Have a
 good look through them to
 see if any refer to H:
 
 cheers, 
   DaveK
 -- 
 Can't think of a witty .sigline today
 
 
 --
 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/
 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



RE: Souldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 
 -Original Message-
 From: cygwin-owner On Behalf Of David

 I got mails from both two groups:cygwin, and cygXwin.

  Well, that's because you're on two completely different mailing lists.

 It's sometimes confusing.

  You're very easily confused then.  Why don't you set up your mailer to
sort them into different folders?

 Don't we need to seperate one from the other by putting
 a head into Subject, for example, [cygwin] vs. [cygXwin]?

  What on earth is the use of putting a tag in the subject line when it only
pointlessly duplicates information that is already in the From/To lines:

 From: cygwin-owner On Behalf Of .

and when there's presumably many people who are only on one list.

  You could always just learn how to set up mail-sorting rules in your email
program, rather than expect everyone else to suddenly start doing things
your way just to save you the five minutes of effort it would take you to
sort your own problem out.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: strange install problems

2004-04-01 Thread Dave Korn

 -Original Message-
 From: Erik Weibust 
 Sent: 01 April 2004 16:28


 Dave,
 
 I'm very familiar with setting Env vars in windows.  I
 checked that.  Nothing there.  Then I opened a cmd
 prompt and ran set | more and found this:
 
 HOMEDRIVE=H:
 HOMEPATH=\
 HOMESHARE=\\dalfss02\erikweibust$
 
 Those vars aren't visible through the My Computer gui
 view?  Any idea where they are being set or how to
 change them?


Hmm... you'll be interested by this thread in the ml-archive:

http://sources.redhat.com/ml/cygwin/2004-03/msg01280.html


I'm not sure where it's coming from.  Are you running Novell Netware?



cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Corinna Vinschen
On Apr  1 07:15, David Rothenberger wrote:
 Yufeng Xiong wrote:
 
 1. What is the '+' in the file mode? I know it has something to do with 
 file
 permission, after
 the editing, my web server/PHP does not have permission to open test.php
 anymore
 
 I believe the + indicates that there are some Windows permissions that 
 do not map to the Unix-style user/group/other.  For example, if I create 

Not quite right.  Posix allows additional permissions as well.  The '+'
is documented in the ls man page btw.


Corinna

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

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



Re: cygwin... from Turkey

2004-04-01 Thread Igor Pechtchanski
Hi, Sinan,

Please don't send personal mail with Cygwin questions unless specifically
requested.  All Cygwin-related queries should go to an appropriate Cygwin
mailing list (see http://cygwin.com/lists.html).  The lists can also be
accessed as newsgroups via http://gmane.org/ (see the Unofficial
newsgroup link on the Cygwin homepage).  That way not only do you get
access to the combined expertise of the community, which is more than any
one person can provide, but your query and the answers also get into the
archives, where they could be later found by others with the same problem.

For your convenience, I'm directing this reply to the main Cygwin mailing
list, and setting the Reply-To: field accordingly.  Please send any
follow-up messages to the mailing list.

More replies inline below.

On Thu, 1 Apr 2004, Sinan Yalcin wrote:

 hello.. I took your mail address from cygwin.com.. I am a graduate
 student at Sabanci University, Turkey..
 I want to ask a question to you about cygwin package installation.. I
 will be glad if you can answer...

 During installation, I chose all packages(full) installation. But,  4
 packages  were absent at the intranet server
 of our  university: these were...
 libdb2   The Sleepycat Berkeley DB Library v2 - runtime
 libdb2-devel ... The Sleepycat Berkeley DB Library v2 - devel
 libdb3.1..  The Sleepycat Berkeley DB Library v3.1 - runtime
 libdb3.1-devel..The Sleepycat Berkeley DB Library v3.1 - devel

 libltdl3 Libtool's dynamic loader (runtime)

 So, I unchecked only above packages from full installation and completed
 the installation successfully...
 I want to ask you what those unchecked packages are, and whether any
 problems their absence cause
 or not..
 Thank you very much...

As far as I know, Berkeley DB is required by some other packages, e.g.,
cvs.  Explicitly unchecking them will mean that you essentially override
the dependencies from other packages, and those packages will probably not
work.  If your server doesn't have them, then it's a broken mirror, and
you would be well advised to select another one.

Also, for the future, the best way to report the state of your Cygwin
installation is by attaching (as an uncompressed text attachment, not
inline) the output of cygcheck -svr, as requested in the Cygwin problem
reporting guidelines at http://cygwin.com/problems.html (a good read in
any case).

 Also I want to mention that, I faced with g++3 iostream (cout, main(),
 etc...) problem, and solved by your
 existing mail (using namespace std;).. I want to ask that: is this
 solution must for all .cpp files for g++3, and
 do I face with any more problems about g++3? which version of g++ does
 not have such problems?
 and what is the latest version of g++?

To find out which packages are available in Cygwin, see the Cygwin package
list/search page at http://cygwin.com/packages/.  The using namespace
std; approach is just one of the possible fixes (another would be to
prefix all occurrences of cout and others by std::), and it will be
necessary everywhere due to the more stringent syntax of g++-3.*.

 Thanks a lot for your help...

On Thu, 1 Apr 2004, Sinan Yalcin wrote:

 Pardon.. I forgat to say that:
 By full installation of cygwin, my download folder is 250MB, and
 installed folder is 870MB...
 Isn't it too much?  Is there too much unnecessary applications?
 I have seen 170MB installed folder..
 Thank you...
 With my best regards

I suggest looking at the package descriptions to find out which ones you
do and don't need.  It's generally advised to install at least the Base
category (which is selected by default in new installations) and then
select individual packages that you feel you will need.  Setup should
automatically select other packages that the ones you selected depend on,
but it doesn't check these dependencies once the selection is made, so
don't unselect anything once you've selected it (or start over if you feel
you've made a mistake).  See also http://cygwin.com/faq/faq_2.html#SEC13.

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

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

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



Re: Changing jobs

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Corinna Vinschen wrote:

 On Mar 31 20:20, Joshua Daniel Franklin wrote:
  On Wed, 31 Mar 2004 13:08:30 -0500, Christopher Faylor 
  cgf-no-personal-reply-pleaseatcygwindotcom said:
   I just wanted to send a brief note to inform everyone that today is my
   last day at Red Hat.  I have accepted a position with TimeSys
   Corporation.
 
  As if you expect us to believe that! Clearly you were forced out by
  stockholders due to Cygwin's poor fiscal performance. Lucky for you
  you found a new job quick.

Yay, CGF!

   Corinna Vinschen has volunteered to be the official Red Hat maintainer
   for Cygwin.  So, she'll be involved with any special cygwin licensing
   issues (she gets all of the distasteful stuff).  Corinna and I will be
   co-project leads for Cygwin.
 
  May the fleas of a thousand camels infest the lawyers of your enemies!
 
  I hope both of you enjoy your postions.

 I hope that as well, thanks.

 I want to take the opportunity of being in charge now for my first
 really official action:

 Igor, could you please give Chris 20 gold stars for his good work on
 Cygwin for the past 7 years and being mean only when it's absolutely
 necessary?

Done.

 Why only 20 you're asking?  Well, Chris is leaving Red Hat, so I had
 to hold back the other 480 as a punishment, of course.

You mean the other 480 aren't fully vested yet? ;-)
Igor

 Thanks,
 Corinna

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

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

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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Yufeng Xiong
Thanks David for the help.

The getfacl/setfacl command works fine.
And the setting change in xmeacs also works.

I'm using WindowsXP @Home, it does not seem to have anything available for
changing
file permissions from Windows itself, does anybody know how to do it ?

Thanks.

- Original Message - 
From: David Rothenberger [EMAIL PROTECTED]
To: Yufeng Xiong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:15 AM
Subject: Re: Questions on cygwin filemode in WindowsXP


 Yufeng Xiong wrote:

 1. What is the '+' in the file mode? I know it has something to do with
file
 permission, after
 the editing, my web server/PHP does not have permission to open test.php
 anymore
 
 I believe the + indicates that there are some Windows permissions that
 do not map to the Unix-style user/group/other.  For example, if I create
 a new file using cygwin (say, with touch), and then open the file's
 properties with Windows and explicitly add permission for another user
 to modify the file, I see the +.

 2. How do I set the '+' in mode manually? I used 'fstat' on the two files
 and it shows the exact
 same mode (o100700).
 
 Well, you can copy all the file attributes from one file (sourceFile) to
 another (destFile) with a command like this:

 % getfacl - sourceFile | setfacl -f- destFile

 3. Why xemacs changed the file mode? Could it be because of different
file
 system?
 
 Do M-x customize-apropros on backup-by-copying.  The default
 behavior is to move the old file to the backup file and then create a
 new file.  If you set this option on (non-nil), the backup copy will be
 made as a copy and the original file will be modified.  This will
 preserve the extra file permissions on the original file (although the
 backup copy won't have them).

 HTH,
 Dave



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



Re: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
I've been using Outlook Express, and
it doesn't seem that I can sort mails to
different folders. I can?
If so, would you tell me how?
I need to read/write Korean fully, so I did not
try other mail clients before. I think most of the
mail clients can cover foreign languages now, but
at this time, it may be inefficient to move to other mailer.

Anyway,
I'm on several mailing lists with this email acount, and
I thought it would be good if cygwin has a similiar mark
as others do unless, as you pointed out, I can sort them.

Thank you.

David


- Original Message -
From: Dave Korn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 9:30 AM
Subject: RE: Souldn't we put [Cygwin] or [CygXwin] here depending on the
question?



  -Original Message-
  From: cygwin-owner On Behalf Of David

  I got mails from both two groups:cygwin, and cygXwin.

   Well, that's because you're on two completely different mailing lists.

  It's sometimes confusing.

   You're very easily confused then.  Why don't you set up your mailer to
 sort them into different folders?

  Don't we need to seperate one from the other by putting
  a head into Subject, for example, [cygwin] vs. [cygXwin]?

   What on earth is the use of putting a tag in the subject line when it
only
 pointlessly duplicates information that is already in the From/To lines:

  From: cygwin-owner On Behalf Of .

 and when there's presumably many people who are only on one list.

   You could always just learn how to set up mail-sorting rules in your
email
 program, rather than expect everyone else to suddenly start doing things
 your way just to save you the five minutes of effort it would take you to
 sort your own problem out.

 cheers,
   DaveK
 --
 Can't think of a witty .sigline today



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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Yufeng Xiong
Thanks David for the help.

The getfacl/setfacl command works fine.
And the setting change in xmeacs also works.

I'm using WindowsXP @Home, it does not seem to have anything available for
changing file permissions from Windows itself, does anybody know how to do
it ?

Thanks.

- Original Message - 
From: David Rothenberger [EMAIL PROTECTED]
To: Yufeng Xiong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:15 AM
Subject: Re: Questions on cygwin filemode in WindowsXP


 Yufeng Xiong wrote:

 1. What is the '+' in the file mode? I know it has something to do with
file
 permission, after
 the editing, my web server/PHP does not have permission to open test.php
 anymore
 
 I believe the + indicates that there are some Windows permissions that
 do not map to the Unix-style user/group/other.  For example, if I create
 a new file using cygwin (say, with touch), and then open the file's
 properties with Windows and explicitly add permission for another user
 to modify the file, I see the +.

 2. How do I set the '+' in mode manually? I used 'fstat' on the two files
 and it shows the exact
 same mode (o100700).
 
 Well, you can copy all the file attributes from one file (sourceFile) to
 another (destFile) with a command like this:

 % getfacl - sourceFile | setfacl -f- destFile

 3. Why xemacs changed the file mode? Could it be because of different
file
 system?
 
 Do M-x customize-apropros on backup-by-copying.  The default
 behavior is to move the old file to the backup file and then create a
 new file.  If you set this option on (non-nil), the backup copy will be
 made as a copy and the original file will be modified.  This will
 preserve the extra file permissions on the original file (although the
 backup copy won't have them).

 HTH,
 Dave



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



Re: german characters

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Markus R. wrote:

 Hi together,

 I have read many articles in the newsgroup and studied the FAQ on the
 cygwin homepage to enable german characters in the bash. But I didn't
 find a solution.

 I have a fresh cygwin install on my system. I have created a '.inputrc'
 in my home directory with the following entries:

 set meta-flag on
 set convert-meta off
 set output-meta on

How about also adding set input-meta on?  Also, do you see '\366' from
*bash*, or *ls*?  If it's ls, alias ls to ls --show-control-chars.
I'd also suggest aliasing less to less -R...
Igor

 the file permissions are read, write and execute for everybody (only
 for test purpose). Now when I open my bash I get '\366' for an 'o'
 and '\344' for an 'a' and so on. When I type 'cat' then I can enter
 german character 'o' 'a' and so on.

 When I delete the .inputrc file then I can't see nothing when I type
 a german character like 'o','a' and so on. This seems for me that the
 .inputrc file is read by a bash execute.

 Any ideas?? It's really confusing

 Kind regards
 Markus

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

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

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



Re: PCYMTNQREAIYR

2004-04-01 Thread Igor Pechtchanski
On Thu, 1 Apr 2004, Gregory Borota wrote:

 On Wed, 31 Mar 2004, Igor Pechtchanski wrote:

  On Wed, 31 Mar 2004 LarrysPCRemediesataoldotcom wrote:
 
   Igor, How do I go about configuring my mailer to no quote raw-e-mail
   addresses if I'm using Outlook? I could find no configuration option
   related to this. I understand the need (i.e., e-mail address
   picker-uppers, etc), I'm just curious which e-mail mailer(s) has this
   wondrous option.
  
   Larry
 
  Well, for starters, you could try setting it to wrap long lines... :-)
  Also, see http://cygwin.com/ml/cygwin/2004-03/msg00910.html.
 
  BTW, since you don't have your realname set, pine, at least, automatically
  quotes the e-mail address, and I have to modify it by hand (which I
  sometimes forget to do).  The usual understanding is that if realname is
  set, that's the name that should be used in replies.  This may be a view
  that's too pine-centric.
Igor

 In PINE something like this should qoute the realname if it's there
 otherwise just the username part of email address:

 reply-leadin=On _DAYDATE_, _FROM_(_ADDRESS_, _MAILBOX_, _FROM_) wrote:

  P.S. I understand the frustration -- searching the web for this is a pain.
 Greg

I didn't know that.  Pretty cool, thanks!
Igor
P.S. With all the messages with this subject, now I just have to add it to
the OLOCA! :-)
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread David Rothenberger
Yufeng Xiong wrote:
I'm using WindowsXP @Home, it does not seem to have anything available for
changing
file permissions from Windows itself, does anybody know how to do it ?
You have to turn off simple file sharing.  It's under the View tab of 
the Folder Options.  Search in WinXP help for simple file sharing for 
more info.

Dave

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


Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Corinna Vinschen
On Apr  1 11:12, Yufeng Xiong wrote:
 Thanks David for the help.
 
 The getfacl/setfacl command works fine.
 And the setting change in xmeacs also works.
 
 I'm using WindowsXP @Home, it does not seem to have anything available for
 changing
 file permissions from Windows itself, does anybody know how to do it ?

Isn't the command line tool cacls also delivered with XP Home?
You can do a lot of stuff on the home edition using command line tools
which aren't available to GUI-only users.

Corinna

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

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



RE: strange install problems

2004-04-01 Thread Larry Hall
At 10:33 AM 4/1/2004, you wrote:

 -Original Message-
 From: Erik Weibust 
 Sent: 01 April 2004 16:28


 Dave,
 
 I'm very familiar with setting Env vars in windows.  I
 checked that.  Nothing there.  Then I opened a cmd
 prompt and ran set | more and found this:
 
 HOMEDRIVE=H:
 HOMEPATH=\
 HOMESHARE=\\dalfss02\erikweibust$
 
 Those vars aren't visible through the My Computer gui
 view?  Any idea where they are being set or how to
 change them?


Hmm... you'll be interested by this thread in the ml-archive:

http://sources.redhat.com/ml/cygwin/2004-03/msg01280.html


I'm not sure where it's coming from.  Are you running Novell Netware?


These settings come directly from Windows.  Erik is apparently picking up
H as his home drive as a result of settings on his domain.



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


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



Re: Postgres Backend doesn't catch the next command, after SIGUSR2

2004-04-01 Thread Corinna Vinschen
On Mar 31 22:36, Patrick Samson wrote:
   if (!CancelIo ((HANDLE) socket))
 {...}
   else
 {
  if (WSAGetOverlappedResult (socket, ovr, len,
FALSE, flags)  len != 0)
   ret = (int) len;
  else WSASetLastError (WSAEINTR);
  
  Did you try it?
 
 Yes. It worked.
 I ran my test case this night for 3 runs.
 
  Yesterday I changed Cygwin to use
  asynchronous I/O
  instead of overlapped I/O so it now can do without
  CancelIo.
  However, two people reported hangs which don't occur
  for me.  If
  if takes too long to track down, I guess I'll revert
  to overlapped
  I/O plus your patch.  But I would be more happy with
  a working
  async I/O solution.
 
 Is it still worth?

We're still experimenting with async I/O but there's perhaps a point
where reverting to overlapped makes sense.  I'm glad to have your
patch for that case.

Thanks,
Corinna

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

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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Corinna Vinschen
On Apr  1 08:20, David Rothenberger wrote:
 Yufeng Xiong wrote:
 I'm using WindowsXP @Home, it does not seem to have anything available for
 changing
 file permissions from Windows itself, does anybody know how to do it ?
 
 You have to turn off simple file sharing.  It's under the View tab of 
 the Folder Options.  Search in WinXP help for simple file sharing for 
 more info.

AFAIK, XP home has *only* simple file sharing.

Corinna

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

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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Larry Hall
XP Home hides the permissions and doesn't provide a GUI tool for manipulating
them.  If you search the web, you can find folks that claim they have been
successful at restoring the XP Pro Security tab to the GUI by playing some
games with service packs from NT4.  But that's a different matter.

Larry


At 11:12 AM 4/1/2004, you wrote:
Thanks David for the help.

The getfacl/setfacl command works fine.
And the setting change in xmeacs also works.

I'm using WindowsXP @Home, it does not seem to have anything available for
changing
file permissions from Windows itself, does anybody know how to do it ?

Thanks.

- Original Message - 
From: David Rothenberger [EMAIL PROTECTED]
To: Yufeng Xiong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:15 AM
Subject: Re: Questions on cygwin filemode in WindowsXP


 Yufeng Xiong wrote:

 1. What is the '+' in the file mode? I know it has something to do with
file
 permission, after
 the editing, my web server/PHP does not have permission to open test.php
 anymore
 
 I believe the + indicates that there are some Windows permissions that
 do not map to the Unix-style user/group/other.  For example, if I create
 a new file using cygwin (say, with touch), and then open the file's
 properties with Windows and explicitly add permission for another user
 to modify the file, I see the +.

 2. How do I set the '+' in mode manually? I used 'fstat' on the two files
 and it shows the exact
 same mode (o100700).
 
 Well, you can copy all the file attributes from one file (sourceFile) to
 another (destFile) with a command like this:

 % getfacl - sourceFile | setfacl -f- destFile

 3. Why xemacs changed the file mode? Could it be because of different
file
 system?
 
 Do M-x customize-apropros on backup-by-copying.  The default
 behavior is to move the old file to the backup file and then create a
 new file.  If you set this option on (non-nil), the backup copy will be
 made as a copy and the original file will be modified.  This will
 preserve the extra file permissions on the original file (although the
 backup copy won't have them).

 HTH,
 Dave



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


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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Yufeng Xiong
I hate MS for this matter, why they have to have a Home version and a Pro
version,
it's all money related!

- Original Message - 
From: Larry Hall [EMAIL PROTECTED]
To: Yufeng Xiong [EMAIL PROTECTED]; David Rothenberger
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:19 AM
Subject: Re: Questions on cygwin filemode in WindowsXP


 XP Home hides the permissions and doesn't provide a GUI tool for
manipulating
 them.  If you search the web, you can find folks that claim they have been
 successful at restoring the XP Pro Security tab to the GUI by playing some
 games with service packs from NT4.  But that's a different matter.

 Larry


 At 11:12 AM 4/1/2004, you wrote:
 Thanks David for the help.
 
 The getfacl/setfacl command works fine.
 And the setting change in xmeacs also works.
 
 I'm using WindowsXP @Home, it does not seem to have anything available
for
 changing
 file permissions from Windows itself, does anybody know how to do it ?
 
 Thanks.
 
 - Original Message - 
 From: David Rothenberger [EMAIL PROTECTED]
 To: Yufeng Xiong [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 10:15 AM
 Subject: Re: Questions on cygwin filemode in WindowsXP
 
 
  Yufeng Xiong wrote:
 
  1. What is the '+' in the file mode? I know it has something to do
with
 file
  permission, after
  the editing, my web server/PHP does not have permission to open
test.php
  anymore
  
  I believe the + indicates that there are some Windows permissions
that
  do not map to the Unix-style user/group/other.  For example, if I
create
  a new file using cygwin (say, with touch), and then open the file's
  properties with Windows and explicitly add permission for another user
  to modify the file, I see the +.
 
  2. How do I set the '+' in mode manually? I used 'fstat' on the two
files
  and it shows the exact
  same mode (o100700).
  
  Well, you can copy all the file attributes from one file (sourceFile)
to
  another (destFile) with a command like this:
 
  % getfacl - sourceFile | setfacl -f- destFile
 
  3. Why xemacs changed the file mode? Could it be because of different
 file
  system?
  
  Do M-x customize-apropros on backup-by-copying.  The default
  behavior is to move the old file to the backup file and then create a
  new file.  If you set this option on (non-nil), the backup copy will be
  made as a copy and the original file will be modified.  This will
  preserve the extra file permissions on the original file (although the
  backup copy won't have them).
 
  HTH,
  Dave
 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


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



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



Re: Questions on cygwin filemode in WindowsXP

2004-04-01 Thread Graucsh
If you reboot into Safe Mode, the security tab becomes available.

Graucsh

Yufeng Xiong wrote:
Thanks David for the help.

The getfacl/setfacl command works fine.
And the setting change in xmeacs also works.
I'm using WindowsXP @Home, it does not seem to have anything available for
changing file permissions from Windows itself, does anybody know how to do
it ?
Thanks.

- Original Message - 
From: David Rothenberger [EMAIL PROTECTED]
To: Yufeng Xiong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:15 AM
Subject: Re: Questions on cygwin filemode in WindowsXP



Yufeng Xiong wrote:


1. What is the '+' in the file mode? I know it has something to do with
file

permission, after
the editing, my web server/PHP does not have permission to open test.php
anymore
I believe the + indicates that there are some Windows permissions that
do not map to the Unix-style user/group/other.  For example, if I create
a new file using cygwin (say, with touch), and then open the file's
properties with Windows and explicitly add permission for another user
to modify the file, I see the +.

2. How do I set the '+' in mode manually? I used 'fstat' on the two files
and it shows the exact
same mode (o100700).
Well, you can copy all the file attributes from one file (sourceFile) to
another (destFile) with a command like this:
% getfacl - sourceFile | setfacl -f- destFile


3. Why xemacs changed the file mode? Could it be because of different
file

system?

Do M-x customize-apropros on backup-by-copying.  The default
behavior is to move the old file to the backup file and then create a
new file.  If you set this option on (non-nil), the backup copy will be
made as a copy and the original file will be modified.  This will
preserve the extra file permissions on the original file (although the
backup copy won't have them).
HTH,
Dave





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


RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of David
 Sent: 01 April 2004 17:12

 I've been using Outlook Express, and
 it doesn't seem that I can sort mails to
 different folders. I can?

Yes.

 If so, would you tell me how?

You see the Tools item on the menu bar?  You see the entry under it that
says Message Rules?

Now why on earth couldn't you work that out yourself?  There's a Help
option on your copy of OE, isn't there?  You know how to use Google, don't
you?

It seems you didn't even bother to put the tiniest amount of effort into it
or spend even one second thinking about it or trying things out for
yourself.  I'm not your mum, and nor is anyone else on the list, so why do
you expect us to spoon-feed you?  And why are you asking for advice on how
to operate Microsoft mailing packages on a cygwin related list?  This topic
has *nothing* to do with cygwin.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Shouldn't we put or [CygXwin] here depending on the question?

2004-04-01 Thread Thorsten Kampe
* David (2004-04-01 18:12 +0100)
 I've been using Outlook Express, and it doesn't seem that I can sort
 mails to different folders.

Use a different mail client.

 I can? If so, would you tell me how?

F1


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



Re: Aspell - Ispell

2004-04-01 Thread Andreas Seidl
Gareth Pearce wrote:

It should be relatively easy to write a very simple script called ispell
which calls 'aspell -a $@'
I think that works at least... can't say I've tried it.
Such a script exists: /usr/share/aspell/ispell

An obvious way to make it available to programs would be:

  cd /usr/bin
  ln -s /usr/share/aspell/ispell ispell
Andreas.

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


Re: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread David
1) I understand what you feel.

But, as I put,  it doesn't seem that I can sort mails to
different folders., I tried, and I realized that I could not
make it at all.

It turned out that it's impossible to do that
with this email account.

2) I'm still trying to read/write Korean characters, and I made it
for cygwin, but cygXwin. I searched web and the mailing list,
and there is no clear information on it, and
I could not figure it out well yet. If you can, please help.

Thank you.

David


- Original Message -
From: Dave Korn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:10 AM
Subject: RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the
question?


  -Original Message-
  From: cygwin-owner On Behalf Of David
  Sent: 01 April 2004 17:12

  I've been using Outlook Express, and
  it doesn't seem that I can sort mails to
  different folders. I can?

 Yes.

  If so, would you tell me how?

 You see the Tools item on the menu bar?  You see the entry under it that
 says Message Rules?

 Now why on earth couldn't you work that out yourself?  There's a Help
 option on your copy of OE, isn't there?  You know how to use Google, don't
 you?

 It seems you didn't even bother to put the tiniest amount of effort into
it
 or spend even one second thinking about it or trying things out for
 yourself.  I'm not your mum, and nor is anyone else on the list, so why do
 you expect us to spoon-feed you?  And why are you asking for advice on how
 to operate Microsoft mailing packages on a cygwin related list?  This
topic
 has *nothing* to do with cygwin.

 cheers,
   DaveK
 --
 Can't think of a witty .sigline today



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



RE: Shouldn't we put [Cygwin] or [CygXwin] here depending on the question?

2004-04-01 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of David
 Sent: 01 April 2004 18:54

 1) I understand what you feel.

  No, you don't.

 But, as I put,  it doesn't seem that I can sort mails to
 different folders., I tried, and I realized that I could not
 make it at all.

 It turned out that [SNIPFLUSH]

  This is still nothing to do with cygwin.  Bye.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



  1   2   >