processes lingering around after closing x-window

2003-01-31 Thread Quan Ding
Scenario:
I started x-window, open an emacs window from bash.
then I c-x c-c out of emacs, and exit bash, then close
x-window.
then check the running process by running windows task
manager. 9 out 10 times, processes like bash and emacs
is still there. Why?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Re: processes lingering around after closing x-window

2003-01-31 Thread Quan Ding
no, I just used the default settings. I'm a newbie,
not daring to change anything that I don't know much
about.

--- Harold L Hunt II [EMAIL PROTECTED] wrote:
 Quan,
 
 Are you running with -multiwindow and/or -clipboard?
 
 Harold
 
 Quan Ding wrote:
  Scenario:
  I started x-window, open an emacs window from
 bash.
  then I c-x c-c out of emacs, and exit bash, then
 close
  x-window.
  then check the running process by running windows
 task
  manager. 9 out 10 times, processes like bash and
 emacs
  is still there. Why?
  
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
  http://mailplus.yahoo.com
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



using WindowMaker instead of twm

2003-01-30 Thread Quan Ding
I just downloaded and installed Cygwin. The default
window  manager : twm doesn't provide many
functionality and it's hard to use. I don't even know
how to change the windows size. (i'm a newbie). I
found that there is wmaker.exe in X11R6/bin. So I
replaced that with twm  in the startxwin.sh file.
But when I tried to run it. WindowMaker couldn't
start, crashed all the time.

So how do I use windowmaker instead of twm? (or does
cygwin come with any other better window manager?)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



change the size of the window

2003-01-30 Thread Quan Ding
I'm a newbie to cygwin.
I found that all windows in X-window are fixed in
size. There's no border that I can drag and change the
size of that window. I search the mailing list and
googled online and didn't find the answer. So how do I
configure so that the window's size can be changed freely?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Fwd: RE: strange characters in Xterm (in X-window)

2003-01-29 Thread Quan Ding
I'm a newbie here. Someone suggested me to bring up my
problem here (it's already solved). So here I am.

--- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 From: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED],  [EMAIL PROTECTED]
 Subject: RE: strange characters in Xterm (in
 X-window)
 Date: Tue, 28 Jan 2003 16:26:15 -0500
 
 Very interesting.  I don't use X windows under
 Cygwin so 
 I would not have noticed this fact myself.  This is
 something
 that makes sense to bring up on the cygwin-xfree
 list, assuming
 it hasn't been discussed there already.  That list
 deals with 
 issues that are X specific.
 
 Larry
 
 Original Message:
 -
 From: Quan Ding [EMAIL PROTECTED]
 Date: Tue, 28 Jan 2003 12:43:47 -0800 (PST)
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: RE: strange characters in Xterm (in
 X-window)
 
 
 If I remove the PS1 variable setting in
 /etc/profile,
 the problem goes away. But my prompt becomes
 bash-2.05b$ instead of the current directory I'm
 in.
 And I checked /etc/passwd file, I didn't see any
 /bin/sh, they are all /bin/bash. So I didn't change
 that file.
 And then I found out that the problem is in the
 startx
 script. If I change the first line from #!bin/sh
 to
 #!bin/bash, and leave the PS1 setting as it was in
 /etc/profile, I got my informative prompt back in
 Cygwin window while the annoying code in X-window's
 terminals went away. Yeah~!
 Thanks for your help!
 
 -Quan
 --- [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  You're running /bin/sh as your shell but have bash
  specific escape sequences in your prompt.  Change
  your
  prompt (/etc/profile, ~/.profile, etc) or change
  your
  shell (/etc/passwd) to /bin/bash.
  
  Larry
  
  Original Message:
  -
  From: Quan Ding [EMAIL PROTECTED]
  Date: Tue, 28 Jan 2003 09:42:16 -0800 (PST)
  To: [EMAIL PROTECTED]
  Subject: strange characters in Xterm (in X-window)
  
  
  After I started x-windows. There are strange extra
  characters on the top of every window (login, 
  xterm)
  which look like the following:
  \[\033]0;\w\007
  \022[32m\]\u@\h \[\033[33m\w\033[0m\]
  
  These two lines will show up again after each
  command
  I execute in the xterm window.
  
  They look like terminal control code, but how and
  why
  are they displayed in my window? And how do I get
  rid
  of them?
  
  BTW, although I'm using the English verison of
  WindowsXP, I set the region (in control panel) to
  China to be able to view and input Chinese.
  
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up
  now.
  http://mailplus.yahoo.com
  
  --
  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/
  
  
 


  mail2web - Check your email from the web at
  http://mail2web.com/ .
  
  
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
 http://mailplus.yahoo.com
 


 mail2web - Check your email from the web at
 http://mail2web.com/ .
 
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com