Hi emacs-devel, Ubuntu has a new wrapper around apt-get and apt-search called apt. As it runs it displays a progress bar, whose ANSI escapes confuse ‘M-x shell’; here's an example: Removing libacl1-dev (2.2.52-3) ... ^[7Progress: [ 0%] [................................................................................................] ^[8^[7Progress: [ 25%] [########################........................................................................] ^[8^[7Progress: [ 50%] [################################################................................................] ^[8^[7Progress: [ 75%] [########################################################################........................] ^[8Processing triggers for man-db (2.7.5-1) ... ^[7^[[0;62r^[8^[[1A^[[J And here's another one: ^[7^[[0;61r^[8^[[1ASelecting previously unselected package libacl1-dev. (Reading database ... 359142 files and directories currently installed.) Preparing to unpack .../libacl1-dev_2.2.52-3_amd64.deb ... ^[7Progress: [ 0%] [................................................................................................] ^[8^[7Progress: [ 16%] [#################...............................................................................] ^[8Unpacking libacl1-dev (2.2.52-3) ... ^[7Progress: [ 33%] [#################################...............................................................] ^[8^[7Progress: [ 50%] [################################################................................................] ^[8Processing triggers for man-db (2.7.5-1) ... Setting up libacl1-dev (2.2.52-3) ... ^[7Progress: [ 66%] [#################################################################...............................] ^[8^[7Progress: [ 83%] [################################################################################................] ^[8 ^[7^[[0;62r^[8^[[1A^[[J Is this a bug that should be fixed on the ‘apt’ side (it shouldn't show the progress bar?), or can we support these escapes? Clément.