Console ASCII interpretation
From: alexander (arundel_at_h3c.de)
Date: 05/16/05
- Previous message: Juergen Unger: "jails and output of df/mount [PATCH]"
- Next in thread: Dan Nelson: "Re: Console ASCII interpretation"
- Reply: Dan Nelson: "Re: Console ASCII interpretation"
- Reply: Warner Losh: "Re: Console ASCII interpretation"
- Reply: Chris Pressey: "Re: Console ASCII interpretation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 16 May 2005 19:11:44 +0200 To: freebsd-hackers@freebsd.org
Hi there.
I'm using syscall number 4 write() to output data to stdout using x86
assembly. When I try to output the following DWORD: 0x00003532 I get
the following output under Eterm and xterm: "25". Which is exactly
what I want.
However when I do the very same under the console (using bash or sh.
It doesn't matter) I get this output: "25 ".
I looked up the ASCII value for 00h and it says NUL. Doesn't that mean
that there shouldn't be any output at all?
Thx.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Juergen Unger: "jails and output of df/mount [PATCH]"
- Next in thread: Dan Nelson: "Re: Console ASCII interpretation"
- Reply: Dan Nelson: "Re: Console ASCII interpretation"
- Reply: Warner Losh: "Re: Console ASCII interpretation"
- Reply: Chris Pressey: "Re: Console ASCII interpretation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]