[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] wierd chars..
From: |
Jordi Mallach |
Subject: |
Re: [Help-nano] wierd chars.. |
Date: |
Tue, 27 Jan 2004 17:30:52 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Mon, Jan 12, 2004 at 10:37:31PM +0000, Neil Brown wrote:
> How do I REMOVE the ^M that nano puts at the end of every line???
> Checking my ASCII chart, looks like ^M is the character that DOS uses in
> newlines but not Unix. This can be affected by, when you go to save and
> are writing the filename, press Escape, then D to toggle to and from DOS
> format (list of options should be down the bottom). Not sure if this can
> be set in nanorc, but I would have thought under Linux the default should
> be Unix format, not DOS.
Nano attempts to write those characters if it detects that the file is
DOS format. Are you using the -N/--noconvert option?
Thanks,
Jordi
--
Jordi Mallach PĂ©rez -- Debian developer http://www.debian.org/
address@hidden address@hidden http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
signature.asc
Description: Digital signature