delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/10/16:59:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVaI1NBnpUJG/XvmjdgJ+jxna/MmXNQsXAsMuQw4PJyX0Z6RWiDWYWiq
Message-ID: <3EE64613.5030903@cygwin.com>
Date: Tue, 10 Jun 2003 16:56:51 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Biggs <yyyyy50 AT hotpop DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: latest version of vi messes up bash for me
References: <3EE5572C DOT 20778 DOT 44D0D1 AT localhost> <3EE66CF3 DOT 16381 DOT 43E15E AT localhost>
In-Reply-To: <3EE66CF3.16381.43E15E@localhost>

Stephen Biggs wrote:
> On 9 Jun 2003 at 21:16, Pierre A. Humblet wrote:
> 
> 
>>On Tue, Jun 10, 2003 at 03:57:32AM +0200, Stephen Biggs wrote:
>>
>><snip>
>> 
>>
>>>Maybe it is relevant to say that I am invoking cygwin by the shortcut of:
>>>C:\WINDOWS\COMMAND.COM /E:4096 /c C:\cygwin\bin\login steve
>>>with the /etc/passwd file entries:
>>>user::400:401:user:/home/user:/bin/bash
>>>steve::502:100:steve:/home/steve:/bin/bash
>>>sshd::545:545:sshd::/bin/false
>>>
>>>and /etc/group:
>>>all::544:
>>>users::100:
>>>user::401:
>>>
>>>... instead of the normal batch file since this is the only way I could 
>>>think of to log myself on as another user into Cygwin on Windows 98.
>>>
>>>Perhaps this is what is messing me up, but can anybody tell me a better 
>>>way to 
>>>do it?  I need the user steve so I can use ssh to a different machine.  
>>
>>Your passwd file is screwed up. Didn't cygwin generate one for you?
>>
>>If you login into Windows, use the Users control panel, create a user
>>Steve. Log into Windows. Start Cygwin. Cygwin will use the entry for Steve.
>>
>>If you don't log into Windows, Cygwin looks for uid 500. So just put
>>Steve:*:500:544:steve:/home/steve:/bin/bash
> 
> 
> It didn't work with the '*', so I took it out...
> 
> 
>>Don't use uid 400, gid 401, they are reserved for non-existent entries.
> 
> 
> Got it...
> 
> 
>>>Again, 
>>>this all worked before I updated my VI package.
>>
>>That's another story. No idea. Use emacs? :)
> 
> 
> Heh...
> 
> Still no change with the blind terminal after VI.

It really would be helpful to see the output of cygcheck -r -s -v
(_attached_).  Can't you just start the bash prompt from cygwin.bat
at least to get this information?  Also, it would be useful to know
if vim works for you if you login to Windows and use cygwin.bat
instead.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019