Feature request: sudo

2023-01-19 Thread Jochen Wiedmann via Cygwin
Hi, as someone who is quite used to typing sudo do something I would really like to do the same in my CygWin bash.In my opinion, this could be implemented relatively simply, and straightforward as follows: - Accept an array of strings with the command, that is being executed with administra

Re: CygWin SVN should identify as CygWin

2012-08-08 Thread Jochen Wiedmann
On 07.08.2012 18:30, Andrey Repin wrote: Subversion libraries supposed to be linked directly, not used through "svn" command-line wrapper. For more details, go read http://svn-book.org/ Quite obviously, you never attempted to support a diverse user basis (just think of all the platforms) in J

Re: CygWin SVN should identify as CygWin

2012-08-07 Thread Jochen Wiedmann
On 07.08.2012 13:15, Adam Dinwoodie wrote: This isn't Subversion's responsibility; the problem is more general: how do you tell if the version of awk, sed or vim are Cygwin ones or not (or ones compiled containing a specific patch, or built on a particular day, or any other of a myriad of differ

Re: CygWin SVN should identify as CygWin

2012-08-07 Thread Jochen Wiedmann
On 07.08.2012 12:27, Andrey Repin wrote: To all extents and purposes, Cygwin SVN behave just the way I'd expect from it. I didn't say, it behaves wrong. My point is that I need to know that I am using it, and not another svn, if all I know is "there's a svn binary in my path". Jochen   S

Re: CygWin SVN should identify as CygWin

2012-08-07 Thread Jochen Wiedmann
On 07.08.2012 11:45, marco atzeri wrote: I do not understand why you need different file for cygwin. You gave the answer just below, Marco: Commit on cygwin should follow cygwin rules (unix like), so something like   SAG Consulting Services GmbH - Sitz/Registered office: Uhlandstraße 9,

Re: How to detect CygWin SVN?

2011-02-10 Thread Jochen Wiedmann
On Wed, Feb 9, 2011 at 10:57 PM, Csaba Raduly wrote: > Question is, why do you think you need to detect it ? Assuming that I'd like to use the -f option of SVN (commit a list of files, which are present in the file given by -f), the contents of the file in question are quite different for CygWin

Re: How to detect CygWin SVN?

2011-02-09 Thread Jochen Wiedmann
Preferrably cmd Or, in the alternative, the output of a cmd-Shell invocation to be analyzed by some Java program. On Wed, Feb 9, 2011 at 9:26 PM, Jeremy Bopp wrote: > On 02/09/2011 02:22 PM, Jochen Wiedmann wrote: >> On Wed, Feb 9, 2011 at 8:17 PM, Jeremy Bopp wrote: >> >&g

Re: How to detect CygWin SVN?

2011-02-09 Thread Jochen Wiedmann
On Wed, Feb 9, 2011 at 8:17 PM, Jeremy Bopp wrote: > I'm assuming that your script expects svn to be in the PATH, so you > could check to see if the path to the svn client lives within Cygwin's > installation: > > if [ $(type -p svn) = '/usr/bin/svn' ]; then >  echo "Found Cygwin's svn client" >

How to detect CygWin SVN?

2011-02-09 Thread Jochen Wiedmann
Hi, I'd like to write a script, which ought to work with the CygWin SVN client as well as any native SVN clients. As a prerequisite, I need to detect whether the "svn" program in the path is CygWin SVN or not. Question is, how to do this? Because the output of "svn --version" contains nothing that

cygpath as a key binding

2006-08-12 Thread Jochen Wiedmann
Hi, is it possible to invoke cygpath as a key binding? For example, if my current command line is tar c:\temp and my cursor is on c:\temp, then it would be nice to convert c:\temp into a Windows path by pressing a certain key. Thanks, Jochen -- Unsubscribe info: http://cygwin.c