manuals for newbies?

2003-01-31 Thread Quan Ding
Since I'm totally new to cygwin, (I just installed it
a couple of days ago) it turns out that I had a lot of
questions while getting familiar with it. I hate
asking them here cause I believe they are very simple
questions and probably lots of people had the same
questions before. But the cygwin and cygwin-xfree docs
and faqs are kind of too short and don't provide
enough information to answer my questions and strangly
enough, I couldn't find the answer here by doing
keyword search. So is there any manuals for newbies
somewhere on the net that I don't know? Or I have to
keep bothering you guys? :)

__
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/




emacs in separate window

2003-01-30 Thread Quan Ding
is there a way to start emacs in X mode (separate
window, with menu stuff), but without using startx and
lunching emacs within the X-window? I mean, start
emacs
from the cygwin terminal window, but running it in a
separate window.

__
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/




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

2003-01-28 Thread Quan Ding
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

--
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/




strange characters in Xterm (in X-window)

2003-01-28 Thread Quan Ding
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/