Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 19:38:49 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Andy Greenwood <greenwood.andy@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: CLI text editor recommendation
Message-ID:  <20060913163849.GB62734@gothmog.pc>
In-Reply-To: <3ee9ca710609130925i415eca35v483f6ee5421e1125@mail.gmail.com>
References:  <3ee9ca710609130925i415eca35v483f6ee5421e1125@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-09-13 12:25, Andy Greenwood <greenwood.andy@gmail.com> wrote:
> I need a CLI text editor I can use over ssh, which does NOT append
> newlines to the end of files as I save them. I am using this to edit
> PHP files, and my PHP doesn't like newlines outside the last ?>. ee
> and vi both do so, I tried nano which also does the same. I haven't
> installed emacs to try that yet, since the man page says that it also
> does the same thing. Does anyone have any ideas?

IMHO, the problem is not the editor, but the brokenness of this
particular PHP installation.

Having said that, you can configure both VIM and Emacs to append or not
append newlines.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060913163849.GB62734>