Date: Wed, 23 Apr 1997 12:00:02 -0700 (PDT) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs Subject: Re: bin/3376: incorrect output from kdump Message-ID: <199704231900.MAA17027@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3376; it has been noted by GNATS. From: j@uriah.heep.sax.de (J Wunsch) To: charnier@xp11.frmug.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/3376: incorrect output from kdump Date: Wed, 23 Apr 1997 20:28:41 +0200 As Philippe Charnier wrote: > When running kdump, I found: > "i" > 4848 ksh RET read 1 > 4848 ksh CALL read(0,0x3498c,0x1) > 4848 ksh GIO fd 0 read 1 bytes > "t" > 4848 ksh RET read 1 > 4848 ksh CALL read(0,0x3498c,0x1) > 4848 ksh GIO fd 0 read 1 bytes <-- should be '1 byte' > " <-- \n should be printed > " > 4848 ksh RET read 1 I agree with your spelling correction. But converting all newlines to \n would be terrible. If you read a text file, it will crunch everything into a single, huge blurb of a line. For example, this snippet from a `ktrace fortune': 3563 fortune CALL read(0x3,0xc000,0x2000) 3563 fortune GIO fd 3 read 8192 bytes "!07/11 PDP a ni deppart m'I !pleH % (1) Alexander the Great was a great general. (2) Great generals are forewarned. (3) Forewarned is forearmed. (4) Four is an even number. (5) Four is certainly an odd number of arms for a man to have. (6) The only number that is both even and odd is infinity. Therefore, Alexander the Great had an infinite number of arms. ...would then look like: 3563 fortune CALL read(0x3,0xc000,0x2000) 3563 fortune GIO fd 3 read 8192 bytes "!07/11 PDP a ni deppart m'I !pleH\n%\n(1) Alexander the Great was a\ great general.\n(2) Great generals are forewarned.\n(3) Forewarned \ is forearmed.\n(4) Four is an even number.\n(5) Four is certainly an\ odd number of arms for a man to have.\n(6) The only number that is \ both even and odd is infinity.\n\nTherefore, Alexander the Great had\ an infinite number of arms. Do you think that's better? :-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704231900.MAA17027>