"iron hook," c.1300, gaffe, from Old French gaffe "boat hook" (see gaffe). Specifically of the hook on a fishing spear from 1650s.
"loud, rude talk," 1825, from Scottish dialect, perhaps a survival of Old English gafspræc "blasphemous or ribald speech," or from gaff (n.1), and cf. gaffe.
"cheap music hall or theater; place of amusement for the lowest classes," 1850s, British slang, earlier "a fair" (1753), of unknown origin.
To persist and endure against rigors; take it: I've had at least seven lifetimes on Seventh Avenue, mainly because I've learned to stand the gaff
[1896+; fr gaff, the steel spur attached to the leg of a fighting cock]
A concealed device or operation that makes it impossible for the customer to win; gimmick: People started looking for a gaff (1893+ Carnival & hawkers)
[fr gaff, ''a hook'']