Re: [ITP] stgit 0.13 -- Quilt functionality on top of git

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 I also get the following when building from source:
 
 ./stgit-0.13-1.sh all
 [FATAL] ./stgit-0.13-1.sh.CygbuildBootVariablesGlobalEtcMain: c:No 
directory found at /usr/local/etc/etc

 Fixed,
 Jari

Did you change something recently in your build scripts ?

  09:19 PM [517] ./stgit-0.13-1.sh install
  ./stgit-0.13-1.sh: line 7793: bzip: command not found

This should read bzip2. Otherwise man pages dont't get bzip'd.

It builds fine from source now and packaging looks good. After fixing
the bzip2 thing GTG.

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 Included in Debian stable (etch). This is nice lighweight
 almost-bash-like shell.

   http://packages.debian.org/mksh

 Jari

 sdesc: Enhanced version of the Korn shell
 ldesc: A shell which is MirBSD enhanced version of the Public Domain
 Korn shell (pdksh), a bourne-compatible shell which is largely similar to 
the
 original ATT Korn shell. It includes bug fixes and feature
 improvements in order to produce a modern, robust shell good for
 interactive and especially script use.
 category: Shells
 requires: cygwin

 a) manual

   wget\
 http://cygwin.cante.net/mksh/setup.hint \
 http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2

Binary package missing.

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto
* Thu 2007-09-13 Dr Dr Dr.Volker.Zell-QHcLZuEGTsvQT0dZR+AlfA AT 
public.gmane.org
* Message-Id: 82r6l3osdy.fsf AT vzell-de.de.oracle.com
 Jari Aalto writes:

  Included in Debian stable (etch). This is nice lighweight
  almost-bash-like shell.

http://packages.debian.org/mksh

 Binary package missing.

Links were cut in half. Here:

  wget\
http://cygwin.cante.net/mksh/setup.hint \
http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2 \
http://cygwin.cante.net/mksh/mksh-2.6.3-1.tar.bz2 \
http://cygwin.cante.net/mksh/setup.hint

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
 Jari Aalto writes:

 Included in Debian stable (etch). This is nice lighweight
 almost-bash-like shell.

   http://packages.debian.org/mksh

 Jari

 sdesc: Enhanced version of the Korn shell
 ldesc: A shell which is MirBSD enhanced version of the Public Domain
 Korn shell (pdksh), a bourne-compatible shell which is largely similar 
 to the
 original ATT Korn shell. It includes bug fixes and feature
 improvements in order to produce a modern, robust shell good for
 interactive and especially script use.
 category: Shells
 requires: cygwin

 a) manual

   wget\
 http://cygwin.cante.net/mksh/setup.hint \
 http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2

Binary package missing.

I wasn't paying attention.  Do we really want two versions of ksh in the
distribution?

I'd say this was Igor's call.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 09:52:39AM -0400, Igor Peshansky wrote:
On Thu, 13 Sep 2007, Christopher Faylor wrote:

 On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
  Jari Aalto writes:
 
  Included in Debian stable (etch). This is nice lighweight
  almost-bash-like shell.
 
http://packages.debian.org/mksh
 
  Jari
 
  sdesc: Enhanced version of the Korn shell
  ldesc: A shell which is MirBSD enhanced version of the Public Domain
  Korn shell (pdksh), a bourne-compatible shell which is largely 
  similar to the
  original ATT Korn shell. It includes bug fixes and feature
  improvements in order to produce a modern, robust shell good for
  interactive and especially script use.
  category: Shells
  requires: cygwin
 
  a) manual
 
wget\
  http://cygwin.cante.net/mksh/setup.hint \
  http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2
 
 Binary package missing.

 I wasn't paying attention.  Do we really want two versions of ksh in the
 distribution?

 I'd say this was Igor's call.

We've had this discussion before.  The last message was
http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html, which never got
a reply.

I thought I remembered something like this.

Let's not bother with mksh then.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Igor Peshansky
On Thu, 13 Sep 2007, Christopher Faylor wrote:

 On Thu, Sep 13, 2007 at 09:52:39AM -0400, Igor Peshansky wrote:
 On Thu, 13 Sep 2007, Christopher Faylor wrote:
 
  On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
   Jari Aalto writes:
  
   Included in Debian stable (etch). This is nice lighweight
   almost-bash-like shell.
  
 http://packages.debian.org/mksh
  
   Jari
  
   sdesc: Enhanced version of the Korn shell
   ldesc: A shell which is MirBSD enhanced version of the Public 
   Domain
   Korn shell (pdksh), a bourne-compatible shell which is largely 
   similar to the
   original ATT Korn shell. It includes bug fixes and feature
   improvements in order to produce a modern, robust shell good for
   interactive and especially script use.
   category: Shells
   requires: cygwin
  
   a) manual
  
 wget\
   http://cygwin.cante.net/mksh/setup.hint \
   http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2
  
  Binary package missing.
 
  I wasn't paying attention.  Do we really want two versions of ksh in the
  distribution?
 
  I'd say this was Igor's call.
 
 We've had this discussion before.  The last message was
 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html, which never got
 a reply.

 I thought I remembered something like this.

 Let's not bother with mksh then.

Actually, let's hope that this time Jari answers my questions...  As I
said, if mksh is a full (and fully compatible) replacement for pdksh, I'm
in favor of getting the newer package into the distro.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto

 Actually, let's hope that this time Jari answers my questions...  As I
 said, if mksh is a full (and fully compatible) replacement for pdksh

To my knowledge, it is. If someone has *.ksh files to try, please
download and install that binary package and see it the mksh handles
them.

The developer is active and responsive.

 I'm in favor of getting the newer package into the distro. Igor

According to:

http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

The bug reports:

http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

They are not very clear, but I tried my best to reproduce.

[1] Multiple sourcing of initializations files. 

The script that fails sources another script which loads a whole
bunch of functions.

The error happens when I call a function from a certain script, I
get this error. However, if I call it from a smaller script
(specially written to just call this function) it works

Not a problem under mksh. Multiple sourced files; function work. That is

[2] Memory allocation error

/home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
 memory outside of block (corrupted?)

By running the scripts in debug mode (set -x), I found that
the problem seemed to occur when declared functions (i.e.,
declared within the script) were invoked multiple times.
The functions would work at first, then stop working --
as if the functions somehow ate up the available memory.

I invoked function 1000 times in a loop, no malloc errors.

[3] Prompt which gets repeated if it's multiline

keying ESC/ results in 

WS-XP-4960: /home/rthompso
WS-XP-4960: /home/rthompso
WS-XP-4960: /home/rthompso
$ /

Not applicaple. ESC-/ key combination doe snot exist in mksh.
Multiline prompts work without promlems.

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines


[GTG] Re: [ITP] stgit 0.13 -- Quilt functionality on top of git

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 Repackaged:

   wget\
 http://cygwin.cante.net/stgit/stgit-0.13-1.tar.bz2 \
 http://cygwin.cante.net/stgit/stgit-0.13-1-src.tar.bz2 \
 http://cygwin.cante.net/stgit/setup.hint

