Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Craig Moore
On 18 February 2010 22:02, Mike Ayers wrote: >        No, no, .bashrc is off the suspect list.  What's in ~/.bash_profile? Ah! Yes, this is where the problem was. This is what I found in my .bash_profile: > if [ -e /etc/bash.bashrc ] ; then > source /etc/bash.bashrc > fi > if [ -e "${HOME}/.ba

RE: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Mike Ayers
> From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- > ow...@cygwin.com] On Behalf Of Craig Moore > I added the 'set -x' to the first line of my .bashrc file and then ran > '. .bashrc' and this is the output > > > ++ set -x > > ++ unset TMP > > ++ unset TEMP > > ++ alias 'df=df -h' > > +

Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Craig Moore
On 18 February 2010 21:22, Mike Ayers wrote: >        My wild guess is that you have a typo in .bashrc which prevents all > the startup happening.  in your system tray launched window, make sure you > are in your home directory, then run '. .bashrc' (note that first period!) > and see if there

RE: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Mike Ayers
> From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- > ow...@cygwin.com] On Behalf Of Craig Moore > Sent: Thursday, February 18, 2010 4:14 AM > When I open a new xterm window using the XWin Server icon in the system > tray: > > > (right click on icon)->Applications->xterm > > it opens xte

Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Craig Moore
On 18 February 2010 17:55, Eliot Moss wrote: > You have spaces in your PATH but probably did not quote it > properly in your scripts when you used it ... No, thats not it. It works fine when I start xterm normally (either by starting XWin Server or selecting it from the system tray icon). Its onl

Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Eliot Moss
On 2/18/2010 11:28 AM, Craig Moore wrote: On Thu, 18 Feb 2010 10:34:56 -0500, Ken Brown wrote: How do I configure the XWin Server so that it opens xterm correctly? This happens because xterm doesn't start a login shell, and PS1 gets unset. One way around this is to set PS1 in your ~/.bashrc

Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Craig Moore
On Thu, 18 Feb 2010 10:34:56 -0500, Ken Brown wrote: >> How do I configure the XWin Server so that it opens xterm correctly? > >This happens because xterm doesn't start a login shell, and PS1 gets unset. >One way around this is to set PS1 in your ~/.bashrc file. For example: > > PS1='\[\e]0;\w\a\

Re: Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Ken Brown
On 2/18/2010 7:13 AM, Craig Moore wrote: When I open a new xterm window using the XWin Server icon in the system tray: (right click on icon)->Applications->xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory.

Problems Starting Xterm using the System Tray Icon for XWin Server

2010-02-18 Thread Craig Moore
Hi, When I open a new xterm window using the XWin Server icon in the system tray: > (right click on icon)->Applications->xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory. The command prompt looks like: > ba