public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin for Windows Me
@ 2001-05-01  7:25 (STi) Michael C. Schatz
  2001-05-01  7:51 ` Earnie Boyd
  0 siblings, 1 reply; 14+ messages in thread
From: (STi) Michael C. Schatz @ 2001-05-01  7:25 UTC (permalink / raw)
  To: Mark Paulus, cygwin

> The telnet session has some problems (like the PS1 strings don't
"expand"),
> but I can telnet in, find a I want/need ... <snip>

One thing to check for this problem is that you are running the right shell.
mkpasswd defaults to setting everyones shell to be /bin/sh which has this
problem. Its easy to edit the passwd file and manually change the shells, or
even easier to delete /bin/sh and replace it with a copy of /bin/bash and
never have to worry about it again (you will probably have to do this from
windows).

Hope this helps,

Mike Schatz


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

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

* Re: Cygwin for Windows Me
  2001-05-01  7:25 Cygwin for Windows Me (STi) Michael C. Schatz
@ 2001-05-01  7:51 ` Earnie Boyd
  2001-05-01  7:53   ` (STi) Michael C. Schatz
  0 siblings, 1 reply; 14+ messages in thread
From: Earnie Boyd @ 2001-05-01  7:51 UTC (permalink / raw)
  To: (STi) Michael C. Schatz; +Cc: Mark Paulus, cygwin

"(STi) Michael C. Schatz" wrote:
> or
> even easier to delete /bin/sh and replace it with a copy of /bin/bash and
> never have to worry about it again (you will probably have to do this from
> windows).
> 

PLEASE, refrain from non-standard installation suggestions.  PLEASE,
DON'T copy /bin/bash to /bin/sh.  It'll only serve to cause you grief
someday when you update and ash has a new version and now your scripts
won't work anymore.  There are other reasons for having the default sh
== ash, the main one of which is speed of execution of scripts and that
includes make scripts.

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] 14+ messages in thread

* Re: Cygwin for Windows Me
  2001-05-01  7:51 ` Earnie Boyd
@ 2001-05-01  7:53   ` (STi) Michael C. Schatz
  2001-05-01  7:55     ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: (STi) Michael C. Schatz @ 2001-05-01  7:53 UTC (permalink / raw)
  To: Cygwin Users

In that case is there a way for mkpasswd to maintain shell choice?


> PLEASE, refrain from non-standard installation suggestions.  PLEASE,
> DON'T copy /bin/bash to /bin/sh.  It'll only serve to cause you grief
> someday when you update and ash has a new version and now your scripts
> won't work anymore.  There are other reasons for having the default sh
> == ash, the main one of which is speed of execution of scripts and that
> includes make scripts.
> 



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

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

* Re: Cygwin for Windows Me
  2001-05-01  7:53   ` (STi) Michael C. Schatz
@ 2001-05-01  7:55     ` Christopher Faylor
  2001-05-01  7:57       ` Charles S. Wilson
  0 siblings, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2001-05-01  7:55 UTC (permalink / raw)
  To: Cygwin Users

On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz wrote:
>In that case is there a way for mkpasswd to maintain shell choice?

mkpasswd
vi /etc/passwd
:%s%/bin/sh%/bin/bash%
ZZ

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

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

* Re: Cygwin for Windows Me
  2001-05-01  7:55     ` Christopher Faylor
@ 2001-05-01  7:57       ` Charles S. Wilson
  2001-05-01  8:04         ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Charles S. Wilson @ 2001-05-01  7:57 UTC (permalink / raw)
  To: cygwin

Christopher Faylor wrote:
> 
> On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz wrote:
> >In that case is there a way for mkpasswd to maintain shell choice?
> 
> mkpasswd
> vi /etc/passwd
> :%s%/bin/sh%/bin/bash%
> ZZ

---mymkpasswd----
#!/bin/sh
mkpasswd
cat /etc/passwd | sed -e 's#/bin/sh#/bin/bash#' > /tmp/passwd
mv /tmp/passwd /etc/passwd
-----------------

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

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

* Re: Cygwin for Windows Me
  2001-05-01  7:57       ` Charles S. Wilson
@ 2001-05-01  8:04         ` Christopher Faylor
  2001-05-01  8:36           ` Earnie Boyd
  0 siblings, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2001-05-01  8:04 UTC (permalink / raw)
  To: cygwin

On Tue, May 01, 2001 at 10:59:07AM -0400, Charles S. Wilson wrote:
>Christopher Faylor wrote:
>> 
>> On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz wrote:
>> >In that case is there a way for mkpasswd to maintain shell choice?
>> 
>> mkpasswd
>> vi /etc/passwd
>> :%s%/bin/sh%/bin/bash%
>> ZZ
>
>---mymkpasswd----
>#!/bin/sh
>mkpasswd
>cat /etc/passwd | sed -e 's#/bin/sh#/bin/bash#' > /tmp/passwd
>mv /tmp/passwd /etc/passwd
>-----------------

Aha!  Script wars!

I'll stop here.  You win.

cgf

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

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

* Re: Cygwin for Windows Me
  2001-05-01  8:04         ` Christopher Faylor
