public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: cygwin-xfree@cygwin.com, bwalter@sdm1.com
Subject: Re: Startx on WinXP
Date: Wed, 21 Jan 2004 21:07:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.56.0401211525050.8640@slinky.cs.nyu.edu> (raw)
In-Reply-To: <078701c3e05c$b3bce520$03fea8c0@sdmpc6>
On Wed, 21 Jan 2004, Brian L. Walter wrote:
> Greetings,
>
> I've recently installd cygwin on both a win98 machine and a winxp machine.
> The win98 installs works great (except for being really slow, but that's a
> hardware issue.) On the XP side, I've installed it, but getting some
> strange behavior. If I do a 'startx', I get the following:
>
> [: and: unknown operand
> [: and: unknown operand
>
> After doing some playing around with the startx script, I've come to realize
> it's complaining about the bash conditional statements. As though I'm not
> running under bash....
>
> And as far as I can see, I am. The fall out of this behavior is the
> inability to control which window manager gets started. I can get around
> that by commenting out all of the conditionals in startx, but, this seems at
> best a temporary work around.
>
> Am I missing something in setting up/configuring cygwin to run under XP,
> something that is different than win98?
>
> TIA
> Brian L. Walter
Brian,
You didn't do anything wrong. This problem is most likely due to you
having either HOME or TMP set to "C:\Documents and Settings\...". The
"and" in "Documents and settings" is what startx complains about (since it
doesn't quote paths properly).
I've posted a patch to startx a while ago that fixed this, but it looks
like it hasn't been incorporated in the latest release. Since startx is
just a text file, you can simply apply the patch yourself from
<http://cygwin.com/ml/cygwin-xfree/2003-11/msg00314.html> (use "patch -p0
< startx.patch" in /usr/X11R6/bin).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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
next prev parent reply other threads:[~2004-01-21 21:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-21 20:23 Brian L. Walter
2004-01-21 21:07 ` Igor Pechtchanski [this message]
2004-01-21 21:34 ` Brian L. Walterr
2004-01-21 21:52 ` Brian L. Walter
2004-01-21 23:14 ` Igor Pechtchanski
2004-01-21 22:41 ` Brian L. Walter
2004-01-21 23:09 ` Igor Pechtchanski
2004-01-22 0:46 ` Brian L. Walter
2004-01-22 3:15 ` Igor Pechtchanski
2004-01-22 16:55 ` Brian Ford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.56.0401211525050.8640@slinky.cs.nyu.edu \
--to=pechtcha@cs.nyu.edu \
--cc=bwalter@sdm1.com \
--cc=cygwin-xfree@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).