Index: main/pbx.c =================================================================== --- main/pbx.c (revision 170039) +++ main/pbx.c (working copy) @@ -5654,7 +5654,7 @@ /* if we print something in context, make an empty line */ if (context_info_printed) - ast_cli(fd, "\r\n"); + ast_cli(fd, "\n"); } ast_unlock_contexts(); @@ -5666,15 +5666,15 @@ struct ast_context *c = NULL; int res = 0, old_total_exten = dpc->total_exten; - ast_cli(fd,"\r\n In-mem exten Trie for Fast Extension Pattern Matching:\r\n\r\n"); + ast_cli(fd,"\n In-mem exten Trie for Fast Extension Pattern Matching:\n\n"); - ast_cli(fd,"\r\n Explanation: Node Contents Format = :::[matched extension]\r\n"); - ast_cli(fd, " Where is a set of chars, any one of which should match the current character\r\n"); - ast_cli(fd, " : Y if this a pattern match (eg. _XZN[5-7]), N otherwise\r\n"); - ast_cli(fd, " : an assigned 'exactness' number for this matching char. The lower the number, the more exact the match\r\n"); - ast_cli(fd, " [matched exten]: If all chars matched to this point, which extension this matches. In form: EXTEN: \r\n"); - ast_cli(fd, " In general, you match a trie node to a string character, from left to right. All possible matching chars\r\n"); - ast_cli(fd, " are in a string vertically, separated by an unbroken string of '+' characters.\r\n\r\n"); + ast_cli(fd,"\n Explanation: Node Contents Format = :::[matched extension]\n"); + ast_cli(fd, " Where is a set of chars, any one of which should match the current character\n"); + ast_cli(fd, " : Y if this a pattern match (eg. _XZN[5-7]), N otherwise\n"); + ast_cli(fd, " : an assigned 'exactness' number for this matching char. The lower the number, the more exact the match\n"); + ast_cli(fd, " [matched exten]: If all chars matched to this point, which extension this matches. In form: EXTEN: \n"); + ast_cli(fd, " In general, you match a trie node to a string character, from left to right. All possible matching chars\n"); + ast_cli(fd, " are in a string vertically, separated by an unbroken string of '+' characters.\n\n"); ast_rdlock_contexts(); /* walk all contexts ... */ @@ -5700,14 +5700,14 @@ { cli_match_char_tree(c->pattern_tree, " ", fd); } else { - ast_cli(fd,"\r\n No Pattern Trie present. Perhaps the context is empty...or there is trouble...\r\n\r\n"); + ast_cli(fd,"\n No Pattern Trie present. Perhaps the context is empty...or there is trouble...\n\n"); } ast_unlock_context(c); /* if we print something in context, make an empty line */ if (context_info_printed) - ast_cli(fd, "\r\n"); + ast_cli(fd, "\n"); } ast_unlock_contexts();