RE: How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > > On Wed, Sep 9, 2009 at 1:31 PM, Gary Johnson wrote: > >    C:\cygwin\bin\rxvt.exe -e /bin/bash --login -c "cd /usr/local/src; > exec bash -i" > > A good solution, but it won't work if you do anyth

Re: [RFU 1.5 and 1.7] subversion-1.6.5-1 and -2

2009-09-09 Thread David Rothenberger
On 9/9/2009 10:33 AM, Thomas Plank wrote: David Rothenberger (daver...@acm.org) wrote: [subversion] For me it seems that you have compiled it on your own. Did it work for you out of the box? I apply about 13 patches to the upstream sources to create the package for Cygwin. Horrible! What a

Re: Help needed getting unicode working in bash

2009-09-09 Thread Andy Koppe
2009/9/9 Kit Johnson: > I'm just getting started with cygwin and really enjoying the linux-like > functionality under windows.  I have one major problem which is displaying > unicode filenames in bash. > > To be specific about my problem, I do not need to type unicode under bash, I > simply want to

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Mark J. Reed
On Wed, Sep 9, 2009 at 2:20 PM, Ziser, Jesse wrote: > --- On Wed, 9/9/09, Christopher Faylor [...] wrote: >From: [...] Please don't quote email addresses and message headers. > OK, yeah, I now see that is basically what's going on. >  Bash is processing it as normal and then Cygwin is adding all k

Re: Issue during compiling:

2009-09-09 Thread Greg Chicares
On 2009-09-09 17:49Z, Benjamin Hill wrote: > I'm getting an "internal compiler error" when compiling ALE 9.0.3 [...] > ui/../d2/align.h:1450: internal compiler error: in invert_truthvalue, at > fold-co > nst.c:2719 > Please submit a full bug report, > > I searched for the issue, no luck at: > >

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Ziser, Jesse
--- On Wed, 9/9/09, Christopher Faylor wrote: > From: Christopher Faylor > Subject: Re: syntax for Cygwin bash invoking Win apps > To: cygwin@cygwin.com > Date: Wednesday, September 9, 2009, 12:45 PM > On Wed, Sep 09, 2009 at 12:10:44PM > -0400, Mark J. Reed wrote: > >On Wed, Sep 9, 2009 at 12:

Issue during compiling:

2009-09-09 Thread Benjamin Hill
I'm getting an "internal compiler error" when compiling ALE 9.0.3 Source at http://auricle.dyndns.org/ALE/ ./configure works fine. however, make ends in the following. I've included the cygcheck.out file as indicated. In file included from ui/../d2.h:99, from ui/ui_tty.h:36,

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Christopher Faylor
On Wed, Sep 09, 2009 at 12:10:44PM -0400, Mark J. Reed wrote: >On Wed, Sep 9, 2009 at 12:05 PM, Christopher Faylor wrote: >> $ cmd /c echo "\"abc\"" >> "\"abc\"" >> >> # Wahhh?! >> >> Anyone who knows the explanation would make me very grateful. I've tried >> this with o

Re: [1.7] rename/renameat error