@ 2001-05-01  8:36           ` Earnie Boyd
  2001-05-01  8:40             ` (STi) Michael C. Schatz
  0 siblings, 1 reply; 14+ messages in thread
From: Earnie Boyd @ 2001-05-01  8:36 UTC (permalink / raw)
  To: cygwin

Christopher Faylor wrote:
> 
> On Tue, May 01, 2001 at 10:59:07AM -0400, Charles S. Wilson wrote:
> >Christopher Faylor wrote:
> >>
> >> On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz wrote:
> >> >In that case is there a way for mkpasswd to maintain shell choice?
> >>
> >> mkpasswd
> >> vi /etc/passwd
> >> :%s%/bin/sh%/bin/bash%
> >> ZZ
> >
> >---mymkpasswd----
> >#!/bin/sh
> >mkpasswd
> >cat /etc/passwd | sed -e 's#/bin/sh#/bin/bash#' > /tmp/passwd
> >mv /tmp/passwd /etc/passwd
> >-----------------
> 
> Aha!  Script wars!
> 
> I'll stop here.  You win.
> 

Hmm...  Since it's a war ;), how about

  cat << EOD > /etc/passwd.ex
  %s%/bin/sh%/bin/bash%
  exit
  EOD
  vi -s /etc/passwd.ex -es /etc/passwd
  rm /etc/passwd.ex

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] 14+ messages in thread

* Re: Cygwin for Windows Me
  2001-05-01  8:36           ` Earnie Boyd
@ 2001-05-01  8:40             ` (STi) Michael C. Schatz
  2001-05-01  8:54               ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: (STi) Michael C. Schatz @ 2001-05-01  8:40 UTC (permalink / raw)
  To: Cygwin Users

I certainly never meant to start a scripting war, I was thinking more along
the lines of an undocumented switch to mkpasswd....

(Im still waiting for the perl one liners)


----- Original Message -----
From: "Earnie Boyd" <earnie_boyd@yahoo.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, May 01, 2001 11:36 AM
Subject: Re: Cygwin for Windows Me


> Christopher Faylor wrote:
> >
> > On Tue, May 01, 2001 at 10:59:07AM -0400, Charles S. Wilson wrote:
> > >Christopher Faylor wrote:
> > >>
> > >> On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz
wrote:
> > >> >In that case is there a way for mkpasswd to maintain shell choice?
> > >>
> > >> mkpasswd
> > >> vi /etc/passwd
> > >> :%s%/bin/sh%/bin/bash%
> > >> ZZ
> > >
> > >---mymkpasswd----
> > >#!/bin/sh
> > >mkpasswd
> > >cat /etc/passwd | sed -e 's#/bin/sh#/bin/bash#' > /tmp/passwd
> > >mv /tmp/passwd /etc/passwd
> > >-----------------
> >
> > Aha!  Script wars!
> >
> > I'll stop here.  You win.
> >
>
> Hmm...  Since it's a war ;), how about
>
>   cat << EOD > /etc/passwd.ex
>   %s%/bin/sh%/bin/bash%
>   exit
>   EOD
>   vi -s /etc/passwd.ex -es /etc/passwd
>   rm /etc/passwd.ex
>
> 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
>
>


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

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

* Re: Cygwin for Windows Me
  2001-05-01  8:40             ` (STi) Michael C. Schatz
@ 2001-05-01  8:54               ` Christopher Faylor
  2001-05-01  8:57                 ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2001-05-01  8:54 UTC (permalink / raw)
  To: Cygwin Users

On Tue, May 01, 2001 at 11:40:37AM -0400, (STi) Michael C. Schatz wrote:
>I certainly never meant to start a scripting war, I was thinking more along
>the lines of an undocumented switch to mkpasswd....

The concept of "undocumented" really doesn't apply to a free software project.

>(Im still waiting for the perl one liners)

Hey!  Good idea!

#!/usr/bin/perl -pi.bak
BEGIN {@ARGV = ('/tmp/passwd'); system ("./mkpasswd");} s%/bin/sh%/bin/bash%;

cgf

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

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

* Re: Cygwin for Windows Me
  2001-05-01  8:54               ` Christopher Faylor
@ 2001-05-01  8:57                 ` Christopher Faylor
  0 siblings, 0 replies; 14+ messages in thread
From: Christopher Faylor @ 2001-05-01  8:57 UTC (permalink / raw)
  To: Cygwin Users

