Discussion:
[SR-Users] Kamailio script editor
Grant Bagdasarian
2014-08-21 14:08:43 UTC
Permalink
Hello,

What editor do most of you use for editing the kamailio config script? I'm using notepad, which works fine, but sometimes I wish I had something like text coloring and other useful stuff found in most scripting editors.
Are there perhaps any plans for developing an editor for the kamailio config script? With code completion, etc.

Regards,

Grant
Narsay, Deep
2014-08-21 14:24:25 UTC
Permalink
vi (vim/gvim) or sublime text are more efficient than notepad. (They also
have multiple color schemes) .
Post by Grant Bagdasarian
Hello,
What editor do most of you use for editing the kamailio config script? I’m
using notepad, which works fine, but sometimes I wish I had something like
text coloring and other useful stuff found in most scripting editors.
Are there perhaps any plans for developing an editor for the kamailio
config script? With code completion, etc.
Regards,
Grant
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Grant Bagdasarian
2014-08-21 14:39:59 UTC
Permalink
Right. I have sublime text installed. Any recommendations for a color scheme?

From: sr-users-***@lists.sip-router.org [mailto:sr-users-***@lists.sip-router.org] On Behalf Of Narsay, Deep
Sent: Thursday, August 21, 2014 4:24 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio script editor

vi (vim/gvim) or sublime text are more efficient than notepad. (They also have multiple color schemes) .

On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian <***@cm.nl<mailto:***@cm.nl>> wrote:
Hello,

What editor do most of you use for editing the kamailio config script? I’m using notepad, which works fine, but sometimes I wish I had something like text coloring and other useful stuff found in most scripting editors.
Are there perhaps any plans for developing an editor for the kamailio config script? With code completion, etc.

Regards,

Grant

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-***@lists.sip-router.org<mailto:sr-***@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Alex Balashov
2014-08-21 14:51:28 UTC
Permalink
Vim + :syntax on does a fine job with Kamailio route script.

Mostly.
Post by Grant Bagdasarian
Right. I have sublime text installed. Any recommendations for a color
scheme?
Deep
Sent: Thursday, August 21, 2014 4:24 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio script editor
vi (vim/gvim) or sublime text are more efficient than notepad. (They
also have multiple color schemes) .
On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian
Hello,
What editor do most of you use for editing the kamailio config script?
I’m using notepad, which works fine, but sometimes I wish I had
something like text coloring and other useful stuff found in most
scripting editors.
Are there perhaps any plans for developing an editor for the kamailio
config script? With code completion, etc.
Regards,
Grant
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
------------------------------------------------------------------------
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.

Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com
Daniel-Constantin Mierla
2014-08-21 15:17:59 UTC
Permalink
Kamailio has a dedicated syntax file for vim -- from sources, do (as
user editing the config):

cd utils/misc/vim
make install

After that, when you open kamailio.cfg, vim/gvim/kvim/macvim should
detect that it is kamailio syntax and with do proper highlighting.
Perhaps some tokens/keywords added lately are missing from the syntax
file, but it is still very good. I use it everywhere.

Cheers,
Daniel
Post by Alex Balashov
Vim + :syntax on does a fine job with Kamailio route script.
Mostly.
Right. I have sublime text installed. Any recommendations for a
color scheme?
*Narsay, Deep
*Sent:* Thursday, August 21, 2014 4:24 PM
*To:* Kamailio (SER) - Users Mailing List
*Subject:* Re: [SR-Users] Kamailio script editor
vi (vim/gvim) or sublime text are more efficient than notepad.
(They also have multiple color schemes) .
Hello,
What editor do most of you use for editing the kamailio config
script? I’m using notepad, which works fine, but sometimes I wish
I had something like text coloring and other useful stuff found in
most scripting editors.
Are there perhaps any plans for developing an editor for the
kamailio config script? With code completion, etc.
Regards,
Grant
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
------------------------------------------------------------------------
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from my mobile, and thus lacking in the refinement one might
expect from a fully fledged keyboard.
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
Måns Nilsson
2014-08-21 20:16:07 UTC
Permalink
Post by Grant Bagdasarian
Hello,
What editor do most of you use for editing the kamailio config script?
nvi or emacs. (can't stand vim, to much bloat. bloat is ok in emacs but
not in vim; go figure ;-))
Post by Grant Bagdasarian
I'm using notepad,
Poor you.
--
MÃ¥ns Nilsson primary/secondary/besserwisser/machina
MN-1334-RIPE +46 705 989668
I hope you millionaires are having fun! I just invested half your life
savings in yeast!!
Loading...