[Kamailio-Users] mc (Midnight Commander) syntax highlighting scheme

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 7 21:46:45 CEST 2010


Hello,

On 4/7/10 7:22 PM, Константин wrote:
>
> Hi all!
>
>
> For easy editing kamailio configuration files I developed a syntax
>
> highlighting scheme for mc <http://www.midnight-commander.org/>.
>
many thanks! I checked the format and should be easy to update it for 3.0.

I will try to find a place in the source tree to host this one along 
with vim syntax file. Should be easier to maintain for new version and 
install once sources are downloaded.

It works also in mac os x, with mc installed from macports. The 
difference is that Syntax file is located in /opt/local/etc/mc/. The 
alternative is to use home directory mc config: ~/.mc/cedit/Syntax 
(create the file if does not exist).

Cheers,
Daniel

>
> Preview <http://img262.imageshack.us/img262/1834/sshot1r.png>
>
>
> The scheme includes basic syntactic structures of Kamailio 1.5,
>
> all constants, variables, operators and standart core functions.
>
>
> To install it, download the file kamailio.syntax from attachment and
>
> copy it to /usr/share/mc/syntax (for Debian Etch)
>
>
> Next, add to the file /usr/share/mc/syntax/Syntax including:
>
>
> file ..\*\\.cfg$ Kamailio\sconfig
>
> include kamailio.syntax
>
>
> Thats all, I hope its helps someone ;)
>
>
>
>
> -- 
>
>  Shpinev Konstantin mailto:kks_mail at inbox.ru
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100407/caf560f3/attachment.htm>


More information about the sr-users mailing list