On Tue, May 01, 2001 at 11:55:13AM -0400, Christopher Faylor wrote:
>On Tue, May 01, 2001 at 11:40:37AM -0400, (STi) Michael C. Schatz wrote:
>>I certainly never meant to start a scripting war, I was thinking more along
>>the lines of an undocumented switch to mkpasswd....
>
>The concept of "undocumented" really doesn't apply to a free software project.
>
>>(Im still waiting for the perl one liners)
>
>Hey!  Good idea!
>
>#!/usr/bin/perl -pi.bak
>BEGIN {@ARGV = ('/tmp/passwd'); system ("./mkpasswd");} s%/bin/sh%/bin/bash%;
		  /etc

I actually tested this script before submitting it but, somehow, I didn't
want it to be modifying my existing /etc/passwd file.

cgf

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

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

* Re: Cygwin for Windows Me
  2001-04-30 15:20 Popiel, R Alan
  2001-04-30 15:34 ` Michael A. Chase
@ 2001-05-01  6:48 ` Mark Paulus
  1 sibling, 0 replies; 14+ messages in thread
From: Mark Paulus @ 2001-05-01  6:48 UTC (permalink / raw)
  To: cygwin

Cygwin runs fine on WinME.  I have it running at home.  In fact, I use 
inetd to run telnetd on my machine at home, and I can telnet into
it from work (Of course I have to ssh to my DMZ machine, and then
I can telnet into it...)   The telnet session has some problems
(like the PS1 strings don't "expand"), but I can telnet in, find a I want/need,
copy it to my shared drive on my linux fileserver, and then scp the
file to work, where I can access information that I might need.
Kind of slick, in my opinion.....


On Mon, 30 Apr 2001 16:20:27 -0600, Popiel, R Alan wrote:

>Do you plan to release a version for Windows Me?
>Alternatively, will the Win95/Win98 version run under WinMe?
>
>Alan Popiel
>Lockheed Martin EIS
>e-mail: R.Alan.Popiel@lmco.com
>phone: 303-971-9397/303-977-9998
>
>
>--
>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] 14+ messages in thread

* Re: Cygwin for Windows Me
  2001-04-30 15:20 Popiel, R Alan
@ 2001-04-30 15:34 ` Michael A. Chase
  2001-05-01  6:48 ` Mark Paulus
  1 sibling, 0 replies; 14+ messages in thread
From: Michael A. Chase @ 2001-04-30 15:34 UTC (permalink / raw)
  To: Popiel, R Alan, cygwin

There is only one version that runs on Win95 through Win2000.  Install it
using setup.exe (available at http://cygwin.com/ ) and you should get all you
need.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Popiel, R Alan" <r.alan.popiel@lmco.com>
To: <cygwin@cygwin.com>
Sent: Monday, April 30, 2001 3:20 PM
Subject: Cygwin for Windows Me


> Do you plan to release a version for Windows Me?
> Alternatively, will the Win95/Win98 version run under WinMe?



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

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

* RE: Cygwin for Windows Me
@ 2001-04-30 15:30 Robinow, David
  0 siblings, 0 replies; 14+ messages in thread
From: Robinow, David @ 2001-04-30 15:30 UTC (permalink / raw)
  To: 'Popiel, R Alan', 'cygwin@cygwin.com'

> From: Popiel, R Alan [ mailto:r.alan.popiel@lmco.com ]
> Subject: Cygwin for Windows Me
> 
> Do you plan to release a version for Windows Me?
  Please read the FAQ before posting. This is answered in the first
paragraph.
> Alternatively, will the Win95/Win98 version run under WinMe?
 There is no Win95/Win98 version.  There's just cygwin.

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

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

* Cygwin for Windows Me
@ 2001-04-30 15:20 Popiel, R Alan
  2001-04-30 15:34 ` Michael A. Chase
  2001-05-01  6:48 ` Mark Paulus
  0 siblings, 2 replies; 14+ messages in thread
From: Popiel, R Alan @ 2001-04-30 15:20 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Do you plan to release a version for Windows Me?
Alternatively, will the Win95/Win98 version run under WinMe?

Alan Popiel
Lockheed Martin EIS
e-mail: R.Alan.Popiel@lmco.com
phone: 303-971-9397/303-977-9998


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

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

end of thread, other threads:[~2001-05-01  8:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-01  7:25 Cygwin for Windows Me (STi) Michael C. Schatz
2001-05-01  7:51 ` Earnie Boyd
2001-05-01  7:53   ` (STi) Michael C. Schatz
2001-05-01  7:55     ` Christopher Faylor
2001-05-01  7:57       ` Charles S. Wilson
2001-05-01  8:04         ` Christopher Faylor
2001-05-01  8:36           ` Earnie Boyd
2001-05-01  8:40             ` (STi) Michael C. Schatz
2001-05-01  8:54               ` Christopher Faylor
2001-05-01  8:57                 ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2001-04-30 15:30 Robinow, David
2001-04-30 15:20 Popiel, R Alan
2001-04-30 15:34 ` Michael A. Chase
2001-05-01  6:48 ` Mark Paulus

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