Mail Archives: cygwin/2000/06/01/12:06:01
------_=_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 <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
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2651.65">
<TITLE>RE: inetutils questions</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>> Just as a wild guess, and given the fact that =
this seems to </FONT>
<BR><FONT SIZE=3D2>> be the answer</FONT>
<BR><FONT SIZE=3D2>> to every other problem reported on this mailing =
list -- EMACS </FONT>
<BR><FONT SIZE=3D2>> is probably</FONT>
<BR><FONT SIZE=3D2>> adding a ^M (or \r) before the end of the lines =
in </FONT>
<BR><FONT SIZE=3D2>> /etc/passwd. mkpasswd</FONT>
<BR><FONT SIZE=3D2>> is probably not doing this.</FONT>
</P>
<P><FONT SIZE=3D2>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:</FONT></P>
<P><FONT SIZE=3D2>C-x <RET> c emacs-mule-unix</FONT>
</P>
<P><FONT SIZE=3D2>or emacs-mule-dos</FONT>
<BR><FONT SIZE=3D2>or emacs-mule-mac</FONT>
</P>
<P><FONT SIZE=3D2>Then open the file. A '\' in the status bar is =
dos mode, and (Unix) is unix mode of course.</FONT>
</P>
<P><FONT SIZE=3D2>Brian</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01BFCBD4.05EDE8EA--
- Raw text -