Re: Why does my program change the characters in my shell
From: Alex Sisson (noogie_at_cyberspace.org)
Date: 06/27/03
- Next message: Marc W: "What is wrong with this makefile fragment?"
- Previous message: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- In reply to: Lorinczy Zsigmond: "Re: Why does my program change the characters in my shell"
- Next in thread: Floyd Davidson: "Re: Why does my program change the characters in my shell"
- Reply: Floyd Davidson: "Re: Why does my program change the characters in my shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Jun 2003 05:11:17 -0700
Lorinczy Zsigmond <nospam@for.me> wrote in message news:<3EFA7A8A.2060406@for.me>...
> Andrew Falanga wrote:
> > Hello,
> >
> > I'd like to know what the typical reason for this is. I'm debugging a
> > program I've written, and to make sure I'm using sscanf( ) and strcpy(
> > ). However, when it gets done puting the data on stdout, the program is
> > supposed to prompt me for action.
> >
> > What is displayed is really weird text. No English alphabetic
> > characters, just right angled shapes and stuff. What normally alters
> > the character set of stdout (don't know if I worded that correctly)?
>
> Your terminal is confused or switched into character-graphics mode...
> try "reset" command
> You can trace your program with "strace"
alternatively, you can play a fun game instead; cat /bin/ls and try
and ^C it before its finished cat'ing. sometimes if you're lucky, the
characters will be ok again.
- Next message: Marc W: "What is wrong with this makefile fragment?"
- Previous message: Anand Agrawal \(agrawala\): "Re: execv() terminates a program"
- In reply to: Lorinczy Zsigmond: "Re: Why does my program change the characters in my shell"
- Next in thread: Floyd Davidson: "Re: Why does my program change the characters in my shell"
- Reply: Floyd Davidson: "Re: Why does my program change the characters in my shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|