<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1251"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 4/7/10 7:22 PM, Êîíñòàíòèí wrote:
<blockquote cite="mid:131575337.20100407232234@inbox.ru" type="cite">
<title></title>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1251">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
margin: 5px 5px 5px 5px;
background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 9pt;
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-size: 8pt;
font-family: 'arial';
font-style: italic;
color: #c0c0c0;
}
a.rvts7, span.rvts7
{
font-size: 8pt;
font-family: 'arial';
color: #0000ff;
text-decoration: underline;
}
a.rvts8, span.rvts8
{
color: #0000ff;
text-decoration: underline;
}
a.rvts8:hover { color: #0000ff; }
span.rvts9
{
font-size: 13pt;
font-family: 'times new roman';
background-color: #ffffff;
}
span.rvts10
{
font-size: 13pt;
font-family: 'times new roman';
background-color: #ffffff;
}
span.rvts11
{
font-size: 13pt;
font-family: 'times new roman';
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
--></style>
<p>Hi all!</p>
<p><br>
</p>
<p>For easy editing kamailio configuration files I developed a syntax</p>
<p>highlighting scheme for <a moz-do-not-send="true" name="mc"></a>
<a moz-do-not-send="true" class="rvts8"
href="http://www.midnight-commander.org/">mc</a>.</p>
</blockquote>
many thanks! I checked the format and should be easy to update it for
3.0.<br>
<br>
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.<br>
<br>
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).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:131575337.20100407232234@inbox.ru" type="cite">
<p><br>
</p>
<p><a moz-do-not-send="true" class="rvts8"
href="http://img262.imageshack.us/img262/1834/sshot1r.png">Preview</a></p>
<p><br>
</p>
<p>The scheme includes basic syntactic structures of Kamailio 1.5,</p>
<p>all constants, variables, operators and standart core functions.</p>
<p><br>
</p>
<p>To install it, download the file kamailio.syntax from attachment
and</p>
<p>copy it to /usr/share/mc/syntax (for Debian Etch)</p>
<p><br>
</p>
<p>Next, add to the file /usr/share/mc/syntax/Syntax including:</p>
<p><br>
</p>
<p>file ..\*\\.cfg$ Kamailio\sconfig</p>
<p>include kamailio.syntax</p>
<p><br>
</p>
<p>Thats all, I hope its helps someone ;)</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><span class="rvts6">-- </span></p>
<p><span class="rvts6"> Shpinev Konstantin </span><a
moz-do-not-send="true" class="rvts7" href="mailto:kks_mail@inbox.ru">mailto:kks_mail@inbox.ru</a></p>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a> * <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a>
* <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a>
</div>
</body>
</html>