GTG now

 Thanks,
 Jari

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Igor Peshansky
On Thu, 13 Sep 2007, Jari Aalto wrote:

  Actually, let's hope that this time Jari answers my questions...  As I
  said, if mksh is a full (and fully compatible) replacement for pdksh

 To my knowledge, it is. If someone has *.ksh files to try, please
 download and install that binary package and see it the mksh handles
 them.

Hmm, you seem to be contradicting that below...

 The developer is active and responsive.

  I'm in favor of getting the newer package into the distro. Igor

 According to:

 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

 The bug reports:

 http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
 http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
 http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
 http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

 They are not very clear, but I tried my best to reproduce.

 [1] Multiple sourcing of initializations files.

 The script that fails sources another script which loads a whole
 bunch of functions.

 The error happens when I call a function from a certain script, I
 get this error. However, if I call it from a smaller script
 (specially written to just call this function) it works

 Not a problem under mksh. Multiple sourced files; function work. That is

This sentence seems truncated.  In any case, the bug report was too vague,
and I haven't had the time to investigate.

 [2] Memory allocation error

 /home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
  memory outside of block (corrupted?)

 By running the scripts in debug mode (set -x), I found that
 the problem seemed to occur when declared functions (i.e.,
 declared within the script) were invoked multiple times.
 The functions would work at first, then stop working --
 as if the functions somehow ate up the available memory.

 I invoked function 1000 times in a loop, no malloc errors.

I have a testcase for this one (attached).  This has nothing to do with
functions.  I think it's a matter of not handling long filenames properly
(an off-by-one error?).

 [3] Prompt which gets repeated if it's multiline

 keying ESC/ results in 

 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 $ /

 Not applicaple. ESC-/ key combination doe snot exist in mksh.
 Multiline prompts work without promlems.

Sure it exists.  You have to set -o vi first.  But this one I can't
reproduce in the current pdksh, either.

Also, this one was #4 -- you missed #3, which was about tab completion and
quoting spaces and special characters (which is reproducible).

Since we're testing known issues, here's another one I missed:
http://cygwin.com/ml/cygwin/2005-01/msg00073.html.  Again, reproducible
in current pdksh.

Anyway, I don't mind a test release of this -- if people find no problems
with their ksh scripts, we can switch over to mksh (and switch the
maintainership over to you).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert#!/usr/bin/ksh
mkdir -p 
./A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name
function main
{
  set -x
  echo 1 
./A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name.txt
}
main



Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 05:19:58PM -0400, Igor Peshansky wrote:
Anyway, I don't mind a test release of this -- if people find no problems
with their ksh scripts, we can switch over to mksh (and switch the
maintainership over to you).

I'm fine with this too, FWIW.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto
* Thu 2007-09-13 Igor Peshansky pechtcha-+I05ep9qJbk3uPMLIKxrzw AT 
public.gmane.org
* Message-Id: Pine.GSO.4.63.0709131653470.8875 AT access1.cims.nyu.edu
 According to:

 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

 The bug reports:

 http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
 http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
 http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
 http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

 They are not very clear, but I tried my best to reproduce.

 [1] Multiple sourcing of initializations files.

 In any case, the bug report was too vague,
 and I haven't had the time to investigate.

I'm attaching the test case source.sh, but I'm not sure if user meant
this. The report is too hazy.

 [2] Memory allocation error

 /home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
  memory outside of block (corrupted?)

 By running the scripts in debug mode (set -x), I found that
 the problem seemed to occur when declared functions (i.e.,
 declared within the script) were invoked multiple times.
 The functions would work at first, then stop working --
 as if the functions somehow ate up the available memory.

 I invoked function 1000 times in a loop, no malloc errors.

 I have a testcase for this one (attached).  This has nothing to do with
 functions.  I think it's a matter of not handling long filenames properly
 (an off-by-one error?).

Your test case worked fine under mksh.

 [3] Prompt which gets repeated if it's multiline

 keying ESC/ results in 

 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 $ /

 Not applicaple. ESC-/ key combination doe snot exist in mksh.
 Multiline prompts work without promlems.

 Sure it exists.  You have to set -o vi first.  But this one I can't
 reproduce in the current pdksh, either.

 Also, this one was #4 -- you missed #3, which was about tab completion and
 quoting spaces and special characters (which is reproducible).

Forgot to mention it, yes. The test case passed, the directory name was
completed correctly

mkdir 'Whiteboards  Photos'
cd W[TAB]
cd Whiteboards\ \\ Photos/

 Since we're testing known issues, here's another one I missed:
 http://cygwin.com/ml/cygwin/2005-01/msg00073.html.  Again, reproducible
 in current pdksh.

Same problem in mksh. I've contacted the developer about this.

 Anyway, I don't mind a test release of this -- if people find no problems
 with their ksh scripts, we can switch over to mksh (and switch the
 maintainership over to you).
   Igor

We could use both, but have /usr/bin/ksh to point to one that has proven
the most ksh compatible and bug free.

Jari




sourcing-multiple.tar
Description: archive/tar


Re: Xdmcp too slow with SOME Linux accounts.

2007-09-13 Thread Michael Giroux
I have retested this with connections to different Linux systems, and
it (my xwin server hang) appears to be isolated to a single Linux.


I find there is a difference in Fedora versions on the two systems.
Although I'm surprosed that the version of Fedora would cause my local
xwin.exe to stop reading the windows message queue, I will ask the
system admin to look into this from a Linux config standpoint.

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



Re: Xdmcp too slow with SOME Linux accounts.

2007-09-13 Thread Michael Giroux
Are there known issues with various versions of Fedora?

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



Re: cron

2007-09-13 Thread René Berber
Pierre A. Humblet wrote:

[snip]
 | On W2K3, if you expect a service to be able to switch user contexts, you
 | need a special service account.  You can use the 'sshd_server' account that
 | would be created for you if you configure 'sshd' and ask it to create the
 | account when it asks you.  See the /usr/share/doc/Cygwin/openssh.README
 | for details.
 
 The above is correct, but later cron was switch to run as PolsonA

