This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228051 - Please handle \b on unfinished lines.
Summary: Please handle \b on unfinished lines.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks: 102043 229408
  Show dependency tree
 
Reported: 2013-03-28 16:58 UTC by Martin Entlicher
Modified: 2013-08-27 01:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2013-03-28 16:58:02 UTC
In order to implement a console-like output, I print a prompt to the beginning of a line. When an output comes from the server, I need to be able to remove the prompt.

I thought that I'd use \b sequence for that, which is handled until the buffer is written to the output area. But after it's written, it's ignored.

Can it be implemented to remove the existing characters until it reaches the beginning of the line? IMHO it's fine to write it to storage as it is and just delete the characters from the line.
Comment 1 Martin Entlicher 2013-08-14 13:11:06 UTC
It's actually a defect that \b is not interpreted. It's not possible to e.g. remove a prompt when further output comes.
Comment 2 Jaroslav Havlin 2013-08-26 09:19:16 UTC
Fixed in http://hg.netbeans.org/core-main/rev/08fd302399c9.
Thank you for reporting, Martin.
Comment 3 Quality Engineering 2013-08-27 01:05:22 UTC
Integrated into 'main-silver', will be available in build *201308270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/08fd302399c9
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #228051: Handle \b on unfinished lines