The GNU "nano" text editor is named by analogy, after an earlier (non-Free) editor with a very similar UI, called "pico". The name puns on SI prefixes: "like pico, but a bit bigger."
"pico" was derived from the email client Pine: it's the built-in editor Pine used for composing emails, pulled out and turned into a standalone tool. Short for PIne COmposer, as far as I know.
And Pine was _also_ named by analogy, after an earlier email client called Elm.
So "nano" has _two_ instances of "name a program by analogy to a previous one" in the history of how it got its name. (Not counting the step in between where 'pine' gave rise to 'pico', because that wasn't by analogy.)
Can anyone think of a longer chain than that, involving three or more generations of naming-by-analogy? Or is "nano" the record holder?