Wrong, the log just shows that the user edited his crontab (i.e. did a `crontab
-e`) which does a reload on exit.  Larry's diagnostic is right, cron shouldn't
be running as the user PolsonA.

 2007/09/12 16:19:31 [PolsonA] cron: PID 1432: `cron' service started
 2007/09/12 16:19:41 [PolsonA] crontab: PID 2844: (PolsonA) BEGIN EDIT 
 (PolsonA)
 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) REPLACE (PolsonA)
 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) END EDIT (PolsonA)
 2007/09/12 16:20:01 [PolsonA] /usr/sbin/cron: PID 2564: (PolsonA) RELOAD 
 (tabs/PolsonA)
 and everything looks normal (cron reloaded the crontab).
 Did you wait long enough for the jobs to run?
 Please look at cron.log in the home directory of  PolsonA, and possibly at 
 /tmp/*cron* files for 
 further output from the jobs.
-- 
René Berber


--
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: sftp removing writable bit

2007-09-13 Thread Thorsten Kampe
* Andrew DeFaria (Wed, 12 Sep 2007 22:49:49 -0700)
 Thorsten Kampe wrote:
  * Andrew DeFaria (Wed, 12 Sep 2007 08:48:58 -0700)
  John J. Culkin wrote:
  I am seeing an issue with Cygwin's sftp. It seems that after I upload
  a file that overwrites an existing file, the writable bit is removed.
  This prevents me from uploading a new version of the file.
 
  The files are owned by the SFTP user.
 
  Any Ideas?
  No ideas but a question. What is sftp good for? I mean what does it have
  over say... scp?
 
  You can use your favourite FTP client, right?!
 As opposed to just typing scp? I still don't get it...

Yes. Some clients (by coincidence my favourite ones) like yafc, lftp 
and SpeedCommander do sftp. Lftp even does fish (which I think is 
pure scp/ssh).

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/



Work Online From Home.

2007-09-13 Thread Himage Holdings Ltd .
Would you like to work online from home and get paid weekly? Himage Holding 
Ltd, Kowloon, Hong Kong. 
Needs a book keeper, so we want to know if you will like to work online from 
home and get paid weekly without leaving or affecting your present job? Himage 
Holding Ltd., Kowloon, Hong Kong is an electronics firm here in Kowloon, Hong 
Kong and we need someone to work for the company as a representative/book 
keeper in the UK,United States, Canada and the rest of Europe countries. 
Our company produces and deals in all kinds of electronics here in Kowloon, 
Hong Kong which we have clients we supply weekly all around the globe in the 
UK, United states, Canada and rest of Europe countries, our clients make 
payments for our supplies every week via Bank Transfer,Wire Transfer, Bank 
Drafts and Cashiers Cheques. 
So we need someone in the UK, United States, and Canada and Europe countries to 
work as our representative and assist us in processing the payments from our 
clients and will be entitled to remuneration.
All you need to do is to receive payments from our customers in the UK,United 
States, Canada and Europe countries, deduct 10% commission and send the balance 
to us.
Do let us know if this is of any interest to you by responding via this email 
address for correspondence ([EMAIL PROTECTED]).
 
Regards,
Mr. Mr Alfred Wagoner.
For: Himage Holding Ltd.  
http://www.himage.com



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



where is cygintl8.dll?

2007-09-13 Thread Rupert Young \(Restart\)
Hi,

In which of the downloaded bz2 files should I find the cygintl8.dll?

Regards,
 
Rupert




--
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: where is cygintl8.dll?

2007-09-13 Thread Dave Korn
On 13 September 2007 14:50, Rupert Young (Restart) wrote:

 Hi,
 
 In which of the downloaded bz2 files should I find the cygintl8.dll?

  The answer to this and all similar questions: go to 

http://cygwin.com/packages

Enter the name of the file you're looking for in the search box there.

However, you have to spell it right.  The dll you're looking for is called
cygintl-8.dll.  And it's in the libintl8 package.


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: Webdav batch file transfer: curl, wget

2007-09-13 Thread Gregg Reynolds
On 9/12/07, Richard Ivarson [EMAIL PROTECTED] wrote:

   curl --user NAME:PASSWORD
 https://webdavserver.com/folder/{fileAA,fileBB,fileCC,fileDD,fileEE,}.txt -O
 -O -O -O -O
...
 1) Is there a simpler way than the five -O's I used? Would a wildcard be
 possible (didn't find a mention in the manpage, however).

Dunno.  I actually haven't used it much; I came across it when I
wanted a tool for managing webdav resources, but ran into a problem
involving %-encoding of the space character.  Never found out if it
was a problem with curl or with the server, but I found a different
method and haven't had time to go back to curl.  What I really want is
a tool that can manage webdav properties in batch mode; if you know of
one please let me know.  You could do it with curl, but since curl
doesn't natively understand webdav it would be a good bit of work.

For the -O issue: as with any tool that doesn't quite behave the way
you like, you can always try The Unix Way:  feed the output of one
small tool into another.  Download without -O, then use a shell
command or script to convert the results.  Maybe something along the
lines of

  $ find ./ -name *.txt -exec basename {} \;.

You might even be able to pipe the curl command output into basename.

-gregg

--
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: Webdav batch file transfer: curl, wget

2007-09-13 Thread Gregg Reynolds
On 9/12/07, Brian Dessent [EMAIL PROTECTED] wrote:

 Curl on the other hand is better suited for http scripting where you are
 trying to emulate the actions of a user, such as when submitting form
 fields.  Wget has the ability to do http POSTs but it only supports the
 old application/x-www-form-urlencoded content encoding and not the
 more sophisticated multipart/form-data encoding which allows for
 things like file uploads.  Curl supports both.

Curl is also great for examining protocol transactions for any of the
supported protocols.  Great tool for e.g. learning what webdav
transactions actually look like.  I wouldn't want to try to debug a
networking application without it, that's for sure.

-g

--
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: Private key file permissions w/Cygwin OpenSSH on Vista

2007-09-13 Thread sbeavan

Not sure if you are having the exact same issue I had, but I couldn't chmod
the files in cygwin either.  Then I realized my home directory was on a
windows share.  I was able to cp the files to my local drive and chmod them,
but the changes disappeared when moving the files back to the home
directory.  To change my home directory to a local path I ran the following
command
mkpasswd -l -c -p /home
this made my home directory in the local /home
once this was done I mv all files from the old network share to the local
and chmoded them appropriately and was able to use my ssh with rsa keys
fine.

Shaun



Brian Dessent wrote:
 
 Siva wrote:
 
 Re:  binary distro of OpenSSH 3.8.1p1
 
 If this is a reply to a previous message then please send it as an
 actual reply, don't start a new thread.  Otherwise, you break threading
 in the archives and for anyone using a threaded email client.
 
 I've been unable to use Cygwin's OpenSSH on Vista w/public key
 authentication because ssh.exe always states the file permissions on the
 private key file--id_rsa--are too open.
 
 I've used the chmod.exe utility to change the permissions on the id_rsa
 file to 600, but ssh.exe still pops up with the same error message.
 
 I've also used Windows' cacls.exe command to alter the ACLs for the file
 to be ONLY read-accesible to the current user, and the same thing
 happens.
 
 This behavior DOES NOT occur on XP and 2000 when I try it, i. e.
 chmod.exe WORKS on these OSs to change id_rsa's permissions so that
 ssh.exe is happy (i. e. to 0600).
 
 Is there a specific bona-fide way to set the id_rsa file's permission to
 always be acceptable to Cygwin SSH on Vista, in addition to the other
 Windows OSs?
 
 I can't reproduce this.  I just tried using a stock Cygwin 1.5.24 and
 OpenSSH 4.6p1-1 under Vista and it worked fine.  The default permissions
 set on the private keyfile by ssh-keygen worked without any fiddling.
 
 $ ls -l .ssh/id*
 -rw--- 1 brian None 1675 Jun 29 19:20 .ssh/id_rsa
 -rw-r--r-- 1 brian None  393 Jun 29 19:20 .ssh/id_rsa.pub
 
 So, I think you're going to need to give us a lot more information about
 your config, starting with the cygcheck output as requested at
 http://cygwin.com/problems.html.  It would also be good to know why
 you're trying to use this very old version of OpenSSH, which might mean
 that your version of Cygwin is ancient too.
 
 Brian
 
 --
 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/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Private-key-file-permissions-w-Cygwin-OpenSSH-on-Vista-tf4002897.html#a12656729
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



RE: where is cygintl8.dll?

2007-09-13 Thread Rupert Young


Thanks, though this doesn't tell me which bz2 file it is in.

I have uncompressed all the downloaded files and neither libintl8 nor
cygintl-8 are therein. Any idea where they should be?

Incidentally, when downloading in select packages libintl8 is shown as
Keep and n/a.

Regards,
Rupert 

 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Dave Korn
 Sent: 13 September 2007 15:01
 To: cygwin@cygwin.com
 Subject: RE: where is cygintl8.dll?
 
 On 13 September 2007 14:50, Rupert Young (Restart) wrote:
 
  Hi,
 
  In which of the downloaded bz2 files should I find the cygintl8.dll?
 
   The answer to this and all similar questions: go to
 
 http://cygwin.com/packages
 
 Enter the name of the file you're looking for in the search box there.
 
 However, you have to spell it right.  The dll you're looking for is called
 cygintl-8.dll.  And it's in the libintl8 package.
 
 
 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/



--
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: where is cygintl8.dll?

2007-09-13 Thread Dave Korn
On 13 September 2007 16:03, Rupert Young wrote:

[ Re-directed back to list from private email. ]

 Thanks, though this doesn't tell me which bz2 file it is in.

  You shouldn't want or need to know that.
 
 I have uncompressed all the downloaded files 

  You shouldn't want or need to do that.

 and neither libintl8 nor
 cygintl-8 are therein. Any idea where they should be?

 They ought to be there, in your local package storage directory, under
mirrorname/release/gettext, but then again, you shouldn't want or need to
find them.

 Incidentally, when downloading in select packages libintl8 is shown as
 Keep and n/a.

  Which should mean it's installed, which should mean you can find it in /bin.


  Perhaps you should tell us what the actual problem is that has inspired you
to go barking up this wrong trees rather than just ask us how to put into
effect what is probably the wrong solution based on a misdiagnosis?

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: cron

2007-09-13 Thread Pierre A. Humblet
- Original Message - 
From: René Berber 
To: 
Sent: Thursday, September 13, 2007 2:00 AM
Subject: Re: cron


Pierre A. Humblet wrote:

[snip]
 | On W2K3, if you expect a service to be able to switch user contexts, you
 | need a special service account.  You can use the 'sshd_server' account that
 | would be created for you if you configure 'sshd' and ask it to create the
 | account when it asks you.  See the /usr/share/doc/Cygwin/openssh.README
 | for details.

 The above is correct, but later cron was switch to run as PolsonA

Wrong, the log just shows that the user edited his crontab (i.e. did a `crontab
-e`) which does a reload on exit.  Larry's diagnostic is right, cron shouldn't
be running as the user PolsonA.

 2007/09/12 16:19:31 [PolsonA] cron: PID 1432: `cron' service started
 2007/09/12 16:19:41 [PolsonA] crontab: PID 2844: (PolsonA) BEGIN EDIT 
 (PolsonA)
 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) REPLACE (PolsonA)
 2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) END EDIT (PolsonA)
 2007/09/12 16:20:01 [PolsonA] /usr/sbin/cron: PID 2564: (PolsonA) RELOAD 
 (tabs/PolsonA)

**
The reload is done by /usr/sbin/cron itself on the next minute after the 
crontab -e exit,
see the last entry above.
There is nothing bad about running cron as yourself if you are the only cron 
user on a machine.

Pierre


--
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: sftp removing writable bit

2007-09-13 Thread Andrew DeFaria

Thorsten Kampe wrote:

* Andrew DeFaria (Wed, 12 Sep 2007 22:49:49 -0700)

Thorsten Kampe wrote:

* Andrew DeFaria (Wed, 12 Sep 2007 08:48:58 -0700)

John J. Culkin wrote:

I am seeing an issue with Cygwin's sftp. It seems that after I upload
a file that overwrites an existing file, the writable bit is removed.
This prevents me from uploading a new version of the file.

The files are owned by the SFTP user.

Any Ideas?
No ideas but a question. What is sftp good for? I mean what does it 
have

over say... scp?

You can use your favourite FTP client, right?!

As opposed to just typing scp? I still don't get it...


Yes. Some clients (by coincidence my favourite ones) like yafc, lftp 
and SpeedCommander do sftp. Lftp even does fish (which I think is 
pure scp/ssh).
I guess I'm saying is that if yafc, lftp and SpeedCommander can do sftp 
then scp will also work (no?). Conceptually I would think copy this 
file and relate that to a cp of sorts before an ftp of sorts. I use 
ncftp, when ftp is the only way, which doesn't do sftp (I think). 
Although ncftp can use ftp to copy a file or set of files in one command 
many ftp clients can't (perhaps yafc, lftp and SpeedCommander can do 
this - I don't know). What are the chances that those other sftp type 
clients are available on say the Solaris or Linux clients/servers of a 
client I'm working for? Much less than the possibility of scp being 
present. And I'm not necessarily against the idea of well go out and 
get a working copy of these programs but often clients do not give 
consultants that privilege.


To each his own - we all  have our own reasons for our picks of 
favorites (even if sometimes the reasons are not very well thought out).

--
Andrew DeFaria http://defaria.com
Future historians will be able to study at the Gerald Ford Library; the 
Jimmy Carter Library; the Ronald Reagan Library and the Bill Clinton 
Adult Bookstore.



--
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: Send keystrokes to an XP window

2007-09-13 Thread Frodak Baksik
On 9/12/07, Rlambert  wrote:

 I found a module (Win32::GUI) on the Internet.  It looks like it can be used
 to send keystrokes to an XP window?  Can it be installed on CYGWIN?  If so,
 how do you do it?  If not, is there some other module that can be used in
 CYGWIN to send keystrokes to an XP window?

 Thanks.
 --
 View this message in context: 
 http://www.nabble.com/Send-keystrokes-to-an-XP-window-tf4431254.html#a12641512
 Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Are you referring to this Perl module?
http://sourceforge.net/projects/perl-win32-gui

If so it is already available via the cygwin install as package perl-Win32-GUI.

Regards,
Frodak

--
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: sftp removing writable bit

2007-09-13 Thread Dave Korn
On 12 September 2007 15:44, John J. Culkin wrote:

 Hello
 
 I am seeing an issue with Cygwin's sftp. It seems that after I upload a
 file that overwrites an existing file, the writable bit is removed. This
 prevents me from uploading a new version of the file.
 
 The files are owned by the SFTP user.
 
 Any Ideas?

  puts fingers to temples, strikes a stage mind-reader pose

  Is it because you made a wrapper script on the server that sets the umask to
002 before starting the sftp server, by any chance?

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: sftp removing writable bit

2007-09-13 Thread Dave Korn
On 13 September 2007 16:53, Andrew DeFaria wrote:

 I guess I'm saying is that if yafc, lftp and SpeedCommander can do sftp
 then scp will also work (no?).

  No.

  snip self-serving justification for not answering OP's question in any shape 
or form based on this non-sequitur

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: Private key file permissions w/Cygwin OpenSSH on Vista

