Ethereal-dev: Re: [Ethereal-dev] What is "File->Save Highlighted" menu item for?

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

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Mon, 8 Dec 2003 11:57:23 -0800 (PST)
On Mon, 8 Dec 2003, Ulf Lamping wrote:

> Guy Harris  schrieb am 08.12.03 10:36:53:
> >
> > On Mon, Dec 08, 2003 at 10:31:38AM +0100, Ulf Lamping wrote:
> > > Could someone explain to me, what the "File->Save Highlighted" menu
> > > item is useful for? Please keep in mind, that this menu item is somewhat
> > > very uncommon, and even worse, I don't have a clue, what it will really
> > > do!
> >
> > I'll let Richard Sharpe explain when it's useful.
> >
> > What it does is, at least as I understand it, save, in raw binary form,
> > the bytes that are selected in the hex dump pane. For example, if you
> > select bytes with the values FF 46 4F 4F and select that, the file to
> > which you save will have a 0xFF followed by "FOO" in it.
> >
> 
> Hmm, that sounds to me like the first export function, so we should put this into a new submenu item? What about putting this into:
> 
> File->Export->Raw Packet Data (Of Selected Area)
> 
> Putting this into an export submenu makes it more obvious, that this is 
> a special function compared to the normal "Save" or "Save As" functions.

Seems like a good idea to me ... now, how do you construct sub-menus 
again?

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com