Sean 'Shaleh' Perry wrote:

> odd, this [bsetbg] obviously works under Linux or BSD.

.. but not on Cygwin :-(

> It is not bexec()'s job to parse the options sent to the command.

I agree with this, so I did some more snooping, and what I found
is interesting.

bexec() calls "/bin/sh" to do it's work.  Cygwin does *not* actually
have a true "sh".  Depending on the way Cygwin is installed, "sh" is
either "ash" or "bash".  On my system, it's "ash", which is the problem
(it does not seem to do tilde expansion).

All I had to do to get Blackbox to work with background styles was change
the two "/bin/sh" entries in bexec() to "/bin/bash".  Since pretty much
all Cygwin installations install bash by default, may I suggest changing
the code in bexec() to have an #ifdef __CYGWIN__ around the execl() call
as a quick fix for the next release (i.e. "/bin/bash" for Cygwin users,
and "/bin/sh" for everyone else).

Cheers!

                                                      rudy

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to