2007-09-13 Thread Igor Peshansky
On Thu, 13 Sep 2007, sbeavan wrote:

 Not sure if you are having the exact same issue I had, but I couldn't chmod
 the files in cygwin either.  Then I realized my home directory was on a
 windows share.  I was able to cp the files to my local drive and chmod them,
 but the changes disappeared when moving the files back to the home
 directory.  To change my home directory to a local path I ran the following
 command
 mkpasswd -l -c -p /home
 this made my home directory in the local /home
 once this was done I mv all files from the old network share to the local
 and chmoded them appropriately and was able to use my ssh with rsa keys
 fine.

What you wanted was smbntsec (see
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html).
Igor

 Brian Dessent wrote:
 
  Siva wrote:
 
  Re:  binary distro of OpenSSH 3.8.1p1
 
  If this is a reply to a previous message then please send it as an
  actual reply, don't start a new thread.  Otherwise, you break threading
  in the archives and for anyone using a threaded email client.
 
  I've been unable to use Cygwin's OpenSSH on Vista w/public key
  authentication because ssh.exe always states the file permissions on the
  private key file--id_rsa--are too open.
 
  I've used the chmod.exe utility to change the permissions on the id_rsa
  file to 600, but ssh.exe still pops up with the same error message.
 
  I've also used Windows' cacls.exe command to alter the ACLs for the file
  to be ONLY read-accesible to the current user, and the same thing
  happens.
 
  This behavior DOES NOT occur on XP and 2000 when I try it, i. e.
  chmod.exe WORKS on these OSs to change id_rsa's permissions so that
  ssh.exe is happy (i. e. to 0600).
 
  Is there a specific bona-fide way to set the id_rsa file's permission to
  always be acceptable to Cygwin SSH on Vista, in addition to the other
  Windows OSs?
 
  I can't reproduce this.  I just tried using a stock Cygwin 1.5.24 and
  OpenSSH 4.6p1-1 under Vista and it worked fine.  The default permissions
  set on the private keyfile by ssh-keygen worked without any fiddling.
 
  $ ls -l .ssh/id*
  -rw--- 1 brian None 1675 Jun 29 19:20 .ssh/id_rsa
  -rw-r--r-- 1 brian None  393 Jun 29 19:20 .ssh/id_rsa.pub
 
  So, I think you're going to need to give us a lot more information about
  your config, starting with the cygcheck output as requested at
  http://cygwin.com/problems.html.  It would also be good to know why
  you're trying to use this very old version of OpenSSH, which might mean
  that your version of Cygwin is ancient too.
 
  Brian

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

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Send keystrokes to an XP window

2007-09-13 Thread Rlambert



Frodak Baksik wrote:
 
 On 9/12/07, Rlambert  wrote:

 I found a module (Win32::GUI) on the Internet.  It looks like it can be
 used
 to send keystrokes to an XP window?  Can it be installed on CYGWIN?  If
 so,
 how do you do it?  If not, is there some other module that can be used in
 CYGWIN to send keystrokes to an XP window?

 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Send-keystrokes-to-an-XP-window-tf4431254.html#a12641512
 Sent from the Cygwin Users mailing list archive at Nabble.com.


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


 
 Are you referring to this Perl module?
 http://sourceforge.net/projects/perl-win32-gui
 
 If so it is already available via the cygwin install as package
 perl-Win32-GUI.
 
 Regards,
 Frodak
 
 --
 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/
 
 
 

Well, the webpage to which you refer is very similar to what I found,
however, the particular module I was interested in is Win32-GuiTest.  What
got downloaded is a file named, Win32-GuiTest-1_50_1.zip.  Is there a
package called perl-Win32-GUITest?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Send-keystrokes-to-an-XP-window-tf4431254.html#a12658928
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: setup.exe suggestion + patch

2007-09-13 Thread Lewis Hyatt

Lewis Hyatt wrote:

The simplest way I could think of to correct this would be to change the 
behavior so that when you click on a Category or a Package, instead of 
simply cycling through, you get a little popup menu that asks you what 
you want to do instead. This way, you can go directly to Uninstall 
without dealing with the intervening options. This also lets you see all 
available versions at once, and avoids calculating dependencies 
unnecessarily.


I wrote a simple patch that implements this suggestion. Attached are the 
outputs of cvs diff (in diff.txt) and cvs diff -n (in diff_n.txt). (I'm 
sorry, I don't know much about CVS, is this the preferred way to submit 
a patch?). Here is a summary of the changes:


Did anyone happen to take a look at this message I sent last week? I 
thought maybe it would be interesting to someone besides me, but maybe 
I'm wrong. If you don't like the extra clicks involved in my solution, I 
would be willing to explore others as well. I do think the problem I 
mentioned in my original message is worth fixing...


-Lewis


--
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: sftp removing writable bit

2007-09-13 Thread Thorsten Kampe
* Andrew DeFaria (Thu, 13 Sep 2007 08:53:25 -0700)
 Thorsten Kampe wrote:
  * Andrew DeFaria (Wed, 12 Sep 2007 22:49:49 -0700)
  Thorsten Kampe wrote:
  * Andrew DeFaria (Wed, 12 Sep 2007 08:48:58 -0700)
  What is sftp good for? I mean what does it 
  have
  over say... scp?
  You can use your favourite FTP client, right?!
  As opposed to just typing scp? I still don't get it...
 
  Yes. Some clients (by coincidence my favourite ones) like yafc, lftp 
  and SpeedCommander do sftp. Lftp even does fish (which I think is 
  pure scp/ssh).
 I guess I'm saying is that if yafc, lftp and SpeedCommander can do sftp 
 then scp will also work (no?).

Yes. scp works always because it doesn't have to be enabled.

 I use ncftp, when ftp is the only way, which doesn't do sftp (I
 think).

Yes.

 What are the chances that those other sftp type clients are
 available on say the Solaris or Linux clients/servers of a client
 I'm working for?

Probably not on a server.

 Much less than the possibility of scp being present. And I'm not
 necessarily against the idea of well go out and get a working copy
 of these programs but often clients do not give consultants that
 privilege.

If your tools are limited or you do transfer just one file then scp is 
fine. But if you want some comfort you should go for the other ones. 
By the way: this has nothing to do with scp versus sftp. And I'm not 
really sure what you mean by scp - do you mean the protocol or the 
command line tool?

Anyway: if I haven't convinced you yet that sftp can have its uses and 
advantages then I probably never will.


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: setup.exe suggestion + patch

2007-09-13 Thread Dave Korn
On 13 September 2007 18:57, Lewis Hyatt wrote:

 Lewis Hyatt wrote:
 
 The simplest way I could think of to correct this would be to change the
 behavior so that when you click on a Category or a Package, instead of
 simply cycling through, you get a little popup menu that asks you what
 you want to do instead. This way, you can go directly to Uninstall
 without dealing with the intervening options. This also lets you see all
 available versions at once, and avoids calculating dependencies
 unnecessarily. 
 
 I wrote a simple patch that implements this suggestion. Attached are the
 outputs of cvs diff (in diff.txt) and cvs diff -n (in diff_n.txt). (I'm
 sorry, I don't know much about CVS, is this the preferred way to submit
 a patch?). Here is a summary of the changes:
 
 Did anyone happen to take a look at this message I sent last week? 

  Not yet, but I plan to.  (Limited free time at the moment).

 I
 thought maybe it would be interesting to someone besides me, but maybe
 I'm wrong. 

  Nooo, you're dead right.  Fixing this has been long overdue, thanks for your
