gnome terminal displays weird characters after cat manual.txt.gz

Bug #301461 reported by SethWoodworth
4
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-terminal

@H
 ␋⎽4┌⎺▒┼@␋⎽4┌⎺▒┼-┌▒⎻├⎺⎻:/┤⎽⎼/⎽␤▒⎼␊/␍⎺␌/└┤├├$
^ should say "is4loan@... $"

I wanted to read the mutt manual, went to the right folder and typed 'cat manual.txt.gz'

I knew that it was gzip'd, but I want to see what woudl happen before I unzipped it.

And now gnome-terminal is displaying all text with wrong characters.

Works fine after restarting gnome-terminal.

Reproducible even. Odd.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.24.1.1-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
SethWoodworth (seth-woodworth) wrote :
Revision history for this message
Jordan Bain (jbain-deactivatedaccount) wrote :

Thanks for the bug report. The reason it displays weird characters is because that is a gzipped text file. Ti un-gzip, type the following:
gunzip manual.txt.gz

After this, you can read the file normally.

Changed in gnome-terminal:
status: New → Confirmed
Revision history for this message
Jordan Bain (jbain-deactivatedaccount) wrote :

Sorry, I didn't read your report thouroghly. Ignore my post. >_>

Revision history for this message
SethWoodworth (seth-woodworth) wrote : Re: [Bug 301461] Re: gnome terminal displays weird characters after cat manual.txt.gz

That's not the issue, I didn't explain that well.

The problem is that afterwards everything Else has wrong characters,
including my bash prompt.

On Sun, Nov 23, 2008 at 5:41 PM, Quinlan Pfiffer <email address hidden> wrote:
> Thanks for the bug report. The reason it displays weird characters is because that is a gzipped text file. Ti un-gzip, type the following:
> gunzip manual.txt.gz
>
> After this, you can read the file normally.
>
> ** Changed in: gnome-terminal (Ubuntu)
> Status: New => Confirmed
>
> --
> gnome terminal displays weird characters after cat manual.txt.gz
> https://bugs.launchpad.net/bugs/301461
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "gnome-terminal" source package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: gnome-terminal
>
> @H ␋⎽4┌⎺▒┼@␋⎽4┌⎺▒┼-┌▒⎻├⎺⎻:/┤⎽⎼/⎽␤▒⎼␊/␍⎺␌/└┤├├$
> ^ should say "is4loan@... $"
>
> I wanted to read the mutt manual, went to the right folder and typed 'cat manual.txt.gz'
>
> I knew that it was gzip'd, but I want to see what woudl happen before I unzipped it.
>
> And now gnome-terminal is displaying all text with wrong characters.
>
> Works fine after restarting gnome-terminal.
>
> Reproducible even. Odd.
>
> ProblemType: Bug
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/bin/gnome-terminal
> Package: gnome-terminal 2.24.1.1-0ubuntu1
> ProcEnviron:
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: gnome-terminal
> Uname: Linux 2.6.27-7-generic i686
>

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is not a bug in gnome-terminal. The problem you experience is because the gzip'd file will contain some bit patterns which look like control characters, which alter the mode of the terminal emulator (as they are supposed to), so I'm closing this bug as invalid

Changed in gnome-terminal:
status: Confirmed → Invalid
Revision history for this message
Mark Brannan (markbrannan) wrote :

For the benefit of anyone else who stumbles upon this bug report when dealing with this common issue, please see: http://www.unixguide.net/linux/faq/06.14.shtml

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.