2009-09-09 Thread Christopher Faylor
On Wed, Sep 09, 2009 at 04:36:39PM +, Eric Blake wrote: >Eric Blake byu.net> writes: POSIX states that rename must fail with EINVAL if either argument ends in '.' or '..' (after trailing slashes are stripped). Cygwin 1.7 is detecting this situation (which is a step up from 1.5 whi

Re: How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread Mark J. Reed
On Wed, Sep 9, 2009 at 1:31 PM, Gary Johnson wrote: >    C:\cygwin\bin\rxvt.exe -e /bin/bash --login -c "cd /usr/local/src; exec > bash -i" A good solution, but it won't work if you do anything in .bash_profile that's not inherited by child shell processes (aliases, shell functions, etc), since .

Re: [RFU 1.5 and 1.7] subversion-1.6.5-1 and -2

2009-09-09 Thread Thomas Plank
David Rothenberger (daver...@acm.org) wrote: [subversion] >> For me it seems that you have compiled it on your own. >> Did it work for you out of the box? > I apply about 13 patches to the upstream sources to create the package > for Cygwin. Horrible! What a pitty, 1.5.6 worked without any patc

Re: How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread Gary Johnson
On 2009-09-09, KARR, DAVID (ATTCINW) wrote: > I'd like to have a command line that will run bash inside rxvt, both as > a login shell (so I get all my paths and profile) and in a specific > directory. I know how to get it to a specific directory, and I know how > to make it a login shell, but I ca

Re: How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread Mark J. Reed
When invoked as a login shell, bash changes to your home directory, so the fact that it was started in the target directory becomes moot. I would advise adding something to your .bash_profile or .bashrc that looks for an environment variable containing a directory and cd's there if it's set. if [

How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread KARR, DAVID (ATTCINW)
I'd like to have a command line that will run bash inside rxvt, both as a login shell (so I get all my paths and profile) and in a specific directory. I know how to get it to a specific directory, and I know how to make it a login shell, but I can't figure out how to get both. If I use this:

Re: [1.7] rename/renameat error

2009-09-09 Thread Eric Blake
Eric Blake byu.net> writes: > > > POSIX states that rename must fail with EINVAL if either argument ends in > > > '.' or '..' (after trailing slashes are stripped). Cygwin 1.7 is > > > detecting this situation (which is a step up from 1.5 which did the rename > > > anyways), but sets errno to EB

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Ziser, Jesse
--- On Wed, 9/9/09, Mark J. Reed wrote: > From: Mark J. Reed > Subject: Re: syntax for Cygwin bash invoking Win apps > To: cygwin@cygwin.com > Date: Wednesday, September 9, 2009, 11:10 AM > On Wed, Sep 9, 2009 at 12:05 PM, > Christopher Faylor wrote: > > $ cmd /c echo "\"abc\"" > > "\"ab

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Mark J. Reed
On Wed, Sep 9, 2009 at 12:05 PM, Christopher Faylor wrote: > $ cmd /c echo "\"abc\"" > "\"abc\"" > > # Wahhh?! > > Anyone who knows the explanation would make me very grateful. I've tried > this with other Windows apps too, and the same weirdness seems to occur. >> >>Lar

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Larry Hall (Cygwin)
On 09/09/2009 11:27 AM, Ziser, Jesse wrote: Huh? Last time I checked, bash translates "\"abc\"" to "abc". Yeah, I don't know what test I did last night that made me think this was right for bash. The lesson here is that I shouldn't try a bunch of tests quickly late at night. ;-) Doe

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Christopher Faylor
On Wed, Sep 09, 2009 at 11:56:54AM -0400, Mark J. Reed wrote: >On Wed, Sep 9, 2009 at 11:27 AM, Ziser, Jesse wrote: $ cmd /c echo "\"abc\"" "\"abc\"" # Wahhh?! Anyone who knows the explanation would make me very grateful. I've tried this with other Windows apps to

[ANNOUNCEMENT] Updated: libvorbis/libvorbis-devel/libvorbis0/libvorbisenc2/libvorbisfile3-1.2.3-1

2009-09-09 Thread David Rothenberger
A new version the libvorbis, libvorbis-devel, libvorbis0, libvorbisenc2, and libvorbisfile3 packages are now available for download. DESCRIPTION: Vorbis is a general purpose audio and music encoding format contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond MPEG audio

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Ziser, Jesse
>On Tue, Sep 8, 2009 at 11:30 PM, Ziser, Jesse wrote: >> Hello list, >> >> When I type a command in bash to invoke a Windows application (like cmd.exe, >> for example), I can't seem to find a pattern in the Windows command line that >> actually gets executed. Ordinary bash syntax does not seem to

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Mark J. Reed
On Wed, Sep 9, 2009 at 11:27 AM, Ziser, Jesse wrote: >>> $ cmd /c echo "\"abc\"" >>> "\"abc\"" >>> >>> # Wahhh?! >>> >>> Anyone who knows the explanation would make me very grateful. I've tried >>> this with other Windows apps too, and the same weirdness seems to occur. Larry Hall: >>All of the ab

Re: syntax for Cygwin bash invoking Win apps

2009-09-09 Thread Ziser, Jesse
>On 09/08/2009 11:30 PM, Ziser, Jesse wrote: >> Hello list, >> >> When I type a command in bash to invoke a Windows application (like >> cmd.exe, for example), I can't seem to find a pattern in the Windows command >> line that actually gets executed. Ordinary bash syntax does not seem to >> apply i

Re: Distinguishing between XP / Vista / 7

2009-09-09 Thread Andy Koppe
2009/9/9 Fergus: > Now I find I need to distinguish between Vista and 7 but uname does not > provide a discriminant (CYGWIN_NT-6.1 in both cases, I think?). Vista is 6.0. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Distinguishing between XP / Vista / 7

2009-09-09 Thread Fergus
To distinguish the host OS (XP or Vista) for an application I have used #! /bin/bash case `uname` in *NT-5*) OS_VER=XP ;; *NT-6*) OS_VER=Vista ;; esac echo $OS_VER Now I find I need to distinguish between Vista and 7 but uname does not provide a discriminant (CYGWIN_NT-6.1 in both cases, I