effort and sorry for not having got on the case sooner!



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: cron

2007-09-13 Thread Larry Hall (Cygwin)

Pierre A. Humblet wrote:
- Original Message - 
From: René Berber 

To: 
Sent: Thursday, September 13, 2007 2:00 AM
Subject: Re: cron


Pierre A. Humblet wrote:

[snip]

| On W2K3, if you expect a service to be able to switch user contexts, you
| need a special service account.  You can use the 'sshd_server' account that
| would be created for you if you configure 'sshd' and ask it to create the
| account when it asks you.  See the /usr/share/doc/Cygwin/openssh.README
| for details.

The above is correct, but later cron was switch to run as PolsonA


Wrong, the log just shows that the user edited his crontab (i.e. did a `crontab
-e`) which does a reload on exit.  Larry's diagnostic is right, cron shouldn't
be running as the user PolsonA.


2007/09/12 16:19:31 [PolsonA] cron: PID 1432: `cron' service started
2007/09/12 16:19:41 [PolsonA] crontab: PID 2844: (PolsonA) BEGIN EDIT (PolsonA)
2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) REPLACE (PolsonA)
2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) END EDIT (PolsonA)
2007/09/12 16:20:01 [PolsonA] /usr/sbin/cron: PID 2564: (PolsonA) RELOAD 
(tabs/PolsonA)


**
The reload is done by /usr/sbin/cron itself on the next minute after the 
crontab -e exit,
see the last entry above.
There is nothing bad about running cron as yourself if you are the only cron 
user on a machine.


That true.  It wasn't clear to me at first that 'PBMR\PolsonA' and 'PolsonA'
were the same user.  But they are.  Now what's not clear is why it didn't
run unless, as you say Pierre, the OP didn't wait long enough for the
crontab entries to kick off.  Maybe it's worth getting back to basics and
just trying the old '/bin/date /tmp/date.log' entry that runs every minute
as see where that goes.

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: setup.exe suggestion + patch

2007-09-13 Thread Igor Peshansky

On Thu, 6 Sep 2007, Lewis Hyatt wrote:


Hello-

Firstly, thanks to everyone who has worked on setup.exe, it's really a
very convenient program! There is just one thing that has always
bothered me, which is that you have to click repeatedly on the package
or category to cycle through all the available actions to find the one
you want. The main problem is that each click causes the dependencies to
be recalculated, which can cause annoying slowdowns if you're trying to
do something like uninstall all packages in a large category. There is
also the following situation which occurs often, especially when you are
playing around with installing and uninstalling new packages:

-package A requires package B
-package A has two available versions
-package B appears before package A in the list

Now suppose A and B are both installed, and you want to uninstall them.
Since B appears first, you click through to uninstall, no problem. Now
you scroll down, maybe several pages away, and try to uninstall package
A. The first time you click, though, you end up on the Prev version,
which then calculates that it needs package A and goes back and sets
package A to Install again. The only way to uninstall both of them is to
uninstall B first, and then A. When there are multiple dependencies
involved, it can quickly get impossible to get setup to do what you
want.

The simplest way I could think of to correct this would be to change the
behavior so that when you click on a Category or a Package, instead of
simply cycling through, you get a little popup menu that asks you what
you want to do instead. This way, you can go directly to Uninstall
without dealing with the intervening options. This also lets you see all
available versions at once, and avoids calculating dependencies
unnecessarily.

I wrote a simple patch that implements this suggestion. Attached are the
outputs of cvs diff (in diff.txt) and cvs diff -n (in diff_n.txt). (I'm
sorry, I don't know much about CVS, is this the preferred way to submit
a patch?). Here is a summary of the changes:

-Created new class PopupMenu in PopupMenu.{h,cc}, which makes a popup
menu at the mouse cursor location and returns the selected item.

-Added #define to resource.h for use by PopupMenu. For now, it just
reserves 100 IDs, supporting arbitrary popup menus with up to 100
entries. (The number 100 is easily configurable in resource.h.)

-Modified PickCategoryLine to open the menu instead of cycling.

-Added new function select_action() to the packagemeta class, which
implements the menu selection. For now, this is done in an extremely
quick and dirty way that simple calls set_action() repeatedly to figure
out which options would have been cycled through. I would be willing to
re-do this in a more efficient way if this patch is deemed useful, but I
don't even think that's necessary, I think it's fine to do it this way
which reuses the already bug-tested code in set_action().

-Modified PickPackageLine to call select_action() instead of
set_action() when the line is clicked.

-Made some minor changes to packagemeta::_action to expose the category
strings as part of the public interface, so they could be reused in the
popup menu.

Anyway I hope this is useful, if this patch isn't acceptable please let
me know and I can fix it or change it. I wasn't sure about conventions
with tabs, line endings, line lengths, etc., for one thing. In general,
I think the problem I have described requires fixing. If you don't think
this solution is an improvement, I can look into fixing it a different
way also.


First off, thank you for the popup menu implementation -- I was planning
to use it for something else in setup, and now I don't have to write it.

Second, I agree that the problem is good, and I like your solution of
selection vs. cycling.

Third, I have to apologize -- I've had a partial reply to your message
sitting in my drafts since the day you sent it, but got bogged down.

A few comments on the patch:
1) It would be great if you used diff -up -- unified diffs are so much
easier to read.
2) Is there a reason you use popup menus, rather than pull-down lists?
3) [Minor] You'd use the GNU coding guidelines for whitespace and
indentation.

If you could resend a unified diff, I'll apply it in my tree and test it
out.
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
|,4-  ) )-,_. ,\ (  `'-'old name: Igor Pechtchanski
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Send keystrokes to an XP window

2007-09-13 Thread Larry Hall (Cygwin)

Rlambert wrote:





snip



Well, the webpage to which you refer is very similar to what I found,
however, the particular module I was interested in is Win32-GuiTest.  What
got downloaded is a file named, Win32-GuiTest-1_50_1.zip.  Is there a
package called perl-Win32-GUITest?




Let's see.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=perl-Win32-GUITest


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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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 configure VIM to generate files with LF line endings

2007-09-13 Thread Michael Giroux
How do I configure VIM to write files using LF for line endings?

I've tried man vi, and man vimrc and man .vimrc, without success.

Michael

--
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: How to configure VIM to generate files with LF line endings

2007-09-13 Thread Reid Thompson
add 
set fileformat=unix
to vimrc/gvimrc

On Thu, 2007-09-13 at 11:39 -0700, Michael Giroux wrote:
 How do I configure VIM to write files using LF for line endings?
 
 I've tried man vi, and man vimrc and man .vimrc, without success.
 
 Michael
 
 --
 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: How to configure VIM to generate files with LF line endings

2007-09-13 Thread Dave Korn
On 13 September 2007 19:40, Michael Giroux wrote:

 How do I configure VIM to write files using LF for line endings?

  You don't.  It already does.

  Not trying it on a text-mode mountpoint, by any chance, are you?

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: setup.exe suggestion + patch

2007-09-13 Thread Lewis Hyatt

Igor Peshansky wrote:



