[asterisk-bugs] [Asterisk 0014373]: [patch] Avoid destroying the CLI line when moving the cursor backward and trying to autocomplete.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Mar 25 10:33:25 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14373
======================================================================
Reported By: eliel
Assigned To: eliel
======================================================================
Project: Asterisk
Issue ID: 14373
Category: Core/General
Reproducibility: have not tried
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 172517
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-30 13:10 CST
Last Modified: 2009-03-25 10:33 CDT
======================================================================
Summary: [patch] Avoid destroying the CLI line when moving
the cursor backward and trying to autocomplete.
Description:
When moving the cursor backward and pressing TAB to autocomplete a NULL is
put in the line and we are loosing what we have already wrote after the
actual cursor position.
core show channel<CURSOR>'\0' pepe
If moving the cursor where <CURSOR> is and pressing tab, the
autocompletion mechanism autocomplete the line but puts a NULL and 'pepe'
is no more part of the command line.
======================================================================
----------------------------------------------------------------------
(0102169) svnbot (reporter) - 2009-03-25 10:33
http://bugs.digium.com/view.php?id=14373#c102169
----------------------------------------------------------------------
Repository: asterisk
Revision: 184256
_U branches/1.6.2/
U branches/1.6.2/main/asterisk.c
------------------------------------------------------------------------
r184256 | eliel | 2009-03-25 10:33:25 -0500 (Wed, 25 Mar 2009) | 26 lines
Merged revisions 184220 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r184220 | eliel | 2009-03-25 10:38:19 -0400 (Wed, 25 Mar 2009) | 19
lines
Merged revisions 184188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r184188 | eliel | 2009-03-25 10:12:54 -0400 (Wed, 25 Mar 2009) | 13
lines
Avoid destroying the CLI line when moving the cursor backward and
trying to autocomplete.
When moving the cursor backward and pressing TAB to autocomplete, a
NULL is put
in the line and we are loosing what we have already wrote after the
actual
cursor position.
(closes issue http://bugs.digium.com/view.php?id=14373)
Reported by: eliel
Patches:
asterisk.c.patch uploaded by eliel (license 64)
Tested by: lmadsen
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=184256
Issue History
Date Modified Username Field Change
======================================================================
2009-03-25 10:33 svnbot Checkin
2009-03-25 10:33 svnbot Note Added: 0102169
======================================================================
More information about the asterisk-bugs
mailing list