[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: Help!
From:       bob () proulx ! com (Bob Proulx)
Date:       2006-05-01 8:44:38
Message-ID: 20060501084438.GA5981 () dementia ! proulx ! com
[Download RAW message or body]

Miguel Luis wrote:
> - I'm Using Ubuntu Dapper Drake.

I don't believe that Ubuntu has released Dapper Drake yet.  Therefore
what you have must be a release candidate for Dapper Drake.

> myk0n@m0x:~/Desktop$
> - I just ran my cesar's program like this:
> myk0n@m0x:~/Desktop$ echo "Hello World\n" | ./cesar 4
> - and then my bash was:
> Lipps$[svph`r=E2=94=94=E2=89=A4=E2=94=900=E2=94=BC@=E2=94=940=E2=94=82:=
=C2=B7/D=E2=90=8A=E2=8E=BD=E2=94=90=E2=94=9C=E2=8E=BA=E2=8E=BB$

What you are seeing is almost certainly terminal issues due to the
sending of binary data to it from the output of your program.
Terminals often do not react well to having random binary data thrown
at them.  This is not a bash issue but one of understanding your
terminal.

Terminals interpret escape sequences and act upon them to select
alternate character sets and things like that.  It looks to me like
you have turned on an alternate character set.  Try resetting the
terminal to restore it to normal use.  In xterm this can be done on
the fly with control-middlebutton "Do Full Reset".  Other terminals
probably have something similar.  Or you might try typing in blind
"reset" and if available it should also reset the terminal.

Bob



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic