Hmm, RTFM is not aimed at beginners (and note: I do agree with the sibling comment that the aggressiveness of the response leaves a bad taste. I do agree pointing to a 300 page manual, without any guidance at all, is unhelpful).
RTFM is aimed at help vampires (recommended reading: http://www.skidmore.edu/~pdwyer/e/eoc/help_vampire.htm). Help vampires do not grow a community; they destroy it. These are people you do not want in your community anyway. Unlike actual beginners, who learn and then proceed to become valuable contributors (unless of course they are treated harshly by veterans, in which case they simply leave), help vampires are never helpful. They ask the same question again and again, don't pay attention to any cues, don't read anything, and seldom provide context or follow-ups to their problem. And when you've wasted time with one (more often than not fruitlessly), the next one comes in. And they are legion. The end result, like the first article I mentioned claims, is that your community of well-intentioned volunteers is destroyed. So a polite RTFM is often the best response: if the person was an actual beginner, they'll read TFM -- and follow-up questions are often welcome, since they show the asker has actually made an effort. If not, they'll leave and you haven't wasted any valuable time.
In fact, help vampires are often indistinguishable from trolls, in that they have the same community-disrupting effect.
RTFM has always been part of the hacker culture (also see: How To Ask Questions The Smart Way, http://www.catb.org/esr/faqs/smart-questions.html). It has nothing to do with trolls.