Terminal Ctrl+u doesn't clear the line

Bug #940583 reported by Luoqi Wang
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Website - OBSOLETE
Fix Released
Undecided
Andrea Corbellini
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In many documentations, ctrl+u in Terminal is supposed to clear the whole line. But I find it just clear the content BEFORE the CURSOR, which has no difference with ctrl+w.

My current Ubuntu is v11.10.

The referenced documentations
https://help.ubuntu.com/community/UsingTheTerminal
https://help.ubuntu.com/community/AdvancedCommandlineHowto

Robert Roth (evfool)
affects: ubuntu → gnome-terminal (Ubuntu)
Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Ctrl+U should clear text from current position to the beginning of the line - see http://askubuntu.com/a/45546/9693
These wiki pages should be corrected

affects: gnome-terminal (Ubuntu) → ubuntu-community
Revision history for this message
David Planella (dpm) wrote :

Vadim, thanks for the heads up.

However, Askubuntu is a community site, so please, feel free to do the changes or add a comment there yourself. Thanks!

As per the bug itself, it's a technical defect that should be filed against the application in Ubuntu, rather than an issue the Ubuntu Community Team should resolve.

Thanks.

no longer affects: ubuntu-community
Revision history for this message
David Planella (dpm) wrote :

And the same applies for the Ubuntu wiki articles in the original report, so if this is an issue you're concerned about, please feel free to update them as well with a note on the unexpected behaviour.

I'm sure users landing there will benefit from your contributions, thanks!

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

The terminal actually behaves correctly, it's the documentation that is unclear.

Changed in gnome-terminal (Ubuntu):
status: New → Invalid
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Documentation has been updated, thanks, Andrea!
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu-website:
assignee: nobody → Andrea Corbellini (andrea.corbellini)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.