select-editor prints unescaped characters

Bug #329964 reported by Song Younghwan
2
Affects Status Importance Assigned to Milestone
debianutils (Ubuntu)
Fix Released
Low
Dustin Kirkland 

Bug Description

Binary package hint: debianutils

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.

Description: Ubuntu jaunty (development branch)
Release: 9.04

====================
2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.

debianutils:
  Installed: 2.30ubuntu2
  Candidate: 2.30ubuntu2
  Version table:
 *** 2.30ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

====================
3) What you expected to happen

$ select-editor

Select an editor. To change later, run 'select-editor'.
  1. /usr/bin/emacs-snapshot
  2. /bin/ed
  3. /bin/nano <---- easiest
  4. /usr/bin/vim.tiny
  5. /usr/bin/vim.basic

Choose 1-5 [3]: ^C
$

====================
4) What happened instead

$ select-editor
\nSelect an editor. To change later, run 'select-editor'.
  1. /usr/bin/emacs-snapshot\t\t
  2. /bin/ed\t\t
  3. /bin/nano\t\t<---- easiest
  4. /usr/bin/vim.tiny\t\t
  5. /usr/bin/vim.basic\t\t

Choose 1-5 [3]: ^C
$

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Under what circumstances does it print un-escaped characters? All of the time? What's your $TERM?

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Okay, I just uploaded a new package that does away with the \n and \t characters. There are easier ways to accomplish \n and \t if its giving someone trouble ;-)

:-Dustin

Changed in debianutils:
assignee: nobody → kirkland
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debianutils - 2.30ubuntu3

---------------
debianutils (2.30ubuntu3) jaunty; urgency=low

  * select-editor: remove escape characters, LP: #329964
  * po4a/po/debianutils.pot, po4a/po/fr.po: manually pruned the "\n" from the
    beginning of the "Select..." string

 -- Dustin Kirkland <email address hidden> Mon, 16 Feb 2009 14:53:43 -0600

Changed in debianutils:
status: Fix Committed → 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.