[Home]

Summary:ASTERISK-02717: [patch] Don't show partially-filled strings over remote console (asterisk -r)
Reporter:Paul Cadach (pcadach)Labels:
Date Opened:2004-10-31 11:18:47.000-0600Date Closed:2008-01-15 15:12:27.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) netconsole.diff
Description:Some sort of applications/libraries (like libpri) generates output strings sequentially, symbol-by-symbol or word-by-word, before sending new line character. Beacuse remote console assumes each string received from daemon is already terminated (string coming from daemon is without trailing \n symbol), partially output strings generates many lines on remote console incrementally filled (for example, "C", "Co", "Con", "Cons", "Conso", "Consol", "Console"). This patch disables sending of partially-filled strings to remote console, what would help with such problems.

****** ADDITIONAL INFORMATION ******

Disclaimer is on the file.

Output with this patch looks more pretty and looks like doesn't lose any information.
Comments:By: Mark Spencer (markster) 2004-10-31 20:46:00.000-0600

Added to CVS

By: Russell Bryant (russell) 2004-11-02 17:35:26.000-0600

fixed in 1.0 - will be in 1.0.3

By: Digium Subversion (svnbot) 2008-01-15 15:12:16.000-0600

Repository: asterisk
Revision: 4136

U   trunk/asterisk.c
U   trunk/logger.c

------------------------------------------------------------------------
r4136 | markster | 2008-01-15 15:12:15 -0600 (Tue, 15 Jan 2008) | 2 lines

Console fix (bug ASTERISK-2717) and logger fix...

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4136

By: Digium Subversion (svnbot) 2008-01-15 15:12:27.000-0600

Repository: asterisk
Revision: 4150

U   branches/v1-0/asterisk.c

------------------------------------------------------------------------
r4150 | russell | 2008-01-15 15:12:27 -0600 (Tue, 15 Jan 2008) | 2 lines

Don't show partially-filled strings over remote console (asterisk -r) (bug ASTERISK-2717)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4150