On 4/12/06, chsh_xiao <[EMAIL PROTECTED]> wrote: > HI,Sir, > I meet a problem.When I print a graphical data packet encapsulated in TCP > packet with a data capture program written by myself,my Linux Core 5 OS > cann't print correct character . I use "printf()" function . When I shield > "printf()" , my OS can do well. I don't know why ! Help me,please ! Thanks ! > Please look at test figures in the E-mail accessories. > > c.s xiao > 12/04/2006
The printf() library function is not part of coreutils. You need to look elsewhere for help. You will find some guidance at http://www.catb.org/~esr/faqs/smart-questions.html. But you are printing arbitrary binary data as if it were human-readable text. What did you _expect_ to see? If you directly send the binary data within an image file to a terminal device (e.g. with cat) you would get a similar result. James. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
