On Sat, 15 Feb 2003, Alex Sayle wrote: > On Sat, 15 Feb 2003, Ben Leslie <[EMAIL PROTECTED]> wrote... > > > On Sat, 15 Feb 2003, Alex Sayle wrote: > > > > > On Fri, 14 Feb 2003, Matthew Hyne <[EMAIL PROTECTED]> wrote... > > > > > > > > > > > Folks, > > > > > > > > I am looking for a non-X unix editor that also does syntax hilighting. > > > > > > > > I know I could use emacs, however I would prefer something like pico - > > > > but with code hilighting (and if it does PHP - even better. > > > > > > > > Does anyone know of such an app ? > > > > > > > > Matt > > > > > > nano[1], the simple and easy to use editor now has syntax hi-lighting. > > > it's not the most high-tech terminal editor around but its simple and > > > there's no need to sacrifice any sheep before using in (unlike emacs or > > > vi which you need to be on asid before you understand how to use it). > > > > I thought the point of nano was that it was *small* (hence the name). Why > > do they have to go and ruin it with crap like syntax hi-lighting! <sigh> > > > humm.. let me see... > > 3.8M /usr/bin/emacs (emacs21.2) > 1.1M /usr/bin/vim > 308k /usr/bin/nvi > 199k /usr/bin/pico > 95K /usr/bin/nano > > I mean, sure, it not as good as > 42k /bin/ed > > which is a *real* editor.
ae, my fave tiny editor, is only 23k and is much easier to use than ed :). > I find it handy for things likes editors for my e-mails or editing > small conf files, as I don't like the wait for emacs to load in order > to edit one line and I couldn't be ass-ed remembering vi commands. > (not to mention the sacrificial sheep ritual) > So an editor that is simple does the job and high lights my conf files > is handy. I agree, I just don't need syntax hilighting or multiple buffers in those cases. :) Getting the latest nano, from above website the difference between and compiling with --enable-all results in an 87k binary. With --enable-tiny you get a 43k binary. (Stripped binaries of course). I guess doubling the size for hilighting isn't too bad :) Benno -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
