Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Christopher Jones" To: cygwin AT sourceware DOT cygnus DOT com Subject: RE: inetutils questions Date: Thu, 1 Jun 2000 10:16:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFCBD4.05EDE8EA" ------_=_NextPart_001_01BFCBD4.05EDE8EA Content-Type: text/plain; charset="iso-8859-1" > Just as a wild guess, and given the fact that this seems to > be the answer > to every other problem reported on this mailing list -- EMACS > is probably > adding a ^M (or \r) before the end of the lines in > /etc/passwd. mkpasswd > is probably not doing this. Emacs on windows (not cygwin version) will open unix files in unix mode and dos files in dos mode. If it is a new file I think it defaults to dos mode. If you want to force a particular mode for your next command, use: C-x c emacs-mule-unix or emacs-mule-dos or emacs-mule-mac Then open the file. A '\' in the status bar is dos mode, and (Unix) is unix mode of course. Brian ------_=_NextPart_001_01BFCBD4.05EDE8EA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: inetutils questions

> Just as a wild guess, and given the fact that = this seems to
> be the answer
> to every other problem reported on this mailing = list -- EMACS
> is probably
> adding a ^M (or \r) before the end of the lines = in
> /etc/passwd.  mkpasswd
> is probably not doing this.

Emacs on windows (not cygwin version) will open unix = files in unix mode and dos files in dos mode.  If it is a new file = I think it defaults to dos mode.  If you want to force a = particular mode for your next command, use:

C-x <RET> c emacs-mule-unix

or emacs-mule-dos
or emacs-mule-mac

Then open the file.  A '\' in the status bar is = dos mode, and (Unix) is unix mode of course.

Brian

------_=_NextPart_001_01BFCBD4.05EDE8EA--