Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-16 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-

On Sunday 16 Feb 2003 1:01 pm, Jon Biddell wrote:

 They were going to produce an emacs one, but how many people would buy a
 coffee mug the size of a soup bowl ?

Most geeks that I know. :-)

Actually, it's been done:

http://www.geekcheat.com/Merchant2/merchant.mv?Screen=PRODStore_Code=GProduct_Code=emmugCategory_Code=ES

Now well OT - Reply-To: set back to just me...

Chris
- -- 
 Chris Samuel  :  http://csamuel.org/  :  Wollongong, NSW

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBPk9cyI1yjaOTJg85AQF0ggf+IaQ1EFttQ+7B090uXrq95ucVjJOw3vpb
g0SLuG3071IIO0mx6u3GJPQaH5sWxWknnQyqLg20fC3p7Eg+vkBTnKFg+3xcd6Yk
j+pY/maLnRsA9pMlTpAnz8q7gshWpgwgOHzq3LByQa/zoT1qFv1CbqW1pjKtob3K
tNlUQz6/ne6clTeRjwiVJwvMnbnOPmy0E+M2azHiUvFCy5kc/vaDKl4CJ+mkxUif
sBzvvx2NmK3/d3F/pPxi/C6TR9VB7pflniTFAIUrBAh+QCgjObzoBVZW+02qW8ft
bV0MW4gvSUst7e1aAM4FMU5X8I9v40h64OdezQ7+bKWD6qaHq8Xfuw==
=1Vu+
-END PGP SIGNATURE-

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-15 Thread Ben Leslie
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



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-15 Thread Angus Lees
At Sat, 15 Feb 2003 18:59:19 +1100, Alex Sayle wrote:
 I don't like the wait for emacs to load in order to edit one line

I realise you probably have other reasons for not wanting to use
emacs, but startup time can be reduced to almost nothing by using
gnuclient(1) to attach to an already running (x)emacs process.

for example, in my .muttrc i have:
 set editor=gnuclient -nw -l ~/.xemacs/mutt.el

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-15 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-

On Saturday 15 Feb 2003 6:59 pm, Alex Sayle wrote:

 I couldn't be ass-ed remembering vi commands.

This is what you need then:

http://www.geekcheat.com/Merchant2/merchant.mv?Screen=PRODStore_Code=GProduct_Code=vimugCategory_Code=VS

:-)

 (not to mention the sacrificial sheep ritual)

Ah, you mean :1,$s/sheep/sacrifice/g

What's so hard about that ? :-)

- -- 
 Chris Samuel  :  http://csamuel.org/  :  Wollongong, NSW

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBPk7nN41yjaOTJg85AQFt3Qf8Ds+FBQY3s7eEJPfTmPNRc/rsNlMSzgN2
/S/+F8uw5HWIRYHr/enf8FIdwMRFoDxwJmXj1htwmOMmOfjDz6SmmgkFCU+8joTX
Fl6ydNiwOsSDvMlB5YsJzBUGi6ddaYyCrsPqu0sRsGrVFR3ff+NCzMVWXFYsdRcx
I8GvlTrDUc82QFJWhjnpNkbA/mdTfy1g4/ABf3TDR8z4+osvlcp9PqQMQoQOUbAL
Qzu4TisQUMjAQ3iV2EKEqe24z99CexCVnI7ipkRHUaGqLzxOv+MKoiUBGvHAgujm
4gotPvNG6b2glCRlo2vPwUijc+syRoUeQuK3Qp3ggsD8yJRV8u4i8Q==
=ItcS
-END PGP SIGNATURE-

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-15 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-

On Saturday 15 Feb 2003 6:59 pm, Alex Sayle wrote:

 and what's more I always wanted a new contestant in the holy wars of
 editors ;)

http://www.geekcheat.com/images/struggle1.gif

:-)

- -- 
 Chris Samuel  :  http://csamuel.org/  :  Wollongong, NSW

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBPk7n3o1yjaOTJg85AQEIfQf/RfHeCrojgIvBMwFiORRhSOPZVqDQYbSQ
h7UuKo/QSLMVuReCzzQ8iQuOX0GeVwZhHX/GN7p+0qIUmHMFugDRtdUpgpvFuLK/
cHoKHqlSpBhUKkP0o8s18vYfu7ZXe8bYu8OfQgWzUIVSBQjBu7V3gyrUSpxID/m7
1jEyu7zDyGqzncK0hhdq2wED01m9k0rn77kM5N5J6s3Il2j5/jQc23MIPJtmbUQ3
72k/01D3JfterNjkstGyc9Ncs7F1IjI2RKz99DMJiDAWxC0jdMPO1HFNiF0hkVu6
Os+/Kpsr9nUGaMwa9kygOjrtCMvQfz2bZqKd7AJm7SILAS2kmIVwCg==
=K7pK
-END PGP SIGNATURE-

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-15 Thread Jon Biddell
 
 This is what you need then:
   
 
http://www.geekcheat.com/Merchant2/merchant.mv?Screen=PRODStore_Code=GProduct_Code=vimugCategory_Code=VS
 

Or even http://www.everythinglinux.com.au/cat/merchandise/mugs

They were going to produce an emacs one, but how many people would buy a
coffee mug the size of a soup bowl ?

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Matthew Hyne

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

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Mark A. Bell
--- Matthew Hyne [EMAIL PROTECTED] wrote:
 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 ?

Hi Matthew,

How about JED? It's much smaller than Emacs.
http://space.mit.edu/~davis/jed/

Here's a PHP mode for Jed. I'm not a coder, so I haven't tried it.
http://eric.thelin.org/jed.html

regards,

- mark 



=
mark a. bell
http://www.users.bigpond.com/m487396

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Kevin Waterson
This one time, at band camp,
Mark A. Bell [EMAIL PROTECTED] wrote:
 
 How about JED? It's much smaller than Emacs.
 http://space.mit.edu/~davis/jed/
 
 Here's a PHP mode for Jed. I'm not a coder, so I haven't tried it.
 http://eric.thelin.org/jed.html

and of cours there is the ubiquitous vi(m)
vim does syntax highlighting, and I use it for PHP every day

Kevin

-- 
 __  
(_ \ 
 _) )            
|  /  / _  ) / _  | / ___) / _  )
| |  ( (/ / ( ( | |( (___ ( (/ / 
|_|   \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Alex Sayle
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). 
 
 nano doesn't come with a native PHP highlighting patterns but you can 
 find them around[2].


 note: you need the development version of nano, not the stable release.

 [1] http://www.nano-editor.org
 [2] http://boxofimagination.com/?e=penguin 
 
  --alex
--

[--]
  Alex Sayle  [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Ben Leslie
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

Benno
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Terminal based editor with syntax hilighting

2003-02-14 Thread Alex Sayle
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.

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.

and what's more I always wanted a new contestant in the holy wars of
editors ;)

--alex
--

[--]
  Alex Sayle  [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug