Ethereal-dev: Re: [Ethereal-dev] \t conversion (possible bug)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 30 Mar 2002 02:16:26 -0800
On Wed, Mar 27, 2002 at 04:56:57PM -0800, Guy Harris wrote:
> The bug is that the *Windows* version displays it as a tab; the
> dissector is intended to display tabs in Telnet data as "\t", not as a
> tab character.  (The primary intent of the displayed data in Ethereal,
> and the output of "tethereal -V", is that it be read by humans; scripts
> will have to compensate for that.)

Note also that *other* non-graphical characters in Telnet data are also
displayed with C-style escape sequences, so any code that attempts to
parse that data must have code to handle those escape sequences
*regardless* of whether tabs are shown as tab characters or "\t", so:

	if the code to handle C-style escape sequences is present, one
	would merely have to add to that code the ability to handle
	"\t";

	if the code to handle C-style escape sequences is absent, one
	would have to add it anyway, at which point one might as well
	make it handle "\t" as well.