Third, I have to apologize -- I've had a partial reply to your message
sitting in my drafts since the day you sent it, but got bogged down.


OK, I understand of course, I just wanted to check. Thanks for getting 
back to me Igor and Dave!



A few comments on the patch:
1) It would be great if you used diff -up -- unified diffs are so much
easier to read.


I attached the output of cvs diff -up. I also attached the two new files 
PopupMenu.{cc,h}, which I didn't realize were not included in the diff 
already.



2) Is there a reason you use popup menus, rather than pull-down lists?


I think pull-down lists would probably be nicer and more intuitive. 
Adding this is a much larger change, though, because you have to change 
the PickLine classes to paint the controls, and you have to modify the 
window procedures, etc. I can do all that, but wanted to gauge interest 
first. The drop-down menu way only takes a couple lines, and doesn't 
require dealing with the window procedure, so I thought it was a good 
way to start anyway. Note that my implementation of 
packagemeta::select_action(), which builds the menu, is also admittedly 
pretty quick and dirty. It's clear how to improve it, but it works fine 
the way it is and re-uses the already-debugged packagemeta::set_action() 
code.


-Lewis
/*
 * Copyright (c) 2002 Lewis Hyatt.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * A copy of the GNU General Public License can be found at
 * http://www.gnu.org/
 *
 * Written by Lewis Hyatt [EMAIL PROTECTED]
 *
 */

#include PopupMenu.h
#include Exception.h
#include resource.h
#include String++.h
using namespace std;

void PopupMenu::init_menu(char const* const* const items, size_t const 
num_items)
{
hMenu=0;
static size_t const max_items = IDM_POPUP_LAST - IDM_POPUP_FIRST + 1;
if(num_items  max_items) throw new Exception(TOSTRING (__LINE__)   
__FILE__, Too many popup menu items);

hMenu = CreatePopupMenu();
for(size_t i=0; i!=num_items; ++i)
AppendMenu(hMenu, MF_STRING, IDM_POPUP_FIRST+i, items[i]);
}

void PopupMenu::init_menu(string const* const items, size_t const num_items)
{
vectorchar const* items_c(num_items);
for(size_t i=0; i!=num_items; ++i) items_c[i] = items[i].c_str();
init_menu(items_c[0], num_items);
}

int PopupMenu::get_selection(int x, int y) const {
if(x==position_undefined || y==position_undefined)  {
POINT point;
GetCursorPos(point);
if(x==position_undefined) x=point.x;
if(y==position_undefined) y=point.y;
}

int const result = TrackPopupMenuEx(
hMenu,
TPM_CENTERALIGN | TPM_TOPALIGN | TPM_NONOTIFY | TPM_RETURNCMD, 
x, y,
GetActiveWindow(),
0
);

return result==0 ? -1 : result - IDM_POPUP_FIRST;
}
/*
 * Copyright (c) 2007 Lewis Hyatt.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * A copy of the GNU General Public License can be found at
 * http://www.gnu.org/
 *
 * Written by Lewis Hyatt [EMAIL PROTECTED]
 *
 */
 
//the purpose of this class is to create a popup menu on the fly from a list of 
strings.
//the menu is displayed and then the index of the selected string is returned, 
or -1 if
//no string was selected. this class needs a block of IDs reserved for the menu 
items,
//which is defined by IDM_POPUP_FIRST and IDM_POPUP_LAST in resource.h.
 

#ifndef SETUP_POPUPMENU_H
#define SETUP_POPUPMENU_H

#include win32.h
#include string
#include vector

class PopupMenu {
HMENU hMenu;

//make non-copyable for simplicity
PopupMenu(PopupMenu const);
PopupMenu operator=(PopupMenu const*);

//the init function is private because it is only called from the 
constructor
void init_menu(char const* const* items, size_t num_items);
void init_menu(std::string const* items, size_t num_items);
public:

//constructor creates the menu but does not show it. there are a few 
overloads so you can pass an
//array of char*, an array of string, or a vector of string.

PopupMenu(char const* const* items, size_t num_items)
{
init_menu(items, num_items);
}

PopupMenu(std::string const* items, size_t num_items)
{
init_menu(items, num_items);
}


Don't like setup for ocassional updates

2007-09-13 Thread Paul McFerrin

Folks:

I've been using Cygwin for many years (~7-8yrs) and I like it very 
much.  Can't do without it.


I'm running a Sacred version B20.  No one touches it!  I have total 
control.  As a result, I normally do NOT like upgrades.  They always 
cause me more work to fix problems created by others, determine what has 
change, and fix problems caused by setup.  I fact I recently blew away 
two working copies of B20 because of setup.  I need to know some full 
pathnames to retreive distributions without going thru setup.  Yes, 
setup on a Sacred, running system is evil.  No more.


Under my release directory, there are several packages sub-directories 
whci contains files that failed to get installed.  Is there a easy way 
to safely complete the install of these packages.  I manually 
installed the man_conf file so at least it knew how to treat all of my 
.bz2 manual pages.  I know there are still missing man pages that need 
to be installed.


Summary:
   1. Need pathnames to distribution files to avoid setup.
   2. Easy waay to complete installation of missing components:
X11/   cygutils/groff/ mingw-runtime/  ssmtp/
_obsolete/ cygwin/  gzip/  mktemp/ tar/
_update-info-dir/  cygwin-doc/  jbigkit/   mutt/   tcltk/
alternatives/  db/  jpeg/  nano/   tcsh/
ash/   editrights/  less/  ncurses/termcap/
base-files/expat/   libXpm-noX/opengl/ terminfo/
base-passwd/   expect/  libgcrypt/ openssl/texinfo/
bash/  file/libgpg-error/  patch/  tiff/
bc/findutils/   libiconv/  pcre/   unzip/
binutils/  fontconfig/  libpng/perl/   vim/
brltty/freeglut/libssh2/   popt/   w32api/
bzip2/ gawk/libusb-win32/  python/ which/
compface/  gcc/ libxml2/   readline/   xpm-nox/
coreutils/ gcc-mingw/   libxslt/   rebase/ zip/
cpio/  gdb/ login/ run/zlib/
cron/  gdbm/lynx/  rxvt/
crypt/ gettext/ m4/sed/
curl/  grep/man/   sharutils/

Sounds like a lot!

-Paul McFerrin



--
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: Don't like setup for ocassional updates

2007-09-13 Thread Christopher Faylor
Your dislike of setup does not translate into your getting support for
installing packages without setup.

This really falls into the category of If you can't figure it out you
probably shouldn't be doing it.  However, the files are just .tar.bz2
files with some extra stuff which is referenced in
http://cygwin.com/setup.html .

Please don't expect a lot of support for some alternate, error-prone way
of updating an installation.  It is not going to happen.

--
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: Don't like setup for ocassional updates

2007-09-13 Thread Paul McFerrin

I thought is was that straight forward.  Consider the .bz2 file under bzip2:
   bzip2-1.0.3-2.tar.bz2
I did a bunzip2 -d file... and ended up with a file bunzip2.exe 
which is corrupt.  Can't do

