CLI text editor recommendation

2006-09-13 Thread Andy Greenwood
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

Re: CLI text editor recommendation

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 12:25, Andy Greenwood [EMAIL PROTECTED] 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

Re: CLI text editor recommendation

2006-09-13 Thread Alex Zbyslaw
Andy Greenwood 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

Re: CLI text editor recommendation

2006-09-13 Thread Kirk Strauser
On Wednesday 13 September 2006 11:25, Andy Greenwood 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

Re: CLI text editor recommendation

2006-09-13 Thread Philip Hallstrom
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

Re: CLI text editor recommendation

2006-09-13 Thread Norberto Meijome
On Wed, 13 Sep 2006 17:49:20 +0100 Alex Zbyslaw [EMAIL PROTECTED] wrote: I'm surprised at PHP barfing on extra newlines, but then I've never used it. PHP does not barf at the extra lines. what could be happening is that the file in question being edited (include_me.php) is included by some

Re: CLI text editor recommendation

2006-09-13 Thread Andy Greenwood
Thanks for the advice everyone. I will certainly check out my php and see if I can figure out why it's giving me errors as-is. On 9/13/06, Philip Hallstrom [EMAIL PROTECTED] 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.

Re: CLI text editor recommendation

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 17:49, Alex Zbyslaw [EMAIL PROTECTED] wrote: Andy Greenwood 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