Summary: | ASTERISK-14208: [patch] Certain console helps leaves prompt in bold mode (bright white) | ||
Reporter: | agjohnson (agjohnson) | Labels: | |
Date Opened: | 2009-05-26 16:43:42 | Date Closed: | 2009-05-26 17:47:36 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 05262009_xmldoc.patch | |
Description: | core show <application/function> <name> leaves the console in bold mode (bright white) For instance: pbx2*CLI> -= Info about application 'Wait' =- [Synopsis] Waits for some time. [Description] This application waits for a specified number of <seconds>. [Syntax] Wait(seconds) [Arguments] seconds Can be passed with fractions of a second. For example, '1.5' will ask the application to wait for 1.5 seconds. [See Also] Not available pbx2*CLI> This output results in the final pbx2*CLI> being bright white, as well as any following console output until the next color code is sent. | ||
Comments: | By: agjohnson (agjohnson) 2009-05-26 16:44:46 I apologize, the severity should have been Text, not Minor. By: agjohnson (agjohnson) 2009-05-26 16:50:14 From #asterisk-dev on IRC: [14:44] <seanbright> ast_term_color_code(&colorized, COLOR_BRWHITE, 0); [14:45] <seanbright> right at the end of ast_xmldoc_printable [14:45] <seanbright> just needs to be changed to whatever the default fg is By: Sean Bright (seanbright) 2009-05-26 17:13:19 Patch uploaded. Please give it a whirl. By: agjohnson (agjohnson) 2009-05-26 17:40:32 Patch whirled, works great. By: Digium Subversion (svnbot) 2009-05-26 17:43:22 Repository: asterisk Revision: 196948 U trunk/main/xmldoc.c ------------------------------------------------------------------------ r196948 | seanbright | 2009-05-26 17:43:21 -0500 (Tue, 26 May 2009) | 8 lines Reset the terminal to the correct fg/bg after XML documenation is rendered. (closes issue ASTERISK-14208) Reported by: ajohnson Patches: 05262009_xmldoc.patch uploaded by seanbright (license 71) Tested by: ajohnson ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=196948 By: Digium Subversion (svnbot) 2009-05-26 17:47:36 Repository: asterisk Revision: 196951 _U branches/1.6.2/ U branches/1.6.2/main/xmldoc.c ------------------------------------------------------------------------ r196951 | seanbright | 2009-05-26 17:47:36 -0500 (Tue, 26 May 2009) | 15 lines Merged revisions 196948 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r196948 | seanbright | 2009-05-26 18:43:21 -0400 (Tue, 26 May 2009) | 8 lines Reset the terminal to the correct fg/bg after XML documenation is rendered. (closes issue ASTERISK-14208) Reported by: ajohnson Patches: 05262009_xmldoc.patch uploaded by seanbright (license 71) Tested by: ajohnson ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=196951 |