public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* SSH with PUTTY to Cygwin display probs...
@ 2001-01-25  7:34 Dan Littley
  2001-01-25  8:28 ` Corinna Vinschen
  2001-01-25  8:40 ` Earnie Boyd
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Littley @ 2001-01-25  7:34 UTC (permalink / raw)
  To: cygwin

Hi,

I have recently installed Cygwin mainly to use Mutt as
a mail client.

I have set everything up and all works fine.

I want to SSH into Cygwin (localhost) with PUTTY, and use Mutt from there. 

I have installed/setup SSH and I can SSH to localhost fine.  But everything looks crap!  The bash prompt looks like this:


No passphrase required.
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$

and mutt is all in black and white.

I assume this has something to do with the terminal type/settings.

Any help much appreciated.


Cheers - Dan Littley

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SSH with PUTTY to Cygwin display probs...
  2001-01-25  7:34 SSH with PUTTY to Cygwin display probs Dan Littley
@ 2001-01-25  8:28 ` Corinna Vinschen
  2001-01-25  8:42   ` Dan Littley
  2001-01-25  8:40 ` Earnie Boyd
  1 sibling, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2001-01-25  8:28 UTC (permalink / raw)
  To: cygwin

On Thu, Jan 25, 2001 at 03:31:14PM +0000, Dan Littley wrote:
> I have installed/setup SSH and I can SSH to localhost fine.  But everything looks crap!  The bash prompt looks like this:
> 
> 
> No passphrase required.
> \[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $

Your /etc/passwd contains /bin/sh as login shell.
/bin/sh is "ash", not "bash". So you will have to
change your /etc/passwd entry to contain /bin/bash
as login shell.

> and mutt is all in black and white.

Isn't PUTTY an vt100+ emu? Try setting TERM to vt100 or
similar.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SSH with PUTTY to Cygwin display probs...
  2001-01-25  7:34 SSH with PUTTY to Cygwin display probs Dan Littley
  2001-01-25  8:28 ` Corinna Vinschen
@ 2001-01-25  8:40 ` Earnie Boyd
  1 sibling, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 2001-01-25  8:40 UTC (permalink / raw)
  To: Dan Littley; +Cc: cygwin

Dan Littley wrote:
> 
> 
> No passphrase required.
> \[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $
> 

This is what the prompt looks like when you use sh as your shell.  Your
/etc/passwd file says you want /bin/sh as your shell.  Change this to
/bin/bash for your shell if you want pretty colored prompts.  Change PS1
setting /etc/profile if you want to change the prompt value.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SSH with PUTTY to Cygwin display probs...
  2001-01-25  8:28 ` Corinna Vinschen
@ 2001-01-25  8:42   ` Dan Littley
  2001-01-25 10:24     ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Littley @ 2001-01-25  8:42 UTC (permalink / raw)
  To: Corinna Vinschen

On Thu, Jan 25, 2001 at 05:28:16PM +0100, Corinna Vinschen wrote:
> On Thu, Jan 25, 2001 at 03:31:14PM +0000, Dan Littley wrote:
> > I have installed/setup SSH and I can SSH to localhost fine.  But everything looks crap!  The bash prompt looks like this:
> > 
> > 
> > No passphrase required.
> > \[\033]0;\w\007
> > \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> > $
> 
> Your /etc/passwd contains /bin/sh as login shell.
> /bin/sh is "ash", not "bash". So you will have to
> change your /etc/passwd entry to contain /bin/bash
> as login shell.
> 
Thanks, that fixed the prompt issue.


> > and mutt is all in black and white.
> 
> Isn't PUTTY an vt100+ emu? Try setting TERM to vt100 or
> similar.
> 

Mutt is still in black and white.  It is in colour when using Cygwin itself
but remains black and white when run in a SSH session with Putty.  Putty is
set to xterm and I tried setting Cygwin to xterm using "export TERM=xterm". 

I also tried vt100.  Any other ideas?

NB. after running mutt in SSH, it is also black and white is subsequent mutt
sessions back in Cygwin, until I close/restart Cygwin.


Thanks - Dan

> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SSH with PUTTY to Cygwin display probs...
  2001-01-25  8:42   ` Dan Littley
@ 2001-01-25 10:24     ` Corinna Vinschen
  2001-01-26  1:09       ` Dan Littley
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2001-01-25 10:24 UTC (permalink / raw)
  To: cygwin

On Thu, Jan 25, 2001 at 04:40:00PM +0000, Dan Littley wrote:
> Mutt is still in black and white.  It is in colour when using Cygwin itself
> but remains black and white when run in a SSH session with Putty.  Putty is
> set to xterm and I tried setting Cygwin to xterm using "export TERM=xterm". 
> 
> I also tried vt100.  Any other ideas?

Try TERM=linux.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SSH with PUTTY to Cygwin display probs...
  2001-01-25 10:24     ` Corinna Vinschen
@ 2001-01-26  1:09       ` Dan Littley
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Littley @ 2001-01-26  1:09 UTC (permalink / raw)
  To: Corinna Vinschen

On Thu, Jan 25, 2001 at 07:23:55PM +0100, Corinna Vinschen wrote:
> On Thu, Jan 25, 2001 at 04:40:00PM +0000, Dan Littley wrote:
> > Mutt is still in black and white.  It is in colour when using Cygwin itself
> > but remains black and white when run in a SSH session with Putty.  Putty is
> > set to xterm and I tried setting Cygwin to xterm using "export TERM=xterm". 
> > 
> > I also tried vt100.  Any other ideas?
> 
> Try TERM=linux.
> 
Cool, that worked for the colours fine! :)

Finally, how do you get things more spread out?  All the messages
are left aligned, and the status bar only goes half way across.
How to I spread it out to the extents of my Putty window?

Thanks - Dan

> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-01-26  1:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-25  7:34 SSH with PUTTY to Cygwin display probs Dan Littley
2001-01-25  8:28 ` Corinna Vinschen
2001-01-25  8:42   ` Dan Littley
2001-01-25 10:24     ` Corinna Vinschen
2001-01-26  1:09       ` Dan Littley
2001-01-25  8:40 ` Earnie Boyd

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).