aptsh has a color prompt, and uses readline. Readline requires that in
the prompt, all non-printable characters (e.g. color changing escape
sequences) are enclosed between \001 (^A) and \002 (^B).

I suspect it's a bug in aptsh that its prompt doesn't have a balanced
pair of \001 and \002 bytes, hence readline prints some of the \001
characters in the terminal.

** Package changed: vte (Ubuntu) => aptsh (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/1237594

Title:
  The U+0001 control character is output in terminal

Status in aptsh package in Ubuntu:
  Confirmed

Bug description:
  when using aptsh (which uses color for its prompt), the xfce-terminal
  displays odd looking boxes with 1's and 0's (U+0001 control character)
  no matter what font I choose (even default font). This happens with
  other terminals (lxterminal, gnome-terminal, etc.) and other
  applications as well. It does NOT happen when using xterm or pterm,
  directly. Here is the output of my $PS1

  \[\e]0;\u@\h:
  
\w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$

  echo of $TERM returns: xterm

  echo of cat /etc/issue returns: Ubuntu 13.04 \n \l

  screenshots (or see attached):

  http://en.zimagez.com/zimage/screenshot-10092013-091910am.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptsh/+bug/1237594/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to