   tar -t file...
without getting the corrupt file error.  Maybe I just got a corrupt file 
but I thought I would check things out before continuing to really mess 
things up.


How can I re-get that one file without setup messing up my current system?

-paul

Christopher Faylor wrote:

Your dislike of setup does not translate into your getting support for
installing packages without setup.

This really falls into the category of If you can't figure it out you
probably shouldn't be doing it.  However, the files are just .tar.bz2
files with some extra stuff which is referenced in
http://cygwin.com/setup.html .

Please don't expect a lot of support for some alternate, error-prone way
of updating an installation.  It is not going to happen.

--
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: Don't like setup for ocassional updates

2007-09-13 Thread Larry Hall (Cygwin)

Paul McFerrin wrote:
I thought is was that straight forward.  Consider the .bz2 file under 
bzip2:

   bzip2-1.0.3-2.tar.bz2
I did a bunzip2 -d file... and ended up with a file bunzip2.exe 
which is corrupt.  Can't do

   tar -t file...
without getting the corrupt file error.  Maybe I just got a corrupt file 
but I thought I would check things out before continuing to really mess 
things up.


How can I re-get that one file without setup messing up my current system?


bzip2-1.0.3-2.tar.bz2?  Just use 'setup' in download only mode.  Or 'wget'.
Or 'curl'.  Or...

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Don't like setup for ocassional updates

2007-09-13 Thread Gary R. Van Sickle
 From: Paul McFerrin
 
 I thought is was that straight forward.  Consider the .bz2 
 file under bzip2:
 bzip2-1.0.3-2.tar.bz2
 I did a bunzip2 -d file... and ended up with a file bunzip2.exe 
 which is corrupt.  Can't do
 tar -t file...

Perhaps it's time to upgrade your Cygwin installation. :-0

 without getting the corrupt file error.  Maybe I just got a 
 corrupt file but I thought I would check things out before 
 continuing to really mess things up.
 How can I re-get that one file without setup messing up my 
 current system?

You're using a Cygwin that was built when the Dead Sea was only sick.  In
addition to all the problems that people have been adding to the distro, I
suspect some defects may have been fixed since.  Why, heck, it's possible
you're running into one in your efforts to not update.  Bite the bullet and
update.  Everything.  With setup.  The chances that you'll be able to
piecemeal update a few apps to present-day versions while retaining a
Cretaceous-era cygwin1.dll and have it be a pleasant experience are zero.

-- 
Gary R. Van Sickle


--
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: Don't like setup for ocassional updates

2007-09-13 Thread Gary R. Van Sickle
Hi Paul,

The Cygwin list is the appropriate place for followups:

 From: Paul McFerrin
 
 Gary R. Van Sickle wrote:
  From: Paul McFerrin
 
  I thought is was that straight forward.  Consider the .bz2 
 file under 
  bzip2:
  bzip2-1.0.3-2.tar.bz2
  I did a bunzip2 -d file... and ended up with a file 
 bunzip2.exe 
  which is corrupt.  Can't do
  tar -t file...
  
 
  Perhaps it's time to upgrade your Cygwin installation. :-0

 Well I did, without the knowledge that setup would do that.  
 I'm now running version 1.5.24.  I'll stay with that.  The 
 last person (Larry
 Hall) mentioned using wget or curl but gave no URL's on where 
 I might even find the files.  Maybe I'm blind, but that seems 
 to be a secret.

It's no secret to those of us using setup.exe ;-).

There's an old saying in Tennessee - I know it's in Texas, probably in
Tennessee - that says, If you lived here, you'd be home by now.  Use
setup.exe and you can't get fooled again.

-- 
Gary R. Van Sickle
 


--
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: Don't like setup for ocassional updates

2007-09-13 Thread Larry Hall (Cygwin)

Gary R. Van Sickle wrote:

Hi Paul,

The Cygwin list is the appropriate place for followups:


From: Paul McFerrin

Gary R. Van Sickle wrote:

From: Paul McFerrin

I thought is was that straight forward.  Consider the .bz2 
file under 

bzip2:
bzip2-1.0.3-2.tar.bz2
I did a bunzip2 -d file... and ended up with a file 
bunzip2.exe 

which is corrupt.  Can't do
tar -t file...


Perhaps it's time to upgrade your Cygwin installation. :-0
  
Well I did, without the knowledge that setup would do that.  
I'm now running version 1.5.24.  I'll stay with that.  The 
last person (Larry
Hall) mentioned using wget or curl but gave no URL's on where 
I might even find the files.  Maybe I'm blind, but that seems 
to be a secret.


It's no secret to those of us using setup.exe ;-).

There's an old saying in Tennessee - I know it's in Texas, probably in
Tennessee - that says, If you lived here, you'd be home by now.  Use
setup.exe and you can't get fooled again.



Agreed.  And it's no secret for anyone.  I didn't say where to get the
file from because:

  1. The OP already had it, which implied to me that he knew where to
 get it, otherwise he wouldn't have a copy already (that old chicken
 and egg thing ;-) ).

  2. I also mentioned that he could just as easily use 'setup' in
 download only mode to retrieve the file.

  3. The mirrors for Cygwin are all plainly listed in a link right from
 the main page at the Cygwin site.

But as Chris mentioned, the key point is if people don't know where to get
the packages or how, they're unlikely to be successful installing them
manually.  Since Paul mentions that he's already upgraded (unintentionally),
I expect this is all moot to him now but I figure it's worthwhile to
reinforce this point once more for anyone who may have similar notions
about upgrading and just happens to stumble upon this or other like threads
in the archives.  Don't ask me how I did that figuring though. ;-)

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Establishing Unix network control under cygwin?

2007-09-13 Thread Brad
Hi.  I've just recently installed cygwin and I'd like to ask a few questions
about networking.

I've installed practically all the Cygwin packages but I'm frustrated by a
couple of trivial little problems.  For example, when I do a

  ping host

the host can't be found; I have to put in the fully-qualified host name:

  ping host.company.com

Even though a lookup via the name server:

  nslookup host

works, without the argument having to be fully-qualified.

So I set up a simple /etc/nsswitch.conf, as I would on any Unix machine, with
the contents:

  hosts:  files dns

and /etc/resolv.conf with:

  search company.com

but it's had no effect.

I also can't find man pages for 'nsswitch.conf' or 'resolv.conf' in my cygwin
installation, or even 'getent', so I'm wondering if those files are even used
by cygwin.

I've searched for terms like 'cygwin' and 'nsswitch.conf' but haven't found
anything to go on.  I do apologise if this is a real 'newbie' question.

I suspect that cygwin delegates all things networking off to Windows, and so
to fix this problem I'd have to do the equivalent of an nswitch.conf entry
in Windows land?  Which I'm not competent to do, unfortunately.

Would anyone care to:

a.  confirm whether 'nsswitch.conf' and such work in Cygwin?

b.  tell me how I can get Cygwin to search various domains when
 trying to resolve hostnames?

c.  tell me about any 'networking' FAQ for cygwin?

We primarily use NIS here, although DNS as well; I believe NIS isn't
available with cygwin?

Many thanks,


Brad



   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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



drag and drop to cygwin scripts ?

2007-09-13 Thread Keith Chiem
Is it possible to write a script in cygwin, say bash or perl, create a shortcut 
to it in windows, and drag and drop a path or a url to it and have the script 
run and take it as an argument somehow ?

--k



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