delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/16/01:54:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Tim Largy <largy AT myrealbox DOT com>
Subject: Home directories and spaces
Date: Sun, 16 Mar 2003 01:52:24 -0500
Lines: 31
Message-ID: <b5170i$8er$1@main.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.71.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Hi,

I installed the cygwin distribution (February 14) on Windows XP and am 
having trouble with spaces my home directory "/cygwin/c/Documents and 
Settings/largy". For example, when I run the command "startx" at the 
bash prompt I get:

[: and: unknown operand
[: and: unknown operand
export: Settings/largy/.Xauthority: bad variable name

cat: /cygdrive/c/Documents: No such file or directory
[: and: unknown operand
[: and: unknown operand

The X server does start, but I'd rather not see these error 
messages--obviously something is wrong. What are most people using as 
their home directories, and from the multitudinous ways of setting it, 
what is the preferred method?

Part II

Once the X server starts, the xterms in my session display this prompt:

\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]

Somehow the PS1 environment variable is screwed up. How should I set it?

Tim



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019